你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VirtualMachineScaleSetResource.ConvertToSinglePlacementGroup 方法

定义

将现有虚拟机规模集的 SinglePlacementGroup 属性转换为 false。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup
  • 操作IdVirtualMachineScaleSets_ConvertToSinglePlacementGroup
public virtual Azure.Response ConvertToSinglePlacementGroup (Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ConvertToSinglePlacementGroup : Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent * System.Threading.CancellationToken -> Azure.Response
override this.ConvertToSinglePlacementGroup : Azure.ResourceManager.Compute.Models.VirtualMachineScaleSetConvertToSinglePlacementGroupContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ConvertToSinglePlacementGroup (content As VirtualMachineScaleSetConvertToSinglePlacementGroupContent, Optional cancellationToken As CancellationToken = Nothing) As Response

参数

content
VirtualMachineScaleSetConvertToSinglePlacementGroupContent

ConvertToSinglePlacementGroup API 的输入对象。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于