次の方法で共有


VirtualMachineScaleSetVMsOperationsExtensions.GetAsync メソッド

定義

VM スケール セットから仮想マシンを取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner> GetAsync(this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, Microsoft.Azure.Management.Compute.Fluent.Models.InstanceViewTypes? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<Microsoft.Azure.Management.Compute.Fluent.Models.InstanceViewTypes> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineScaleSetVMInner>
<Extension()>
Public Function GetAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional expand As Nullable(Of InstanceViewTypes) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineScaleSetVMInner)

パラメーター

operations
IVirtualMachineScaleSetVMsOperations

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

resourceGroupName
String

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

vmScaleSetName
String

VM スケール セットの名前。

instanceId
String

仮想マシンのインスタンス ID。

expand
Nullable<InstanceViewTypes>

操作に適用する展開式。 使用可能な値は、'instanceView' です。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象