pod_shapes
Creates, updates, deletes, gets or lists a pod_shapes resource.
Overview​
| Name | pod_shapes |
| Type | Resource |
| Id | oci.container_engine.pod_shapes |
Fields​
The following fields are returned by SELECT queries:
- list
Pod shape.
| Name | Datatype | Description |
|---|---|---|
name | string | The name of the identifying shape. |
memoryOptions | array | ShapeMemoryOptions. |
networkBandwidthOptions | array | ShapeNetworkBandwidthOptions. |
ocpuOptions | array | Options for OCPU shape. |
processorDescription | string | A short description of the VM's processor (CPU). |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | compartmentId, region | opc-request-id, availabilityDomain, name, limit, page, sortOrder, sortBy | List all the Pod Shapes in a compartment. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
compartmentId | string | The OCID of the compartment. |
region | string | OCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION) |
availabilityDomain | string | The availability domain of the pod shape. |
limit | integer | 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. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). |
name | string | The name to filter on. |
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. |
page | string | For list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). |
sortBy | string | The optional field to sort the results by. |
sortOrder | string | The optional order in which to sort the results. |
SELECT examples​
- list
List all the Pod Shapes in a compartment.
SELECT
name,
memoryOptions,
networkBandwidthOptions,
ocpuOptions,
processorDescription
FROM oci.container_engine.pod_shapes
WHERE compartmentId = '{{ compartmentId }}' -- required
AND region = '{{ region }}' -- required
AND opc-request-id = '{{ opc-request-id }}'
AND availabilityDomain = '{{ availabilityDomain }}'
AND name = '{{ name }}'
AND limit = '{{ limit }}'
AND page = '{{ page }}'
AND sortOrder = '{{ sortOrder }}'
AND sortBy = '{{ sortBy }}'
;