Compartilhar via


VirtualMachineRunCommandsOperationsExtensions.GetAsync Método

Definição

Obtém um comando de execução específico para uma assinatura em um local.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandDocumentInner> GetAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations operations, string location, string commandId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandDocumentInner>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineRunCommandsOperations, location As String, commandId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunCommandDocumentInner)

Parâmetros

operations
IVirtualMachineRunCommandsOperations

O grupo de operações para esse método de extensão.

location
String

O local em que os comandos de execução são consultados.

commandId
String

A ID do comando.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a