tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack
tencentcloud.getKubernetesCharts
Explore with Pulumi AI
tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack
Use this data source to query detailed information of kubernetes cluster charts.
Example Usage
Query all kubernetes charts
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getKubernetesCharts({});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_kubernetes_charts()
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.GetKubernetesCharts(ctx, &tencentcloud.GetKubernetesChartsArgs{}, nil)
		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 = Tencentcloud.GetKubernetesCharts.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetKubernetesChartsArgs;
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 example = TencentcloudFunctions.getKubernetesCharts();
    }
}
variables:
  example:
    fn::invoke:
      function: tencentcloud:getKubernetesCharts
      arguments: {}
Query kubernetes charts by filter
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getKubernetesCharts({
    clusterType: "tke",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_kubernetes_charts(cluster_type="tke")
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.GetKubernetesCharts(ctx, &tencentcloud.GetKubernetesChartsArgs{
			ClusterType: pulumi.StringRef("tke"),
		}, nil)
		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 = Tencentcloud.GetKubernetesCharts.Invoke(new()
    {
        ClusterType = "tke",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetKubernetesChartsArgs;
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 example = TencentcloudFunctions.getKubernetesCharts(GetKubernetesChartsArgs.builder()
            .clusterType("tke")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: tencentcloud:getKubernetesCharts
      arguments:
        clusterType: tke
Using getKubernetesCharts
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 getKubernetesCharts(args: GetKubernetesChartsArgs, opts?: InvokeOptions): Promise<GetKubernetesChartsResult>
function getKubernetesChartsOutput(args: GetKubernetesChartsOutputArgs, opts?: InvokeOptions): Output<GetKubernetesChartsResult>def get_kubernetes_charts(arch: Optional[str] = None,
                          cluster_type: Optional[str] = None,
                          id: Optional[str] = None,
                          kind: Optional[str] = None,
                          result_output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetKubernetesChartsResult
def get_kubernetes_charts_output(arch: Optional[pulumi.Input[str]] = None,
                          cluster_type: Optional[pulumi.Input[str]] = None,
                          id: Optional[pulumi.Input[str]] = None,
                          kind: Optional[pulumi.Input[str]] = None,
                          result_output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetKubernetesChartsResult]func GetKubernetesCharts(ctx *Context, args *GetKubernetesChartsArgs, opts ...InvokeOption) (*GetKubernetesChartsResult, error)
func GetKubernetesChartsOutput(ctx *Context, args *GetKubernetesChartsOutputArgs, opts ...InvokeOption) GetKubernetesChartsResultOutput> Note: This function is named GetKubernetesCharts in the Go SDK.
public static class GetKubernetesCharts 
{
    public static Task<GetKubernetesChartsResult> InvokeAsync(GetKubernetesChartsArgs args, InvokeOptions? opts = null)
    public static Output<GetKubernetesChartsResult> Invoke(GetKubernetesChartsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKubernetesChartsResult> getKubernetesCharts(GetKubernetesChartsArgs args, InvokeOptions options)
public static Output<GetKubernetesChartsResult> getKubernetesCharts(GetKubernetesChartsArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getKubernetesCharts:getKubernetesCharts
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Arch string
- Operation system app supported. Available values: arm32,arm64,amd64.
- ClusterType string
- Cluster type. Available values: tke,eks.
- Id string
- Kind string
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- ResultOutput stringFile 
- Used to save results.
- Arch string
- Operation system app supported. Available values: arm32,arm64,amd64.
- ClusterType string
- Cluster type. Available values: tke,eks.
- Id string
- Kind string
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- ResultOutput stringFile 
- Used to save results.
- arch String
- Operation system app supported. Available values: arm32,arm64,amd64.
- clusterType String
- Cluster type. Available values: tke,eks.
- id String
- kind String
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- resultOutput StringFile 
- Used to save results.
- arch string
- Operation system app supported. Available values: arm32,arm64,amd64.
- clusterType string
- Cluster type. Available values: tke,eks.
- id string
- kind string
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- resultOutput stringFile 
- Used to save results.
- arch str
- Operation system app supported. Available values: arm32,arm64,amd64.
- cluster_type str
- Cluster type. Available values: tke,eks.
- id str
- kind str
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- result_output_ strfile 
- Used to save results.
- arch String
- Operation system app supported. Available values: arm32,arm64,amd64.
- clusterType String
- Cluster type. Available values: tke,eks.
- id String
- kind String
- Kind of app chart. Available values: log,scheduler,network,storage,monitor,dns,image,other,invisible.
- resultOutput StringFile 
- Used to save results.
getKubernetesCharts Result
The following output properties are available:
- ChartLists List<GetKubernetes Charts Chart List> 
- App chart list.
- Id string
- Arch string
- ClusterType string
- Kind string
- ResultOutput stringFile 
- ChartLists []GetKubernetes Charts Chart List 
- App chart list.
- Id string
- Arch string
- ClusterType string
- Kind string
- ResultOutput stringFile 
- chartLists List<GetKubernetes Charts Chart List> 
- App chart list.
- id String
- arch String
- clusterType String
- kind String
- resultOutput StringFile 
- chartLists GetKubernetes Charts Chart List[] 
- App chart list.
- id string
- arch string
- clusterType string
- kind string
- resultOutput stringFile 
- chart_lists Sequence[GetKubernetes Charts Chart List] 
- App chart list.
- id str
- arch str
- cluster_type str
- kind str
- result_output_ strfile 
- chartLists List<Property Map>
- App chart list.
- id String
- arch String
- clusterType String
- kind String
- resultOutput StringFile 
Supporting Types
GetKubernetesChartsChartList    
- Label Dictionary<string, string>
- Label of chart.
- LatestVersion string
- Chart latest version.
- Name string
- Name of chart.
- Label map[string]string
- Label of chart.
- LatestVersion string
- Chart latest version.
- Name string
- Name of chart.
- label Map<String,String>
- Label of chart.
- latestVersion String
- Chart latest version.
- name String
- Name of chart.
- label {[key: string]: string}
- Label of chart.
- latestVersion string
- Chart latest version.
- name string
- Name of chart.
- label Mapping[str, str]
- Label of chart.
- latest_version str
- Chart latest version.
- name str
- Name of chart.
- label Map<String>
- Label of chart.
- latestVersion String
- Chart latest version.
- name String
- Name of chart.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.191 published on Friday, May 9, 2025 by tencentcloudstack