public class ProximityPlacementGroupInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
ProximityPlacementGroupInner() |
Modifier and Type | Method and Description |
---|---|
List<SubResourceWithColocationStatus> |
availabilitySets()
Get the availabilitySets property: A list of references to all availability sets in the proximity placement
group.
|
InstanceViewStatus |
colocationStatus()
Get the colocationStatus property: Describes colocation status of the Proximity Placement Group.
|
ProximityPlacementGroupType |
proximityPlacementGroupType()
Get the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
|
void |
validate()
Validates the instance.
|
List<SubResourceWithColocationStatus> |
virtualMachines()
Get the virtualMachines property: A list of references to all virtual machines in the proximity placement group.
|
List<SubResourceWithColocationStatus> |
virtualMachineScaleSets()
Get the virtualMachineScaleSets property: A list of references to all virtual machine scale sets in the proximity
placement group.
|
ProximityPlacementGroupInner |
withColocationStatus(InstanceViewStatus colocationStatus)
Set the colocationStatus property: Describes colocation status of the Proximity Placement Group.
|
ProximityPlacementGroupInner |
withProximityPlacementGroupType(ProximityPlacementGroupType proximityPlacementGroupType)
Set the proximityPlacementGroupType property: Specifies the type of the proximity placement group.
|
public ProximityPlacementGroupType proximityPlacementGroupType()
public ProximityPlacementGroupInner withProximityPlacementGroupType(ProximityPlacementGroupType proximityPlacementGroupType)
proximityPlacementGroupType
- the proximityPlacementGroupType value to set.public List<SubResourceWithColocationStatus> virtualMachines()
public List<SubResourceWithColocationStatus> virtualMachineScaleSets()
public List<SubResourceWithColocationStatus> availabilitySets()
public InstanceViewStatus colocationStatus()
public ProximityPlacementGroupInner withColocationStatus(InstanceViewStatus colocationStatus)
colocationStatus
- the colocationStatus value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.