1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. KubernetesClusterEndpoint
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.KubernetesClusterEndpoint

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provide a resource to create a kubernetes cluster endpoint. This resource allows you to create an empty cluster first without any workers. Only all attached node depends create complete, cluster endpoint will finally be enabled.

    NOTE: Recommend using depends_on to make sure endpoint create after node pools or workers does.

    Example Usage

    Open intranet access for kubernetes cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesClusterEndpoint("example", {
        clusterId: "cls-fdy7hm1q",
        clusterIntranet: true,
        clusterIntranetDomain: "intranet_demo.com",
        clusterIntranetSubnetId: "subnet-7nl0sswi",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesClusterEndpoint("example",
        cluster_id="cls-fdy7hm1q",
        cluster_intranet=True,
        cluster_intranet_domain="intranet_demo.com",
        cluster_intranet_subnet_id="subnet-7nl0sswi")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewKubernetesClusterEndpoint(ctx, "example", &tencentcloud.KubernetesClusterEndpointArgs{
    			ClusterId:               pulumi.String("cls-fdy7hm1q"),
    			ClusterIntranet:         pulumi.Bool(true),
    			ClusterIntranetDomain:   pulumi.String("intranet_demo.com"),
    			ClusterIntranetSubnetId: pulumi.String("subnet-7nl0sswi"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.KubernetesClusterEndpoint("example", new()
        {
            ClusterId = "cls-fdy7hm1q",
            ClusterIntranet = true,
            ClusterIntranetDomain = "intranet_demo.com",
            ClusterIntranetSubnetId = "subnet-7nl0sswi",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesClusterEndpoint;
    import com.pulumi.tencentcloud.KubernetesClusterEndpointArgs;
    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) {
            var example = new KubernetesClusterEndpoint("example", KubernetesClusterEndpointArgs.builder()
                .clusterId("cls-fdy7hm1q")
                .clusterIntranet(true)
                .clusterIntranetDomain("intranet_demo.com")
                .clusterIntranetSubnetId("subnet-7nl0sswi")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesClusterEndpoint
        properties:
          clusterId: cls-fdy7hm1q
          clusterIntranet: true
          clusterIntranetDomain: intranet_demo.com
          clusterIntranetSubnetId: subnet-7nl0sswi
    

    Open internet access for kubernetes cluster

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesClusterEndpoint("example", {
        clusterId: "cls-fdy7hm1q",
        clusterInternet: true,
        clusterInternetSecurityGroup: "sg-e6a8xxib",
        clusterInternetDomain: "internet_demo.com",
        extensiveParameters: JSON.stringify({
            AddressIPVersion: "IPV4",
            InternetAccessible: {
                InternetChargeType: "TRAFFIC_POSTPAID_BY_HOUR",
                InternetMaxBandwidthOut: 10,
            },
        }),
    });
    
    import pulumi
    import json
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesClusterEndpoint("example",
        cluster_id="cls-fdy7hm1q",
        cluster_internet=True,
        cluster_internet_security_group="sg-e6a8xxib",
        cluster_internet_domain="internet_demo.com",
        extensive_parameters=json.dumps({
            "AddressIPVersion": "IPV4",
            "InternetAccessible": {
                "InternetChargeType": "TRAFFIC_POSTPAID_BY_HOUR",
                "InternetMaxBandwidthOut": 10,
            },
        }))
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"AddressIPVersion": "IPV4",
    			"InternetAccessible": map[string]interface{}{
    				"InternetChargeType":      "TRAFFIC_POSTPAID_BY_HOUR",
    				"InternetMaxBandwidthOut": 10,
    			},
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = tencentcloud.NewKubernetesClusterEndpoint(ctx, "example", &tencentcloud.KubernetesClusterEndpointArgs{
    			ClusterId:                    pulumi.String("cls-fdy7hm1q"),
    			ClusterInternet:              pulumi.Bool(true),
    			ClusterInternetSecurityGroup: pulumi.String("sg-e6a8xxib"),
    			ClusterInternetDomain:        pulumi.String("internet_demo.com"),
    			ExtensiveParameters:          pulumi.String(json0),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.KubernetesClusterEndpoint("example", new()
        {
            ClusterId = "cls-fdy7hm1q",
            ClusterInternet = true,
            ClusterInternetSecurityGroup = "sg-e6a8xxib",
            ClusterInternetDomain = "internet_demo.com",
            ExtensiveParameters = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["AddressIPVersion"] = "IPV4",
                ["InternetAccessible"] = new Dictionary<string, object?>
                {
                    ["InternetChargeType"] = "TRAFFIC_POSTPAID_BY_HOUR",
                    ["InternetMaxBandwidthOut"] = 10,
                },
            }),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesClusterEndpoint;
    import com.pulumi.tencentcloud.KubernetesClusterEndpointArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            var example = new KubernetesClusterEndpoint("example", KubernetesClusterEndpointArgs.builder()
                .clusterId("cls-fdy7hm1q")
                .clusterInternet(true)
                .clusterInternetSecurityGroup("sg-e6a8xxib")
                .clusterInternetDomain("internet_demo.com")
                .extensiveParameters(serializeJson(
                    jsonObject(
                        jsonProperty("AddressIPVersion", "IPV4"),
                        jsonProperty("InternetAccessible", jsonObject(
                            jsonProperty("InternetChargeType", "TRAFFIC_POSTPAID_BY_HOUR"),
                            jsonProperty("InternetMaxBandwidthOut", 10)
                        ))
                    )))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesClusterEndpoint
        properties:
          clusterId: cls-fdy7hm1q
          clusterInternet: true
          clusterInternetSecurityGroup: sg-e6a8xxib
          clusterInternetDomain: internet_demo.com
          extensiveParameters:
            fn::toJSON:
              AddressIPVersion: IPV4
              InternetAccessible:
                InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR
                InternetMaxBandwidthOut: 10
    

    Create KubernetesClusterEndpoint Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KubernetesClusterEndpoint(name: string, args: KubernetesClusterEndpointArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesClusterEndpoint(resource_name: str,
                                  args: KubernetesClusterEndpointArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesClusterEndpoint(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  cluster_id: Optional[str] = None,
                                  cluster_internet: Optional[bool] = None,
                                  cluster_internet_domain: Optional[str] = None,
                                  cluster_internet_security_group: Optional[str] = None,
                                  cluster_intranet: Optional[bool] = None,
                                  cluster_intranet_domain: Optional[str] = None,
                                  cluster_intranet_subnet_id: Optional[str] = None,
                                  extensive_parameters: Optional[str] = None,
                                  kubernetes_cluster_endpoint_id: Optional[str] = None,
                                  managed_cluster_internet_security_policies: Optional[Sequence[str]] = None)
    func NewKubernetesClusterEndpoint(ctx *Context, name string, args KubernetesClusterEndpointArgs, opts ...ResourceOption) (*KubernetesClusterEndpoint, error)
    public KubernetesClusterEndpoint(string name, KubernetesClusterEndpointArgs args, CustomResourceOptions? opts = null)
    public KubernetesClusterEndpoint(String name, KubernetesClusterEndpointArgs args)
    public KubernetesClusterEndpoint(String name, KubernetesClusterEndpointArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesClusterEndpoint
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args KubernetesClusterEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KubernetesClusterEndpointArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KubernetesClusterEndpointArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesClusterEndpointArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesClusterEndpointArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesClusterEndpoint Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The KubernetesClusterEndpoint resource accepts the following input properties:

    ClusterId string
    Specify cluster ID.
    ClusterInternet bool
    Open internet access or not.
    ClusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    ClusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    ClusterIntranet bool
    Open intranet access or not.
    ClusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    ClusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    ExtensiveParameters string
    The LB parameter. Only used for public network access.
    KubernetesClusterEndpointId string
    ID of the resource.
    ManagedClusterInternetSecurityPolicies List<string>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    ClusterId string
    Specify cluster ID.
    ClusterInternet bool
    Open internet access or not.
    ClusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    ClusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    ClusterIntranet bool
    Open intranet access or not.
    ClusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    ClusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    ExtensiveParameters string
    The LB parameter. Only used for public network access.
    KubernetesClusterEndpointId string
    ID of the resource.
    ManagedClusterInternetSecurityPolicies []string
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    clusterId String
    Specify cluster ID.
    clusterInternet Boolean
    Open internet access or not.
    clusterInternetDomain String
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup String
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet Boolean
    Open intranet access or not.
    clusterIntranetDomain String
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId String
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    extensiveParameters String
    The LB parameter. Only used for public network access.
    kubernetesClusterEndpointId String
    ID of the resource.
    managedClusterInternetSecurityPolicies List<String>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    clusterId string
    Specify cluster ID.
    clusterInternet boolean
    Open internet access or not.
    clusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet boolean
    Open intranet access or not.
    clusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    extensiveParameters string
    The LB parameter. Only used for public network access.
    kubernetesClusterEndpointId string
    ID of the resource.
    managedClusterInternetSecurityPolicies string[]
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    cluster_id str
    Specify cluster ID.
    cluster_internet bool
    Open internet access or not.
    cluster_internet_domain str
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    cluster_internet_security_group str
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    cluster_intranet bool
    Open intranet access or not.
    cluster_intranet_domain str
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    cluster_intranet_subnet_id str
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    extensive_parameters str
    The LB parameter. Only used for public network access.
    kubernetes_cluster_endpoint_id str
    ID of the resource.
    managed_cluster_internet_security_policies Sequence[str]
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    clusterId String
    Specify cluster ID.
    clusterInternet Boolean
    Open internet access or not.
    clusterInternetDomain String
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup String
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet Boolean
    Open intranet access or not.
    clusterIntranetDomain String
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId String
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    extensiveParameters String
    The LB parameter. Only used for public network access.
    kubernetesClusterEndpointId String
    ID of the resource.
    managedClusterInternetSecurityPolicies List<String>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesClusterEndpoint resource produces the following output properties:

    CertificationAuthority string
    The certificate used for access.
    ClusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    ClusterExternalEndpoint string
    External network address to access.
    Domain string
    Domain name for access.
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeConfig string
    The Intranet address used for access.
    KubeConfigIntranet string
    Kubernetes config of private network.
    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    UserName string
    User name of account.
    CertificationAuthority string
    The certificate used for access.
    ClusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    ClusterExternalEndpoint string
    External network address to access.
    Domain string
    Domain name for access.
    Id string
    The provider-assigned unique ID for this managed resource.
    KubeConfig string
    The Intranet address used for access.
    KubeConfigIntranet string
    Kubernetes config of private network.
    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    UserName string
    User name of account.
    certificationAuthority String
    The certificate used for access.
    clusterDeployType String
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint String
    External network address to access.
    domain String
    Domain name for access.
    id String
    The provider-assigned unique ID for this managed resource.
    kubeConfig String
    The Intranet address used for access.
    kubeConfigIntranet String
    Kubernetes config of private network.
    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    userName String
    User name of account.
    certificationAuthority string
    The certificate used for access.
    clusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint string
    External network address to access.
    domain string
    Domain name for access.
    id string
    The provider-assigned unique ID for this managed resource.
    kubeConfig string
    The Intranet address used for access.
    kubeConfigIntranet string
    Kubernetes config of private network.
    password string
    Password of account.
    pgwEndpoint string
    The Intranet address used for access.
    userName string
    User name of account.
    certification_authority str
    The certificate used for access.
    cluster_deploy_type str
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    cluster_external_endpoint str
    External network address to access.
    domain str
    Domain name for access.
    id str
    The provider-assigned unique ID for this managed resource.
    kube_config str
    The Intranet address used for access.
    kube_config_intranet str
    Kubernetes config of private network.
    password str
    Password of account.
    pgw_endpoint str
    The Intranet address used for access.
    user_name str
    User name of account.
    certificationAuthority String
    The certificate used for access.
    clusterDeployType String
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint String
    External network address to access.
    domain String
    Domain name for access.
    id String
    The provider-assigned unique ID for this managed resource.
    kubeConfig String
    The Intranet address used for access.
    kubeConfigIntranet String
    Kubernetes config of private network.
    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    userName String
    User name of account.

    Look up Existing KubernetesClusterEndpoint Resource

    Get an existing KubernetesClusterEndpoint resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KubernetesClusterEndpointState, opts?: CustomResourceOptions): KubernetesClusterEndpoint
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certification_authority: Optional[str] = None,
            cluster_deploy_type: Optional[str] = None,
            cluster_external_endpoint: Optional[str] = None,
            cluster_id: Optional[str] = None,
            cluster_internet: Optional[bool] = None,
            cluster_internet_domain: Optional[str] = None,
            cluster_internet_security_group: Optional[str] = None,
            cluster_intranet: Optional[bool] = None,
            cluster_intranet_domain: Optional[str] = None,
            cluster_intranet_subnet_id: Optional[str] = None,
            domain: Optional[str] = None,
            extensive_parameters: Optional[str] = None,
            kube_config: Optional[str] = None,
            kube_config_intranet: Optional[str] = None,
            kubernetes_cluster_endpoint_id: Optional[str] = None,
            managed_cluster_internet_security_policies: Optional[Sequence[str]] = None,
            password: Optional[str] = None,
            pgw_endpoint: Optional[str] = None,
            user_name: Optional[str] = None) -> KubernetesClusterEndpoint
    func GetKubernetesClusterEndpoint(ctx *Context, name string, id IDInput, state *KubernetesClusterEndpointState, opts ...ResourceOption) (*KubernetesClusterEndpoint, error)
    public static KubernetesClusterEndpoint Get(string name, Input<string> id, KubernetesClusterEndpointState? state, CustomResourceOptions? opts = null)
    public static KubernetesClusterEndpoint get(String name, Output<String> id, KubernetesClusterEndpointState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesClusterEndpoint    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CertificationAuthority string
    The certificate used for access.
    ClusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    ClusterExternalEndpoint string
    External network address to access.
    ClusterId string
    Specify cluster ID.
    ClusterInternet bool
    Open internet access or not.
    ClusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    ClusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    ClusterIntranet bool
    Open intranet access or not.
    ClusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    ClusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    Domain string
    Domain name for access.
    ExtensiveParameters string
    The LB parameter. Only used for public network access.
    KubeConfig string
    The Intranet address used for access.
    KubeConfigIntranet string
    Kubernetes config of private network.
    KubernetesClusterEndpointId string
    ID of the resource.
    ManagedClusterInternetSecurityPolicies List<string>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    UserName string
    User name of account.
    CertificationAuthority string
    The certificate used for access.
    ClusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    ClusterExternalEndpoint string
    External network address to access.
    ClusterId string
    Specify cluster ID.
    ClusterInternet bool
    Open internet access or not.
    ClusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    ClusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    ClusterIntranet bool
    Open intranet access or not.
    ClusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    ClusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    Domain string
    Domain name for access.
    ExtensiveParameters string
    The LB parameter. Only used for public network access.
    KubeConfig string
    The Intranet address used for access.
    KubeConfigIntranet string
    Kubernetes config of private network.
    KubernetesClusterEndpointId string
    ID of the resource.
    ManagedClusterInternetSecurityPolicies []string
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    Password string
    Password of account.
    PgwEndpoint string
    The Intranet address used for access.
    UserName string
    User name of account.
    certificationAuthority String
    The certificate used for access.
    clusterDeployType String
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint String
    External network address to access.
    clusterId String
    Specify cluster ID.
    clusterInternet Boolean
    Open internet access or not.
    clusterInternetDomain String
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup String
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet Boolean
    Open intranet access or not.
    clusterIntranetDomain String
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId String
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    domain String
    Domain name for access.
    extensiveParameters String
    The LB parameter. Only used for public network access.
    kubeConfig String
    The Intranet address used for access.
    kubeConfigIntranet String
    Kubernetes config of private network.
    kubernetesClusterEndpointId String
    ID of the resource.
    managedClusterInternetSecurityPolicies List<String>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    userName String
    User name of account.
    certificationAuthority string
    The certificate used for access.
    clusterDeployType string
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint string
    External network address to access.
    clusterId string
    Specify cluster ID.
    clusterInternet boolean
    Open internet access or not.
    clusterInternetDomain string
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup string
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet boolean
    Open intranet access or not.
    clusterIntranetDomain string
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId string
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    domain string
    Domain name for access.
    extensiveParameters string
    The LB parameter. Only used for public network access.
    kubeConfig string
    The Intranet address used for access.
    kubeConfigIntranet string
    Kubernetes config of private network.
    kubernetesClusterEndpointId string
    ID of the resource.
    managedClusterInternetSecurityPolicies string[]
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    password string
    Password of account.
    pgwEndpoint string
    The Intranet address used for access.
    userName string
    User name of account.
    certification_authority str
    The certificate used for access.
    cluster_deploy_type str
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    cluster_external_endpoint str
    External network address to access.
    cluster_id str
    Specify cluster ID.
    cluster_internet bool
    Open internet access or not.
    cluster_internet_domain str
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    cluster_internet_security_group str
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    cluster_intranet bool
    Open intranet access or not.
    cluster_intranet_domain str
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    cluster_intranet_subnet_id str
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    domain str
    Domain name for access.
    extensive_parameters str
    The LB parameter. Only used for public network access.
    kube_config str
    The Intranet address used for access.
    kube_config_intranet str
    Kubernetes config of private network.
    kubernetes_cluster_endpoint_id str
    ID of the resource.
    managed_cluster_internet_security_policies Sequence[str]
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    password str
    Password of account.
    pgw_endpoint str
    The Intranet address used for access.
    user_name str
    User name of account.
    certificationAuthority String
    The certificate used for access.
    clusterDeployType String
    Cluster deploy type of MANAGED_CLUSTER or INDEPENDENT_CLUSTER.
    clusterExternalEndpoint String
    External network address to access.
    clusterId String
    Specify cluster ID.
    clusterInternet Boolean
    Open internet access or not.
    clusterInternetDomain String
    Domain name for cluster Kube-apiserver internet access. Be careful if you modify value of this parameter, the cluster_external_endpoint value may be changed automatically too.
    clusterInternetSecurityGroup String
    Specify security group, NOTE: This argument must not be empty if cluster internet enabled.
    clusterIntranet Boolean
    Open intranet access or not.
    clusterIntranetDomain String
    Domain name for cluster Kube-apiserver intranet access. Be careful if you modify value of this parameter, the pgw_endpoint value may be changed automatically too.
    clusterIntranetSubnetId String
    Subnet id who can access this independent cluster, this field must and can only set when cluster_intranet is true. cluster_intranet_subnet_id can not modify once be set.
    domain String
    Domain name for access.
    extensiveParameters String
    The LB parameter. Only used for public network access.
    kubeConfig String
    The Intranet address used for access.
    kubeConfigIntranet String
    Kubernetes config of private network.
    kubernetesClusterEndpointId String
    ID of the resource.
    managedClusterInternetSecurityPolicies List<String>
    this argument was deprecated, use cluster_internet_security_group instead. Security policies for managed cluster internet, like:'192.168.1.0/24' or '113.116.51.27', '0.0.0.0/0' means all. This field can only set when field cluster_deploy_type is 'MANAGED_CLUSTER' and cluster_internet is true. managed_cluster_internet_security_policies can not delete or empty once be set.

    Deprecated: Deprecated

    password String
    Password of account.
    pgwEndpoint String
    The Intranet address used for access.
    userName String
    User name of account.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack