ProximityPlacementGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. ProximityPlacementGroupInner
- com.
- com.
- com.
public final class ProximityPlacementGroupInner
extends Resource
Specifies information about the proximity placement group.
Constructor Summary
Constructor | Description |
---|---|
ProximityPlacementGroupInner() |
Creates an instance of Proximity |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Sub |
availabilitySets()
Get the availability |
Instance |
colocationStatus()
Get the colocation |
static
Proximity |
fromJson(JsonReader jsonReader)
Reads an instance of Proximity |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Proximity |
intent()
Get the intent property: Specifies the user intent of the proximity placement group. |
String |
name()
Get the name property: The name of the resource. |
Proximity |
proximityPlacementGroupType()
Get the proximity |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
List<Sub |
virtualMachineScaleSets()
Get the virtual |
List<Sub |
virtualMachines()
Get the virtual |
Proximity |
withColocationStatus(InstanceViewStatus colocationStatus)
Set the colocation |
Proximity |
withIntent(ProximityPlacementGroupPropertiesIntent intent)
Set the intent property: Specifies the user intent of the proximity placement group. |
Proximity |
withLocation(String location) |
Proximity |
withProximityPlacementGroupType(ProximityPlacementGroupType proximityPlacementGroupType)
Set the proximity |
Proximity |
withTags(Map<String,String> tags) |
Proximity |
withZones(List<String> zones)
Set the zones property: Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created. |
List<String> |
zones()
Get the zones property: Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ProximityPlacementGroupInner
public ProximityPlacementGroupInner()
Creates an instance of ProximityPlacementGroupInner class.
Method Details
availabilitySets
public List
Get the availabilitySets property: A list of references to all availability sets in the proximity placement group.
Returns:
colocationStatus
public InstanceViewStatus colocationStatus()
Get the colocationStatus property: Describes colocation status of the Proximity Placement Group.
Returns:
fromJson
public static ProximityPlacementGroupInner fromJson(JsonReader jsonReader)
Reads an instance of ProximityPlacementGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ProximityPlacementGroupInner.id()Returns:
intent
public ProximityPlacementGroupPropertiesIntent intent()
Get the intent property: Specifies the user intent of the proximity placement group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ProximityPlacementGroupInner.name()Returns:
proximityPlacementGroupType
public ProximityPlacementGroupType proximityPlacementGroupType()
Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ProximityPlacementGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ProximityPlacementGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
virtualMachineScaleSets
public List
Get the virtualMachineScaleSets property: A list of references to all virtual machine scale sets in the proximity placement group.
Returns:
virtualMachines
public List
Get the virtualMachines property: A list of references to all virtual machines in the proximity placement group.
Returns:
withColocationStatus
public ProximityPlacementGroupInner withColocationStatus(InstanceViewStatus colocationStatus)
Set the colocationStatus property: Describes colocation status of the Proximity Placement Group.
Parameters:
Returns:
withIntent
public ProximityPlacementGroupInner withIntent(ProximityPlacementGroupPropertiesIntent intent)
Set the intent property: Specifies the user intent of the proximity placement group.
Parameters:
Returns:
withLocation
public ProximityPlacementGroupInner withLocation(String location)
Overrides:
ProximityPlacementGroupInner.withLocation(String location)Parameters:
withProximityPlacementGroupType
public ProximityPlacementGroupInner withProximityPlacementGroupType(ProximityPlacementGroupType proximityPlacementGroupType)
Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group. Possible values are: **Standard** : Co-locate resources within an Azure region or Availability Zone. **Ultra** : For future use.
Parameters:
Returns:
withTags
public ProximityPlacementGroupInner withTags(Map
Overrides:
ProximityPlacementGroupInner.withTags(Map<String,String> tags)Parameters:
withZones
public ProximityPlacementGroupInner withZones(List
Set the zones property: Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.
Parameters:
Returns:
zones
public List
Get the zones property: Specifies the Availability Zone where virtual machine, virtual machine scale set or availability set associated with the proximity placement group can be created.
Returns: