AgentRegistrationInformation interface

Interface representing a AgentRegistrationInformation.

Methods

get(string, string, AgentRegistrationInformationGetOptionalParams)

Retrieve the automation agent registration information.

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, AgentRegistrationInformationRegenerateKeyOptionalParams)

Regenerate a primary or secondary agent registration key

Method Details

get(string, string, AgentRegistrationInformationGetOptionalParams)

Retrieve the automation agent registration information.

function get(resourceGroupName: string, automationAccountName: string, options?: AgentRegistrationInformationGetOptionalParams): Promise<AgentRegistration>

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
AgentRegistrationInformationGetOptionalParams

The options parameters.

Returns

regenerateKey(string, string, AgentRegistrationRegenerateKeyParameter, AgentRegistrationInformationRegenerateKeyOptionalParams)

Regenerate a primary or secondary agent registration key

function regenerateKey(resourceGroupName: string, automationAccountName: string, parameters: AgentRegistrationRegenerateKeyParameter, options?: AgentRegistrationInformationRegenerateKeyOptionalParams): Promise<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

Returns