Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.ContainerEngine.getClusters
Explore with Pulumi AI
This data source provides the list of Clusters in Oracle Cloud Infrastructure Container Engine service.
List all the cluster objects in a compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testClusters = oci.ContainerEngine.getClusters({
compartmentId: compartmentId,
name: clusterName,
states: clusterState,
});
import pulumi
import pulumi_oci as oci
test_clusters = oci.ContainerEngine.get_clusters(compartment_id=compartment_id,
name=cluster_name,
states=cluster_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ContainerEngine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ContainerEngine.GetClusters(ctx, &containerengine.GetClustersArgs{
CompartmentId: compartmentId,
Name: pulumi.StringRef(clusterName),
States: clusterState,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testClusters = Oci.ContainerEngine.GetClusters.Invoke(new()
{
CompartmentId = compartmentId,
Name = clusterName,
States = clusterState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ContainerEngine.ContainerEngineFunctions;
import com.pulumi.oci.ContainerEngine.inputs.GetClustersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testClusters = ContainerEngineFunctions.getClusters(GetClustersArgs.builder()
.compartmentId(compartmentId)
.name(clusterName)
.states(clusterState)
.build());
}
}
variables:
testClusters:
fn::invoke:
Function: oci:ContainerEngine:getClusters
Arguments:
compartmentId: ${compartmentId}
name: ${clusterName}
states: ${clusterState}
Using getClusters
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClusters(args: GetClustersArgs, opts?: InvokeOptions): Promise<GetClustersResult>
function getClustersOutput(args: GetClustersOutputArgs, opts?: InvokeOptions): Output<GetClustersResult>
def get_clusters(compartment_id: Optional[str] = None,
filters: Optional[Sequence[_containerengine.GetClustersFilter]] = None,
name: Optional[str] = None,
states: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetClustersResult
def get_clusters_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_containerengine.GetClustersFilterArgs]]]] = None,
name: Optional[pulumi.Input[str]] = None,
states: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClustersResult]
func GetClusters(ctx *Context, args *GetClustersArgs, opts ...InvokeOption) (*GetClustersResult, error)
func GetClustersOutput(ctx *Context, args *GetClustersOutputArgs, opts ...InvokeOption) GetClustersResultOutput
> Note: This function is named GetClusters
in the Go SDK.
public static class GetClusters
{
public static Task<GetClustersResult> InvokeAsync(GetClustersArgs args, InvokeOptions? opts = null)
public static Output<GetClustersResult> Invoke(GetClustersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClustersResult> getClusters(GetClustersArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:ContainerEngine/getClusters:getClusters
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Filters
List<Get
Clusters Filter> - Name string
- The name to filter on.
- States List<string>
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- Compartment
Id string - The OCID of the compartment.
- Filters
[]Get
Clusters Filter - Name string
- The name to filter on.
- States []string
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- compartment
Id String - The OCID of the compartment.
- filters
List<Get
Clusters Filter> - name String
- The name to filter on.
- states List<String>
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- compartment
Id string - The OCID of the compartment.
- filters
Get
Clusters Filter[] - name string
- The name to filter on.
- states string[]
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- compartment_
id str - The OCID of the compartment.
- filters
Sequence[containerengine.
Get Clusters Filter] - name str
- The name to filter on.
- states Sequence[str]
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- compartment
Id String - The OCID of the compartment.
- filters List<Property Map>
- name String
- The name to filter on.
- states List<String>
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
getClusters Result
The following output properties are available:
- Clusters
List<Get
Clusters Cluster> - The list of clusters.
- Compartment
Id string - The OCID of the compartment in which the cluster exists.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Clusters Filter> - Name string
- The name of the cluster.
- States List<string>
- The state of the cluster masters.
- Clusters
[]Get
Clusters Cluster - The list of clusters.
- Compartment
Id string - The OCID of the compartment in which the cluster exists.
- Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Clusters Filter - Name string
- The name of the cluster.
- States []string
- The state of the cluster masters.
- clusters
List<Get
Clusters Cluster> - The list of clusters.
- compartment
Id String - The OCID of the compartment in which the cluster exists.
- id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Clusters Filter> - name String
- The name of the cluster.
- states List<String>
- The state of the cluster masters.
- clusters
Get
Clusters Cluster[] - The list of clusters.
- compartment
Id string - The OCID of the compartment in which the cluster exists.
- id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Clusters Filter[] - name string
- The name of the cluster.
- states string[]
- The state of the cluster masters.
- clusters
Sequence[containerengine.
Get Clusters Cluster] - The list of clusters.
- compartment_
id str - The OCID of the compartment in which the cluster exists.
- id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[containerengine.
Get Clusters Filter] - name str
- The name of the cluster.
- states Sequence[str]
- The state of the cluster masters.
- clusters List<Property Map>
- The list of clusters.
- compartment
Id String - The OCID of the compartment in which the cluster exists.
- id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
- name String
- The name of the cluster.
- states List<String>
- The state of the cluster masters.
Supporting Types
GetClustersCluster
- Available
Kubernetes List<string>Upgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- Cluster
Pod List<GetNetwork Options Clusters Cluster Cluster Pod Network Option> - Available CNIs and network options for existing and new node pools of the cluster
- Compartment
Id string - The OCID of the compartment.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Endpoint
Configs List<GetClusters Cluster Endpoint Config> - The network configuration for access to the Cluster control plane.
- Endpoints
List<Get
Clusters Cluster Endpoint> - Endpoints served up by the cluster masters.
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the cluster.
- Image
Policy List<GetConfigs Clusters Cluster Image Policy Config> - The image verification policy for signature validation.
- Kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- Kubernetes
Version string - The version of Kubernetes running on the cluster masters.
- Lifecycle
Details string - Details about the state of the cluster masters.
- Metadatas
List<Get
Clusters Cluster Metadata> - Metadata about the cluster.
- Name string
- The name to filter on.
- Options
List<Get
Clusters Cluster Option> - Optional attributes for the cluster.
- State string
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- Type string
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- Vcn
Id string - The OCID of the virtual cloud network (VCN) in which the cluster exists.
- Available
Kubernetes []stringUpgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- Cluster
Pod []GetNetwork Options Clusters Cluster Cluster Pod Network Option - Available CNIs and network options for existing and new node pools of the cluster
- Compartment
Id string - The OCID of the compartment.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Endpoint
Configs []GetClusters Cluster Endpoint Config - The network configuration for access to the Cluster control plane.
- Endpoints
[]Get
Clusters Cluster Endpoint - Endpoints served up by the cluster masters.
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Id string
- The OCID of the cluster.
- Image
Policy []GetConfigs Clusters Cluster Image Policy Config - The image verification policy for signature validation.
- Kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- Kubernetes
Version string - The version of Kubernetes running on the cluster masters.
- Lifecycle
Details string - Details about the state of the cluster masters.
- Metadatas
[]Get
Clusters Cluster Metadata - Metadata about the cluster.
- Name string
- The name to filter on.
- Options
[]Get
Clusters Cluster Option - Optional attributes for the cluster.
- State string
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- Type string
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- Vcn
Id string - The OCID of the virtual cloud network (VCN) in which the cluster exists.
- available
Kubernetes List<String>Upgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- cluster
Pod List<GetNetwork Options Clusters Cluster Cluster Pod Network Option> - Available CNIs and network options for existing and new node pools of the cluster
- compartment
Id String - The OCID of the compartment.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- endpoint
Configs List<GetClusters Cluster Endpoint Config> - The network configuration for access to the Cluster control plane.
- endpoints
List<Get
Clusters Cluster Endpoint> - Endpoints served up by the cluster masters.
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the cluster.
- image
Policy List<GetConfigs Clusters Cluster Image Policy Config> - The image verification policy for signature validation.
- kms
Key StringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kubernetes
Version String - The version of Kubernetes running on the cluster masters.
- lifecycle
Details String - Details about the state of the cluster masters.
- metadatas
List<Get
Clusters Cluster Metadata> - Metadata about the cluster.
- name String
- The name to filter on.
- options
List<Get
Clusters Cluster Option> - Optional attributes for the cluster.
- state String
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- type String
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- vcn
Id String - The OCID of the virtual cloud network (VCN) in which the cluster exists.
- available
Kubernetes string[]Upgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- cluster
Pod GetNetwork Options Clusters Cluster Cluster Pod Network Option[] - Available CNIs and network options for existing and new node pools of the cluster
- compartment
Id string - The OCID of the compartment.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- endpoint
Configs GetClusters Cluster Endpoint Config[] - The network configuration for access to the Cluster control plane.
- endpoints
Get
Clusters Cluster Endpoint[] - Endpoints served up by the cluster masters.
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id string
- The OCID of the cluster.
- image
Policy GetConfigs Clusters Cluster Image Policy Config[] - The image verification policy for signature validation.
- kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kubernetes
Version string - The version of Kubernetes running on the cluster masters.
- lifecycle
Details string - Details about the state of the cluster masters.
- metadatas
Get
Clusters Cluster Metadata[] - Metadata about the cluster.
- name string
- The name to filter on.
- options
Get
Clusters Cluster Option[] - Optional attributes for the cluster.
- state string
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- type string
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- vcn
Id string - The OCID of the virtual cloud network (VCN) in which the cluster exists.
- available_
kubernetes_ Sequence[str]upgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- cluster_
pod_ Sequence[containerengine.network_ options Get Clusters Cluster Cluster Pod Network Option] - Available CNIs and network options for existing and new node pools of the cluster
- compartment_
id str - The OCID of the compartment.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- endpoint_
configs Sequence[containerengine.Get Clusters Cluster Endpoint Config] - The network configuration for access to the Cluster control plane.
- endpoints
Sequence[containerengine.
Get Clusters Cluster Endpoint] - Endpoints served up by the cluster masters.
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id str
- The OCID of the cluster.
- image_
policy_ Sequence[containerengine.configs Get Clusters Cluster Image Policy Config] - The image verification policy for signature validation.
- kms_
key_ strid - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kubernetes_
version str - The version of Kubernetes running on the cluster masters.
- lifecycle_
details str - Details about the state of the cluster masters.
- metadatas
Sequence[containerengine.
Get Clusters Cluster Metadata] - Metadata about the cluster.
- name str
- The name to filter on.
- options
Sequence[containerengine.
Get Clusters Cluster Option] - Optional attributes for the cluster.
- state str
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- type str
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- vcn_
id str - The OCID of the virtual cloud network (VCN) in which the cluster exists.
- available
Kubernetes List<String>Upgrades - Available Kubernetes versions to which the clusters masters may be upgraded.
- cluster
Pod List<Property Map>Network Options - Available CNIs and network options for existing and new node pools of the cluster
- compartment
Id String - The OCID of the compartment.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- endpoint
Configs List<Property Map> - The network configuration for access to the Cluster control plane.
- endpoints List<Property Map>
- Endpoints served up by the cluster masters.
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- id String
- The OCID of the cluster.
- image
Policy List<Property Map>Configs - The image verification policy for signature validation.
- kms
Key StringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kubernetes
Version String - The version of Kubernetes running on the cluster masters.
- lifecycle
Details String - Details about the state of the cluster masters.
- metadatas List<Property Map>
- Metadata about the cluster.
- name String
- The name to filter on.
- options List<Property Map>
- Optional attributes for the cluster.
- state String
- A cluster lifecycle state to filter on. Can have multiple parameters of this name.
- type String
- Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see Cluster Types
- vcn
Id String - The OCID of the virtual cloud network (VCN) in which the cluster exists.
GetClustersClusterClusterPodNetworkOption
- Cni
Type string - The CNI used by the node pools of this cluster
- Cni
Type string - The CNI used by the node pools of this cluster
- cni
Type String - The CNI used by the node pools of this cluster
- cni
Type string - The CNI used by the node pools of this cluster
- cni_
type str - The CNI used by the node pools of this cluster
- cni
Type String - The CNI used by the node pools of this cluster
GetClustersClusterEndpoint
- Kubernetes string
- The non-native networking Kubernetes API server endpoint.
- Private
Endpoint string - The private native networking Kubernetes API server endpoint.
- Public
Endpoint string - The public native networking Kubernetes API server endpoint, if one was requested.
- Vcn
Hostname stringEndpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
- Kubernetes string
- The non-native networking Kubernetes API server endpoint.
- Private
Endpoint string - The private native networking Kubernetes API server endpoint.
- Public
Endpoint string - The public native networking Kubernetes API server endpoint, if one was requested.
- Vcn
Hostname stringEndpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
- kubernetes String
- The non-native networking Kubernetes API server endpoint.
- private
Endpoint String - The private native networking Kubernetes API server endpoint.
- public
Endpoint String - The public native networking Kubernetes API server endpoint, if one was requested.
- vcn
Hostname StringEndpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
- kubernetes string
- The non-native networking Kubernetes API server endpoint.
- private
Endpoint string - The private native networking Kubernetes API server endpoint.
- public
Endpoint string - The public native networking Kubernetes API server endpoint, if one was requested.
- vcn
Hostname stringEndpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
- kubernetes str
- The non-native networking Kubernetes API server endpoint.
- private_
endpoint str - The private native networking Kubernetes API server endpoint.
- public_
endpoint str - The public native networking Kubernetes API server endpoint, if one was requested.
- vcn_
hostname_ strendpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
- kubernetes String
- The non-native networking Kubernetes API server endpoint.
- private
Endpoint String - The private native networking Kubernetes API server endpoint.
- public
Endpoint String - The public native networking Kubernetes API server endpoint, if one was requested.
- vcn
Hostname StringEndpoint - The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'
GetClustersClusterEndpointConfig
- Is
Public boolIp Enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- Nsg
Ids List<string> - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- Subnet
Id string - The OCID of the regional subnet in which to place the Cluster endpoint.
- Is
Public boolIp Enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- Nsg
Ids []string - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- Subnet
Id string - The OCID of the regional subnet in which to place the Cluster endpoint.
- is
Public BooleanIp Enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- subnet
Id String - The OCID of the regional subnet in which to place the Cluster endpoint.
- is
Public booleanIp Enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- nsg
Ids string[] - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- subnet
Id string - The OCID of the regional subnet in which to place the Cluster endpoint.
- is_
public_ boolip_ enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- nsg_
ids Sequence[str] - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- subnet_
id str - The OCID of the regional subnet in which to place the Cluster endpoint.
- is
Public BooleanIp Enabled - Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail.
- nsg
Ids List<String> - A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see NetworkSecurityGroup.
- subnet
Id String - The OCID of the regional subnet in which to place the Cluster endpoint.
GetClustersClusterImagePolicyConfig
- Is
Policy boolEnabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- Key
Details List<GetClusters Cluster Image Policy Config Key Detail> - A list of KMS key details.
- Is
Policy boolEnabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- Key
Details []GetClusters Cluster Image Policy Config Key Detail - A list of KMS key details.
- is
Policy BooleanEnabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- key
Details List<GetClusters Cluster Image Policy Config Key Detail> - A list of KMS key details.
- is
Policy booleanEnabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- key
Details GetClusters Cluster Image Policy Config Key Detail[] - A list of KMS key details.
- is_
policy_ boolenabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- key_
details Sequence[containerengine.Get Clusters Cluster Image Policy Config Key Detail] - A list of KMS key details.
- is
Policy BooleanEnabled - Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.
- key
Details List<Property Map> - A list of KMS key details.
GetClustersClusterImagePolicyConfigKeyDetail
- Kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- Kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kms
Key StringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kms
Key stringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kms_
key_ strid - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
- kms
Key StringId - The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
GetClustersClusterMetadata
- Created
By stringUser Id - The user who created the cluster.
- Created
By stringWork Request Id - The OCID of the work request which created the cluster.
- Deleted
By stringUser Id - The user who deleted the cluster.
- Deleted
By stringWork Request Id - The OCID of the work request which deleted the cluster.
- Time
Created string - The time the cluster was created.
- Time
Credential stringExpiration - The time until which the cluster credential is valid.
- Time
Deleted string - The time the cluster was deleted.
- Time
Updated string - The time the cluster was updated.
- Updated
By stringUser Id - The user who updated the cluster.
- Updated
By stringWork Request Id - The OCID of the work request which updated the cluster.
- Created
By stringUser Id - The user who created the cluster.
- Created
By stringWork Request Id - The OCID of the work request which created the cluster.
- Deleted
By stringUser Id - The user who deleted the cluster.
- Deleted
By stringWork Request Id - The OCID of the work request which deleted the cluster.
- Time
Created string - The time the cluster was created.
- Time
Credential stringExpiration - The time until which the cluster credential is valid.
- Time
Deleted string - The time the cluster was deleted.
- Time
Updated string - The time the cluster was updated.
- Updated
By stringUser Id - The user who updated the cluster.
- Updated
By stringWork Request Id - The OCID of the work request which updated the cluster.
- created
By StringUser Id - The user who created the cluster.
- created
By StringWork Request Id - The OCID of the work request which created the cluster.
- deleted
By StringUser Id - The user who deleted the cluster.
- deleted
By StringWork Request Id - The OCID of the work request which deleted the cluster.
- time
Created String - The time the cluster was created.
- time
Credential StringExpiration - The time until which the cluster credential is valid.
- time
Deleted String - The time the cluster was deleted.
- time
Updated String - The time the cluster was updated.
- updated
By StringUser Id - The user who updated the cluster.
- updated
By StringWork Request Id - The OCID of the work request which updated the cluster.
- created
By stringUser Id - The user who created the cluster.
- created
By stringWork Request Id - The OCID of the work request which created the cluster.
- deleted
By stringUser Id - The user who deleted the cluster.
- deleted
By stringWork Request Id - The OCID of the work request which deleted the cluster.
- time
Created string - The time the cluster was created.
- time
Credential stringExpiration - The time until which the cluster credential is valid.
- time
Deleted string - The time the cluster was deleted.
- time
Updated string - The time the cluster was updated.
- updated
By stringUser Id - The user who updated the cluster.
- updated
By stringWork Request Id - The OCID of the work request which updated the cluster.
- created_
by_ struser_ id - The user who created the cluster.
- created_
by_ strwork_ request_ id - The OCID of the work request which created the cluster.
- deleted_
by_ struser_ id - The user who deleted the cluster.
- deleted_
by_ strwork_ request_ id - The OCID of the work request which deleted the cluster.
- time_
created str - The time the cluster was created.
- time_
credential_ strexpiration - The time until which the cluster credential is valid.
- time_
deleted str - The time the cluster was deleted.
- time_
updated str - The time the cluster was updated.
- updated_
by_ struser_ id - The user who updated the cluster.
- updated_
by_ strwork_ request_ id - The OCID of the work request which updated the cluster.
- created
By StringUser Id - The user who created the cluster.
- created
By StringWork Request Id - The OCID of the work request which created the cluster.
- deleted
By StringUser Id - The user who deleted the cluster.
- deleted
By StringWork Request Id - The OCID of the work request which deleted the cluster.
- time
Created String - The time the cluster was created.
- time
Credential StringExpiration - The time until which the cluster credential is valid.
- time
Deleted String - The time the cluster was deleted.
- time
Updated String - The time the cluster was updated.
- updated
By StringUser Id - The user who updated the cluster.
- updated
By StringWork Request Id - The OCID of the work request which updated the cluster.
GetClustersClusterOption
- Add
Ons List<GetClusters Cluster Option Add On> - Configurable cluster add-ons
- Admission
Controller List<GetOptions Clusters Cluster Option Admission Controller Option> - Configurable cluster admission controllers
- Kubernetes
Network List<GetConfigs Clusters Cluster Option Kubernetes Network Config> - Network configuration for Kubernetes.
- Persistent
Volume List<GetConfigs Clusters Cluster Option Persistent Volume Config> - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- Service
Lb List<GetConfigs Clusters Cluster Option Service Lb Config> - Configuration to be applied to load balancers created by Kubernetes services
- Service
Lb List<string>Subnet Ids - The OCIDs of the subnets used for Kubernetes services load balancers.
- Add
Ons []GetClusters Cluster Option Add On - Configurable cluster add-ons
- Admission
Controller []GetOptions Clusters Cluster Option Admission Controller Option - Configurable cluster admission controllers
- Kubernetes
Network []GetConfigs Clusters Cluster Option Kubernetes Network Config - Network configuration for Kubernetes.
- Persistent
Volume []GetConfigs Clusters Cluster Option Persistent Volume Config - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- Service
Lb []GetConfigs Clusters Cluster Option Service Lb Config - Configuration to be applied to load balancers created by Kubernetes services
- Service
Lb []stringSubnet Ids - The OCIDs of the subnets used for Kubernetes services load balancers.
- add
Ons List<GetClusters Cluster Option Add On> - Configurable cluster add-ons
- admission
Controller List<GetOptions Clusters Cluster Option Admission Controller Option> - Configurable cluster admission controllers
- kubernetes
Network List<GetConfigs Clusters Cluster Option Kubernetes Network Config> - Network configuration for Kubernetes.
- persistent
Volume List<GetConfigs Clusters Cluster Option Persistent Volume Config> - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- service
Lb List<GetConfigs Clusters Cluster Option Service Lb Config> - Configuration to be applied to load balancers created by Kubernetes services
- service
Lb List<String>Subnet Ids - The OCIDs of the subnets used for Kubernetes services load balancers.
- add
Ons GetClusters Cluster Option Add On[] - Configurable cluster add-ons
- admission
Controller GetOptions Clusters Cluster Option Admission Controller Option[] - Configurable cluster admission controllers
- kubernetes
Network GetConfigs Clusters Cluster Option Kubernetes Network Config[] - Network configuration for Kubernetes.
- persistent
Volume GetConfigs Clusters Cluster Option Persistent Volume Config[] - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- service
Lb GetConfigs Clusters Cluster Option Service Lb Config[] - Configuration to be applied to load balancers created by Kubernetes services
- service
Lb string[]Subnet Ids - The OCIDs of the subnets used for Kubernetes services load balancers.
- add_
ons Sequence[containerengine.Get Clusters Cluster Option Add On] - Configurable cluster add-ons
- admission_
controller_ Sequence[containerengine.options Get Clusters Cluster Option Admission Controller Option] - Configurable cluster admission controllers
- kubernetes_
network_ Sequence[containerengine.configs Get Clusters Cluster Option Kubernetes Network Config] - Network configuration for Kubernetes.
- persistent_
volume_ Sequence[containerengine.configs Get Clusters Cluster Option Persistent Volume Config] - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- service_
lb_ Sequence[containerengine.configs Get Clusters Cluster Option Service Lb Config] - Configuration to be applied to load balancers created by Kubernetes services
- service_
lb_ Sequence[str]subnet_ ids - The OCIDs of the subnets used for Kubernetes services load balancers.
- add
Ons List<Property Map> - Configurable cluster add-ons
- admission
Controller List<Property Map>Options - Configurable cluster admission controllers
- kubernetes
Network List<Property Map>Configs - Network configuration for Kubernetes.
- persistent
Volume List<Property Map>Configs - Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)
- service
Lb List<Property Map>Configs - Configuration to be applied to load balancers created by Kubernetes services
- service
Lb List<String>Subnet Ids - The OCIDs of the subnets used for Kubernetes services load balancers.
GetClustersClusterOptionAddOn
- Is
Kubernetes boolDashboard Enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- Is
Tiller boolEnabled - Whether or not to enable the Tiller add-on.
- Is
Kubernetes boolDashboard Enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- Is
Tiller boolEnabled - Whether or not to enable the Tiller add-on.
- is
Kubernetes BooleanDashboard Enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- is
Tiller BooleanEnabled - Whether or not to enable the Tiller add-on.
- is
Kubernetes booleanDashboard Enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- is
Tiller booleanEnabled - Whether or not to enable the Tiller add-on.
- is_
kubernetes_ booldashboard_ enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- is_
tiller_ boolenabled - Whether or not to enable the Tiller add-on.
- is
Kubernetes BooleanDashboard Enabled - Whether or not to enable the Kubernetes Dashboard add-on.
- is
Tiller BooleanEnabled - Whether or not to enable the Tiller add-on.
GetClustersClusterOptionAdmissionControllerOption
- Is
Pod boolSecurity Policy Enabled - Whether or not to enable the Pod Security Policy admission controller.
- Is
Pod boolSecurity Policy Enabled - Whether or not to enable the Pod Security Policy admission controller.
- is
Pod BooleanSecurity Policy Enabled - Whether or not to enable the Pod Security Policy admission controller.
- is
Pod booleanSecurity Policy Enabled - Whether or not to enable the Pod Security Policy admission controller.
- is_
pod_ boolsecurity_ policy_ enabled - Whether or not to enable the Pod Security Policy admission controller.
- is
Pod BooleanSecurity Policy Enabled - Whether or not to enable the Pod Security Policy admission controller.
GetClustersClusterOptionKubernetesNetworkConfig
- Pods
Cidr string - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- Services
Cidr string - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- Pods
Cidr string - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- Services
Cidr string - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- pods
Cidr String - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- services
Cidr String - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- pods
Cidr string - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- services
Cidr string - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- pods_
cidr str - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- services_
cidr str - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
- pods
Cidr String - The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.
- services
Cidr String - The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.
GetClustersClusterOptionPersistentVolumeConfig
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
GetClustersClusterOptionServiceLbConfig
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
GetClustersFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.