Class InstanceReservationConfig
Data that defines the capacity configuration.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class InstanceReservationConfig
Properties
ClusterConfig
Declaration
[JsonProperty(PropertyName = "clusterConfig")]
public ClusterConfigDetails ClusterConfig { get; set; }
Property Value
Type | Description |
---|---|
ClusterConfigDetails |
ClusterPlacementGroupId
Declaration
[JsonProperty(PropertyName = "clusterPlacementGroupId")]
public string ClusterPlacementGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the cluster placement group for this instance reservation capacity configuration. |
FaultDomain
Declaration
[JsonProperty(PropertyName = "faultDomain")]
public string FaultDomain { get; set; }
Property Value
Type | Description |
---|---|
string | The fault domain of this capacity configuration. If a value is not supplied, this capacity configuration is applicable to all fault domains in the specified availability domain. For more information, see Capacity Reservations. |
InstanceShape
Declaration
[Required(ErrorMessage = "InstanceShape is required.")]
[JsonProperty(PropertyName = "instanceShape")]
public string InstanceShape { get; set; }
Property Value
Type | Description |
---|---|
string | The shape to use when launching instances using compute capacity reservations. The shape determines the number of CPUs, the amount of memory, and other resources allocated to the instance. You can list all available shapes by calling {@link ListComputeCapacityReservationInstanceShapes}. |
Remarks
Required
InstanceShapeConfig
Declaration
[JsonProperty(PropertyName = "instanceShapeConfig")]
public InstanceReservationShapeConfigDetails InstanceShapeConfig { get; set; }
Property Value
Type | Description |
---|---|
InstanceReservationShapeConfigDetails |
ReservedCount
Declaration
[Required(ErrorMessage = "ReservedCount is required.")]
[JsonProperty(PropertyName = "reservedCount")]
public long? ReservedCount { get; set; }
Property Value
Type | Description |
---|---|
long? | The total number of instances that can be launched from the capacity configuration. |
Remarks
Required
UsedCount
Declaration
[Required(ErrorMessage = "UsedCount is required.")]
[JsonProperty(PropertyName = "usedCount")]
public long? UsedCount { get; set; }
Property Value
Type | Description |
---|---|
long? | The amount of capacity in use out of the total capacity reserved in this capacity configuration. |
Remarks
Required