import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Container Service deeply integrates next-generation cloud-native technologies to provide high-performance Kubernetes cluster management centered on containers. Build highly available Kubernetes clusters in the cloud with one click and achieve visualized full lifecycle management of containerized applications, helping users quickly build containerized applications. * * ## Import * * ```sh * $ pulumi import volcenginecc:vke/cluster:Cluster example "cluster_id" * ``` */ export declare class Cluster extends pulumi.CustomResource { /** * Get an existing Cluster resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster; /** * Returns true if the given object is an instance of Cluster. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Cluster; /** * Network configuration for the cluster control plane and some nodes. */ readonly clusterConfig: pulumi.Output; /** * Cluster ID. */ readonly clusterId: pulumi.Output; /** * Cluster creation time. Standard RFC3339 format, UTC+0. */ readonly createdTime: pulumi.Output; /** * Cluster deletion protection. Values: false (default): Deletion protection is disabled. true: Deletion protection is enabled; the cluster cannot be deleted directly. */ readonly deleteProtectionEnabled: pulumi.Output; /** * Cluster description. Maximum length is 300 characters. */ readonly description: pulumi.Output; /** * IRSA (IAM Role for Service Account) capability parameter configuration */ readonly irsaConfig: pulumi.Output; /** * Cluster Kubernetes version in the format x.xx. When creating a cluster, the system automatically matches the latest VKE version corresponding to this Kubernetes version (for query use) */ readonly kubernetesVersion: pulumi.Output; /** * Kubernetes version of the cluster, in the format x.xx. When creating a cluster, the system automatically matches the latest VKE version corresponding to this Kubernetes version. (For creation) */ readonly kubernetesVersionCreate: pulumi.Output; /** * Cluster log configuration information. */ readonly loggingConfig: pulumi.Output; /** * Cluster status description. */ readonly message: pulumi.Output; /** * Monitoring configuration information. */ readonly monitoringConfig: pulumi.Output; /** * Cluster name. Must be unique within the same region. Supports uppercase and lowercase English letters, Chinese characters, numbers, and hyphens (-). Length must be 2–64 characters. */ readonly name: pulumi.Output; /** * Statistics of node counts for each main status in the cluster. */ readonly nodeStatistics: pulumi.Output; /** * Pod network configuration. */ readonly podsConfig: pulumi.Output; /** * Project name to which the cluster belongs. A cluster can belong to only one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length: 64 characters. Default: default. */ readonly projectName: pulumi.Output; /** * Network configuration for the service. */ readonly servicesConfig: pulumi.Output; /** * Cluster source region */ readonly sourceRegion: pulumi.Output; /** * Cluster status. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Cluster type. */ readonly type: pulumi.Output; /** * Last update time of the cluster. Standard RFC3339 format, UTC+0. */ readonly updatedTime: pulumi.Output; /** * Create a Cluster resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ClusterArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Cluster resources. */ export interface ClusterState { /** * Network configuration for the cluster control plane and some nodes. */ clusterConfig?: pulumi.Input; /** * Cluster ID. */ clusterId?: pulumi.Input; /** * Cluster creation time. Standard RFC3339 format, UTC+0. */ createdTime?: pulumi.Input; /** * Cluster deletion protection. Values: false (default): Deletion protection is disabled. true: Deletion protection is enabled; the cluster cannot be deleted directly. */ deleteProtectionEnabled?: pulumi.Input; /** * Cluster description. Maximum length is 300 characters. */ description?: pulumi.Input; /** * IRSA (IAM Role for Service Account) capability parameter configuration */ irsaConfig?: pulumi.Input; /** * Cluster Kubernetes version in the format x.xx. When creating a cluster, the system automatically matches the latest VKE version corresponding to this Kubernetes version (for query use) */ kubernetesVersion?: pulumi.Input; /** * Kubernetes version of the cluster, in the format x.xx. When creating a cluster, the system automatically matches the latest VKE version corresponding to this Kubernetes version. (For creation) */ kubernetesVersionCreate?: pulumi.Input; /** * Cluster log configuration information. */ loggingConfig?: pulumi.Input; /** * Cluster status description. */ message?: pulumi.Input; /** * Monitoring configuration information. */ monitoringConfig?: pulumi.Input; /** * Cluster name. Must be unique within the same region. Supports uppercase and lowercase English letters, Chinese characters, numbers, and hyphens (-). Length must be 2–64 characters. */ name?: pulumi.Input; /** * Statistics of node counts for each main status in the cluster. */ nodeStatistics?: pulumi.Input; /** * Pod network configuration. */ podsConfig?: pulumi.Input; /** * Project name to which the cluster belongs. A cluster can belong to only one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length: 64 characters. Default: default. */ projectName?: pulumi.Input; /** * Network configuration for the service. */ servicesConfig?: pulumi.Input; /** * Cluster source region */ sourceRegion?: pulumi.Input; /** * Cluster status. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Cluster type. */ type?: pulumi.Input; /** * Last update time of the cluster. Standard RFC3339 format, UTC+0. */ updatedTime?: pulumi.Input; } /** * The set of arguments for constructing a Cluster resource. */ export interface ClusterArgs { /** * Network configuration for the cluster control plane and some nodes. */ clusterConfig?: pulumi.Input; /** * Cluster deletion protection. Values: false (default): Deletion protection is disabled. true: Deletion protection is enabled; the cluster cannot be deleted directly. */ deleteProtectionEnabled?: pulumi.Input; /** * Cluster description. Maximum length is 300 characters. */ description?: pulumi.Input; /** * IRSA (IAM Role for Service Account) capability parameter configuration */ irsaConfig?: pulumi.Input; /** * Kubernetes version of the cluster, in the format x.xx. When creating a cluster, the system automatically matches the latest VKE version corresponding to this Kubernetes version. (For creation) */ kubernetesVersionCreate?: pulumi.Input; /** * Cluster log configuration information. */ loggingConfig?: pulumi.Input; /** * Monitoring configuration information. */ monitoringConfig?: pulumi.Input; /** * Cluster name. Must be unique within the same region. Supports uppercase and lowercase English letters, Chinese characters, numbers, and hyphens (-). Length must be 2–64 characters. */ name: pulumi.Input; /** * Pod network configuration. */ podsConfig?: pulumi.Input; /** * Project name to which the cluster belongs. A cluster can belong to only one project. Only English letters, numbers, underscores (_), periods (.), and hyphens (-) are allowed. Maximum length: 64 characters. Default: default. */ projectName?: pulumi.Input; /** * Network configuration for the service. */ servicesConfig?: pulumi.Input; /** * Cluster source region */ sourceRegion?: pulumi.Input; tags?: pulumi.Input[]>; }