Class DedicatedHostUpdate
java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.DedicatedHostUpdate
Specifies information about the dedicated host. Only tags,
autoReplaceOnFailure and licenseType may be updated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet specifies whether the dedicated host should be replaced automatically in case of a failure.hostId()
Get a unique id generated and assigned to the dedicated host by the platform.Get the dedicated host instance view.Get specifies the software license type that will be applied to the VMs deployed on the dedicated host.Get fault domain of the dedicated host within a dedicated host group.Get the provisioning state, which only appears in the response.org.joda.time.DateTime
Get the date when the host was first provisioned.Get a list of references to all virtual machines in the Dedicated Host.withAutoReplaceOnFailure
(Boolean autoReplaceOnFailure) Set specifies whether the dedicated host should be replaced automatically in case of a failure.withLicenseType
(DedicatedHostLicenseTypes licenseType) Set specifies the software license type that will be applied to the VMs deployed on the dedicated host.withPlatformFaultDomain
(Integer platformFaultDomain) Set fault domain of the dedicated host within a dedicated host group.Methods inherited from class com.microsoft.azure.management.compute.UpdateResource
tags, withTags
-
Constructor Details
-
DedicatedHostUpdate
public DedicatedHostUpdate()
-
-
Method Details
-
platformFaultDomain
Get fault domain of the dedicated host within a dedicated host group.- Returns:
- the platformFaultDomain value
-
withPlatformFaultDomain
Set fault domain of the dedicated host within a dedicated host group.- Parameters:
platformFaultDomain
- the platformFaultDomain value to set- Returns:
- the DedicatedHostUpdate object itself.
-
autoReplaceOnFailure
Get specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.- Returns:
- the autoReplaceOnFailure value
-
withAutoReplaceOnFailure
Set specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.- Parameters:
autoReplaceOnFailure
- the autoReplaceOnFailure value to set- Returns:
- the DedicatedHostUpdate object itself.
-
hostId
Get a unique id generated and assigned to the dedicated host by the platform. <br><br> Does not change throughout the lifetime of the host.- Returns:
- the hostId value
-
virtualMachines
Get a list of references to all virtual machines in the Dedicated Host.- Returns:
- the virtualMachines value
-
licenseType
Get specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br><br> Possible values are: <br><br> **None** <br><br> **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default: **None**. Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual'.- Returns:
- the licenseType value
-
withLicenseType
Set specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br><br> Possible values are: <br><br> **None** <br><br> **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default: **None**. Possible values include: 'None', 'Windows_Server_Hybrid', 'Windows_Server_Perpetual'.- Parameters:
licenseType
- the licenseType value to set- Returns:
- the DedicatedHostUpdate object itself.
-
provisioningTime
public org.joda.time.DateTime provisioningTime()Get the date when the host was first provisioned.- Returns:
- the provisioningTime value
-
provisioningState
Get the provisioning state, which only appears in the response.- Returns:
- the provisioningState value
-
instanceView
Get the dedicated host instance view.- Returns:
- the instanceView value
-