Class InstanceReservationConfigDetails
A template that contains the settings to use when defining the instance capacity configuration.
Inherited Members
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class InstanceReservationConfigDetails
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 to use for instances created using this capacity configuration.
For more information, see Fault Domains.
If you do not specify the fault domain, the capacity is available for an instance
that does not specify a fault domain. To change the fault domain for a reservation,
delete the reservation and create a new one in the preferred fault domain.
|
InstanceShape
Declaration
[Required(ErrorMessage = "InstanceShape is required.")]
[JsonProperty(PropertyName = "instanceShape")]
public string InstanceShape { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The shape requested when launching instances using reserved capacity. The shape determines the number of CPUs, 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