1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. KubernetesClusterRollOutSequenceTagConfig
Viewing docs for tencentcloud 1.83.4
published on Monday, Jun 22, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.4
published on Monday, Jun 22, 2026 by tencentcloudstack

    Provides a resource to create a TKE kubernetes cluster roll out sequence tag config.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesClusterRollOutSequenceTagConfig("example", {
        clusterId: "cls-6ml650mu",
        tags: [
            {
                key: "Env",
                value: "Test",
            },
            {
                key: "Protection-Level",
                value: "Medium",
            },
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesClusterRollOutSequenceTagConfig("example",
        cluster_id="cls-6ml650mu",
        tags=[
            {
                "key": "Env",
                "value": "Test",
            },
            {
                "key": "Protection-Level",
                "value": "Medium",
            },
        ])
    
    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.NewKubernetesClusterRollOutSequenceTagConfig(ctx, "example", &tencentcloud.KubernetesClusterRollOutSequenceTagConfigArgs{
    			ClusterId: pulumi.String("cls-6ml650mu"),
    			Tags: tencentcloud.KubernetesClusterRollOutSequenceTagConfigTagArray{
    				&tencentcloud.KubernetesClusterRollOutSequenceTagConfigTagArgs{
    					Key:   pulumi.String("Env"),
    					Value: pulumi.String("Test"),
    				},
    				&tencentcloud.KubernetesClusterRollOutSequenceTagConfigTagArgs{
    					Key:   pulumi.String("Protection-Level"),
    					Value: pulumi.String("Medium"),
    				},
    			},
    		})
    		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 = new Tencentcloud.KubernetesClusterRollOutSequenceTagConfig("example", new()
        {
            ClusterId = "cls-6ml650mu",
            Tags = new[]
            {
                new Tencentcloud.Inputs.KubernetesClusterRollOutSequenceTagConfigTagArgs
                {
                    Key = "Env",
                    Value = "Test",
                },
                new Tencentcloud.Inputs.KubernetesClusterRollOutSequenceTagConfigTagArgs
                {
                    Key = "Protection-Level",
                    Value = "Medium",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesClusterRollOutSequenceTagConfig;
    import com.pulumi.tencentcloud.KubernetesClusterRollOutSequenceTagConfigArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesClusterRollOutSequenceTagConfigTagArgs;
    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) {
            var example = new KubernetesClusterRollOutSequenceTagConfig("example", KubernetesClusterRollOutSequenceTagConfigArgs.builder()
                .clusterId("cls-6ml650mu")
                .tags(            
                    KubernetesClusterRollOutSequenceTagConfigTagArgs.builder()
                        .key("Env")
                        .value("Test")
                        .build(),
                    KubernetesClusterRollOutSequenceTagConfigTagArgs.builder()
                        .key("Protection-Level")
                        .value("Medium")
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesClusterRollOutSequenceTagConfig
        properties:
          clusterId: cls-6ml650mu
          tags:
            - key: Env
              value: Test
            - key: Protection-Level
              value: Medium
    
    Example coming soon!
    

    Create KubernetesClusterRollOutSequenceTagConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new KubernetesClusterRollOutSequenceTagConfig(name: string, args: KubernetesClusterRollOutSequenceTagConfigArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesClusterRollOutSequenceTagConfig(resource_name: str,
                                                  args: KubernetesClusterRollOutSequenceTagConfigArgs,
                                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesClusterRollOutSequenceTagConfig(resource_name: str,
                                                  opts: Optional[ResourceOptions] = None,
                                                  cluster_id: Optional[str] = None,
                                                  tags: Optional[Sequence[KubernetesClusterRollOutSequenceTagConfigTagArgs]] = None,
                                                  kubernetes_cluster_roll_out_sequence_tag_config_id: Optional[str] = None)
    func NewKubernetesClusterRollOutSequenceTagConfig(ctx *Context, name string, args KubernetesClusterRollOutSequenceTagConfigArgs, opts ...ResourceOption) (*KubernetesClusterRollOutSequenceTagConfig, error)
    public KubernetesClusterRollOutSequenceTagConfig(string name, KubernetesClusterRollOutSequenceTagConfigArgs args, CustomResourceOptions? opts = null)
    public KubernetesClusterRollOutSequenceTagConfig(String name, KubernetesClusterRollOutSequenceTagConfigArgs args)
    public KubernetesClusterRollOutSequenceTagConfig(String name, KubernetesClusterRollOutSequenceTagConfigArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesClusterRollOutSequenceTagConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_kubernetesclusterrolloutsequencetagconfig" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KubernetesClusterRollOutSequenceTagConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args KubernetesClusterRollOutSequenceTagConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args KubernetesClusterRollOutSequenceTagConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesClusterRollOutSequenceTagConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesClusterRollOutSequenceTagConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesClusterRollOutSequenceTagConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The KubernetesClusterRollOutSequenceTagConfig resource accepts the following input properties:

    ClusterId string
    Cluster ID.
    Tags List<KubernetesClusterRollOutSequenceTagConfigTag>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    KubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    ClusterId string
    Cluster ID.
    Tags []KubernetesClusterRollOutSequenceTagConfigTagArgs
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    KubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    cluster_id string
    Cluster ID.
    tags list(object)
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    kubernetes_cluster_roll_out_sequence_tag_config_id string
    ID of the resource.
    clusterId String
    Cluster ID.
    tags List<KubernetesClusterRollOutSequenceTagConfigTag>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    kubernetesClusterRollOutSequenceTagConfigId String
    ID of the resource.
    clusterId string
    Cluster ID.
    tags KubernetesClusterRollOutSequenceTagConfigTag[]
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    kubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    cluster_id str
    Cluster ID.
    tags Sequence[KubernetesClusterRollOutSequenceTagConfigTagArgs]
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    kubernetes_cluster_roll_out_sequence_tag_config_id str
    ID of the resource.
    clusterId String
    Cluster ID.
    tags List<Property Map>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    kubernetesClusterRollOutSequenceTagConfigId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the KubernetesClusterRollOutSequenceTagConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing KubernetesClusterRollOutSequenceTagConfig Resource

    Get an existing KubernetesClusterRollOutSequenceTagConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: KubernetesClusterRollOutSequenceTagConfigState, opts?: CustomResourceOptions): KubernetesClusterRollOutSequenceTagConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            kubernetes_cluster_roll_out_sequence_tag_config_id: Optional[str] = None,
            tags: Optional[Sequence[KubernetesClusterRollOutSequenceTagConfigTagArgs]] = None) -> KubernetesClusterRollOutSequenceTagConfig
    func GetKubernetesClusterRollOutSequenceTagConfig(ctx *Context, name string, id IDInput, state *KubernetesClusterRollOutSequenceTagConfigState, opts ...ResourceOption) (*KubernetesClusterRollOutSequenceTagConfig, error)
    public static KubernetesClusterRollOutSequenceTagConfig Get(string name, Input<string> id, KubernetesClusterRollOutSequenceTagConfigState? state, CustomResourceOptions? opts = null)
    public static KubernetesClusterRollOutSequenceTagConfig get(String name, Output<String> id, KubernetesClusterRollOutSequenceTagConfigState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesClusterRollOutSequenceTagConfig    get:      id: ${id}
    import {
      to = tencentcloud_kubernetesclusterrolloutsequencetagconfig.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClusterId string
    Cluster ID.
    KubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    Tags List<KubernetesClusterRollOutSequenceTagConfigTag>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    ClusterId string
    Cluster ID.
    KubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    Tags []KubernetesClusterRollOutSequenceTagConfigTagArgs
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    cluster_id string
    Cluster ID.
    kubernetes_cluster_roll_out_sequence_tag_config_id string
    ID of the resource.
    tags list(object)
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    clusterId String
    Cluster ID.
    kubernetesClusterRollOutSequenceTagConfigId String
    ID of the resource.
    tags List<KubernetesClusterRollOutSequenceTagConfigTag>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    clusterId string
    Cluster ID.
    kubernetesClusterRollOutSequenceTagConfigId string
    ID of the resource.
    tags KubernetesClusterRollOutSequenceTagConfigTag[]
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    cluster_id str
    Cluster ID.
    kubernetes_cluster_roll_out_sequence_tag_config_id str
    ID of the resource.
    tags Sequence[KubernetesClusterRollOutSequenceTagConfigTagArgs]
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].
    clusterId String
    Cluster ID.
    kubernetesClusterRollOutSequenceTagConfigId String
    ID of the resource.
    tags List<Property Map>
    Cluster roll-out sequence tags. Supported tags: key Env with values [Test, Pre-Production, Production]; key Protection-Level with values [Low, Medium, High].

    Supporting Types

    KubernetesClusterRollOutSequenceTagConfigTag, KubernetesClusterRollOutSequenceTagConfigTagArgs

    Key string
    Tag key.
    Value string
    Tag value.
    Key string
    Tag key.
    Value string
    Tag value.
    key string
    Tag key.
    value string
    Tag value.
    key String
    Tag key.
    value String
    Tag value.
    key string
    Tag key.
    value string
    Tag value.
    key str
    Tag key.
    value str
    Tag value.
    key String
    Tag key.
    value String
    Tag value.

    Import

    TKE kubernetes cluster roll out sequence tag config can be imported using the cluster_id, e.g.

    $ pulumi import tencentcloud:index/kubernetesClusterRollOutSequenceTagConfig:KubernetesClusterRollOutSequenceTagConfig example cls-6ml650mu
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.83.4
    published on Monday, Jun 22, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial