tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getKubernetesCharts
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 dictionary
The following arguments are supported:
- Arch string
- Operation system app supported. Available values:
arm32
,arm64
,amd64
. - Cluster
Type 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
. - Result
Output stringFile - Used to save results.
- Arch string
- Operation system app supported. Available values:
arm32
,arm64
,amd64
. - Cluster
Type 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
. - Result
Output stringFile - Used to save results.
- arch String
- Operation system app supported. Available values:
arm32
,arm64
,amd64
. - cluster
Type 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
. - result
Output StringFile - Used to save results.
- arch string
- Operation system app supported. Available values:
arm32
,arm64
,amd64
. - cluster
Type 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
. - result
Output 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
. - cluster
Type 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
. - result
Output StringFile - Used to save results.
getKubernetesCharts Result
The following output properties are available:
- Chart
Lists List<GetKubernetes Charts Chart List> - App chart list.
- Id string
- Arch string
- Cluster
Type string - Kind string
- Result
Output stringFile
- Chart
Lists []GetKubernetes Charts Chart List - App chart list.
- Id string
- Arch string
- Cluster
Type string - Kind string
- Result
Output stringFile
- chart
Lists List<GetKubernetes Charts Chart List> - App chart list.
- id String
- arch String
- cluster
Type String - kind String
- result
Output StringFile
- chart
Lists GetKubernetes Charts Chart List[] - App chart list.
- id string
- arch string
- cluster
Type string - kind string
- result
Output stringFile
- chart_
lists Sequence[GetKubernetes Charts Chart List] - App chart list.
- id str
- arch str
- cluster_
type str - kind str
- result_
output_ strfile
- chart
Lists List<Property Map> - App chart list.
- id String
- arch String
- cluster
Type String - kind String
- result
Output StringFile
Supporting Types
GetKubernetesChartsChartList
- Label Dictionary<string, string>
- Label of chart.
- Latest
Version string - Chart latest version.
- Name string
- Name of chart.
- Label map[string]string
- Label of chart.
- Latest
Version string - Chart latest version.
- Name string
- Name of chart.
- label Map<String,String>
- Label of chart.
- latest
Version String - Chart latest version.
- name String
- Name of chart.
- label {[key: string]: string}
- Label of chart.
- latest
Version 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.
- latest
Version 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack