IWithProximityPlacementGroup.WithNewProximityPlacementGroup Method

Definition

Creates a new proximity placement group with the specified name and then adds it to the VM scale set.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithDoNotRunExtensionsOnOverprovisionedVms WithNewProximityPlacementGroup (string proximityPlacementGroupName, Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupType type);
abstract member WithNewProximityPlacementGroup : string * Microsoft.Azure.Management.Compute.Fluent.Models.ProximityPlacementGroupType -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Definition.IWithDoNotRunExtensionsOnOverprovisionedVms
Public Function WithNewProximityPlacementGroup (proximityPlacementGroupName As String, type As ProximityPlacementGroupType) As IWithDoNotRunExtensionsOnOverprovisionedVms

Parameters

proximityPlacementGroupName
String

the name of the group to be created.

type
ProximityPlacementGroupType

the type of the group

Returns

the next stage of the definition.

Applies to