Share via


Host Class

Definition

A host resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HostTypeConverter))]
public class Host : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IHost, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.HostTypeConverter))>]
type Host = class
    interface IHost
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class Host
Implements IHost, IValidates
Inheritance
Host
Attributes
Implements

Constructors

Name Description
Host()

Creates an new Host instance.

Properties

Name Description
DisplayName

Display name of the host in VMware vCenter.

FaultDomain
Fqdn

Fully qualified domain name of the host.

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Kind

The kind of host

Maintenance

If provided, the host is in maintenance. The value is the reason for maintenance.

MoRefId

vCenter managed object reference ID of the host.

Name

The name of the resource

Property

The resource-specific properties for this resource.

ProvisioningState

The state of the host provisioning.

ResourceGroupName

Gets the resource group name

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. E.g. P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Zone

The availability zones.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Host.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Host.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IHost.

FromJsonString(String)

Creates a new instance of Host, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Host into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to