Lists the shapes that can be used to create container instances.
get
/20210415/containerInstanceShapes
Request
Supported Media Types
- application/json
Query Parameters
-
availabilityDomain: string
The availability domain of the pod shape.
-
compartmentId(required): string
Minimum Length:
1
Maximum Length:255
The OCID of the compartment. -
faultDomain: string
The name of the fault domain. Should be one of `FAULT-DOMAIN-1`, `FAULT-DOMAIN-2` or `FAULT-DOMAIN-3`
-
limit: integer
Minimum Value:
1
Maximum Value:1000
For list pagination. The maximum number of results per page, or items to return in a paginated List call. 1 is the minimum, 1000 is the maximum.Default Value:100
-
page: string
Minimum Length:
1
Maximum Length:512
For list pagination. The value of the opc-next-page response header from the previous List call.Default Value:0
Header Parameters
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Response
Supported Media Types
- application/json
200 Response
A page of ContainerInstanceShapeSummary objects.
Headers
-
opc-next-page: string
Pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent GET request to get the next batch of items.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : ContainerInstanceShapeCollection
Type:
object
A collection of container instance shapes.
Show Source
-
items(required):
array items
A list of shapes.
Nested Schema : items
Type:
array
A list of shapes.
Show Source
-
Array of:
object ContainerInstanceShapeSummary
Details about a shape for a container instance.
Nested Schema : ContainerInstanceShapeSummary
Type:
object
Details about a shape for a container instance.
Show Source
-
availabilityDetails:
array availabilityDetails
Minimum Number of Items:
0
Maximum Number of Items:20
List of ADs / FDs in which the given shape is available. -
memoryOptions:
object ShapeMemoryOptions
For a flexible shape, the amount of memory available for instances that use this shape. If this field is null, then this shape has a fixed amount of memory equivalent to memoryInGBs.
-
name(required):
string
The name identifying the shape.
-
networkingBandwidthOptions:
object ShapeNetworkingBandwidthOptions
For a flexible shape, the amount of networking bandwidth available for instances that use this shape. If this field is null, then this shape has a fixed amount of bandwidth equivalent to networkingBandwidthInGbps.
-
ocpuOptions:
object ShapeOcpuOptions
For a flexible shape, the number of OCPUs available for instances that use this shape. If this field is null, then this shape has a fixed number of OCPUs equal to ocpus.
-
processorDescription(required):
string
Minimum Length:
1
Maximum Length:255
A short description of the container instance's processor (CPU).
Nested Schema : availabilityDetails
Type:
array
Minimum Number of Items:
0
Maximum Number of Items:
20
List of ADs / FDs in which the given shape is available.
Show Source
-
Array of:
object FaultDomainDetails
Object with details of AD and FD information in which given shape is available.
Nested Schema : ShapeMemoryOptions
Type:
object
For a flexible shape, the amount of memory available for instances that use this shape. If this field is null, then this shape has a fixed amount of memory equivalent to memoryInGBs.
Show Source
-
defaultPerOcpuInGBs:
number(float)
Minimum Value:
0
The default amount of memory per OCPU available for this shape, in gigabytes. -
maxInGBs:
number(float)
Minimum Value:
0
The maximum amount of memory, in gigabytes. -
maxPerNumaNodeInGBs:
number(float)
Minimum Value:
0
The maximum amount of memory per NUMA node, in gigabytes. -
maxPerOcpuInGBs:
number(float)
Minimum Value:
0
Minimum Value:> true
The maximum amount of memory per OCPU available for this shape, in gigabytes. -
minInGBs:
number(float)
Minimum Value:
0
The minimum amount of memory, in gigabytes. -
minPerOcpuInGBs:
number(float)
Minimum Value:
0
Minimum Value:> true
The minimum amount of memory per OCPU available for this shape, in gigabytes.
Nested Schema : ShapeNetworkingBandwidthOptions
Type:
object
For a flexible shape, the amount of networking bandwidth available for instances that use this shape. If this field is null, then this shape has a fixed amount of bandwidth equivalent to networkingBandwidthInGbps.
Show Source
-
defaultPerOcpuInGbps:
number(float)
Minimum Value:
0
The default amount of networking bandwidth per OCPU, in gigabits per second. -
maxInGbps:
number(float)
Minimum Value:
0
The maximum amount of networking bandwidth, in gigabits per second. -
minInGbps:
number(float)
Minimum Value:
0
The minimum amount of networking bandwidth, in gigabits per second.
Nested Schema : ShapeOcpuOptions
Type:
object
For a flexible shape, the number of OCPUs available for instances that use this shape. If this field is null, then this shape has a fixed number of OCPUs equal to ocpus.
Show Source
-
max:
number(float)
Minimum Value:
0
The maximum number of OCPUs. -
maxPerNumaNode:
number(float)
Minimum Value:
0
The maximum number of cores available per NUMA node. -
min:
number(float)
Minimum Value:
0
The minimum number of OCPUs.
Nested Schema : FaultDomainDetails
Type:
object
Object with details of AD and FD information in which given shape is available.
Show Source
-
availabilityDomain(required):
string
Minimum Length:
1
Maximum Length:255
Availability domain in which shape is available. Example: `Uocm:PHX-AD-1` -
faultDomain(required):
string
Minimum Length:
1
Maximum Length:255
Fault domain in which shape is available. Will be one of `FAULT-DOMAIN-1`, `FAULT-DOMAIN-2` or `FAULT-DOMAIN-3`
400 Response
Bad Request
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.
Default Response
Unknown Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you must contact Oracle about a particular request, then provide the request identifier.
Root Schema : Error
Type:
object
The properties that define an error.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing. See [API Errors](https://docs.us-phoenix-1.oraclecloud.com/Content/API/References/apierrors.htm).
-
message(required):
string
A human-readable error string.