AgentRegistrationInformation class
Class representing a AgentRegistrationInformation.
Constructors
Agent |
Create a AgentRegistrationInformation. |
Methods
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
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
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
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
The callback