Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceReservationConfigDetails

A template that contains the settings to use when defining the instance capacity configuration.

Properties

Optional clusterConfig

clusterConfig: model.ClusterConfigDetails

Optional clusterPlacementGroupId

clusterPlacementGroupId: undefined | string

The OCID of the cluster placement group for this instance reservation capacity configuration.

Optional faultDomain

faultDomain: undefined | 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.

To retrieve a list of fault domains, use the {@code ListFaultDomains} operation in the [Identity and Access Management Service API](https://docs.cloud.oracle.com/iaas/api/#/en/identity/20160918/).

Example: {@code FAULT-DOMAIN-1}

instanceShape

instanceShape: 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}.

Optional instanceShapeConfig

instanceShapeConfig: model.InstanceReservationShapeConfigDetails

reservedCount

reservedCount: number

The total number of instances that can be launched from the capacity configuration. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj