次の方法で共有


WorkloadNetworksOperationsExtensions.GetVirtualMachineAsync メソッド

定義

プライベート クラウド ワークロード ネットワーク内の ID で仮想マシンを取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkVirtualMachine> GetVirtualMachineAsync (this Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations operations, string resourceGroupName, string privateCloudName, string virtualMachineId, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualMachineAsync : Microsoft.Azure.Management.Avs.IWorkloadNetworksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.WorkloadNetworkVirtualMachine>
<Extension()>
Public Function GetVirtualMachineAsync (operations As IWorkloadNetworksOperations, resourceGroupName As String, privateCloudName As String, virtualMachineId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkloadNetworkVirtualMachine)

パラメーター

operations
IWorkloadNetworksOperations

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

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

privateCloudName
String

プライベート クラウドの名前

virtualMachineId
String

仮想マシン識別子

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象