Class DedicatedHostUpdate

java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.DedicatedHostUpdate

public class DedicatedHostUpdate extends UpdateResource
Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated.
  • Constructor Details

    • DedicatedHostUpdate

      public DedicatedHostUpdate()
  • Method Details

    • platformFaultDomain

      public Integer platformFaultDomain()
      Get fault domain of the dedicated host within a dedicated host group.
      Returns:
      the platformFaultDomain value
    • withPlatformFaultDomain

      public DedicatedHostUpdate withPlatformFaultDomain(Integer platformFaultDomain)
      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

      public Boolean 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

      public DedicatedHostUpdate withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
      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

      public String 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

      public List<SubResourceReadOnly> virtualMachines()
      Get a list of references to all virtual machines in the Dedicated Host.
      Returns:
      the virtualMachines value
    • licenseType

      public DedicatedHostLicenseTypes 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

      public DedicatedHostUpdate withLicenseType(DedicatedHostLicenseTypes licenseType)
      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

      public String provisioningState()
      Get the provisioning state, which only appears in the response.
      Returns:
      the provisioningState value
    • instanceView

      public DedicatedHostInstanceView instanceView()
      Get the dedicated host instance view.
      Returns:
      the instanceView value