Class ProximityPlacementGroupPropertiesIntent
java.lang.Object
com.azure.resourcemanager.compute.models.ProximityPlacementGroupPropertiesIntent
Specifies the user intent of the proximity placement group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.vmSizes()Get the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.withVmSizes(List<String> vmSizes) Set the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.
-
Constructor Details
-
ProximityPlacementGroupPropertiesIntent
public ProximityPlacementGroupPropertiesIntent()
-
-
Method Details
-
vmSizes
Get the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.- Returns:
- the vmSizes value.
-
withVmSizes
Set the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.- Parameters:
vmSizes- the vmSizes value to set.- Returns:
- the ProximityPlacementGroupPropertiesIntent object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-