public class DedicatedHostInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
DedicatedHostInner() |
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.
|
Sku |
sku()
Get the sku property: SKU of the dedicated host for Hardware Generation and VM family.
|
void |
validate()
Validates the instance.
|
List<SubResourceReadOnly> |
virtualMachines()
Get the virtualMachines property: A list of references to all virtual machines in the Dedicated Host.
|
DedicatedHostInner |
withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
Set the autoReplaceOnFailure property: Specifies whether the dedicated host should be replaced automatically in
case of a failure.
|
DedicatedHostInner |
withLicenseType(DedicatedHostLicenseTypes licenseType)
Set the licenseType property: Specifies the software license type that will be applied to the VMs deployed on the
dedicated host.
|
DedicatedHostInner |
withPlatformFaultDomain(Integer platformFaultDomain)
Set the platformFaultDomain property: Fault domain of the dedicated host within a dedicated host group.
|
DedicatedHostInner |
withSku(Sku sku)
Set the sku property: SKU of the dedicated host for Hardware Generation and VM family.
|
public Sku sku()
public DedicatedHostInner withSku(Sku sku)
sku
- the sku value to set.public Integer platformFaultDomain()
public DedicatedHostInner withPlatformFaultDomain(Integer platformFaultDomain)
platformFaultDomain
- the platformFaultDomain value to set.public Boolean autoReplaceOnFailure()
public DedicatedHostInner withAutoReplaceOnFailure(Boolean autoReplaceOnFailure)
autoReplaceOnFailure
- the autoReplaceOnFailure value to set.public String hostId()
public List<SubResourceReadOnly> virtualMachines()
public DedicatedHostLicenseTypes licenseType()
public DedicatedHostInner withLicenseType(DedicatedHostLicenseTypes licenseType)
licenseType
- the licenseType value to set.public OffsetDateTime provisioningTime()
public String provisioningState()
public DedicatedHostInstanceView instanceView()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.