AgentRegistrationInformationOperations Class

AgentRegistrationInformationOperations 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
AgentRegistrationInformationOperations

Constructor

AgentRegistrationInformationOperations(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

get

Retrieve the automation agent registration information.

regenerate_key

Regenerate a primary or secondary agent registration key.

get

Retrieve the automation agent registration information.

get(resource_group_name: str, automation_account_name: str, **kwargs: Any) -> _models.AgentRegistration

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

cls
callable

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

Returns

AgentRegistration, or the result of cls(response)

Return type

Exceptions

regenerate_key

Regenerate a primary or secondary agent registration key.

regenerate_key(resource_group_name: str, automation_account_name: str, parameters: _models.AgentRegistrationRegenerateKeyParameter, **kwargs: Any) -> _models.AgentRegistration

Parameters

resource_group_name
str
Required

Name of an Azure Resource group.

automation_account_name
str
Required

The name of the automation account.

parameters
AgentRegistrationRegenerateKeyParameter
Required

The name of the agent registration key to be regenerated.

cls
callable

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

Returns

AgentRegistration, or the result of cls(response)

Return type

Exceptions

Attributes

models

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