IWithProximityPlacementGroup.WithNewProximityPlacementGroup Method

Definition

Creates a new proximity placement gruup with the specified name and then adds it to the availability set.

public Microsoft.Azure.Management.Compute.Fluent.AvailabilitySet.Definition.IWithCreate 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.AvailabilitySet.Definition.IWithCreate
Public Function WithNewProximityPlacementGroup (proximityPlacementGroupName As String, type As ProximityPlacementGroupType) As IWithCreate

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