共用方式為


AvailabilitySet Interface

Implements

public interface AvailabilitySet
extends GroupableResource<ComputeManager,AvailabilitySetInner>, Refreshable<AvailabilitySet>, Updatable<Update>

An immutable client-side representation of an Azure availability set.

Method Summary

Modifier and Type Method and Description
abstract int faultDomainCount()

Gets the fault domain count of this availability set.

abstract PagedIterable<VirtualMachineSize> listVirtualMachineSizes()

Gets the virtual machine sizes supported in the availability set.

abstract ProximityPlacementGroup proximityPlacementGroup()

Get specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

abstract AvailabilitySetSkuTypes sku()

Gets the availability set SKU.

abstract List<InstanceViewStatus> statuses()

Gets the statuses of the existing virtual machines in the availability set.

abstract int updateDomainCount()

Gets the update domain count of this availability set.

abstract Set<String> virtualMachineIds()

Gets the resource IDs of the virtual machines in the availability set.

Method Details

faultDomainCount

public abstract int faultDomainCount()

Gets the fault domain count of this availability set.

Returns:

the fault domain count of this availability set

listVirtualMachineSizes

public abstract PagedIterable listVirtualMachineSizes()

Gets the virtual machine sizes supported in the availability set.

Returns:

the virtual machine sizes supported in the availability set

proximityPlacementGroup

public abstract ProximityPlacementGroup proximityPlacementGroup()

Get specifies information about the proximity placement group that the virtual machine scale set should be assigned to.

Returns:

the proximityPlacementGroup.

sku

public abstract AvailabilitySetSkuTypes sku()

Gets the availability set SKU.

Returns:

the availability set SKU

statuses

public abstract List statuses()

Gets the statuses of the existing virtual machines in the availability set.

Returns:

the statuses of the existing virtual machines in the availability set

updateDomainCount

public abstract int updateDomainCount()

Gets the update domain count of this availability set.

Returns:

the update domain count of this availability set

virtualMachineIds

public abstract Set virtualMachineIds()

Gets the resource IDs of the virtual machines in the availability set.

Returns:

the resource IDs of the virtual machines in the availability set

Applies to