Class ComputeHost
The customer facing object includes host details.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class ComputeHost
Properties
AdditionalData
Declaration
[JsonProperty(PropertyName = "additionalData")]
public Dictionary<string, object> AdditionalData { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | Additional data that can be exposed to the customer. Will include raw fault codes for strategic customers |
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain of the compute host.
|
Remarks
Required
CapacityReservationId
Declaration
[JsonProperty(PropertyName = "capacityReservationId")]
public string CapacityReservationId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the Capacity Reserver that is currently on host |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the compartment. This should always be the root compartment. |
Remarks
Required
ComputeHostGroupId
Declaration
[JsonProperty(PropertyName = "computeHostGroupId")]
public string ComputeHostGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the Customer-unique host group associated with the Compute Bare Metal Host. |
ConfigurationData
Declaration
[JsonProperty(PropertyName = "configurationData")]
public ComputeHostConfigurationData ConfigurationData { get; set; }
Property Value
Type | Description |
---|---|
ComputeHostConfigurationData |
ConfigurationState
Declaration
[JsonProperty(PropertyName = "configurationState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConfigurationState? ConfigurationState { get; set; }
Property Value
Type | Description |
---|---|
ConfigurationState? | Configuration state of the Compute Bare Metal Host. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a
namespace. For more information, see Resource Tags.
|
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
FaultDomain
Declaration
[Required(ErrorMessage = "FaultDomain is required.")]
[JsonProperty(PropertyName = "faultDomain")]
public string FaultDomain { get; set; }
Property Value
Type | Description |
---|---|
string | A fault domain is a grouping of hardware and infrastructure within an availability domain.
Each availability domain contains three fault domains. Fault domains let you distribute your
instances so that they are not on the same physical hardware within a single availability domain.
A hardware failure or Compute hardware maintenance that affects one fault domain does not affect
instances in other fault domains.
|
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no
predefined name, type, or namespace. For more information, see Resource Tags.
|
GpuMemoryFabricId
Declaration
[JsonProperty(PropertyName = "gpuMemoryFabricId")]
public string GpuMemoryFabricId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for Customer-unique GPU Memory Fabric |
Health
Declaration
[Required(ErrorMessage = "Health is required.")]
[JsonProperty(PropertyName = "health")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComputeHost.HealthEnum? Health { get; set; }
Property Value
Type | Description |
---|---|
ComputeHost.HealthEnum? | The heathy state of the host |
Remarks
Required
HpcIslandId
Declaration
[JsonProperty(PropertyName = "hpcIslandId")]
public string HpcIslandId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for Customer-unique HPC Island |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for the Customer-unique host |
Remarks
Required
ImpactedComponentDetails
Declaration
[JsonProperty(PropertyName = "impactedComponentDetails")]
public Dictionary<string, object> ImpactedComponentDetails { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | A list that contains impacted components related to an unhealthy host. An impacted component will be a free-form structure of key values pairs that will provide more or less details based on data tiering |
InstanceId
Declaration
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type | Description |
---|---|
string | The public OCID for the Virtual Machine or Bare Metal instance |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public Dictionary<string, object> LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> | A free-form description detailing why the host is in its current state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComputeHost.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ComputeHost.LifecycleStateEnum? | The lifecycle state of the host |
Remarks
Required
LocalBlockId
Declaration
[JsonProperty(PropertyName = "localBlockId")]
public string LocalBlockId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for Customer-unique Local Block |
NetworkBlockId
Declaration
[JsonProperty(PropertyName = "networkBlockId")]
public string NetworkBlockId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID for Customer-unique Network Block |
RecycleDetails
Declaration
[JsonProperty(PropertyName = "recycleDetails")]
public RecycleDetails RecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
RecycleDetails |
Shape
Declaration
[Required(ErrorMessage = "Shape is required.")]
[JsonProperty(PropertyName = "shape")]
public string Shape { get; set; }
Property Value
Type | Description |
---|---|
string | The shape of host |
Remarks
Required
TimeConfigurationCheck
Declaration
[JsonProperty(PropertyName = "timeConfigurationCheck")]
public DateTime? TimeConfigurationCheck { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the compute bare metal host configuration check was updated, in the format defined by RFC3339.
|
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the compute host record was created, in the format defined by [RFC3339](https://tools
.ietf.org/html/rfc3339).
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time that the compute host record was updated, in the format defined by RFC3339.
|
Remarks
Required