1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cs
  5. getManagedKubernetesClusters
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cs.getManagedKubernetesClusters

Explore with Pulumi AI

This data source provides a list Container Service Managed Kubernetes Clusters on Alibaba Cloud.

NOTE: Available since v1.35.0

NOTE: From version 1.177.0+, We supported batch export of clusters’ kube config information by kube_config_file_prefix.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

// Declare the data source
const k8sClusters = alicloud.cs.getManagedKubernetesClusters({
    nameRegex: "my-first-k8s",
    outputFile: "my-first-k8s-json",
    kubeConfigFilePrefix: "~/.kube/managed",
});
export const output = k8sClusters.then(k8sClusters => k8sClusters.clusters);
Copy
import pulumi
import pulumi_alicloud as alicloud

# Declare the data source
k8s_clusters = alicloud.cs.get_managed_kubernetes_clusters(name_regex="my-first-k8s",
    output_file="my-first-k8s-json",
    kube_config_file_prefix="~/.kube/managed")
pulumi.export("output", k8s_clusters.clusters)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cs"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Declare the data source
		k8sClusters, err := cs.GetManagedKubernetesClusters(ctx, &cs.GetManagedKubernetesClustersArgs{
			NameRegex:            pulumi.StringRef("my-first-k8s"),
			OutputFile:           pulumi.StringRef("my-first-k8s-json"),
			KubeConfigFilePrefix: pulumi.StringRef("~/.kube/managed"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("output", k8sClusters.Clusters)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    // Declare the data source
    var k8sClusters = AliCloud.CS.GetManagedKubernetesClusters.Invoke(new()
    {
        NameRegex = "my-first-k8s",
        OutputFile = "my-first-k8s-json",
        KubeConfigFilePrefix = "~/.kube/managed",
    });

    return new Dictionary<string, object?>
    {
        ["output"] = k8sClusters.Apply(getManagedKubernetesClustersResult => getManagedKubernetesClustersResult.Clusters),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cs.CsFunctions;
import com.pulumi.alicloud.cs.inputs.GetManagedKubernetesClustersArgs;
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) {
        // Declare the data source
        final var k8sClusters = CsFunctions.getManagedKubernetesClusters(GetManagedKubernetesClustersArgs.builder()
            .nameRegex("my-first-k8s")
            .outputFile("my-first-k8s-json")
            .kubeConfigFilePrefix("~/.kube/managed")
            .build());

        ctx.export("output", k8sClusters.applyValue(getManagedKubernetesClustersResult -> getManagedKubernetesClustersResult.clusters()));
    }
}
Copy
variables:
  # Declare the data source
  k8sClusters:
    fn::invoke:
      function: alicloud:cs:getManagedKubernetesClusters
      arguments:
        nameRegex: my-first-k8s
        outputFile: my-first-k8s-json
        kubeConfigFilePrefix: ~/.kube/managed
outputs:
  output: ${k8sClusters.clusters}
Copy

Using getManagedKubernetesClusters

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 getManagedKubernetesClusters(args: GetManagedKubernetesClustersArgs, opts?: InvokeOptions): Promise<GetManagedKubernetesClustersResult>
function getManagedKubernetesClustersOutput(args: GetManagedKubernetesClustersOutputArgs, opts?: InvokeOptions): Output<GetManagedKubernetesClustersResult>
Copy
def get_managed_kubernetes_clusters(enable_details: Optional[bool] = None,
                                    ids: Optional[Sequence[str]] = None,
                                    kube_config_file_prefix: Optional[str] = None,
                                    name_regex: Optional[str] = None,
                                    output_file: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetManagedKubernetesClustersResult
def get_managed_kubernetes_clusters_output(enable_details: Optional[pulumi.Input[bool]] = None,
                                    ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    kube_config_file_prefix: Optional[pulumi.Input[str]] = None,
                                    name_regex: Optional[pulumi.Input[str]] = None,
                                    output_file: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetManagedKubernetesClustersResult]
Copy
func GetManagedKubernetesClusters(ctx *Context, args *GetManagedKubernetesClustersArgs, opts ...InvokeOption) (*GetManagedKubernetesClustersResult, error)
func GetManagedKubernetesClustersOutput(ctx *Context, args *GetManagedKubernetesClustersOutputArgs, opts ...InvokeOption) GetManagedKubernetesClustersResultOutput
Copy

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

public static class GetManagedKubernetesClusters 
{
    public static Task<GetManagedKubernetesClustersResult> InvokeAsync(GetManagedKubernetesClustersArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedKubernetesClustersResult> Invoke(GetManagedKubernetesClustersInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetManagedKubernetesClustersResult> getManagedKubernetesClusters(GetManagedKubernetesClustersArgs args, InvokeOptions options)
public static Output<GetManagedKubernetesClustersResult> getManagedKubernetesClusters(GetManagedKubernetesClustersArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:cs/getManagedKubernetesClusters:getManagedKubernetesClusters
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EnableDetails bool
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
Ids List<string>
Cluster IDs to filter.
KubeConfigFilePrefix string
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

NameRegex string
A regex string to filter results by cluster name.
OutputFile string
File name where to save data source results (after running pulumi preview).
EnableDetails bool
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
Ids []string
Cluster IDs to filter.
KubeConfigFilePrefix string
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

NameRegex string
A regex string to filter results by cluster name.
OutputFile string
File name where to save data source results (after running pulumi preview).
enableDetails Boolean
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
ids List<String>
Cluster IDs to filter.
kubeConfigFilePrefix String
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex String
A regex string to filter results by cluster name.
outputFile String
File name where to save data source results (after running pulumi preview).
enableDetails boolean
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
ids string[]
Cluster IDs to filter.
kubeConfigFilePrefix string
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex string
A regex string to filter results by cluster name.
outputFile string
File name where to save data source results (after running pulumi preview).
enable_details bool
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
ids Sequence[str]
Cluster IDs to filter.
kube_config_file_prefix str
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

name_regex str
A regex string to filter results by cluster name.
output_file str
File name where to save data source results (after running pulumi preview).
enableDetails Boolean
Boolean, false by default, only id and name are exported. Set to true if more details are needed, e.g., master_disk_category, slb_internet_enabled, connections. See full list in attributes.
ids List<String>
Cluster IDs to filter.
kubeConfigFilePrefix String
The path prefix of kube config. You could store kube config in a specified directory by specifying this field, like ~/.kube/managed, then it will be named with ~/.kube/managed-clusterID-kubeconfig. From version 1.243.0, kube_config will not export kube_config if this field is not set. Please use the attribute output_file of new DataSource alicloud.cs.getClusterCredential to replace it

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex String
A regex string to filter results by cluster name.
outputFile String
File name where to save data source results (after running pulumi preview).

getManagedKubernetesClusters Result

The following output properties are available:

Clusters List<Pulumi.AliCloud.CS.Outputs.GetManagedKubernetesClustersCluster>
A list of matched Kubernetes clusters. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
A list of matched Kubernetes clusters' ids.
Names List<string>
A list of matched Kubernetes clusters' names.
EnableDetails bool
KubeConfigFilePrefix string

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

NameRegex string
OutputFile string
Clusters []GetManagedKubernetesClustersCluster
A list of matched Kubernetes clusters. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
A list of matched Kubernetes clusters' ids.
Names []string
A list of matched Kubernetes clusters' names.
EnableDetails bool
KubeConfigFilePrefix string

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

NameRegex string
OutputFile string
clusters List<GetManagedKubernetesClustersCluster>
A list of matched Kubernetes clusters. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of matched Kubernetes clusters' ids.
names List<String>
A list of matched Kubernetes clusters' names.
enableDetails Boolean
kubeConfigFilePrefix String

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex String
outputFile String
clusters GetManagedKubernetesClustersCluster[]
A list of matched Kubernetes clusters. Each element contains the following attributes:
id string
The provider-assigned unique ID for this managed resource.
ids string[]
A list of matched Kubernetes clusters' ids.
names string[]
A list of matched Kubernetes clusters' names.
enableDetails boolean
kubeConfigFilePrefix string

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex string
outputFile string
clusters Sequence[GetManagedKubernetesClustersCluster]
A list of matched Kubernetes clusters. Each element contains the following attributes:
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
A list of matched Kubernetes clusters' ids.
names Sequence[str]
A list of matched Kubernetes clusters' names.
enable_details bool
kube_config_file_prefix str

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

name_regex str
output_file str
clusters List<Property Map>
A list of matched Kubernetes clusters. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
A list of matched Kubernetes clusters' ids.
names List<String>
A list of matched Kubernetes clusters' names.
enableDetails Boolean
kubeConfigFilePrefix String

Deprecated: Field 'kube_config_file_prefix' has been deprecated from provider version 1.243.0. From version 1.243.0, please use the attribute 'output_file' of new DataSource 'alicloud_cs_cluster_credential' to replace it.

nameRegex String
outputFile String

Supporting Types

GetManagedKubernetesClustersCluster

AvailabilityZone This property is required. string
The ID of availability zone.
ClusterNetworkType This property is required. string
Connections This property is required. Pulumi.AliCloud.CS.Inputs.GetManagedKubernetesClustersClusterConnections
Map of kubernetes cluster connection information.
Id This property is required. string
ID of the node.
ImageId This property is required. string
KeyName This property is required. string
The keypair of ssh login cluster node, you have to create it first.
LogConfigs This property is required. List<Pulumi.AliCloud.CS.Inputs.GetManagedKubernetesClustersClusterLogConfig>
A list of one element containing information about the associated log store. It contains the following attributes:
Name This property is required. string
Node name.
NatGatewayId This property is required. string
The ID of nat gateway used to launch kubernetes cluster.
PodCidr This property is required. string
RrsaConfig This property is required. Pulumi.AliCloud.CS.Inputs.GetManagedKubernetesClustersClusterRrsaConfig
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
SecurityGroupId This property is required. string
The ID of security group where the current cluster worker node is located.
ServiceCidr This property is required. string
SlbInternetEnabled This property is required. bool
State This property is required. string
(Available since v1.245.0) The state of cluster.
VpcId This property is required. string
The ID of VPC where the current cluster is located.
VswitchIds This property is required. List<string>
The ID of VSwitches where the current cluster is located.
WorkerAutoRenew This property is required. bool
WorkerAutoRenewPeriod This property is required. int
WorkerDataDiskCategory This property is required. string
WorkerDataDiskSize This property is required. int
WorkerDiskCategory This property is required. string
WorkerDiskSize This property is required. int
WorkerInstanceChargeType This property is required. string
WorkerInstanceTypes This property is required. List<string>
WorkerNodes This property is required. List<Pulumi.AliCloud.CS.Inputs.GetManagedKubernetesClustersClusterWorkerNode>
List of cluster worker nodes.
WorkerNumbers This property is required. List<int>
The ECS instance node number in the current container cluster.
WorkerPeriod This property is required. int
WorkerPeriodUnit This property is required. string
AvailabilityZone This property is required. string
The ID of availability zone.
ClusterNetworkType This property is required. string
Connections This property is required. GetManagedKubernetesClustersClusterConnections
Map of kubernetes cluster connection information.
Id This property is required. string
ID of the node.
ImageId This property is required. string
KeyName This property is required. string
The keypair of ssh login cluster node, you have to create it first.
LogConfigs This property is required. []GetManagedKubernetesClustersClusterLogConfig
A list of one element containing information about the associated log store. It contains the following attributes:
Name This property is required. string
Node name.
NatGatewayId This property is required. string
The ID of nat gateway used to launch kubernetes cluster.
PodCidr This property is required. string
RrsaConfig This property is required. GetManagedKubernetesClustersClusterRrsaConfig
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
SecurityGroupId This property is required. string
The ID of security group where the current cluster worker node is located.
ServiceCidr This property is required. string
SlbInternetEnabled This property is required. bool
State This property is required. string
(Available since v1.245.0) The state of cluster.
VpcId This property is required. string
The ID of VPC where the current cluster is located.
VswitchIds This property is required. []string
The ID of VSwitches where the current cluster is located.
WorkerAutoRenew This property is required. bool
WorkerAutoRenewPeriod This property is required. int
WorkerDataDiskCategory This property is required. string
WorkerDataDiskSize This property is required. int
WorkerDiskCategory This property is required. string
WorkerDiskSize This property is required. int
WorkerInstanceChargeType This property is required. string
WorkerInstanceTypes This property is required. []string
WorkerNodes This property is required. []GetManagedKubernetesClustersClusterWorkerNode
List of cluster worker nodes.
WorkerNumbers This property is required. []int
The ECS instance node number in the current container cluster.
WorkerPeriod This property is required. int
WorkerPeriodUnit This property is required. string
availabilityZone This property is required. String
The ID of availability zone.
clusterNetworkType This property is required. String
connections This property is required. GetManagedKubernetesClustersClusterConnections
Map of kubernetes cluster connection information.
id This property is required. String
ID of the node.
imageId This property is required. String
keyName This property is required. String
The keypair of ssh login cluster node, you have to create it first.
logConfigs This property is required. List<GetManagedKubernetesClustersClusterLogConfig>
A list of one element containing information about the associated log store. It contains the following attributes:
name This property is required. String
Node name.
natGatewayId This property is required. String
The ID of nat gateway used to launch kubernetes cluster.
podCidr This property is required. String
rrsaConfig This property is required. GetManagedKubernetesClustersClusterRrsaConfig
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
securityGroupId This property is required. String
The ID of security group where the current cluster worker node is located.
serviceCidr This property is required. String
slbInternetEnabled This property is required. Boolean
state This property is required. String
(Available since v1.245.0) The state of cluster.
vpcId This property is required. String
The ID of VPC where the current cluster is located.
vswitchIds This property is required. List<String>
The ID of VSwitches where the current cluster is located.
workerAutoRenew This property is required. Boolean
workerAutoRenewPeriod This property is required. Integer
workerDataDiskCategory This property is required. String
workerDataDiskSize This property is required. Integer
workerDiskCategory This property is required. String
workerDiskSize This property is required. Integer
workerInstanceChargeType This property is required. String
workerInstanceTypes This property is required. List<String>
workerNodes This property is required. List<GetManagedKubernetesClustersClusterWorkerNode>
List of cluster worker nodes.
workerNumbers This property is required. List<Integer>
The ECS instance node number in the current container cluster.
workerPeriod This property is required. Integer
workerPeriodUnit This property is required. String
availabilityZone This property is required. string
The ID of availability zone.
clusterNetworkType This property is required. string
connections This property is required. GetManagedKubernetesClustersClusterConnections
Map of kubernetes cluster connection information.
id This property is required. string
ID of the node.
imageId This property is required. string
keyName This property is required. string
The keypair of ssh login cluster node, you have to create it first.
logConfigs This property is required. GetManagedKubernetesClustersClusterLogConfig[]
A list of one element containing information about the associated log store. It contains the following attributes:
name This property is required. string
Node name.
natGatewayId This property is required. string
The ID of nat gateway used to launch kubernetes cluster.
podCidr This property is required. string
rrsaConfig This property is required. GetManagedKubernetesClustersClusterRrsaConfig
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
securityGroupId This property is required. string
The ID of security group where the current cluster worker node is located.
serviceCidr This property is required. string
slbInternetEnabled This property is required. boolean
state This property is required. string
(Available since v1.245.0) The state of cluster.
vpcId This property is required. string
The ID of VPC where the current cluster is located.
vswitchIds This property is required. string[]
The ID of VSwitches where the current cluster is located.
workerAutoRenew This property is required. boolean
workerAutoRenewPeriod This property is required. number
workerDataDiskCategory This property is required. string
workerDataDiskSize This property is required. number
workerDiskCategory This property is required. string
workerDiskSize This property is required. number
workerInstanceChargeType This property is required. string
workerInstanceTypes This property is required. string[]
workerNodes This property is required. GetManagedKubernetesClustersClusterWorkerNode[]
List of cluster worker nodes.
workerNumbers This property is required. number[]
The ECS instance node number in the current container cluster.
workerPeriod This property is required. number
workerPeriodUnit This property is required. string
availability_zone This property is required. str
The ID of availability zone.
cluster_network_type This property is required. str
connections This property is required. GetManagedKubernetesClustersClusterConnections
Map of kubernetes cluster connection information.
id This property is required. str
ID of the node.
image_id This property is required. str
key_name This property is required. str
The keypair of ssh login cluster node, you have to create it first.
log_configs This property is required. Sequence[GetManagedKubernetesClustersClusterLogConfig]
A list of one element containing information about the associated log store. It contains the following attributes:
name This property is required. str
Node name.
nat_gateway_id This property is required. str
The ID of nat gateway used to launch kubernetes cluster.
pod_cidr This property is required. str
rrsa_config This property is required. GetManagedKubernetesClustersClusterRrsaConfig
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
security_group_id This property is required. str
The ID of security group where the current cluster worker node is located.
service_cidr This property is required. str
slb_internet_enabled This property is required. bool
state This property is required. str
(Available since v1.245.0) The state of cluster.
vpc_id This property is required. str
The ID of VPC where the current cluster is located.
vswitch_ids This property is required. Sequence[str]
The ID of VSwitches where the current cluster is located.
worker_auto_renew This property is required. bool
worker_auto_renew_period This property is required. int
worker_data_disk_category This property is required. str
worker_data_disk_size This property is required. int
worker_disk_category This property is required. str
worker_disk_size This property is required. int
worker_instance_charge_type This property is required. str
worker_instance_types This property is required. Sequence[str]
worker_nodes This property is required. Sequence[GetManagedKubernetesClustersClusterWorkerNode]
List of cluster worker nodes.
worker_numbers This property is required. Sequence[int]
The ECS instance node number in the current container cluster.
worker_period This property is required. int
worker_period_unit This property is required. str
availabilityZone This property is required. String
The ID of availability zone.
clusterNetworkType This property is required. String
connections This property is required. Property Map
Map of kubernetes cluster connection information.
id This property is required. String
ID of the node.
imageId This property is required. String
keyName This property is required. String
The keypair of ssh login cluster node, you have to create it first.
logConfigs This property is required. List<Property Map>
A list of one element containing information about the associated log store. It contains the following attributes:
name This property is required. String
Node name.
natGatewayId This property is required. String
The ID of nat gateway used to launch kubernetes cluster.
podCidr This property is required. String
rrsaConfig This property is required. Property Map
(Available since v1.245.0) Nested attribute containing RRSA related data for your cluster.
securityGroupId This property is required. String
The ID of security group where the current cluster worker node is located.
serviceCidr This property is required. String
slbInternetEnabled This property is required. Boolean
state This property is required. String
(Available since v1.245.0) The state of cluster.
vpcId This property is required. String
The ID of VPC where the current cluster is located.
vswitchIds This property is required. List<String>
The ID of VSwitches where the current cluster is located.
workerAutoRenew This property is required. Boolean
workerAutoRenewPeriod This property is required. Number
workerDataDiskCategory This property is required. String
workerDataDiskSize This property is required. Number
workerDiskCategory This property is required. String
workerDiskSize This property is required. Number
workerInstanceChargeType This property is required. String
workerInstanceTypes This property is required. List<String>
workerNodes This property is required. List<Property Map>
List of cluster worker nodes.
workerNumbers This property is required. List<Number>
The ECS instance node number in the current container cluster.
workerPeriod This property is required. Number
workerPeriodUnit This property is required. String

GetManagedKubernetesClustersClusterConnections

ApiServerInternet This property is required. string
API Server Internet endpoint.
ApiServerIntranet This property is required. string
API Server Intranet endpoint.
MasterPublicIp This property is required. string
Master node SSH IP address.
ServiceDomain This property is required. string
Service Access Domain.
ApiServerInternet This property is required. string
API Server Internet endpoint.
ApiServerIntranet This property is required. string
API Server Intranet endpoint.
MasterPublicIp This property is required. string
Master node SSH IP address.
ServiceDomain This property is required. string
Service Access Domain.
apiServerInternet This property is required. String
API Server Internet endpoint.
apiServerIntranet This property is required. String
API Server Intranet endpoint.
masterPublicIp This property is required. String
Master node SSH IP address.
serviceDomain This property is required. String
Service Access Domain.
apiServerInternet This property is required. string
API Server Internet endpoint.
apiServerIntranet This property is required. string
API Server Intranet endpoint.
masterPublicIp This property is required. string
Master node SSH IP address.
serviceDomain This property is required. string
Service Access Domain.
api_server_internet This property is required. str
API Server Internet endpoint.
api_server_intranet This property is required. str
API Server Intranet endpoint.
master_public_ip This property is required. str
Master node SSH IP address.
service_domain This property is required. str
Service Access Domain.
apiServerInternet This property is required. String
API Server Internet endpoint.
apiServerIntranet This property is required. String
API Server Intranet endpoint.
masterPublicIp This property is required. String
Master node SSH IP address.
serviceDomain This property is required. String
Service Access Domain.

GetManagedKubernetesClustersClusterLogConfig

Project This property is required. string
Log Service project name.
Type This property is required. string
Type of collecting logs.
Project This property is required. string
Log Service project name.
Type This property is required. string
Type of collecting logs.
project This property is required. String
Log Service project name.
type This property is required. String
Type of collecting logs.
project This property is required. string
Log Service project name.
type This property is required. string
Type of collecting logs.
project This property is required. str
Log Service project name.
type This property is required. str
Type of collecting logs.
project This property is required. String
Log Service project name.
type This property is required. String
Type of collecting logs.

GetManagedKubernetesClustersClusterRrsaConfig

Enabled This property is required. bool
Whether the RRSA feature has been enabled.
RamOidcProviderArn This property is required. string
The arn of OIDC provider that was registered in RAM.
RamOidcProviderName This property is required. string
The name of OIDC Provider that was registered in RAM.
RrsaOidcIssuerUrl This property is required. string
The issuer URL of RRSA OIDC Token.
Enabled This property is required. bool
Whether the RRSA feature has been enabled.
RamOidcProviderArn This property is required. string
The arn of OIDC provider that was registered in RAM.
RamOidcProviderName This property is required. string
The name of OIDC Provider that was registered in RAM.
RrsaOidcIssuerUrl This property is required. string
The issuer URL of RRSA OIDC Token.
enabled This property is required. Boolean
Whether the RRSA feature has been enabled.
ramOidcProviderArn This property is required. String
The arn of OIDC provider that was registered in RAM.
ramOidcProviderName This property is required. String
The name of OIDC Provider that was registered in RAM.
rrsaOidcIssuerUrl This property is required. String
The issuer URL of RRSA OIDC Token.
enabled This property is required. boolean
Whether the RRSA feature has been enabled.
ramOidcProviderArn This property is required. string
The arn of OIDC provider that was registered in RAM.
ramOidcProviderName This property is required. string
The name of OIDC Provider that was registered in RAM.
rrsaOidcIssuerUrl This property is required. string
The issuer URL of RRSA OIDC Token.
enabled This property is required. bool
Whether the RRSA feature has been enabled.
ram_oidc_provider_arn This property is required. str
The arn of OIDC provider that was registered in RAM.
ram_oidc_provider_name This property is required. str
The name of OIDC Provider that was registered in RAM.
rrsa_oidc_issuer_url This property is required. str
The issuer URL of RRSA OIDC Token.
enabled This property is required. Boolean
Whether the RRSA feature has been enabled.
ramOidcProviderArn This property is required. String
The arn of OIDC provider that was registered in RAM.
ramOidcProviderName This property is required. String
The name of OIDC Provider that was registered in RAM.
rrsaOidcIssuerUrl This property is required. String
The issuer URL of RRSA OIDC Token.

GetManagedKubernetesClustersClusterWorkerNode

Id This property is required. string
ID of the node.
Name This property is required. string
Node name.
PrivateIp This property is required. string
The private IP address of node.
Id This property is required. string
ID of the node.
Name This property is required. string
Node name.
PrivateIp This property is required. string
The private IP address of node.
id This property is required. String
ID of the node.
name This property is required. String
Node name.
privateIp This property is required. String
The private IP address of node.
id This property is required. string
ID of the node.
name This property is required. string
Node name.
privateIp This property is required. string
The private IP address of node.
id This property is required. str
ID of the node.
name This property is required. str
Node name.
private_ip This property is required. str
The private IP address of node.
id This property is required. String
ID of the node.
name This property is required. String
Node name.
privateIp This property is required. String
The private IP address of node.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.