다음을 통해 공유


IWithProximityPlacementGroup.WithNewProximityPlacementGroup Method

Definition

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

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

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