RegistrationsOperations Class

RegistrationsOperations 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.

Inheritance
builtins.object
RegistrationsOperations

Constructor

RegistrationsOperations(client, config, serializer, deserializer)

Parameters

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

models

Alias to model classes used in this operation group.

Methods

create_or_update

Create or update an Azure Stack registration.

delete

Delete the requested Azure Stack registration.

enable_remote_management

Enables remote management for device under the Azure Stack registration.

get

Returns the properties of an Azure Stack registration.

get_activation_key

Returns Azure Stack Activation Key.

list

Returns a list of all registrations.

update

Patch an Azure Stack registration.

create_or_update

Create or update an Azure Stack registration.

create_or_update(resource_group: str, registration_name: str, token: _models.RegistrationParameter, **kwargs: Any) -> _models.Registration

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

token
RegistrationParameter
Required

Registration token.

cls
callable

A custom type or function that will be passed the direct response

Returns

Registration, or the result of cls(response)

Return type

Exceptions

delete

Delete the requested Azure Stack registration.

delete(resource_group: str, registration_name: str, **kwargs: Any) -> None

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

enable_remote_management

Enables remote management for device under the Azure Stack registration.

enable_remote_management(resource_group: str, registration_name: str, **kwargs: Any) -> None

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Returns the properties of an Azure Stack registration.

get(resource_group: str, registration_name: str, **kwargs: Any) -> _models.Registration

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

cls
callable

A custom type or function that will be passed the direct response

Returns

Registration, or the result of cls(response)

Return type

Exceptions

get_activation_key

Returns Azure Stack Activation Key.

get_activation_key(resource_group: str, registration_name: str, **kwargs: Any) -> _models.ActivationKeyResult

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

cls
callable

A custom type or function that will be passed the direct response

Returns

ActivationKeyResult, or the result of cls(response)

Return type

Exceptions

list

Returns a list of all registrations.

list(resource_group: str, **kwargs: Any) -> Iterable[_models.RegistrationList]

Parameters

resource_group
str
Required

Name of the resource group.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either RegistrationList or the result of cls(response)

Return type

Exceptions

update

Patch an Azure Stack registration.

update(resource_group: str, registration_name: str, token: _models.RegistrationParameter, **kwargs: Any) -> _models.Registration

Parameters

resource_group
str
Required

Name of the resource group.

registration_name
str
Required

Name of the Azure Stack registration.

token
RegistrationParameter
Required

Registration token.

cls
callable

A custom type or function that will be passed the direct response

Returns

Registration, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.azurestack.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\azurestack\\models\\__init__.py'>