public class AvailabilitySetInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
AvailabilitySetInner() |
Modifier and Type | Method and Description |
---|---|
Integer |
platformFaultDomainCount()
Get the platformFaultDomainCount property: Fault Domain count.
|
Integer |
platformUpdateDomainCount()
Get the platformUpdateDomainCount property: Update Domain count.
|
com.azure.core.management.SubResource |
proximityPlacementGroup()
Get the proximityPlacementGroup property: Specifies information about the proximity placement group that the
availability set should be assigned to.
|
Sku |
sku()
Get the sku property: Sku of the availability set, only name is required to be set.
|
List<InstanceViewStatus> |
statuses()
Get the statuses property: The resource status information.
|
void |
validate()
Validates the instance.
|
List<com.azure.core.management.SubResource> |
virtualMachines()
Get the virtualMachines property: A list of references to all virtual machines in the availability set.
|
AvailabilitySetInner |
withPlatformFaultDomainCount(Integer platformFaultDomainCount)
Set the platformFaultDomainCount property: Fault Domain count.
|
AvailabilitySetInner |
withPlatformUpdateDomainCount(Integer platformUpdateDomainCount)
Set the platformUpdateDomainCount property: Update Domain count.
|
AvailabilitySetInner |
withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
Set the proximityPlacementGroup property: Specifies information about the proximity placement group that the
availability set should be assigned to.
|
AvailabilitySetInner |
withSku(Sku sku)
Set the sku property: Sku of the availability set, only name is required to be set.
|
AvailabilitySetInner |
withVirtualMachines(List<com.azure.core.management.SubResource> virtualMachines)
Set the virtualMachines property: A list of references to all virtual machines in the availability set.
|
public Sku sku()
public AvailabilitySetInner withSku(Sku sku)
sku
- the sku value to set.public Integer platformUpdateDomainCount()
public AvailabilitySetInner withPlatformUpdateDomainCount(Integer platformUpdateDomainCount)
platformUpdateDomainCount
- the platformUpdateDomainCount value to set.public Integer platformFaultDomainCount()
public AvailabilitySetInner withPlatformFaultDomainCount(Integer platformFaultDomainCount)
platformFaultDomainCount
- the platformFaultDomainCount value to set.public List<com.azure.core.management.SubResource> virtualMachines()
public AvailabilitySetInner withVirtualMachines(List<com.azure.core.management.SubResource> virtualMachines)
virtualMachines
- the virtualMachines value to set.public com.azure.core.management.SubResource proximityPlacementGroup()
public AvailabilitySetInner withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
proximityPlacementGroup
- the proximityPlacementGroup value to set.public List<InstanceViewStatus> statuses()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.