Interface AvailabilitySet.DefinitionStages.WithProximityPlacementGroup

All Known Subinterfaces:
AvailabilitySet.Definition, AvailabilitySet.DefinitionStages.WithCreate
Enclosing interface:
AvailabilitySet.DefinitionStages

public static interface AvailabilitySet.DefinitionStages.WithProximityPlacementGroup
The stage of the availability set definition setting ProximityPlacementGroup.
  • Method Details

    • withProximityPlacementGroup

      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.
    • withNewProximityPlacementGroup

      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.