次の方法で共有


VirtualMachineScaleSetResource.ConvertToSinglePlacementGroupAsync メソッド

定義

既存の仮想マシン スケール セットの SinglePlacementGroup プロパティを false に変換します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup
  • 操作IdVirtualMachineScaleSets_ConvertToSinglePlacementGroup
public virtual System.Threading.Tasks.Task<Azure.Response> ConvertToSinglePlacementGroupAsync (Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertToSinglePlacementGroupAsync : Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ConvertToSinglePlacementGroupAsync : Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ConvertToSinglePlacementGroupAsync (content As VirtualMachineScaleSetConvertToSinglePlacementGroupContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

パラメーター

content
VirtualMachineScaleSetConvertToSinglePlacementGroupContent

ConvertToSinglePlacementGroup API の入力オブジェクト。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象