VirtualMachineScaleSetsOperationsExtensions.ConvertToSinglePlacementGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts SinglePlacementGroup property to false for a existing virtual machine scale set.
public static void ConvertToSinglePlacementGroup (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations operations, string resourceGroupName, string vmScaleSetName, string activePlacementGroupId = default);
static member ConvertToSinglePlacementGroup : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetsOperations * string * string * string -> unit
<Extension()>
Public Sub ConvertToSinglePlacementGroup (operations As IVirtualMachineScaleSetsOperations, resourceGroupName As String, vmScaleSetName As String, Optional activePlacementGroupId As String = Nothing)
Parameters
- operations
- IVirtualMachineScaleSetsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- vmScaleSetName
- String
The name of the virtual machine scale set to create or update.
- activePlacementGroupId
- String
Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應