Class InstancePoolInstance
Information about an instance that belongs to an instance pool.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class InstancePoolInstance
Properties
AvailabilityDomain
Declaration
[Required(ErrorMessage = "AvailabilityDomain is required.")]
[JsonProperty(PropertyName = "availabilityDomain")]
public string AvailabilityDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The availability domain the instance is running in. |
Remarks
Required
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the instance. |
Remarks
Required
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
[JsonProperty(PropertyName = "faultDomain")]
public string FaultDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The fault domain the instance is running in. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the instance. |
Remarks
Required
InstanceConfigurationId
Declaration
[Required(ErrorMessage = "InstanceConfigurationId is required.")]
[JsonProperty(PropertyName = "instanceConfigurationId")]
public string InstanceConfigurationId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the instance configuration used to create the instance. |
Remarks
Required
InstancePoolId
Declaration
[Required(ErrorMessage = "InstancePoolId is required.")]
[JsonProperty(PropertyName = "instancePoolId")]
public string InstancePoolId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the instance pool. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InstancePoolInstance.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
InstancePoolInstance.LifecycleStateEnum? | The attachment state of the instance in relation to the instance pool. |
Remarks
Required
LoadBalancerBackends
Declaration
[JsonProperty(PropertyName = "loadBalancerBackends")]
public List<InstancePoolInstanceLoadBalancerBackend> LoadBalancerBackends { get; set; }
Property Value
Type | Description |
---|---|
List<InstancePoolInstanceLoadBalancerBackend> | The load balancer backends that are configured for the instance. |
Region
Declaration
[Required(ErrorMessage = "Region is required.")]
[JsonProperty(PropertyName = "region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
string | The region that contains the availability domain the instance is running in. |
Remarks
Required
Shape
Declaration
[Required(ErrorMessage = "Shape is required.")]
[JsonProperty(PropertyName = "shape")]
public string Shape { get; set; }
Property Value
Type | Description |
---|---|
string | The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. |
Remarks
Required
State
Declaration
[Required(ErrorMessage = "State is required.")]
[JsonProperty(PropertyName = "state")]
public string State { get; set; }
Property Value
Type | Description |
---|---|
string | The lifecycle state of the instance. Refer to |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the instance pool instance was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z |
Remarks
Required