Compartir a través de


VirtualMachineScaleSetResource.ConvertToSinglePlacementGroupAsync Método

Definición

Convierte la propiedad SinglePlacementGroup en false para un conjunto de escalado de máquinas virtuales existente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup
  • IdVirtualMachineScaleSets_ConvertToSinglePlacementGroup de operaciones
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)

Parámetros

content
VirtualMachineScaleSetConvertToSinglePlacementGroupContent

Objeto de entrada para ConvertToSinglePlacementGroup API.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a