AgentRegistrationInformation class

Class representing a AgentRegistrationInformation.

Constructors

AgentRegistrationInformation(AutomationClientContext)

Create a AgentRegistrationInformation.

Methods

get(string, string, RequestOptionsBase)

Retrieve the automation agent registration information.

get(string, string, RequestOptionsBase, ServiceCallback<AgentRegistration>)
get(string, string, ServiceCallback<AgentRegistration>)
regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, RequestOptionsBase)

Regenerate a primary or secondary agent registration key

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, RequestOptionsBase, ServiceCallback<AgentRegistration>)
regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, ServiceCallback<AgentRegistration>)

Constructor Details

AgentRegistrationInformation(AutomationClientContext)

Create a AgentRegistrationInformation.

new AgentRegistrationInformation(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

get(string, string, RequestOptionsBase)

Retrieve the automation agent registration information.

function get(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<AgentRegistrationInformationGetResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AgentRegistrationInformationGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<AgentRegistration>)

function get(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<AgentRegistration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AgentRegistration>

The callback

get(string, string, ServiceCallback<AgentRegistration>)

function get(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<AgentRegistration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<AgentRegistration>

The callback

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, RequestOptionsBase)

Regenerate a primary or secondary agent registration key

function regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: AgentRegistrationRegenerateKeyParameter, options?: RequestOptionsBase): Promise<AgentRegistrationInformationRegenerateKeyResponse>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

parameters
AgentRegistrationRegenerateKeyParameter

The name of the agent registration key to be regenerated

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.AgentRegistrationInformationRegenerateKeyResponse>

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, RequestOptionsBase, ServiceCallback<AgentRegistration>)

function regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: AgentRegistrationRegenerateKeyParameter, options: RequestOptionsBase, callback: ServiceCallback<AgentRegistration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

parameters
AgentRegistrationRegenerateKeyParameter

The name of the agent registration key to be regenerated

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<AgentRegistration>

The callback

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, ServiceCallback<AgentRegistration>)

function regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: AgentRegistrationRegenerateKeyParameter, callback: ServiceCallback<AgentRegistration>)

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

parameters
AgentRegistrationRegenerateKeyParameter

The name of the agent registration key to be regenerated

callback

ServiceCallback<AgentRegistration>

The callback