Share via


Host Class

Definition

Define the host.

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

Constructors

Host()

Creates an new Host instance.

Properties

CpuMhz

Gets the max CPU usage across all cores in MHz.

CustomResourceName

Gets the name of the corresponding resource in Kubernetes.

DatastoreId

Gets the datastore ARM ids.

ExtendedLocationName

The extended location name.

ExtendedLocationType

The extended location type.

Id

Gets or sets the Id.

InventoryItemId

Gets or sets the inventory Item ID for the host.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

Gets or sets the location.

MemorySizeGb

Gets the total amount of physical memory on the host in GB.

MoName

Gets or sets the vCenter Managed Object name for the host.

MoRefId

Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.

Name

Gets or sets the name.

NetworkId

Gets the network ARM ids.

OverallCpuUsageMHz

Gets the used CPU usage across all cores in MHz.

OverallMemoryUsageGb

Gets the used physical memory on the host in GB.

ProvisioningState

Gets the provisioning state.

ResourceGroupName

Gets the resource group name

Statuses

The resource status information.

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.

Tag

Gets or sets the Resource tags.

Type

Gets or sets the type of the resource.

Uuid

Gets or sets a unique identifier for this resource.

VCenterId

Gets or sets the ARM Id of the vCenter resource in which this host resides.

Methods

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.ConnectedVMware.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()

Applies to