Class DedicatedHostGroupUpdate
java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.DedicatedHostGroupUpdate
Specifies information about the dedicated host group that the dedicated host
should be assigned to. Only tags may be updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhosts()
Get a list of references to all dedicated hosts in the dedicated host group.Get the dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.int
Get number of fault domains that the host group can span.Get specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group.withPlatformFaultDomainCount
(int platformFaultDomainCount) Set number of fault domains that the host group can span.withSupportAutomaticPlacement
(Boolean supportAutomaticPlacement) Set specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group.Set availability Zone to use for this host group.zones()
Get availability Zone to use for this host group.Methods inherited from class com.microsoft.azure.management.compute.UpdateResource
tags, withTags
-
Constructor Details
-
DedicatedHostGroupUpdate
public DedicatedHostGroupUpdate()
-
-
Method Details
-
platformFaultDomainCount
public int platformFaultDomainCount()Get number of fault domains that the host group can span.- Returns:
- the platformFaultDomainCount value
-
withPlatformFaultDomainCount
Set number of fault domains that the host group can span.- Parameters:
platformFaultDomainCount
- the platformFaultDomainCount value to set- Returns:
- the DedicatedHostGroupUpdate object itself.
-
hosts
Get a list of references to all dedicated hosts in the dedicated host group.- Returns:
- the hosts value
-
instanceView
Get the dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.- Returns:
- the instanceView value
-
supportAutomaticPlacement
Get specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01.- Returns:
- the supportAutomaticPlacement value
-
withSupportAutomaticPlacement
Set specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01.- Parameters:
supportAutomaticPlacement
- the supportAutomaticPlacement value to set- Returns:
- the DedicatedHostGroupUpdate object itself.
-
zones
Get availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.- Returns:
- the zones value
-
withZones
Set availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.- Parameters:
zones
- the zones value to set- Returns:
- the DedicatedHostGroupUpdate object itself.
-