Share via


AutomationAccountResource.GetAgentRegistrationInformationAsync Method

Definition

Retrieve the automation agent registration information.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/agentRegistrationInformation
  • Operation Id: AgentRegistrationInformation_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>> GetAgentRegistrationInformationAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAgentRegistrationInformationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>>
override this.GetAgentRegistrationInformationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Automation.Models.AgentRegistration>>
Public Overridable Function GetAgentRegistrationInformationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AgentRegistration))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to