alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.ros.ChangeSet

Provides a ROS Change Set resource.

For information about ROS Change Set and how to use it, see What is Change Set.

NOTE: Available in v1.105.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var example = new AliCloud.Ros.ChangeSet("example", new()
    {
        ChangeSetName = "example_value",
        ChangeSetType = "CREATE",
        Description = "Test From Terraform",
        StackName = "tf-testacc",
        TemplateBody = "{\"ROSTemplateFormatVersion\":\"2015-09-01\"}",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ros.NewChangeSet(ctx, "example", &ros.ChangeSetArgs{
			ChangeSetName: pulumi.String("example_value"),
			ChangeSetType: pulumi.String("CREATE"),
			Description:   pulumi.String("Test From Terraform"),
			StackName:     pulumi.String("tf-testacc"),
			TemplateBody:  pulumi.String("{\"ROSTemplateFormatVersion\":\"2015-09-01\"}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ros.ChangeSet;
import com.pulumi.alicloud.ros.ChangeSetArgs;
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 ChangeSet("example", ChangeSetArgs.builder()        
            .changeSetName("example_value")
            .changeSetType("CREATE")
            .description("Test From Terraform")
            .stackName("tf-testacc")
            .templateBody("{\"ROSTemplateFormatVersion\":\"2015-09-01\"}")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

example = alicloud.ros.ChangeSet("example",
    change_set_name="example_value",
    change_set_type="CREATE",
    description="Test From Terraform",
    stack_name="tf-testacc",
    template_body="{\"ROSTemplateFormatVersion\":\"2015-09-01\"}")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const example = new alicloud.ros.ChangeSet("example", {
    changeSetName: "example_value",
    changeSetType: "CREATE",
    description: "Test From Terraform",
    stackName: "tf-testacc",
    templateBody: "{\"ROSTemplateFormatVersion\":\"2015-09-01\"}",
});
resources:
  example:
    type: alicloud:ros:ChangeSet
    properties:
      changeSetName: example_value
      changeSetType: CREATE
      description: Test From Terraform
      stackName: tf-testacc
      templateBody: '{"ROSTemplateFormatVersion":"2015-09-01"}'

Create ChangeSet Resource

new ChangeSet(name: string, args: ChangeSetArgs, opts?: CustomResourceOptions);
@overload
def ChangeSet(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              change_set_name: Optional[str] = None,
              change_set_type: Optional[str] = None,
              description: Optional[str] = None,
              disable_rollback: Optional[bool] = None,
              notification_urls: Optional[Sequence[str]] = None,
              parameters: Optional[Sequence[ChangeSetParameterArgs]] = None,
              ram_role_name: Optional[str] = None,
              replacement_option: Optional[str] = None,
              stack_id: Optional[str] = None,
              stack_name: Optional[str] = None,
              stack_policy_body: Optional[str] = None,
              stack_policy_during_update_body: Optional[str] = None,
              stack_policy_during_update_url: Optional[str] = None,
              stack_policy_url: Optional[str] = None,
              template_body: Optional[str] = None,
              template_url: Optional[str] = None,
              timeout_in_minutes: Optional[int] = None,
              use_previous_parameters: Optional[bool] = None)
@overload
def ChangeSet(resource_name: str,
              args: ChangeSetArgs,
              opts: Optional[ResourceOptions] = None)
func NewChangeSet(ctx *Context, name string, args ChangeSetArgs, opts ...ResourceOption) (*ChangeSet, error)
public ChangeSet(string name, ChangeSetArgs args, CustomResourceOptions? opts = null)
public ChangeSet(String name, ChangeSetArgs args)
public ChangeSet(String name, ChangeSetArgs args, CustomResourceOptions options)
type: alicloud:ros:ChangeSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

ChangeSet Resource Properties

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

Inputs

The ChangeSet resource accepts the following input properties:

ChangeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

ChangeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

Description string

The description of the change set. The description can be up to 1,024 bytes in length.

DisableRollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

NotificationUrls List<string>

The notification urls.

Parameters List<Pulumi.AliCloud.Ros.Inputs.ChangeSetParameterArgs>

Parameters.

RamRoleName string

The ram role name.

ReplacementOption string

The replacement option.

StackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

StackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

StackPolicyBody string

The stack policy body.

StackPolicyDuringUpdateBody string

The stack policy during update body.

StackPolicyDuringUpdateUrl string

The stack policy during update url.

StackPolicyUrl string

The stack policy url.

TemplateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

TemplateUrl string

The template url.

TimeoutInMinutes int

Timeout In Minutes.

UsePreviousParameters bool

The use previous parameters.

ChangeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

ChangeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

Description string

The description of the change set. The description can be up to 1,024 bytes in length.

DisableRollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

NotificationUrls []string

The notification urls.

Parameters []ChangeSetParameterArgs

Parameters.

RamRoleName string

The ram role name.

ReplacementOption string

The replacement option.

StackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

StackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

StackPolicyBody string

The stack policy body.

StackPolicyDuringUpdateBody string

The stack policy during update body.

StackPolicyDuringUpdateUrl string

The stack policy during update url.

StackPolicyUrl string

The stack policy url.

TemplateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

TemplateUrl string

The template url.

TimeoutInMinutes int

Timeout In Minutes.

UsePreviousParameters bool

The use previous parameters.

changeSetName String

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType String

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description String

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback Boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls List<String>

The notification urls.

parameters List<ChangeSetParameterArgs>

Parameters.

ramRoleName String

The ram role name.

replacementOption String

The replacement option.

stackId String

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName String

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody String

The stack policy body.

stackPolicyDuringUpdateBody String

The stack policy during update body.

stackPolicyDuringUpdateUrl String

The stack policy during update url.

stackPolicyUrl String

The stack policy url.

templateBody String

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl String

The template url.

timeoutInMinutes Integer

Timeout In Minutes.

usePreviousParameters Boolean

The use previous parameters.

changeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description string

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls string[]

The notification urls.

parameters ChangeSetParameterArgs[]

Parameters.

ramRoleName string

The ram role name.

replacementOption string

The replacement option.

stackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody string

The stack policy body.

stackPolicyDuringUpdateBody string

The stack policy during update body.

stackPolicyDuringUpdateUrl string

The stack policy during update url.

stackPolicyUrl string

The stack policy url.

templateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl string

The template url.

timeoutInMinutes number

Timeout In Minutes.

usePreviousParameters boolean

The use previous parameters.

change_set_name str

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

change_set_type str

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description str

The description of the change set. The description can be up to 1,024 bytes in length.

disable_rollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notification_urls Sequence[str]

The notification urls.

parameters Sequence[ChangeSetParameterArgs]

Parameters.

ram_role_name str

The ram role name.

replacement_option str

The replacement option.

stack_id str

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stack_name str

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stack_policy_body str

The stack policy body.

stack_policy_during_update_body str

The stack policy during update body.

stack_policy_during_update_url str

The stack policy during update url.

stack_policy_url str

The stack policy url.

template_body str

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

template_url str

The template url.

timeout_in_minutes int

Timeout In Minutes.

use_previous_parameters bool

The use previous parameters.

changeSetName String

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType String

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description String

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback Boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls List<String>

The notification urls.

parameters List<Property Map>

Parameters.

ramRoleName String

The ram role name.

replacementOption String

The replacement option.

stackId String

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName String

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody String

The stack policy body.

stackPolicyDuringUpdateBody String

The stack policy during update body.

stackPolicyDuringUpdateUrl String

The stack policy during update url.

stackPolicyUrl String

The stack policy url.

templateBody String

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl String

The template url.

timeoutInMinutes Number

Timeout In Minutes.

usePreviousParameters Boolean

The use previous parameters.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the change set.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the change set.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the change set.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the change set.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the change set.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the change set.

Look up Existing ChangeSet Resource

Get an existing ChangeSet 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?: ChangeSetState, opts?: CustomResourceOptions): ChangeSet
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        change_set_name: Optional[str] = None,
        change_set_type: Optional[str] = None,
        description: Optional[str] = None,
        disable_rollback: Optional[bool] = None,
        notification_urls: Optional[Sequence[str]] = None,
        parameters: Optional[Sequence[ChangeSetParameterArgs]] = None,
        ram_role_name: Optional[str] = None,
        replacement_option: Optional[str] = None,
        stack_id: Optional[str] = None,
        stack_name: Optional[str] = None,
        stack_policy_body: Optional[str] = None,
        stack_policy_during_update_body: Optional[str] = None,
        stack_policy_during_update_url: Optional[str] = None,
        stack_policy_url: Optional[str] = None,
        status: Optional[str] = None,
        template_body: Optional[str] = None,
        template_url: Optional[str] = None,
        timeout_in_minutes: Optional[int] = None,
        use_previous_parameters: Optional[bool] = None) -> ChangeSet
func GetChangeSet(ctx *Context, name string, id IDInput, state *ChangeSetState, opts ...ResourceOption) (*ChangeSet, error)
public static ChangeSet Get(string name, Input<string> id, ChangeSetState? state, CustomResourceOptions? opts = null)
public static ChangeSet get(String name, Output<String> id, ChangeSetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
ChangeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

ChangeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

Description string

The description of the change set. The description can be up to 1,024 bytes in length.

DisableRollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

NotificationUrls List<string>

The notification urls.

Parameters List<Pulumi.AliCloud.Ros.Inputs.ChangeSetParameterArgs>

Parameters.

RamRoleName string

The ram role name.

ReplacementOption string

The replacement option.

StackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

StackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

StackPolicyBody string

The stack policy body.

StackPolicyDuringUpdateBody string

The stack policy during update body.

StackPolicyDuringUpdateUrl string

The stack policy during update url.

StackPolicyUrl string

The stack policy url.

Status string

The status of the change set.

TemplateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

TemplateUrl string

The template url.

TimeoutInMinutes int

Timeout In Minutes.

UsePreviousParameters bool

The use previous parameters.

ChangeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

ChangeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

Description string

The description of the change set. The description can be up to 1,024 bytes in length.

DisableRollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

NotificationUrls []string

The notification urls.

Parameters []ChangeSetParameterArgs

Parameters.

RamRoleName string

The ram role name.

ReplacementOption string

The replacement option.

StackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

StackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

StackPolicyBody string

The stack policy body.

StackPolicyDuringUpdateBody string

The stack policy during update body.

StackPolicyDuringUpdateUrl string

The stack policy during update url.

StackPolicyUrl string

The stack policy url.

Status string

The status of the change set.

TemplateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

TemplateUrl string

The template url.

TimeoutInMinutes int

Timeout In Minutes.

UsePreviousParameters bool

The use previous parameters.

changeSetName String

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType String

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description String

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback Boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls List<String>

The notification urls.

parameters List<ChangeSetParameterArgs>

Parameters.

ramRoleName String

The ram role name.

replacementOption String

The replacement option.

stackId String

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName String

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody String

The stack policy body.

stackPolicyDuringUpdateBody String

The stack policy during update body.

stackPolicyDuringUpdateUrl String

The stack policy during update url.

stackPolicyUrl String

The stack policy url.

status String

The status of the change set.

templateBody String

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl String

The template url.

timeoutInMinutes Integer

Timeout In Minutes.

usePreviousParameters Boolean

The use previous parameters.

changeSetName string

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType string

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description string

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls string[]

The notification urls.

parameters ChangeSetParameterArgs[]

Parameters.

ramRoleName string

The ram role name.

replacementOption string

The replacement option.

stackId string

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName string

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody string

The stack policy body.

stackPolicyDuringUpdateBody string

The stack policy during update body.

stackPolicyDuringUpdateUrl string

The stack policy during update url.

stackPolicyUrl string

The stack policy url.

status string

The status of the change set.

templateBody string

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl string

The template url.

timeoutInMinutes number

Timeout In Minutes.

usePreviousParameters boolean

The use previous parameters.

change_set_name str

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

change_set_type str

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description str

The description of the change set. The description can be up to 1,024 bytes in length.

disable_rollback bool

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notification_urls Sequence[str]

The notification urls.

parameters Sequence[ChangeSetParameterArgs]

Parameters.

ram_role_name str

The ram role name.

replacement_option str

The replacement option.

stack_id str

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stack_name str

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stack_policy_body str

The stack policy body.

stack_policy_during_update_body str

The stack policy during update body.

stack_policy_during_update_url str

The stack policy during update url.

stack_policy_url str

The stack policy url.

status str

The status of the change set.

template_body str

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

template_url str

The template url.

timeout_in_minutes int

Timeout In Minutes.

use_previous_parameters bool

The use previous parameters.

changeSetName String

The name of the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter.

changeSetType String

The type of the change set. Valid values: CREATE: creates a change set for a new stack. UPDATE: creates a change set for an existing stack. IMPORT: creates a change set for a new stack or an existing stack to import non-ROS-managed resources. If you create a change set for a new stack, ROS creates a stack that has a unique stack ID. The stack is in the REVIEW_IN_PROGRESS state until you execute the change set. You cannot use the UPDATE type to create a change set for a new stack or the CREATE type to create a change set for an existing stack.

description String

The description of the change set. The description can be up to 1,024 bytes in length.

disableRollback Boolean

Specifies whether to disable rollback on stack creation failure. Default value: false. Valid values: true: disables rollback on stack creation failure. false: enables rollback on stack creation failure. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

notificationUrls List<String>

The notification urls.

parameters List<Property Map>

Parameters.

ramRoleName String

The ram role name.

replacementOption String

The replacement option.

stackId String

The ID of the stack for which you want to create the change set. ROS generates the change set by comparing the stack information with the information that you submit, such as a modified template or different inputs.

stackName String

The name of the stack for which you want to create the change set. The name can be up to 255 characters in length and can contain digits, letters, hyphens (-), and underscores (_). It must start with a digit or letter. Note This parameter takes effect only when ChangeSetType is set to CREATE or IMPORT.

stackPolicyBody String

The stack policy body.

stackPolicyDuringUpdateBody String

The stack policy during update body.

stackPolicyDuringUpdateUrl String

The stack policy during update url.

stackPolicyUrl String

The stack policy url.

status String

The status of the change set.

templateBody String

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs. You can specify one of TemplateBody or TemplateURL parameters, but you cannot specify both of them.

templateUrl String

The template url.

timeoutInMinutes Number

Timeout In Minutes.

usePreviousParameters Boolean

The use previous parameters.

Supporting Types

ChangeSetParameter

ParameterKey string

The parameter key.

ParameterValue string

The parameter value.

ParameterKey string

The parameter key.

ParameterValue string

The parameter value.

parameterKey String

The parameter key.

parameterValue String

The parameter value.

parameterKey string

The parameter key.

parameterValue string

The parameter value.

parameter_key str

The parameter key.

parameter_value str

The parameter value.

parameterKey String

The parameter key.

parameterValue String

The parameter value.

Import

ROS Change Set can be imported using the id, e.g.

 $ pulumi import alicloud:ros/changeSet:ChangeSet example <change_set_id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.