ProximityPlacementGroupPropertiesIntent Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. ProximityPlacementGroupPropertiesIntent
- com.
Implements
public final class ProximityPlacementGroupPropertiesIntent
implements JsonSerializable<ProximityPlacementGroupPropertiesIntent>
Specifies the user intent of the proximity placement group.
Constructor Summary
Constructor | Description |
---|---|
ProximityPlacementGroupPropertiesIntent() |
Creates an instance of Proximity |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Proximity |
fromJson(JsonReader jsonReader)
Reads an instance of Proximity |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<String> |
vmSizes()
Get the vm |
Proximity |
withVmSizes(List<String> vmSizes)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
ProximityPlacementGroupPropertiesIntent
public ProximityPlacementGroupPropertiesIntent()
Creates an instance of ProximityPlacementGroupPropertiesIntent class.
Method Details
fromJson
public static ProximityPlacementGroupPropertiesIntent fromJson(JsonReader jsonReader)
Reads an instance of ProximityPlacementGroupPropertiesIntent from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
vmSizes
public List
Get the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.
Returns:
withVmSizes
public ProximityPlacementGroupPropertiesIntent withVmSizes(List
Set the vmSizes property: Specifies possible sizes of virtual machines that can be created in the proximity placement group.
Parameters:
Returns:
Applies to
Azure SDK for Java