Interface VirtualMachine.DefinitionStages.WithProximityPlacementGroup
-
- All Superinterfaces:
VirtualMachine.DefinitionStages.WithOS
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged,VirtualMachine.DefinitionManagedOrUnmanaged,VirtualMachine.DefinitionShared
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithProximityPlacementGroup extends VirtualMachine.DefinitionStages.WithOS
The stage of a virtual machine definition allowing to set information about the proximity placement group that the virtual machine scale set should be assigned to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithOSwithNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type)Creates a new proximity placement gruup witht he specified name and then adds it to the VM.VirtualMachine.DefinitionStages.WithOSwithProximityPlacementGroup(String promixityPlacementGroupId)Set information about the proximity placement group that the virtual machine scale set should be assigned to.-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithOS
withGeneralizedLinuxCustomImage, withGeneralizedLinuxGalleryImageVersion, withGeneralizedWindowsCustomImage, withGeneralizedWindowsGalleryImageVersion, withLatestLinuxImage, withLatestWindowsImage, withPopularLinuxImage, withPopularWindowsImage, withSpecializedLinuxCustomImage, withSpecializedLinuxGalleryImageVersion, withSpecializedOSDisk, withSpecializedOSUnmanagedDisk, withSpecializedWindowsCustomImage, withSpecializedWindowsGalleryImageVersion, withSpecificLinuxImageVersion, withSpecificWindowsImageVersion, withStoredLinuxImage, withStoredWindowsImage
-
-
-
-
Method Detail
-
withProximityPlacementGroup
VirtualMachine.DefinitionStages.WithOS withProximityPlacementGroup(String promixityPlacementGroupId)
Set information about the proximity placement group that the virtual machine scale set should be assigned to.- Parameters:
promixityPlacementGroupId- The Id of the proximity placement group subResource.- Returns:
- the next stage of the definition.
-
withNewProximityPlacementGroup
VirtualMachine.DefinitionStages.WithOS withNewProximityPlacementGroup(String proximityPlacementGroupName, ProximityPlacementGroupType type)
Creates a new proximity placement gruup witht he specified name and then adds it to the VM.- Parameters:
proximityPlacementGroupName- The name of the group to be created.type- the type of the group- Returns:
- the next stage of the definition.
-
-