public class DedicatedHostUpdate extends UpdateResource
| Constructor and Description |
|---|
DedicatedHostUpdate() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoReplaceOnFailure()
Get specifies whether the dedicated host should be replaced automatically in case of a failure.
|
String |
hostId()
Get a unique id generated and assigned to the dedicated host by the platform.
|
DedicatedHostInstanceView |
instanceView()
Get the dedicated host instance view.
|
DedicatedHostLicenseTypes |
licenseType()
Get specifies the software license type that will be applied to the VMs deployed on the dedicated host.
|
Integer |
platformFaultDomain()
Get fault domain of the dedicated host within a dedicated host group.
|
String |
provisioningState()
Get the provisioning state, which only appears in the response.
|
org.joda.time.DateTime |
provisioningTime()
Get the date when the host was first provisioned.
|
List<SubResourceReadOnly> |
virtualMachines()
Get a list of references to all virtual machines in the Dedicated Host.
|
DedicatedHostUpdate |
withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
Set specifies whether the dedicated host should be replaced automatically in case of a failure.
|
DedicatedHostUpdate |
withLicenseType(DedicatedHostLicenseTypes licenseType)
Set specifies the software license type that will be applied to the VMs deployed on the dedicated host.
|
DedicatedHostUpdate |
withPlatformFaultDomain(Integer platformFaultDomain)
Set fault domain of the dedicated host within a dedicated host group.
|
tags, withTagspublic Integer platformFaultDomain()
public DedicatedHostUpdate withPlatformFaultDomain(Integer platformFaultDomain)
platformFaultDomain - the platformFaultDomain value to setpublic Boolean autoReplaceOnFailure()
public DedicatedHostUpdate withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
autoReplaceOnFailure - the autoReplaceOnFailure value to setpublic String hostId()
public List<SubResourceReadOnly> virtualMachines()
public DedicatedHostLicenseTypes licenseType()
public DedicatedHostUpdate withLicenseType(DedicatedHostLicenseTypes licenseType)
licenseType - the licenseType value to setpublic org.joda.time.DateTime provisioningTime()
public String provisioningState()
public DedicatedHostInstanceView instanceView()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/