Share via


AutomationAccountResource.GetAllNodeCountInformationAsync Method

Definition

Retrieve counts for Dsc Nodes.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/nodecounts/{countType}
  • Operation Id: NodeCountInformation_Get
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.DscNodeCount> GetAllNodeCountInformationAsync (Azure.ResourceManager.Automation.Models.AutomationCountType countType, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllNodeCountInformationAsync : Azure.ResourceManager.Automation.Models.AutomationCountType * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.DscNodeCount>
override this.GetAllNodeCountInformationAsync : Azure.ResourceManager.Automation.Models.AutomationCountType * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.DscNodeCount>
Public Overridable Function GetAllNodeCountInformationAsync (countType As AutomationCountType, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DscNodeCount)

Parameters

countType
AutomationCountType

The type of counts to retrieve.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DscNodeCount that may take multiple service requests to iterate over.

Applies to