AgentRegistrationInformation interface
Interface representing a AgentRegistrationInformation.
Methods
get(string, string, Agent |
Retrieve the automation agent registration information. |
regenerate |
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.
The options parameters.
Returns
Promise<AgentRegistration>
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
The options parameters.
Returns
Promise<AgentRegistration>
Azure SDK for JavaScript