RegistrationAssignmentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:registration_assignments> attribute.
Constructor
RegistrationAssignmentsOperations(*args, **kwargs)
Methods
| begin_create_or_update |
Creates or updates a registration assignment. |
| begin_delete |
Deletes the specified registration assignment. |
| get |
Gets the details of the specified registration assignment. |
| list |
Gets a list of the registration assignments. |
begin_create_or_update
Creates or updates a registration assignment.
begin_create_or_update(scope: str, registration_assignment_id: str, request_body: _models.RegistrationAssignment, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.RegistrationAssignment]
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
|
registration_assignment_id
Required
|
The GUID of the registration assignment. Required. |
|
request_body
Required
|
The parameters required to create new registration assignment. Is either a RegistrationAssignment type or a IO[bytes] type. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either RegistrationAssignment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
begin_delete
Deletes the specified registration assignment.
begin_delete(scope: str, registration_assignment_id: str, **kwargs: Any) -> LROPoller[None]
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
|
registration_assignment_id
Required
|
The GUID of the registration assignment. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Gets the details of the specified registration assignment.
get(scope: str, registration_assignment_id: str, expand_registration_definition: bool | None = None, **kwargs: Any) -> RegistrationAssignment
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
|
registration_assignment_id
Required
|
The GUID of the registration assignment. Required. |
|
expand_registration_definition
|
The flag indicating whether to return the registration definition details along with the registration assignment details. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
RegistrationAssignment or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
Gets a list of the registration assignments.
list(scope: str, expand_registration_definition: bool | None = None, **kwargs: Any) -> ItemPaged[RegistrationAssignment]
Parameters
| Name | Description |
|---|---|
|
scope
Required
|
The scope of the resource. Required. |
|
expand_registration_definition
|
The flag indicating whether to return the registration definition details along with the registration assignment details. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either RegistrationAssignment 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'>