次の方法で共有


VirtualMachineRunCommandsOperationsExtensions.GetByVirtualMachineAsync メソッド

定義

run コマンドを取得する操作。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner> GetByVirtualMachineAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations operations, string resourceGroupName, string vmName, string runCommandName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetByVirtualMachineAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner>
<Extension()>
Public Function GetByVirtualMachineAsync (operations As IVirtualMachineRunCommandsOperations, resourceGroupName As String, vmName As String, runCommandName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineRunCommandInner)

パラメーター

operations
IVirtualMachineRunCommandsOperations

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

resourceGroupName
String

リソース グループの名前。

vmName
String

run コマンドを含む仮想マシンの名前。

runCommandName
String

仮想マシンの実行コマンドの名前。

expand
String

操作に適用する展開式。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象