published on Friday, Jun 19, 2026 by tencentcloudstack
published on Friday, Jun 19, 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.
- Sequence
Flows List<KubernetesRoll Out Sequence Sequence Flow> - The sequence flow steps of the roll-out sequence.
- Kubernetes
Roll stringOut Sequence Id - ID of the resource.
- Name string
- The name of the roll-out sequence.
- Enabled bool
- Whether the roll-out sequence is enabled.
- Sequence
Flows []KubernetesRoll Out Sequence Sequence Flow Args - The sequence flow steps of the roll-out sequence.
- Kubernetes
Roll stringOut Sequence Id - 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_ stringout_ sequence_ id - ID of the resource.
- name string
- The name of the roll-out sequence.
- enabled Boolean
- Whether the roll-out sequence is enabled.
- sequence
Flows List<KubernetesRoll Out Sequence Sequence Flow> - The sequence flow steps of the roll-out sequence.
- kubernetes
Roll StringOut Sequence Id - ID of the resource.
- name String
- The name of the roll-out sequence.
- enabled boolean
- Whether the roll-out sequence is enabled.
- sequence
Flows KubernetesRoll Out Sequence Sequence Flow[] - The sequence flow steps of the roll-out sequence.
- kubernetes
Roll stringOut Sequence Id - 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[KubernetesRoll Out Sequence Sequence Flow Args] - The sequence flow steps of the roll-out sequence.
- kubernetes_
roll_ strout_ sequence_ id - ID of the resource.
- name str
- The name of the roll-out sequence.
- enabled Boolean
- Whether the roll-out sequence is enabled.
- sequence
Flows List<Property Map> - The sequence flow steps of the roll-out sequence.
- kubernetes
Roll StringOut Sequence Id - 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.
- Sequence
Id double - The ID of the roll-out sequence.
- Id string
- The provider-assigned unique ID for this managed resource.
- Sequence
Id 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.
- sequence
Id Double - 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 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.
- sequence
Id 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) -> KubernetesRollOutSequencefunc 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.
- Enabled bool
- Whether the roll-out sequence is enabled.
- Kubernetes
Roll stringOut Sequence Id - ID of the resource.
- Name string
- The name of the roll-out sequence.
- Sequence
Flows List<KubernetesRoll Out Sequence Sequence Flow> - The sequence flow steps of the roll-out sequence.
- Sequence
Id double - The ID of the roll-out sequence.
- Enabled bool
- Whether the roll-out sequence is enabled.
- Kubernetes
Roll stringOut Sequence Id - ID of the resource.
- Name string
- The name of the roll-out sequence.
- Sequence
Flows []KubernetesRoll Out Sequence Sequence Flow Args - The sequence flow steps of the roll-out sequence.
- Sequence
Id float64 - The ID of the roll-out sequence.
- enabled bool
- Whether the roll-out sequence is enabled.
- kubernetes_
roll_ stringout_ sequence_ id - 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.
- kubernetes
Roll StringOut Sequence Id - ID of the resource.
- name String
- The name of the roll-out sequence.
- sequence
Flows List<KubernetesRoll Out Sequence Sequence Flow> - The sequence flow steps of the roll-out sequence.
- sequence
Id Double - The ID of the roll-out sequence.
- enabled boolean
- Whether the roll-out sequence is enabled.
- kubernetes
Roll stringOut Sequence Id - ID of the resource.
- name string
- The name of the roll-out sequence.
- sequence
Flows KubernetesRoll Out Sequence Sequence Flow[] - The sequence flow steps of the roll-out sequence.
- sequence
Id number - The ID of the roll-out sequence.
- enabled bool
- Whether the roll-out sequence is enabled.
- kubernetes_
roll_ strout_ sequence_ id - ID of the resource.
- name str
- The name of the roll-out sequence.
- sequence_
flows Sequence[KubernetesRoll Out Sequence Sequence Flow Args] - 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.
- kubernetes
Roll StringOut Sequence Id - ID of the resource.
- name String
- The name of the roll-out sequence.
- sequence
Flows List<Property Map> - The sequence flow steps of the roll-out sequence.
- sequence
Id Number - The ID of the roll-out sequence.
Supporting Types
KubernetesRollOutSequenceSequenceFlow, KubernetesRollOutSequenceSequenceFlowArgs
- Soak
Time double - Wait time in seconds between steps.
-
List<Kubernetes
Roll Out Sequence Sequence Flow Tag> - The tags for the sequence flow step.
- Soak
Time float64 - Wait time in seconds between steps.
-
[]Kubernetes
Roll Out Sequence Sequence Flow Tag - The tags for the sequence flow step.
- soak_
time number - Wait time in seconds between steps.
- list(object)
- The tags for the sequence flow step.
- soak
Time Double - Wait time in seconds between steps.
-
List<Kubernetes
Roll Out Sequence Sequence Flow Tag> - The tags for the sequence flow step.
- soak
Time number - Wait time in seconds between steps.
-
Kubernetes
Roll Out Sequence Sequence Flow Tag[] - The tags for the sequence flow step.
- soak_
time float - Wait time in seconds between steps.
-
Sequence[Kubernetes
Roll Out Sequence Sequence Flow Tag] - The tags for the sequence flow step.
- soak
Time Number - Wait time in seconds between steps.
- List<Property Map>
- The tags for the sequence flow step.
KubernetesRollOutSequenceSequenceFlowTag, KubernetesRollOutSequenceSequenceFlowTagArgs
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
tencentcloudTerraform Provider.
published on Friday, Jun 19, 2026 by tencentcloudstack