Skip to main content

pod_shapes

Creates, updates, deletes, gets or lists a pod_shapes resource.

Overview​

Namepod_shapes
TypeResource
Idoci.container_engine.pod_shapes

Fields​

The following fields are returned by SELECT queries:

Pod shape.

NameDatatypeDescription
namestringThe name of the identifying shape.
memoryOptionsarrayShapeMemoryOptions.
networkBandwidthOptionsarrayShapeNetworkBandwidthOptions.
ocpuOptionsarrayOptions for OCPU shape.
processorDescriptionstringA short description of the VM's processor (CPU).

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectcompartmentId, regionopc-request-id, availabilityDomain, name, limit, page, sortOrder, sortByList 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.

NameDatatypeDescription
compartmentIdstringThe OCID of the compartment.
regionstringOCI 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)
availabilityDomainstringThe availability domain of the pod shape.
limitintegerFor 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).
namestringThe name to filter on.
opc-request-idstringUnique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
pagestringFor 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).
sortBystringThe optional field to sort the results by.
sortOrderstringThe optional order in which to sort the results.

SELECT examples​

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 }}'
;