1. Packages
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. vke
  6. getKubeconfig
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine

    Data Source schema for Volcengine::VKE::Kubeconfig

    Using getKubeconfig

    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 getKubeconfig(args: GetKubeconfigArgs, opts?: InvokeOptions): Promise<GetKubeconfigResult>
    function getKubeconfigOutput(args: GetKubeconfigOutputArgs, opts?: InvokeOptions): Output<GetKubeconfigResult>
    def get_kubeconfig(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetKubeconfigResult
    def get_kubeconfig_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetKubeconfigResult]
    func LookupKubeconfig(ctx *Context, args *LookupKubeconfigArgs, opts ...InvokeOption) (*LookupKubeconfigResult, error)
    func LookupKubeconfigOutput(ctx *Context, args *LookupKubeconfigOutputArgs, opts ...InvokeOption) LookupKubeconfigResultOutput

    > Note: This function is named LookupKubeconfig in the Go SDK.

    public static class GetKubeconfig 
    {
        public static Task<GetKubeconfigResult> InvokeAsync(GetKubeconfigArgs args, InvokeOptions? opts = null)
        public static Output<GetKubeconfigResult> Invoke(GetKubeconfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKubeconfigResult> getKubeconfig(GetKubeconfigArgs args, InvokeOptions options)
    public static Output<GetKubeconfigResult> getKubeconfig(GetKubeconfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:vke/getKubeconfig:getKubeconfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getKubeconfig Result

    The following output properties are available:

    ClusterId string
    Cluster ID
    CreateTime string
    Kubeconfig Creation Time
    ExpireTime string
    Kubeconfig Expiration Time
    Id string
    Uniquely identifies the resource.
    Kubeconfig string
    Kubeconfig Text
    KubeconfigId string
    KubeconfigID。
    RoleId int
    Role ID
    Type string
    Cluster Kubeconfig File Type
    UserId int
    User ID
    ValidDuration int
    Kubeconfig File Validity Period
    ClusterId string
    Cluster ID
    CreateTime string
    Kubeconfig Creation Time
    ExpireTime string
    Kubeconfig Expiration Time
    Id string
    Uniquely identifies the resource.
    Kubeconfig string
    Kubeconfig Text
    KubeconfigId string
    KubeconfigID。
    RoleId int
    Role ID
    Type string
    Cluster Kubeconfig File Type
    UserId int
    User ID
    ValidDuration int
    Kubeconfig File Validity Period
    clusterId String
    Cluster ID
    createTime String
    Kubeconfig Creation Time
    expireTime String
    Kubeconfig Expiration Time
    id String
    Uniquely identifies the resource.
    kubeconfig String
    Kubeconfig Text
    kubeconfigId String
    KubeconfigID。
    roleId Integer
    Role ID
    type String
    Cluster Kubeconfig File Type
    userId Integer
    User ID
    validDuration Integer
    Kubeconfig File Validity Period
    clusterId string
    Cluster ID
    createTime string
    Kubeconfig Creation Time
    expireTime string
    Kubeconfig Expiration Time
    id string
    Uniquely identifies the resource.
    kubeconfig string
    Kubeconfig Text
    kubeconfigId string
    KubeconfigID。
    roleId number
    Role ID
    type string
    Cluster Kubeconfig File Type
    userId number
    User ID
    validDuration number
    Kubeconfig File Validity Period
    cluster_id str
    Cluster ID
    create_time str
    Kubeconfig Creation Time
    expire_time str
    Kubeconfig Expiration Time
    id str
    Uniquely identifies the resource.
    kubeconfig str
    Kubeconfig Text
    kubeconfig_id str
    KubeconfigID。
    role_id int
    Role ID
    type str
    Cluster Kubeconfig File Type
    user_id int
    User ID
    valid_duration int
    Kubeconfig File Validity Period
    clusterId String
    Cluster ID
    createTime String
    Kubeconfig Creation Time
    expireTime String
    Kubeconfig Expiration Time
    id String
    Uniquely identifies the resource.
    kubeconfig String
    Kubeconfig Text
    kubeconfigId String
    KubeconfigID。
    roleId Number
    Role ID
    type String
    Cluster Kubeconfig File Type
    userId Number
    User ID
    validDuration Number
    Kubeconfig File Validity Period

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.32
    published on Thursday, Apr 23, 2026 by Volcengine
      Try Pulumi Cloud free. Your team will thank you.