import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service. * * Get the details of a cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCluster = oci.containerengine.getCluster({ * clusterId: testClusterOciContainerengineCluster.id, * shouldIncludeOidcConfigFile: clusterShouldIncludeOidcConfigFile === "true", * }); * ``` */ export declare function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterArgs { /** * The OCID of the cluster. */ clusterId: string; /** * Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster. */ shouldIncludeOidcConfigFile?: boolean; } /** * A collection of values returned by getCluster. */ export interface GetClusterResult { /** * Available Kubernetes versions to which the clusters masters may be upgraded. */ readonly availableKubernetesUpgrades: string[]; readonly clusterId: string; /** * Available CNIs and network options for existing and new node pools of the cluster */ readonly clusterPodNetworkOptions: outputs.ContainerEngine.GetClusterClusterPodNetworkOption[]; /** * The OCID of the compartment in which the cluster exists. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The network configuration for access to the Cluster control plane. */ readonly endpointConfigs: outputs.ContainerEngine.GetClusterEndpointConfig[]; /** * Endpoints served up by the cluster masters. */ readonly endpoints: outputs.ContainerEngine.GetClusterEndpoint[]; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The OCID of the cluster. */ readonly id: string; /** * The image verification policy for signature validation. */ readonly imagePolicyConfigs: outputs.ContainerEngine.GetClusterImagePolicyConfig[]; /** * The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. */ readonly kmsKeyId: string; /** * The version of Kubernetes running on the cluster masters. */ readonly kubernetesVersion: string; /** * Details about the state of the cluster masters. */ readonly lifecycleDetails: string; /** * Metadata about the cluster. */ readonly metadatas: outputs.ContainerEngine.GetClusterMetadata[]; /** * The name of the cluster. */ readonly name: string; /** * The cluster-specific OpenID Connect Discovery endpoint */ readonly openIdConnectDiscoveryEndpoint: string; /** * The cluster-specific OpenID Connect Discovery Key to derive the DiscoveryEndpoint */ readonly openIdConnectDiscoveryKey: string; /** * Optional attributes for the cluster. */ readonly options: outputs.ContainerEngine.GetClusterOption[]; readonly shouldIncludeOidcConfigFile?: boolean; /** * The state of the cluster masters. */ readonly state: string; /** * Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see [Cluster Types](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm) */ readonly type: string; /** * The OCID of the virtual cloud network (VCN) in which the cluster exists. */ readonly vcnId: string; } /** * This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service. * * Get the details of a cluster. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCluster = oci.containerengine.getCluster({ * clusterId: testClusterOciContainerengineCluster.id, * shouldIncludeOidcConfigFile: clusterShouldIncludeOidcConfigFile === "true", * }); * ``` */ export declare function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCluster. */ export interface GetClusterOutputArgs { /** * The OCID of the cluster. */ clusterId: pulumi.Input; /** * Boolean value to determine if the OpenIdConnectAuth configuration file should be displayed for the provided cluster. */ shouldIncludeOidcConfigFile?: pulumi.Input; } //# sourceMappingURL=getCluster.d.ts.map