public class AvailabilitySetUpdate extends UpdateResource
| Constructor and Description |
|---|
AvailabilitySetUpdate() |
| 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.
|
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.
|
AvailabilitySetUpdate |
withPlatformFaultDomainCount(Integer platformFaultDomainCount)
Set the platformFaultDomainCount property: Fault Domain count.
|
AvailabilitySetUpdate |
withPlatformUpdateDomainCount(Integer platformUpdateDomainCount)
Set the platformUpdateDomainCount property: Update Domain count.
|
AvailabilitySetUpdate |
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.
|
AvailabilitySetUpdate |
withSku(Sku sku)
Set the sku property: Sku of the availability set.
|
AvailabilitySetUpdate |
withVirtualMachines(List<com.azure.core.management.SubResource> virtualMachines)
Set the virtualMachines property: A list of references to all virtual machines in the availability set.
|
tags, withTagspublic Sku sku()
public AvailabilitySetUpdate withSku(Sku sku)
sku - the sku value to set.public Integer platformUpdateDomainCount()
public AvailabilitySetUpdate withPlatformUpdateDomainCount(Integer platformUpdateDomainCount)
platformUpdateDomainCount - the platformUpdateDomainCount value to set.public Integer platformFaultDomainCount()
public AvailabilitySetUpdate withPlatformFaultDomainCount(Integer platformFaultDomainCount)
platformFaultDomainCount - the platformFaultDomainCount value to set.public List<com.azure.core.management.SubResource> virtualMachines()
public AvailabilitySetUpdate withVirtualMachines(List<com.azure.core.management.SubResource> virtualMachines)
virtualMachines - the virtualMachines value to set.public com.azure.core.management.SubResource proximityPlacementGroup()
public AvailabilitySetUpdate withProximityPlacementGroup(com.azure.core.management.SubResource proximityPlacementGroup)
proximityPlacementGroup - the proximityPlacementGroup value to set.public List<InstanceViewStatus> statuses()
public void validate()
validate in class UpdateResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.