AvailabilitySet.DefinitionStages.WithProximityPlacementGroup Interface

public static interface AvailabilitySet.DefinitionStages.WithProximityPlacementGroup

The stage of the availability set definition setting ProximityPlacementGroup.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type)

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

abstract WithCreate withProximityPlacementGroup(String promixityPlacementGroupId)

Set information about the proximity placement group that the availability set should be assigned to.

Method Details

withNewProximityPlacementGroup

public abstract AvailabilitySet.DefinitionStages.WithCreate withNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type)

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

Parameters:

proximityPlacementGroupName - The name of the group to be created.
type - the type of the group

Returns:

the next stage of the definition.

withProximityPlacementGroup

public abstract AvailabilitySet.DefinitionStages.WithCreate withProximityPlacementGroup(String promixityPlacementGroupId)

Set information about the proximity placement group that the availability set should be assigned to.

Parameters:

promixityPlacementGroupId - The Id of the proximity placement group subResource.

Returns:

the next stage of the definition.

Applies to