1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. KubernetesRollOutSequence
Viewing docs for tencentcloud 1.83.2
published on Monday, Jun 15, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.83.2
published on Monday, Jun 15, 2026 by tencentcloudstack

    Provides a resource to create a TKE roll-out sequence

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.KubernetesRollOutSequence("example", {
        name: "tf-example",
        enabled: true,
        sequenceFlows: [
            {
                tags: [{
                    key: "Env",
                    values: ["Test"],
                }],
                soakTime: 300,
            },
            {
                tags: [
                    {
                        key: "Env",
                        values: ["Pre-Production"],
                    },
                    {
                        key: "Protection-Level",
                        values: ["Medium"],
                    },
                ],
                soakTime: 600,
            },
            {
                tags: [
                    {
                        key: "Env",
                        values: ["Production"],
                    },
                    {
                        key: "Protection-Level",
                        values: ["High"],
                    },
                ],
                soakTime: 600,
            },
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.KubernetesRollOutSequence("example",
        name="tf-example",
        enabled=True,
        sequence_flows=[
            {
                "tags": [{
                    "key": "Env",
                    "values": ["Test"],
                }],
                "soak_time": 300,
            },
            {
                "tags": [
                    {
                        "key": "Env",
                        "values": ["Pre-Production"],
                    },
                    {
                        "key": "Protection-Level",
                        "values": ["Medium"],
                    },
                ],
                "soak_time": 600,
            },
            {
                "tags": [
                    {
                        "key": "Env",
                        "values": ["Production"],
                    },
                    {
                        "key": "Protection-Level",
                        "values": ["High"],
                    },
                ],
                "soak_time": 600,
            },
        ])
    
    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.NewKubernetesRollOutSequence(ctx, "example", &tencentcloud.KubernetesRollOutSequenceArgs{
    			Name:    pulumi.String("tf-example"),
    			Enabled: pulumi.Bool(true),
    			SequenceFlows: tencentcloud.KubernetesRollOutSequenceSequenceFlowArray{
    				&tencentcloud.KubernetesRollOutSequenceSequenceFlowArgs{
    					Tags: tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArray{
    						&tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArgs{
    							Key: pulumi.String("Env"),
    							Values: pulumi.StringArray{
    								pulumi.String("Test"),
    							},
    						},
    					},
    					SoakTime: pulumi.Float64(300),
    				},
    				&tencentcloud.KubernetesRollOutSequenceSequenceFlowArgs{
    					Tags: tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArray{
    						&tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArgs{
    							Key: pulumi.String("Env"),
    							Values: pulumi.StringArray{
    								pulumi.String("Pre-Production"),
    							},
    						},
    						&tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArgs{
    							Key: pulumi.String("Protection-Level"),
    							Values: pulumi.StringArray{
    								pulumi.String("Medium"),
    							},
    						},
    					},
    					SoakTime: pulumi.Float64(600),
    				},
    				&tencentcloud.KubernetesRollOutSequenceSequenceFlowArgs{
    					Tags: tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArray{
    						&tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArgs{
    							Key: pulumi.String("Env"),
    							Values: pulumi.StringArray{
    								pulumi.String("Production"),
    							},
    						},
    						&tencentcloud.KubernetesRollOutSequenceSequenceFlowTagArgs{
    							Key: pulumi.String("Protection-Level"),
    							Values: pulumi.StringArray{
    								pulumi.String("High"),
    							},
    						},
    					},
    					SoakTime: pulumi.Float64(600),
    				},
    			},
    		})
    		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.KubernetesRollOutSequence("example", new()
        {
            Name = "tf-example",
            Enabled = true,
            SequenceFlows = new[]
            {
                new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowArgs
                {
                    Tags = new[]
                    {
                        new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowTagArgs
                        {
                            Key = "Env",
                            Values = new[]
                            {
                                "Test",
                            },
                        },
                    },
                    SoakTime = 300,
                },
                new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowArgs
                {
                    Tags = new[]
                    {
                        new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowTagArgs
                        {
                            Key = "Env",
                            Values = new[]
                            {
                                "Pre-Production",
                            },
                        },
                        new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowTagArgs
                        {
                            Key = "Protection-Level",
                            Values = new[]
                            {
                                "Medium",
                            },
                        },
                    },
                    SoakTime = 600,
                },
                new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowArgs
                {
                    Tags = new[]
                    {
                        new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowTagArgs
                        {
                            Key = "Env",
                            Values = new[]
                            {
                                "Production",
                            },
                        },
                        new Tencentcloud.Inputs.KubernetesRollOutSequenceSequenceFlowTagArgs
                        {
                            Key = "Protection-Level",
                            Values = new[]
                            {
                                "High",
                            },
                        },
                    },
                    SoakTime = 600,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.KubernetesRollOutSequence;
    import com.pulumi.tencentcloud.KubernetesRollOutSequenceArgs;
    import com.pulumi.tencentcloud.inputs.KubernetesRollOutSequenceSequenceFlowArgs;
    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 KubernetesRollOutSequence("example", KubernetesRollOutSequenceArgs.builder()
                .name("tf-example")
                .enabled(true)
                .sequenceFlows(            
                    KubernetesRollOutSequenceSequenceFlowArgs.builder()
                        .tags(KubernetesRollOutSequenceSequenceFlowTagArgs.builder()
                            .key("Env")
                            .values("Test")
                            .build())
                        .soakTime(300.0)
                        .build(),
                    KubernetesRollOutSequenceSequenceFlowArgs.builder()
                        .tags(                    
                            KubernetesRollOutSequenceSequenceFlowTagArgs.builder()
                                .key("Env")
                                .values("Pre-Production")
                                .build(),
                            KubernetesRollOutSequenceSequenceFlowTagArgs.builder()
                                .key("Protection-Level")
                                .values("Medium")
                                .build())
                        .soakTime(600.0)
                        .build(),
                    KubernetesRollOutSequenceSequenceFlowArgs.builder()
                        .tags(                    
                            KubernetesRollOutSequenceSequenceFlowTagArgs.builder()
                                .key("Env")
                                .values("Production")
                                .build(),
                            KubernetesRollOutSequenceSequenceFlowTagArgs.builder()
                                .key("Protection-Level")
                                .values("High")
                                .build())
                        .soakTime(600.0)
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:KubernetesRollOutSequence
        properties:
          name: tf-example
          enabled: true
          sequenceFlows:
            - tags:
                - key: Env
                  values:
                    - Test
              soakTime: 300
            - tags:
                - key: Env
                  values:
                    - Pre-Production
                - key: Protection-Level
                  values:
                    - Medium
              soakTime: 600
            - tags:
                - key: Env
                  values:
                    - Production
                - key: Protection-Level
                  values:
                    - High
              soakTime: 600
    
    Example coming soon!
    

    Create KubernetesRollOutSequence Resource

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

    Constructor syntax

    new KubernetesRollOutSequence(name: string, args: KubernetesRollOutSequenceArgs, opts?: CustomResourceOptions);
    @overload
    def KubernetesRollOutSequence(resource_name: str,
                                  args: KubernetesRollOutSequenceArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def KubernetesRollOutSequence(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  enabled: Optional[bool] = None,
                                  sequence_flows: Optional[Sequence[KubernetesRollOutSequenceSequenceFlowArgs]] = None,
                                  kubernetes_roll_out_sequence_id: Optional[str] = None,
                                  name: Optional[str] = None)
    func NewKubernetesRollOutSequence(ctx *Context, name string, args KubernetesRollOutSequenceArgs, opts ...ResourceOption) (*KubernetesRollOutSequence, error)
    public KubernetesRollOutSequence(string name, KubernetesRollOutSequenceArgs args, CustomResourceOptions? opts = null)
    public KubernetesRollOutSequence(String name, KubernetesRollOutSequenceArgs args)
    public KubernetesRollOutSequence(String name, KubernetesRollOutSequenceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:KubernetesRollOutSequence
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "tencentcloud_kubernetesrolloutsequence" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args KubernetesRollOutSequenceArgs
    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 KubernetesRollOutSequenceArgs
    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 KubernetesRollOutSequenceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args KubernetesRollOutSequenceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args KubernetesRollOutSequenceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    KubernetesRollOutSequence 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 KubernetesRollOutSequence resource accepts the following input properties:

    Enabled bool
    Whether the roll-out sequence is enabled.
    SequenceFlows List<KubernetesRollOutSequenceSequenceFlow>
    The sequence flow steps of the roll-out sequence.
    KubernetesRollOutSequenceId string
    ID of the resource.
    Name string
    The name of the roll-out sequence.
    Enabled bool
    Whether the roll-out sequence is enabled.
    SequenceFlows []KubernetesRollOutSequenceSequenceFlowArgs
    The sequence flow steps of the roll-out sequence.
    KubernetesRollOutSequenceId string
    ID of the resource.
    Name string
    The name of the roll-out sequence.
    enabled bool
    Whether the roll-out sequence is enabled.
    sequence_flows list(object)
    The sequence flow steps of the roll-out sequence.
    kubernetes_roll_out_sequence_id string
    ID of the resource.
    name string
    The name of the roll-out sequence.
    enabled Boolean
    Whether the roll-out sequence is enabled.
    sequenceFlows List<KubernetesRollOutSequenceSequenceFlow>
    The sequence flow steps of the roll-out sequence.
    kubernetesRollOutSequenceId String
    ID of the resource.
    name String
    The name of the roll-out sequence.
    enabled boolean
    Whether the roll-out sequence is enabled.
    sequenceFlows KubernetesRollOutSequenceSequenceFlow[]
    The sequence flow steps of the roll-out sequence.
    kubernetesRollOutSequenceId string
    ID of the resource.
    name string
    The name of the roll-out sequence.
    enabled bool
    Whether the roll-out sequence is enabled.
    sequence_flows Sequence[KubernetesRollOutSequenceSequenceFlowArgs]
    The sequence flow steps of the roll-out sequence.
    kubernetes_roll_out_sequence_id str
    ID of the resource.
    name str
    The name of the roll-out sequence.
    enabled Boolean
    Whether the roll-out sequence is enabled.
    sequenceFlows List<Property Map>
    The sequence flow steps of the roll-out sequence.
    kubernetesRollOutSequenceId String
    ID of the resource.
    name String
    The name of the roll-out sequence.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    SequenceId double
    The ID of the roll-out sequence.
    Id string
    The provider-assigned unique ID for this managed resource.
    SequenceId float64
    The ID of the roll-out sequence.
    id string
    The provider-assigned unique ID for this managed resource.
    sequence_id number
    The ID of the roll-out sequence.
    id String
    The provider-assigned unique ID for this managed resource.
    sequenceId Double
    The ID of the roll-out sequence.
    id string
    The provider-assigned unique ID for this managed resource.
    sequenceId number
    The ID of the roll-out sequence.
    id str
    The provider-assigned unique ID for this managed resource.
    sequence_id float
    The ID of the roll-out sequence.
    id String
    The provider-assigned unique ID for this managed resource.
    sequenceId Number
    The ID of the roll-out sequence.

    Look up Existing KubernetesRollOutSequence Resource

    Get an existing KubernetesRollOutSequence 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?: KubernetesRollOutSequenceState, opts?: CustomResourceOptions): KubernetesRollOutSequence
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enabled: Optional[bool] = None,
            kubernetes_roll_out_sequence_id: Optional[str] = None,
            name: Optional[str] = None,
            sequence_flows: Optional[Sequence[KubernetesRollOutSequenceSequenceFlowArgs]] = None,
            sequence_id: Optional[float] = None) -> KubernetesRollOutSequence
    func GetKubernetesRollOutSequence(ctx *Context, name string, id IDInput, state *KubernetesRollOutSequenceState, opts ...ResourceOption) (*KubernetesRollOutSequence, error)
    public static KubernetesRollOutSequence Get(string name, Input<string> id, KubernetesRollOutSequenceState? state, CustomResourceOptions? opts = null)
    public static KubernetesRollOutSequence get(String name, Output<String> id, KubernetesRollOutSequenceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:KubernetesRollOutSequence    get:      id: ${id}
    import {
      to = tencentcloud_kubernetesrolloutsequence.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:
    Enabled bool
    Whether the roll-out sequence is enabled.
    KubernetesRollOutSequenceId string
    ID of the resource.
    Name string
    The name of the roll-out sequence.
    SequenceFlows List<KubernetesRollOutSequenceSequenceFlow>
    The sequence flow steps of the roll-out sequence.
    SequenceId double
    The ID of the roll-out sequence.
    Enabled bool
    Whether the roll-out sequence is enabled.
    KubernetesRollOutSequenceId string
    ID of the resource.
    Name string
    The name of the roll-out sequence.
    SequenceFlows []KubernetesRollOutSequenceSequenceFlowArgs
    The sequence flow steps of the roll-out sequence.
    SequenceId float64
    The ID of the roll-out sequence.
    enabled bool
    Whether the roll-out sequence is enabled.
    kubernetes_roll_out_sequence_id string
    ID of the resource.
    name string
    The name of the roll-out sequence.
    sequence_flows list(object)
    The sequence flow steps of the roll-out sequence.
    sequence_id number
    The ID of the roll-out sequence.
    enabled Boolean
    Whether the roll-out sequence is enabled.
    kubernetesRollOutSequenceId String
    ID of the resource.
    name String
    The name of the roll-out sequence.
    sequenceFlows List<KubernetesRollOutSequenceSequenceFlow>
    The sequence flow steps of the roll-out sequence.
    sequenceId Double
    The ID of the roll-out sequence.
    enabled boolean
    Whether the roll-out sequence is enabled.
    kubernetesRollOutSequenceId string
    ID of the resource.
    name string
    The name of the roll-out sequence.
    sequenceFlows KubernetesRollOutSequenceSequenceFlow[]
    The sequence flow steps of the roll-out sequence.
    sequenceId number
    The ID of the roll-out sequence.
    enabled bool
    Whether the roll-out sequence is enabled.
    kubernetes_roll_out_sequence_id str
    ID of the resource.
    name str
    The name of the roll-out sequence.
    sequence_flows Sequence[KubernetesRollOutSequenceSequenceFlowArgs]
    The sequence flow steps of the roll-out sequence.
    sequence_id float
    The ID of the roll-out sequence.
    enabled Boolean
    Whether the roll-out sequence is enabled.
    kubernetesRollOutSequenceId String
    ID of the resource.
    name String
    The name of the roll-out sequence.
    sequenceFlows List<Property Map>
    The sequence flow steps of the roll-out sequence.
    sequenceId Number
    The ID of the roll-out sequence.

    Supporting Types

    KubernetesRollOutSequenceSequenceFlow, KubernetesRollOutSequenceSequenceFlowArgs

    SoakTime double
    Wait time in seconds between steps.
    Tags List<KubernetesRollOutSequenceSequenceFlowTag>
    The tags for the sequence flow step.
    SoakTime float64
    Wait time in seconds between steps.
    Tags []KubernetesRollOutSequenceSequenceFlowTag
    The tags for the sequence flow step.
    soak_time number
    Wait time in seconds between steps.
    tags list(object)
    The tags for the sequence flow step.
    soakTime Double
    Wait time in seconds between steps.
    tags List<KubernetesRollOutSequenceSequenceFlowTag>
    The tags for the sequence flow step.
    soakTime number
    Wait time in seconds between steps.
    tags KubernetesRollOutSequenceSequenceFlowTag[]
    The tags for the sequence flow step.
    soak_time float
    Wait time in seconds between steps.
    tags Sequence[KubernetesRollOutSequenceSequenceFlowTag]
    The tags for the sequence flow step.
    soakTime Number
    Wait time in seconds between steps.
    tags List<Property Map>
    The tags for the sequence flow step.

    KubernetesRollOutSequenceSequenceFlowTag, KubernetesRollOutSequenceSequenceFlowTagArgs

    Key string
    Tag key.
    Values List<string>
    Tag values.
    Key string
    Tag key.
    Values []string
    Tag values.
    key string
    Tag key.
    values list(string)
    Tag values.
    key String
    Tag key.
    values List<String>
    Tag values.
    key string
    Tag key.
    values string[]
    Tag values.
    key str
    Tag key.
    values Sequence[str]
    Tag values.
    key String
    Tag key.
    values List<String>
    Tag values.

    Import

    TKE roll-out sequence can be imported using the sequenceId, e.g.

    $ pulumi import tencentcloud:index/kubernetesRollOutSequence:KubernetesRollOutSequence example 29
    

    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.2
    published on Monday, Jun 15, 2026 by tencentcloudstack

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial