Class AvailabilitySetUpdate
java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.AvailabilitySetUpdate
Specifies information about the availability set that the virtual machine
should be assigned to. Only tags may be updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet fault Domain count.Get update Domain count.com.microsoft.azure.SubResource
Get specifies information about the proximity placement group that the availability set should be assigned to.sku()
Get sku of the availability set.statuses()
Get the resource status information.List<com.microsoft.azure.SubResource>
Get a list of references to all virtual machines in the availability set.withPlatformFaultDomainCount
(Integer platformFaultDomainCount) Set fault Domain count.withPlatformUpdateDomainCount
(Integer platformUpdateDomainCount) Set update Domain count.withProximityPlacementGroup
(com.microsoft.azure.SubResource proximityPlacementGroup) Set specifies information about the proximity placement group that the availability set should be assigned to.Set sku of the availability set.withVirtualMachines
(List<com.microsoft.azure.SubResource> virtualMachines) Set a list of references to all virtual machines in the availability set.Methods inherited from class com.microsoft.azure.management.compute.UpdateResource
tags, withTags
-
Constructor Details
-
AvailabilitySetUpdate
public AvailabilitySetUpdate()
-
-
Method Details
-
platformUpdateDomainCount
Get update Domain count.- Returns:
- the platformUpdateDomainCount value
-
withPlatformUpdateDomainCount
Set update Domain count.- Parameters:
platformUpdateDomainCount
- the platformUpdateDomainCount value to set- Returns:
- the AvailabilitySetUpdate object itself.
-
platformFaultDomainCount
Get fault Domain count.- Returns:
- the platformFaultDomainCount value
-
withPlatformFaultDomainCount
Set fault Domain count.- Parameters:
platformFaultDomainCount
- the platformFaultDomainCount value to set- Returns:
- the AvailabilitySetUpdate object itself.
-
virtualMachines
Get a list of references to all virtual machines in the availability set.- Returns:
- the virtualMachines value
-
withVirtualMachines
public AvailabilitySetUpdate withVirtualMachines(List<com.microsoft.azure.SubResource> virtualMachines) Set a list of references to all virtual machines in the availability set.- Parameters:
virtualMachines
- the virtualMachines value to set- Returns:
- the AvailabilitySetUpdate object itself.
-
proximityPlacementGroup
public com.microsoft.azure.SubResource proximityPlacementGroup()Get specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.- Returns:
- the proximityPlacementGroup value
-
withProximityPlacementGroup
public AvailabilitySetUpdate withProximityPlacementGroup(com.microsoft.azure.SubResource proximityPlacementGroup) Set specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.- Parameters:
proximityPlacementGroup
- the proximityPlacementGroup value to set- Returns:
- the AvailabilitySetUpdate object itself.
-
statuses
Get the resource status information.- Returns:
- the statuses value
-
sku
Get sku of the availability set.- Returns:
- the sku value
-
withSku
Set sku of the availability set.- Parameters:
sku
- the sku value to set- Returns:
- the AvailabilitySetUpdate object itself.
-