RegistrationDefinitionsOperations Class  
RegistrationDefinitionsOperations 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
RegistrationDefinitionsOperations(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 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.
async begin_create_or_update(registration_definition_id: str, scope: str, request_body: RegistrationDefinition, **kwargs) -> AsyncLROPoller[RegistrationDefinition]Parameters
| Name | Description | 
|---|---|
| registration_definition_id 
				Required
			 | Guid of the registration definition. | 
| scope 
				Required
			 | Scope of the resource. | 
| request_body 
				Required
			 | The parameters required to create new registration definition. | 
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 RegistrationDefinition or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
delete
Deletes the registration definition.
async delete(registration_definition_id: str, scope: str, **kwargs) -> NoneParameters
| Name | Description | 
|---|---|
| registration_definition_id 
				Required
			 | Guid of the registration definition. | 
| scope 
				Required
			 | Scope of the resource. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
Returns
| Type | Description | 
|---|---|
| None, or the result of cls(response) | 
Exceptions
| Type | Description | 
|---|---|
get
Gets the registration definition details.
async get(scope: str, registration_definition_id: str, **kwargs) -> RegistrationDefinitionParameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
| registration_definition_id 
				Required
			 | Guid of the registration definition. | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| cls | A custom type or function that will be passed the direct response | 
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) -> AsyncIterable[RegistrationDefinitionList]Parameters
| Name | Description | 
|---|---|
| scope 
				Required
			 | Scope of the resource. | 
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 RegistrationDefinitionList 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'>