RegistrationAssignmentsOperations Class  
RegistrationAssignmentsOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
Constructor
RegistrationAssignmentsOperations(client, config, serializer, deserializer)Parameters
| Name | Description | 
|---|---|
| client 
				Required
			 | Client for service requests. | 
| config 
				Required
			 | Configuration of service client. | 
| serializer 
				Required
			 | An object model serializer. | 
| deserializer 
				Required
			 | An object model deserializer. | 
Variables
| Name | Description | 
|---|---|
| models | Alias to model classes used in this operation group. | 
Methods
| begin_create_or_update | Creates or updates a registration assignment. | 
| begin_delete | Deletes the specified registration assignment. | 
| get | Gets the details of specified registration assignment. | 
| list | Gets a list of the registration assignments. | 
begin_create_or_update
Creates or updates a registration assignment.
async begin_create_or_update(scope: str, registration_assignment_id: str, request_body: RegistrationAssignment, **kwargs) -> AsyncLROPoller[RegistrationAssignment]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
| registration_assignment_id 
				Required
			 | Guid of the registration assignment. | 
| request_body 
				Required
			 | The parameters required to create new registration assignment. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
| continuation_token | A continuation token to restart a poller from a saved state. | 
| polling | Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or your own initialized polling object for a personal polling strategy. | 
| polling_interval | Default waiting time between two polls for LRO operations if no Retry-After header is present. | 
Returns
| Type | Description | 
|---|---|
| An instance of AsyncLROPoller that returns either RegistrationAssignment or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
begin_delete
Deletes the specified registration assignment.
async begin_delete(scope: str, registration_assignment_id: str, **kwargs) -> AsyncLROPoller[None]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
| registration_assignment_id 
				Required
			 | Guid of the registration assignment. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
| continuation_token | A continuation token to restart a poller from a saved state. | 
| polling | Pass in True if you'd like the AsyncARMPolling polling method, False for no polling, or your own initialized polling object for a personal polling strategy. | 
| polling_interval | Default waiting time between two polls for LRO operations if no Retry-After header is present. | 
Returns
| Type | Description | 
|---|---|
| An instance of AsyncLROPoller that returns either None or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
get
Gets the details of specified registration assignment.
async get(scope: str, registration_assignment_id: str, expand_registration_definition: bool | None = None, **kwargs) -> RegistrationAssignmentParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
| registration_assignment_id 
				Required
			 | Guid of the registration assignment. | 
| expand_registration_definition | Tells whether to return registration definition details also along with registration assignment details. Default value: None | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
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) -> AsyncIterable[RegistrationAssignmentList]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
| expand_registration_definition | Tells whether to return registration definition details also along with registration assignment details. Default value: None | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| An iterator like instance of either RegistrationAssignmentList or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
Attributes
models
models = <module 'azure.mgmt.managedservices.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv165\\Lib\\site-packages\\azure\\mgmt\\managedservices\\models\\__init__.py'>