GetClusterOptions
get
/20180222/clusterOptions/{cluster_option_id}
Get options available for clusters.
Request
Supported Media Types
- application/json
Path Parameters
-
clusterOptionId(required): string
The OCID of the option set to retrieve. Use "all" to get all options, or use a cluster OCID to get options specific to that cluster.
Query Parameters
-
compartmentId: string
Minimum Length:
1
Maximum Length:255
The OCID of the compartment.Default Value:none
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
The cluster options.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Root Schema : ClusterOptions
Type:
object
Options for creating or updating clusters.
Show Source
-
clusterPodNetworkOptions:
array clusterPodNetworkOptions
Maximum Number of Items:
255
Unique Items Required:true
Available CNIs and network options for existing and new node pools of the cluster. -
kubernetesVersions:
array kubernetesVersions
Available Kubernetes versions.
Nested Schema : clusterPodNetworkOptions
Type:
array
Maximum Number of Items:
255
Unique Items Required:
true
Available CNIs and network options for existing and new node pools of the cluster.
Show Source
-
Array of:
object ClusterPodNetworkOptionDetails
Discriminator:
cniType
The CNI type and network details applicable to the node pools of the cluster.
Nested Schema : kubernetesVersions
Type:
array
Available Kubernetes versions.
Show Source
-
Array of:
string
Example:
v1.9.4
Nested Schema : ClusterPodNetworkOptionDetails
Type:
object
Discriminator:
cniType
The CNI type and network details applicable to the node pools of the cluster.
Show Source
-
cniType(required):
string
Minimum Length:
1
Maximum Length:255
Allowed Values:[ "FLANNEL_OVERLAY" ]
The CNI used by the node pools of this cluster.
401 Response
Unauthorized
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
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..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
404 Response
Not Found
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
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..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
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..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
500 Response
Internal Server Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
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..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload
Default Response
An error has occurred.
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
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..Example:
UnknownError
-
message(required):
string
A human-readable error string.Example:
error validating payload