public class DedicatedHostUpdate extends UpdateResource
Constructor and Description |
---|
DedicatedHostUpdate() |
Modifier and Type | Method and Description |
---|---|
Boolean |
autoReplaceOnFailure()
Get the autoReplaceOnFailure property: Specifies whether the dedicated host should be replaced automatically in
case of a failure.
|
String |
hostId()
Get the hostId property: A unique id generated and assigned to the dedicated host by the platform.
|
DedicatedHostInstanceView |
instanceView()
Get the instanceView property: The dedicated host instance view.
|
DedicatedHostLicenseTypes |
licenseType()
Get the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
dedicated host.
|
Integer |
platformFaultDomain()
Get the platformFaultDomain property: Fault domain of the dedicated host within a dedicated host group.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
OffsetDateTime |
provisioningTime()
Get the provisioningTime property: The date when the host was first provisioned.
|
void |
validate()
Validates the instance.
|
List<SubResourceReadOnly> |
virtualMachines()
Get the virtualMachines property: A list of references to all virtual machines in the Dedicated Host.
|
DedicatedHostUpdate |
withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
Set the autoReplaceOnFailure property: Specifies whether the dedicated host should be replaced automatically in
case of a failure.
|
DedicatedHostUpdate |
withLicenseType(DedicatedHostLicenseTypes licenseType)
Set the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
dedicated host.
|
DedicatedHostUpdate |
withPlatformFaultDomain(Integer platformFaultDomain)
Set the platformFaultDomain property: Fault domain of the dedicated host within a dedicated host group.
|
tags, withTags
public Integer platformFaultDomain()
public DedicatedHostUpdate withPlatformFaultDomain(Integer platformFaultDomain)
platformFaultDomain
- the platformFaultDomain value to set.public Boolean autoReplaceOnFailure()
public DedicatedHostUpdate withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
autoReplaceOnFailure
- the autoReplaceOnFailure value to set.public String hostId()
public List<SubResourceReadOnly> virtualMachines()
public DedicatedHostLicenseTypes licenseType()
public DedicatedHostUpdate withLicenseType(DedicatedHostLicenseTypes licenseType)
licenseType
- the licenseType value to set.public OffsetDateTime provisioningTime()
public String provisioningState()
public DedicatedHostInstanceView instanceView()
public void validate()
validate
in class UpdateResource
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.