1. Packages
  2. Packages
  3. Vkcs Provider
  4. API Docs
  5. getKubernetesClusterAddonV2
Viewing docs for vkcs 0.17.0
published on Thursday, Jun 25, 2026 by vk-cs
Viewing docs for vkcs 0.17.0
published on Thursday, Jun 25, 2026 by vk-cs

    Use this data source to retrieve information about specific VKCS Kubernetes cluster addon.

    The cluster addon can be identified by either:

    • id
    • the combination of base_addon_name and cluster_id

    These options are mutually exclusive.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as vkcs from "@pulumi/vkcs";
    
    const ingressNginx = vkcs.getKubernetesClusterAddonV2({
        id: ingressNginxVkcsKubernetesClusterAddonV2.id,
    });
    
    import pulumi
    import pulumi_vkcs as vkcs
    
    ingress_nginx = vkcs.get_kubernetes_cluster_addon_v2(id=ingress_nginx_vkcs_kubernetes_cluster_addon_v2["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/vkcs/vkcs"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vkcs.LookupKubernetesClusterAddonV2(ctx, &vkcs.LookupKubernetesClusterAddonV2Args{
    			Id: pulumi.StringRef(ingressNginxVkcsKubernetesClusterAddonV2.Id),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Vkcs = Pulumi.Vkcs;
    
    return await Deployment.RunAsync(() => 
    {
        var ingressNginx = Vkcs.GetKubernetesClusterAddonV2.Invoke(new()
        {
            Id = ingressNginxVkcsKubernetesClusterAddonV2.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.vkcs.VkcsFunctions;
    import com.pulumi.vkcs.inputs.GetKubernetesClusterAddonV2Args;
    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 ingressNginx = VkcsFunctions.getKubernetesClusterAddonV2(GetKubernetesClusterAddonV2Args.builder()
                .id(ingressNginxVkcsKubernetesClusterAddonV2.id())
                .build());
    
        }
    }
    
    variables:
      ingressNginx:
        fn::invoke:
          function: vkcs:getKubernetesClusterAddonV2
          arguments:
            id: ${ingressNginxVkcsKubernetesClusterAddonV2.id}
    
    Example coming soon!
    

    Using getKubernetesClusterAddonV2

    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 getKubernetesClusterAddonV2(args: GetKubernetesClusterAddonV2Args, opts?: InvokeOptions): Promise<GetKubernetesClusterAddonV2Result>
    function getKubernetesClusterAddonV2Output(args: GetKubernetesClusterAddonV2OutputArgs, opts?: InvokeOptions): Output<GetKubernetesClusterAddonV2Result>
    def get_kubernetes_cluster_addon_v2(base_addon_name: Optional[str] = None,
                                        cluster_id: Optional[str] = None,
                                        id: Optional[str] = None,
                                        region: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetKubernetesClusterAddonV2Result
    def get_kubernetes_cluster_addon_v2_output(base_addon_name: pulumi.Input[Optional[str]] = None,
                                        cluster_id: pulumi.Input[Optional[str]] = None,
                                        id: pulumi.Input[Optional[str]] = None,
                                        region: pulumi.Input[Optional[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesClusterAddonV2Result]
    func LookupKubernetesClusterAddonV2(ctx *Context, args *LookupKubernetesClusterAddonV2Args, opts ...InvokeOption) (*LookupKubernetesClusterAddonV2Result, error)
    func LookupKubernetesClusterAddonV2Output(ctx *Context, args *LookupKubernetesClusterAddonV2OutputArgs, opts ...InvokeOption) LookupKubernetesClusterAddonV2ResultOutput

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

    public static class GetKubernetesClusterAddonV2 
    {
        public static Task<GetKubernetesClusterAddonV2Result> InvokeAsync(GetKubernetesClusterAddonV2Args args, InvokeOptions? opts = null)
        public static Output<GetKubernetesClusterAddonV2Result> Invoke(GetKubernetesClusterAddonV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetKubernetesClusterAddonV2Result> getKubernetesClusterAddonV2(GetKubernetesClusterAddonV2Args args, InvokeOptions options)
    public static Output<GetKubernetesClusterAddonV2Result> getKubernetesClusterAddonV2(GetKubernetesClusterAddonV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: vkcs:index/getKubernetesClusterAddonV2:getKubernetesClusterAddonV2
      arguments:
        # arguments dictionary
    data "vkcs_getkubernetesclusteraddonv2" "name" {
        # arguments
    }

    The following arguments are supported:

    BaseAddonName string
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    ClusterId string
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    Id string
    optional string → The unique identifier of the cluster addon.
    Region string
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    BaseAddonName string
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    ClusterId string
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    Id string
    optional string → The unique identifier of the cluster addon.
    Region string
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    base_addon_name string
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    cluster_id string
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    id string
    optional string → The unique identifier of the cluster addon.
    region string
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    baseAddonName String
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    clusterId String
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    id String
    optional string → The unique identifier of the cluster addon.
    region String
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    baseAddonName string
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    clusterId string
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    id string
    optional string → The unique identifier of the cluster addon.
    region string
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    base_addon_name str
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    cluster_id str
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    id str
    optional string → The unique identifier of the cluster addon.
    region str
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.
    baseAddonName String
    optional string → The human-readable name of the Kubernetes addon (e.g., ingress-nginx, argocd).
    clusterId String
    optional string → The ID of the Kubernetes cluster where the addon is installed.
    id String
    optional string → The unique identifier of the cluster addon.
    region String
    optional string → The region in which to get the cluster addon. If omitted, the provider's region is used.

    getKubernetesClusterAddonV2 Result

    The following output properties are available:

    AddonId string
    string → The unique identifier of the addon definition.
    AddonName string
    string → The human-readable name of the cluster addon.
    AddonVersionId string
    string → The ID of the addon version to install.
    BaseAddonName string
    ClusterId string
    CreatedAt string
    string → The timestamp when the addon was created.
    Id string
    Namespace string
    string → The Kubernetes namespace where the addon will be deployed.
    Region string
    Status string
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    UpdatedAt string
    string → The timestamp when the addon was last updated.
    Values string
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    AddonId string
    string → The unique identifier of the addon definition.
    AddonName string
    string → The human-readable name of the cluster addon.
    AddonVersionId string
    string → The ID of the addon version to install.
    BaseAddonName string
    ClusterId string
    CreatedAt string
    string → The timestamp when the addon was created.
    Id string
    Namespace string
    string → The Kubernetes namespace where the addon will be deployed.
    Region string
    Status string
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    UpdatedAt string
    string → The timestamp when the addon was last updated.
    Values string
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    addon_id string
    string → The unique identifier of the addon definition.
    addon_name string
    string → The human-readable name of the cluster addon.
    addon_version_id string
    string → The ID of the addon version to install.
    base_addon_name string
    cluster_id string
    created_at string
    string → The timestamp when the addon was created.
    id string
    namespace string
    string → The Kubernetes namespace where the addon will be deployed.
    region string
    status string
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    updated_at string
    string → The timestamp when the addon was last updated.
    values string
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    addonId String
    string → The unique identifier of the addon definition.
    addonName String
    string → The human-readable name of the cluster addon.
    addonVersionId String
    string → The ID of the addon version to install.
    baseAddonName String
    clusterId String
    createdAt String
    string → The timestamp when the addon was created.
    id String
    namespace String
    string → The Kubernetes namespace where the addon will be deployed.
    region String
    status String
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    updatedAt String
    string → The timestamp when the addon was last updated.
    values String
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    addonId string
    string → The unique identifier of the addon definition.
    addonName string
    string → The human-readable name of the cluster addon.
    addonVersionId string
    string → The ID of the addon version to install.
    baseAddonName string
    clusterId string
    createdAt string
    string → The timestamp when the addon was created.
    id string
    namespace string
    string → The Kubernetes namespace where the addon will be deployed.
    region string
    status string
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    updatedAt string
    string → The timestamp when the addon was last updated.
    values string
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    addon_id str
    string → The unique identifier of the addon definition.
    addon_name str
    string → The human-readable name of the cluster addon.
    addon_version_id str
    string → The ID of the addon version to install.
    base_addon_name str
    cluster_id str
    created_at str
    string → The timestamp when the addon was created.
    id str
    namespace str
    string → The Kubernetes namespace where the addon will be deployed.
    region str
    status str
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    updated_at str
    string → The timestamp when the addon was last updated.
    values str
    string → The Helm chart values for configuring the addon, typically provided as YAML string.
    addonId String
    string → The unique identifier of the addon definition.
    addonName String
    string → The human-readable name of the cluster addon.
    addonVersionId String
    string → The ID of the addon version to install.
    baseAddonName String
    clusterId String
    createdAt String
    string → The timestamp when the addon was created.
    id String
    namespace String
    string → The Kubernetes namespace where the addon will be deployed.
    region String
    status String
    string → The current deployment status of the addon (e.g., 'INSTALLING', 'UPDATING', 'DELETING').
    updatedAt String
    string → The timestamp when the addon was last updated.
    values String
    string → The Helm chart values for configuring the addon, typically provided as YAML string.

    Package Details

    Repository
    vkcs vk-cs/terraform-provider-vkcs
    License
    Notes
    This Pulumi package is based on the vkcs Terraform Provider.
    Viewing docs for vkcs 0.17.0
    published on Thursday, Jun 25, 2026 by vk-cs

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial