Partager via


DscNodeOperationsExtensions.GetAsync Méthode

Définition

Surcharges

GetAsync(IDscNodeOperations, String, String, Guid)
GetAsync(IDscNodeOperations, String, String, String, CancellationToken)

Récupérez le nœud dsc identifié par l’ID de nœud. http://aka.ms/azureautomationsdk/dscnodeoperations

GetAsync(IDscNodeOperations, String, String, Guid)

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IDscNodeOperations operations, string resourceGroupName, string automationAccount, Guid nodeId);
static member GetAsync : Microsoft.Azure.Management.Automation.IDscNodeOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.DscNodeGetResponse>
<Extension()>
Public Function GetAsync (operations As IDscNodeOperations, resourceGroupName As String, automationAccount As String, nodeId As Guid) As Task(Of DscNodeGetResponse)

Paramètres

operations
IDscNodeOperations
resourceGroupName
String
automationAccount
String
nodeId
Guid

Retours

S’applique à

GetAsync(IDscNodeOperations, String, String, String, CancellationToken)

Récupérez le nœud dsc identifié par l’ID de nœud. http://aka.ms/azureautomationsdk/dscnodeoperations

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

Paramètres

operations
IDscNodeOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom d’un groupe de ressources Azure.

automationAccountName
String

Nom du compte Automation.

nodeId
String

ID de nœud.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à