node_pool_options
Creates, updates, deletes, gets or lists a node_pool_options resource.
Overview​
| Name | node_pool_options |
| Type | Resource |
| Id | oci.container_engine.node_pool_options |
Fields​
The following fields are returned by SELECT queries:
- get
The node pool options.
| Name | Datatype | Description |
|---|---|---|
images | array | Deprecated. See sources. When creating a node pool using the CreateNodePoolDetails object, only image names contained in this property can be passed to the nodeImageName property. |
kubernetesVersions | array | Available Kubernetes versions. |
shapes | array | Available shapes for nodes. |
sources | array | Available source of the node. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | nodePoolOptionId, region | compartmentId, shouldListAllPatchVersions, nodePoolOsType, nodePoolOsArch, nodePoolK8sVersion, opc-request-id | Get options available for node pools. |
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 |
|---|---|---|
nodePoolOptionId | string | The id of the option set to retrieve. Use "all" get all options, or use a cluster ID to get options specific to the provided cluster. |
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) |
compartmentId | string | The OCID of the compartment. |
nodePoolK8sVersion | string | Filter node pool options by Kubernetes version. |
nodePoolOsArch | string | Filter node pool options by OS architecture. |
nodePoolOsType | string | Filter node pool options by OS type. |
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. |
shouldListAllPatchVersions | boolean | Option to show all kubernetes patch versions |
SELECT examples​
- get
Get options available for node pools.
SELECT
images,
kubernetesVersions,
shapes,
sources
FROM oci.container_engine.node_pool_options
WHERE nodePoolOptionId = '{{ nodePoolOptionId }}' -- required
AND region = '{{ region }}' -- required
AND compartmentId = '{{ compartmentId }}'
AND shouldListAllPatchVersions = '{{ shouldListAllPatchVersions }}'
AND nodePoolOsType = '{{ nodePoolOsType }}'
AND nodePoolOsArch = '{{ nodePoolOsArch }}'
AND nodePoolK8sVersion = '{{ nodePoolK8sVersion }}'
AND opc-request-id = '{{ opc-request-id }}'
;