oci logo
Oracle Cloud Infrastructure v0.12.0, Mar 17 23

oci.ContainerEngine.getClusters

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testClusters = Oci.ContainerEngine.GetClusters.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        Name = @var.Cluster_name,
        States = @var.Cluster_state,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: _var.Compartment_id,
			Name:          pulumi.StringRef(_var.Cluster_name),
			States:        _var.Cluster_state,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(var_.compartment_id())
            .name(var_.cluster_name())
            .states(var_.cluster_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_clusters = oci.ContainerEngine.get_clusters(compartment_id=var["compartment_id"],
    name=var["cluster_name"],
    states=var["cluster_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testClusters = oci.ContainerEngine.getClusters({
    compartmentId: _var.compartment_id,
    name: _var.cluster_name,
    states: _var.cluster_state,
});
variables:
  testClusters:
    fn::invoke:
      Function: oci:ContainerEngine:getClusters
      Arguments:
        compartmentId: ${var.compartment_id}
        name: ${var.cluster_name}
        states: ${var.cluster_state}

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:

CompartmentId string

The OCID of the compartment.

Filters List<GetClustersFilter>
Name string

The name to filter on.

States List<string>

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

CompartmentId string

The OCID of the compartment.

Filters []GetClustersFilter
Name string

The name to filter on.

States []string

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

compartmentId String

The OCID of the compartment.

filters List<GetClustersFilter>
name String

The name to filter on.

states List<String>

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

compartmentId string

The OCID of the compartment.

filters GetClustersFilter[]
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 GetClustersFilter]
name str

The name to filter on.

states Sequence[str]

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

compartmentId 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<GetClustersCluster>

The list of clusters.

CompartmentId string

The OCID of the compartment in which the cluster exists.

Id string

The provider-assigned unique ID for this managed resource.

Filters List<GetClustersFilter>
Name string

The name of the cluster.

States List<string>

The state of the cluster masters.

Clusters []GetClustersCluster

The list of clusters.

CompartmentId string

The OCID of the compartment in which the cluster exists.

Id string

The provider-assigned unique ID for this managed resource.

Filters []GetClustersFilter
Name string

The name of the cluster.

States []string

The state of the cluster masters.

clusters List<GetClustersCluster>

The list of clusters.

compartmentId String

The OCID of the compartment in which the cluster exists.

id String

The provider-assigned unique ID for this managed resource.

filters List<GetClustersFilter>
name String

The name of the cluster.

states List<String>

The state of the cluster masters.

clusters GetClustersCluster[]

The list of clusters.

compartmentId string

The OCID of the compartment in which the cluster exists.

id string

The provider-assigned unique ID for this managed resource.

filters GetClustersFilter[]
name string

The name of the cluster.

states string[]

The state of the cluster masters.

clusters GetClustersCluster]

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 GetClustersFilter]
name str

The name of the cluster.

states Sequence[str]

The state of the cluster masters.

clusters List<Property Map>

The list of clusters.

compartmentId 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

AvailableKubernetesUpgrades List<string>

Available Kubernetes versions to which the clusters masters may be upgraded.

ClusterPodNetworkOptions List<GetClustersClusterClusterPodNetworkOption>

Available CNIs and network options for existing and new node pools of the cluster

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

EndpointConfigs List<GetClustersClusterEndpointConfig>

The network configuration for access to the Cluster control plane.

Endpoints List<GetClustersClusterEndpoint>

Endpoints served up by the cluster masters.

FreeformTags Dictionary<string, object>

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.

ImagePolicyConfigs List<GetClustersClusterImagePolicyConfig>

The image verification policy for signature validation.

KmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

KubernetesVersion string

The version of Kubernetes running on the cluster masters.

LifecycleDetails string

Details about the state of the cluster masters.

Metadatas List<GetClustersClusterMetadata>

Metadata about the cluster.

Name string

The name to filter on.

Options List<GetClustersClusterOption>

Optional attributes for the cluster.

State string

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

VcnId string

The OCID of the virtual cloud network (VCN) in which the cluster exists.

AvailableKubernetesUpgrades []string

Available Kubernetes versions to which the clusters masters may be upgraded.

ClusterPodNetworkOptions []GetClustersClusterClusterPodNetworkOption

Available CNIs and network options for existing and new node pools of the cluster

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

EndpointConfigs []GetClustersClusterEndpointConfig

The network configuration for access to the Cluster control plane.

Endpoints []GetClustersClusterEndpoint

Endpoints served up by the cluster masters.

FreeformTags map[string]interface{}

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.

ImagePolicyConfigs []GetClustersClusterImagePolicyConfig

The image verification policy for signature validation.

KmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

KubernetesVersion string

The version of Kubernetes running on the cluster masters.

LifecycleDetails string

Details about the state of the cluster masters.

Metadatas []GetClustersClusterMetadata

Metadata about the cluster.

Name string

The name to filter on.

Options []GetClustersClusterOption

Optional attributes for the cluster.

State string

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

VcnId string

The OCID of the virtual cloud network (VCN) in which the cluster exists.

availableKubernetesUpgrades List<String>

Available Kubernetes versions to which the clusters masters may be upgraded.

clusterPodNetworkOptions List<GetClustersClusterClusterPodNetworkOption>

Available CNIs and network options for existing and new node pools of the cluster

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

endpointConfigs List<GetClustersClusterEndpointConfig>

The network configuration for access to the Cluster control plane.

endpoints List<GetClustersClusterEndpoint>

Endpoints served up by the cluster masters.

freeformTags Map<String,Object>

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.

imagePolicyConfigs List<GetClustersClusterImagePolicyConfig>

The image verification policy for signature validation.

kmsKeyId String

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kubernetesVersion String

The version of Kubernetes running on the cluster masters.

lifecycleDetails String

Details about the state of the cluster masters.

metadatas List<GetClustersClusterMetadata>

Metadata about the cluster.

name String

The name to filter on.

options List<GetClustersClusterOption>

Optional attributes for the cluster.

state String

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

vcnId String

The OCID of the virtual cloud network (VCN) in which the cluster exists.

availableKubernetesUpgrades string[]

Available Kubernetes versions to which the clusters masters may be upgraded.

clusterPodNetworkOptions GetClustersClusterClusterPodNetworkOption[]

Available CNIs and network options for existing and new node pools of the cluster

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

endpointConfigs GetClustersClusterEndpointConfig[]

The network configuration for access to the Cluster control plane.

endpoints GetClustersClusterEndpoint[]

Endpoints served up by the cluster masters.

freeformTags {[key: string]: any}

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.

imagePolicyConfigs GetClustersClusterImagePolicyConfig[]

The image verification policy for signature validation.

kmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kubernetesVersion string

The version of Kubernetes running on the cluster masters.

lifecycleDetails string

Details about the state of the cluster masters.

metadatas GetClustersClusterMetadata[]

Metadata about the cluster.

name string

The name to filter on.

options GetClustersClusterOption[]

Optional attributes for the cluster.

state string

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

vcnId string

The OCID of the virtual cloud network (VCN) in which the cluster exists.

available_kubernetes_upgrades Sequence[str]

Available Kubernetes versions to which the clusters masters may be upgraded.

cluster_pod_network_options GetClustersClusterClusterPodNetworkOption]

Available CNIs and network options for existing and new node pools of the cluster

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

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 GetClustersClusterEndpointConfig]

The network configuration for access to the Cluster control plane.

endpoints GetClustersClusterEndpoint]

Endpoints served up by the cluster masters.

freeform_tags Mapping[str, Any]

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_configs GetClustersClusterImagePolicyConfig]

The image verification policy for signature validation.

kms_key_id str

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 GetClustersClusterMetadata]

Metadata about the cluster.

name str

The name to filter on.

options GetClustersClusterOption]

Optional attributes for the cluster.

state str

A cluster lifecycle state to filter on. Can have multiple parameters of this name.

vcn_id str

The OCID of the virtual cloud network (VCN) in which the cluster exists.

availableKubernetesUpgrades List<String>

Available Kubernetes versions to which the clusters masters may be upgraded.

clusterPodNetworkOptions List<Property Map>

Available CNIs and network options for existing and new node pools of the cluster

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

endpointConfigs List<Property Map>

The network configuration for access to the Cluster control plane.

endpoints List<Property Map>

Endpoints served up by the cluster masters.

freeformTags Map<Any>

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.

imagePolicyConfigs List<Property Map>

The image verification policy for signature validation.

kmsKeyId String

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kubernetesVersion String

The version of Kubernetes running on the cluster masters.

lifecycleDetails 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.

vcnId String

The OCID of the virtual cloud network (VCN) in which the cluster exists.

GetClustersClusterClusterPodNetworkOption

CniType string

The CNI used by the node pools of this cluster

CniType string

The CNI used by the node pools of this cluster

cniType String

The CNI used by the node pools of this cluster

cniType string

The CNI used by the node pools of this cluster

cni_type str

The CNI used by the node pools of this cluster

cniType String

The CNI used by the node pools of this cluster

GetClustersClusterEndpoint

Kubernetes string

The non-native networking Kubernetes API server endpoint.

PrivateEndpoint string

The private native networking Kubernetes API server endpoint.

PublicEndpoint string

The public native networking Kubernetes API server endpoint, if one was requested.

VcnHostnameEndpoint string

The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'

Kubernetes string

The non-native networking Kubernetes API server endpoint.

PrivateEndpoint string

The private native networking Kubernetes API server endpoint.

PublicEndpoint string

The public native networking Kubernetes API server endpoint, if one was requested.

VcnHostnameEndpoint string

The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'

kubernetes String

The non-native networking Kubernetes API server endpoint.

privateEndpoint String

The private native networking Kubernetes API server endpoint.

publicEndpoint String

The public native networking Kubernetes API server endpoint, if one was requested.

vcnHostnameEndpoint String

The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'

kubernetes string

The non-native networking Kubernetes API server endpoint.

privateEndpoint string

The private native networking Kubernetes API server endpoint.

publicEndpoint string

The public native networking Kubernetes API server endpoint, if one was requested.

vcnHostnameEndpoint string

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_endpoint str

The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'

kubernetes String

The non-native networking Kubernetes API server endpoint.

privateEndpoint String

The private native networking Kubernetes API server endpoint.

publicEndpoint String

The public native networking Kubernetes API server endpoint, if one was requested.

vcnHostnameEndpoint String

The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint'

GetClustersClusterEndpointConfig

IsPublicIpEnabled bool

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.

NsgIds 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.

SubnetId string

The OCID of the regional subnet in which to place the Cluster endpoint.

IsPublicIpEnabled bool

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.

NsgIds []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.

SubnetId string

The OCID of the regional subnet in which to place the Cluster endpoint.

isPublicIpEnabled Boolean

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.

nsgIds 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.

subnetId String

The OCID of the regional subnet in which to place the Cluster endpoint.

isPublicIpEnabled boolean

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.

nsgIds 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.

subnetId string

The OCID of the regional subnet in which to place the Cluster endpoint.

is_public_ip_enabled bool

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.

isPublicIpEnabled Boolean

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.

nsgIds 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.

subnetId String

The OCID of the regional subnet in which to place the Cluster endpoint.

GetClustersClusterImagePolicyConfig

IsPolicyEnabled bool

Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.

KeyDetails List<GetClustersClusterImagePolicyConfigKeyDetail>

A list of KMS key details.

IsPolicyEnabled bool

Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.

KeyDetails []GetClustersClusterImagePolicyConfigKeyDetail

A list of KMS key details.

isPolicyEnabled Boolean

Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.

keyDetails List<GetClustersClusterImagePolicyConfigKeyDetail>

A list of KMS key details.

isPolicyEnabled boolean

Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.

keyDetails GetClustersClusterImagePolicyConfigKeyDetail[]

A list of KMS key details.

is_policy_enabled bool

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 GetClustersClusterImagePolicyConfigKeyDetail]

A list of KMS key details.

isPolicyEnabled Boolean

Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime.

keyDetails List<Property Map>

A list of KMS key details.

GetClustersClusterImagePolicyConfigKeyDetail

KmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

KmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kmsKeyId String

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kmsKeyId string

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kms_key_id str

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

kmsKeyId String

The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.

GetClustersClusterMetadata

CreatedByUserId string

The user who created the cluster.

CreatedByWorkRequestId string

The OCID of the work request which created the cluster.

DeletedByUserId string

The user who deleted the cluster.

DeletedByWorkRequestId string

The OCID of the work request which deleted the cluster.

TimeCreated string

The time the cluster was created.

TimeDeleted string

The time the cluster was deleted.

TimeUpdated string

The time the cluster was updated.

UpdatedByUserId string

The user who updated the cluster.

UpdatedByWorkRequestId string

The OCID of the work request which updated the cluster.

CreatedByUserId string

The user who created the cluster.

CreatedByWorkRequestId string

The OCID of the work request which created the cluster.

DeletedByUserId string

The user who deleted the cluster.

DeletedByWorkRequestId string

The OCID of the work request which deleted the cluster.

TimeCreated string

The time the cluster was created.

TimeDeleted string

The time the cluster was deleted.

TimeUpdated string

The time the cluster was updated.

UpdatedByUserId string

The user who updated the cluster.

UpdatedByWorkRequestId string

The OCID of the work request which updated the cluster.

createdByUserId String

The user who created the cluster.

createdByWorkRequestId String

The OCID of the work request which created the cluster.

deletedByUserId String

The user who deleted the cluster.

deletedByWorkRequestId String

The OCID of the work request which deleted the cluster.

timeCreated String

The time the cluster was created.

timeDeleted String

The time the cluster was deleted.

timeUpdated String

The time the cluster was updated.

updatedByUserId String

The user who updated the cluster.

updatedByWorkRequestId String

The OCID of the work request which updated the cluster.

createdByUserId string

The user who created the cluster.

createdByWorkRequestId string

The OCID of the work request which created the cluster.

deletedByUserId string

The user who deleted the cluster.

deletedByWorkRequestId string

The OCID of the work request which deleted the cluster.

timeCreated string

The time the cluster was created.

timeDeleted string

The time the cluster was deleted.

timeUpdated string

The time the cluster was updated.

updatedByUserId string

The user who updated the cluster.

updatedByWorkRequestId string

The OCID of the work request which updated the cluster.

created_by_user_id str

The user who created the cluster.

created_by_work_request_id str

The OCID of the work request which created the cluster.

deleted_by_user_id str

The user who deleted the cluster.

deleted_by_work_request_id str

The OCID of the work request which deleted the cluster.

time_created str

The time the cluster was created.

time_deleted str

The time the cluster was deleted.

time_updated str

The time the cluster was updated.

updated_by_user_id str

The user who updated the cluster.

updated_by_work_request_id str

The OCID of the work request which updated the cluster.

createdByUserId String

The user who created the cluster.

createdByWorkRequestId String

The OCID of the work request which created the cluster.

deletedByUserId String

The user who deleted the cluster.

deletedByWorkRequestId String

The OCID of the work request which deleted the cluster.

timeCreated String

The time the cluster was created.

timeDeleted String

The time the cluster was deleted.

timeUpdated String

The time the cluster was updated.

updatedByUserId String

The user who updated the cluster.

updatedByWorkRequestId String

The OCID of the work request which updated the cluster.

GetClustersClusterOption

AddOns List<GetClustersClusterOptionAddOn>

Configurable cluster add-ons

AdmissionControllerOptions List<GetClustersClusterOptionAdmissionControllerOption>

Configurable cluster admission controllers

KubernetesNetworkConfigs List<GetClustersClusterOptionKubernetesNetworkConfig>

Network configuration for Kubernetes.

PersistentVolumeConfigs List<GetClustersClusterOptionPersistentVolumeConfig>

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

ServiceLbConfigs List<GetClustersClusterOptionServiceLbConfig>

Configuration to be applied to load balancers created by Kubernetes services

ServiceLbSubnetIds List<string>

The OCIDs of the subnets used for Kubernetes services load balancers.

AddOns []GetClustersClusterOptionAddOn

Configurable cluster add-ons

AdmissionControllerOptions []GetClustersClusterOptionAdmissionControllerOption

Configurable cluster admission controllers

KubernetesNetworkConfigs []GetClustersClusterOptionKubernetesNetworkConfig

Network configuration for Kubernetes.

PersistentVolumeConfigs []GetClustersClusterOptionPersistentVolumeConfig

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

ServiceLbConfigs []GetClustersClusterOptionServiceLbConfig

Configuration to be applied to load balancers created by Kubernetes services

ServiceLbSubnetIds []string

The OCIDs of the subnets used for Kubernetes services load balancers.

addOns List<GetClustersClusterOptionAddOn>

Configurable cluster add-ons

admissionControllerOptions List<GetClustersClusterOptionAdmissionControllerOption>

Configurable cluster admission controllers

kubernetesNetworkConfigs List<GetClustersClusterOptionKubernetesNetworkConfig>

Network configuration for Kubernetes.

persistentVolumeConfigs List<GetClustersClusterOptionPersistentVolumeConfig>

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

serviceLbConfigs List<GetClustersClusterOptionServiceLbConfig>

Configuration to be applied to load balancers created by Kubernetes services

serviceLbSubnetIds List<String>

The OCIDs of the subnets used for Kubernetes services load balancers.

addOns GetClustersClusterOptionAddOn[]

Configurable cluster add-ons

admissionControllerOptions GetClustersClusterOptionAdmissionControllerOption[]

Configurable cluster admission controllers

kubernetesNetworkConfigs GetClustersClusterOptionKubernetesNetworkConfig[]

Network configuration for Kubernetes.

persistentVolumeConfigs GetClustersClusterOptionPersistentVolumeConfig[]

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

serviceLbConfigs GetClustersClusterOptionServiceLbConfig[]

Configuration to be applied to load balancers created by Kubernetes services

serviceLbSubnetIds string[]

The OCIDs of the subnets used for Kubernetes services load balancers.

add_ons GetClustersClusterOptionAddOn]

Configurable cluster add-ons

admission_controller_options GetClustersClusterOptionAdmissionControllerOption]

Configurable cluster admission controllers

kubernetes_network_configs GetClustersClusterOptionKubernetesNetworkConfig]

Network configuration for Kubernetes.

persistent_volume_configs GetClustersClusterOptionPersistentVolumeConfig]

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

service_lb_configs GetClustersClusterOptionServiceLbConfig]

Configuration to be applied to load balancers created by Kubernetes services

service_lb_subnet_ids Sequence[str]

The OCIDs of the subnets used for Kubernetes services load balancers.

addOns List<Property Map>

Configurable cluster add-ons

admissionControllerOptions List<Property Map>

Configurable cluster admission controllers

kubernetesNetworkConfigs List<Property Map>

Network configuration for Kubernetes.

persistentVolumeConfigs List<Property Map>

Configuration to be applied to block volumes created by Kubernetes Persistent Volume Claims (PVC)

serviceLbConfigs List<Property Map>

Configuration to be applied to load balancers created by Kubernetes services

serviceLbSubnetIds List<String>

The OCIDs of the subnets used for Kubernetes services load balancers.

GetClustersClusterOptionAddOn

IsKubernetesDashboardEnabled bool

Whether or not to enable the Kubernetes Dashboard add-on.

IsTillerEnabled bool

Whether or not to enable the Tiller add-on.

IsKubernetesDashboardEnabled bool

Whether or not to enable the Kubernetes Dashboard add-on.

IsTillerEnabled bool

Whether or not to enable the Tiller add-on.

isKubernetesDashboardEnabled Boolean

Whether or not to enable the Kubernetes Dashboard add-on.

isTillerEnabled Boolean

Whether or not to enable the Tiller add-on.

isKubernetesDashboardEnabled boolean

Whether or not to enable the Kubernetes Dashboard add-on.

isTillerEnabled boolean

Whether or not to enable the Tiller add-on.

is_kubernetes_dashboard_enabled bool

Whether or not to enable the Kubernetes Dashboard add-on.

is_tiller_enabled bool

Whether or not to enable the Tiller add-on.

isKubernetesDashboardEnabled Boolean

Whether or not to enable the Kubernetes Dashboard add-on.

isTillerEnabled Boolean

Whether or not to enable the Tiller add-on.

GetClustersClusterOptionAdmissionControllerOption

IsPodSecurityPolicyEnabled bool

Whether or not to enable the Pod Security Policy admission controller.

IsPodSecurityPolicyEnabled bool

Whether or not to enable the Pod Security Policy admission controller.

isPodSecurityPolicyEnabled Boolean

Whether or not to enable the Pod Security Policy admission controller.

isPodSecurityPolicyEnabled boolean

Whether or not to enable the Pod Security Policy admission controller.

is_pod_security_policy_enabled bool

Whether or not to enable the Pod Security Policy admission controller.

isPodSecurityPolicyEnabled Boolean

Whether or not to enable the Pod Security Policy admission controller.

GetClustersClusterOptionKubernetesNetworkConfig

PodsCidr string

The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.

ServicesCidr string

The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.

PodsCidr string

The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.

ServicesCidr string

The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.

podsCidr String

The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.

servicesCidr String

The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.

podsCidr string

The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.

servicesCidr 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.

podsCidr String

The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16.

servicesCidr String

The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16.

GetClustersClusterOptionPersistentVolumeConfig

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

FreeformTags Dictionary<string, object>

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"}

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

FreeformTags map[string]interface{}

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"}

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags Map<String,Object>

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"}

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags {[key: string]: any}

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"}

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeform_tags Mapping[str, Any]

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"}

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags Map<Any>

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

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

FreeformTags Dictionary<string, object>

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"}

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

FreeformTags map[string]interface{}

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"}

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags Map<String,Object>

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"}

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags {[key: string]: any}

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"}

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeform_tags Mapping[str, Any]

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"}

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}

freeformTags Map<Any>

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

Name string

The name to filter on.

Values List<string>
Regex bool
Name string

The name to filter on.

Values []string
Regex bool
name String

The name to filter on.

values List<String>
regex Boolean
name string

The name to filter on.

values string[]
regex boolean
name str

The name to filter on.

values Sequence[str]
regex bool
name String

The name to filter on.

values List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.