RegistrationDefinitionsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:registration_definitions> attribute.
Constructor
RegistrationDefinitionsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates or updates a registration definition. |
| delete |
Deletes the registration definition. |
| get |
Gets the registration definition details. |
| list |
Gets a list of the registration definitions. |
begin_create_or_update
Creates or updates a registration definition.
begin_create_or_update(registration_definition_id: str, scope: str, request_body: _models.RegistrationDefinition, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.RegistrationDefinition]
Parameters
| Name | Description |
|---|---|
|
registration_definition_id
Required
|
The GUID of the registration definition. Required. |
|
scope
Required
|
The scope of the resource. Required. |
|
request_body
Required
|
The parameters required to create a new registration definition. Is either a RegistrationDefinition type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either RegistrationDefinition or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
delete
Deletes the registration definition.
delete(registration_definition_id: str, scope: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
registration_definition_id
Required
|
The GUID of the registration definition. Required. |
|
scope
Required
|
The scope of the resource. Required. |
Returns
| Type | Description |
|---|---|
|
None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Gets the registration definition details.
get(scope: str, registration_definition_id: str, **kwargs: Any) -> RegistrationDefinition
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
|
registration_definition_id
Required
|
The GUID of the registration definition. Required. |
Returns
| Type | Description |
|---|---|
|
RegistrationDefinition or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
Gets a list of the registration definitions.
list(scope: str, **kwargs: Any) -> ItemPaged[RegistrationDefinition]
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either RegistrationDefinition or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.managedservices.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv172\\Lib\\site-packages\\azure\\mgmt\\managedservices\\models\\__init__.py'>