次の方法で共有


VirtualMachineRunCommandsOperationsExtensions.GetAsync メソッド

定義

ある場所にあるサブスクリプションの特定の実行コマンドを取得します。

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

パラメーター

operations
IVirtualMachineRunCommandsOperations

この拡張メソッドの操作グループ。

location
String

実行コマンドのクエリを実行する場所。

commandId
String

コマンド ID。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象