共用方式為


NodeCountInformationOperationsExtensions.GetAsync 方法

定義

擷取 Dsc 節點的計數。 http://aka.ms/azureautomationsdk/nodecounts

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.NodeCounts> GetAsync (this Microsoft.Azure.Management.Automation.INodeCountInformationOperations operations, string resourceGroupName, string automationAccountName, string countType, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.INodeCountInformationOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.NodeCounts>
<Extension()>
Public Function GetAsync (operations As INodeCountInformationOperations, resourceGroupName As String, automationAccountName As String, countType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NodeCounts)

參數

operations
INodeCountInformationOperations

這個擴充方法的作業群組。

resourceGroupName
String

Azure 資源群組的名稱。

automationAccountName
String

自動化帳戶的名稱。

countType
String

要擷取的計數類型。 可能的值包括:'status'、'nodeconfiguration'

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於