Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.ros.getChangeSets
Explore with Pulumi AI
This data source provides the Ros Change Sets of the current Alibaba Cloud user.
NOTE: Available in v1.105.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = alicloud.ros.getChangeSets({
stackId: "example_value",
ids: ["example_value"],
nameRegex: "the_resource_name",
});
export const firstRosChangeSetId = example.then(example => example.sets?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ros.get_change_sets(stack_id="example_value",
ids=["example_value"],
name_regex="the_resource_name")
pulumi.export("firstRosChangeSetId", example.sets[0].id)
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 {
example, err := ros.GetChangeSets(ctx, &ros.GetChangeSetsArgs{
StackId: "example_value",
Ids: []string{
"example_value",
},
NameRegex: pulumi.StringRef("the_resource_name"),
}, nil)
if err != nil {
return err
}
ctx.Export("firstRosChangeSetId", example.Sets[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Ros.GetChangeSets.Invoke(new()
{
StackId = "example_value",
Ids = new[]
{
"example_value",
},
NameRegex = "the_resource_name",
});
return new Dictionary<string, object?>
{
["firstRosChangeSetId"] = example.Apply(getChangeSetsResult => getChangeSetsResult.Sets[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ros.RosFunctions;
import com.pulumi.alicloud.ros.inputs.GetChangeSetsArgs;
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) {
final var example = RosFunctions.getChangeSets(GetChangeSetsArgs.builder()
.stackId("example_value")
.ids("example_value")
.nameRegex("the_resource_name")
.build());
ctx.export("firstRosChangeSetId", example.applyValue(getChangeSetsResult -> getChangeSetsResult.sets()[0].id()));
}
}
variables:
example:
fn::invoke:
function: alicloud:ros:getChangeSets
arguments:
stackId: example_value
ids:
- example_value
nameRegex: the_resource_name
outputs:
firstRosChangeSetId: ${example.sets[0].id}
Using getChangeSets
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getChangeSets(args: GetChangeSetsArgs, opts?: InvokeOptions): Promise<GetChangeSetsResult>
function getChangeSetsOutput(args: GetChangeSetsOutputArgs, opts?: InvokeOptions): Output<GetChangeSetsResult>
def get_change_sets(change_set_name: Optional[str] = None,
enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
stack_id: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetChangeSetsResult
def get_change_sets_output(change_set_name: Optional[pulumi.Input[str]] = None,
enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
stack_id: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetChangeSetsResult]
func GetChangeSets(ctx *Context, args *GetChangeSetsArgs, opts ...InvokeOption) (*GetChangeSetsResult, error)
func GetChangeSetsOutput(ctx *Context, args *GetChangeSetsOutputArgs, opts ...InvokeOption) GetChangeSetsResultOutput
> Note: This function is named GetChangeSets
in the Go SDK.
public static class GetChangeSets
{
public static Task<GetChangeSetsResult> InvokeAsync(GetChangeSetsArgs args, InvokeOptions? opts = null)
public static Output<GetChangeSetsResult> Invoke(GetChangeSetsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetChangeSetsResult> getChangeSets(GetChangeSetsArgs args, InvokeOptions options)
public static Output<GetChangeSetsResult> getChangeSets(GetChangeSetsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ros/getChangeSets:getChangeSets
arguments:
# arguments dictionary
The following arguments are supported:
- Stack
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Change
Set Name Changes to this property will trigger replacement.
- 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.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
- Stack
Id This property is required. Changes to this property will trigger replacement.
- 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.
- Change
Set Name Changes to this property will trigger replacement.
- 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.
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
- stack
Id This property is required. Changes to this property will trigger replacement.
- 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.
- change
Set Name Changes to this property will trigger replacement.
- 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.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
- stack
Id This property is required. Changes to this property will trigger replacement.
- 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.
- change
Set Name Changes to this property will trigger replacement.
- 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.
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
- stack_
id This property is required. Changes to this property will trigger replacement.
- 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.
- change_
set_ name Changes to this property will trigger replacement.
- 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.
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- name_
regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
- stack
Id This property is required. Changes to this property will trigger replacement.
- 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.
- change
Set Name Changes to this property will trigger replacement.
- 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.
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids
Changes to this property will trigger replacement.
- A list of Change Set IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by Change Set name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the change set. Valid Value:
CREATE_COMPLETE
,CREATE_FAILED
,CREATE_IN_PROGRESS
,CREATE_PENDING
,DELETE_COMPLETE
andDELETE_FAILED
.
getChangeSets Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Names List<string>
- Sets
List<Pulumi.
Ali Cloud. Ros. Outputs. Get Change Sets Set> - Stack
Id string - Change
Set stringName - Enable
Details bool - Name
Regex string - Output
File string - Status string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Names []string
- Sets
[]Get
Change Sets Set - Stack
Id string - Change
Set stringName - Enable
Details bool - Name
Regex string - Output
File string - Status string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sets
List<Get
Change Sets Set> - stack
Id String - change
Set StringName - enable
Details Boolean - name
Regex String - output
File String - status String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- names string[]
- sets
Get
Change Sets Set[] - stack
Id string - change
Set stringName - enable
Details boolean - name
Regex string - output
File string - status string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- names Sequence[str]
- sets
Sequence[Get
Change Sets Set] - stack_
id str - change_
set_ strname - enable_
details bool - name_
regex str - output_
file str - status str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- names List<String>
- sets List<Property Map>
- stack
Id String - change
Set StringName - enable
Details Boolean - name
Regex String - output
File String - status String
Supporting Types
GetChangeSetsSet
- Change
Set Id This property is required. string - The ID of the change set.
- Change
Set Name This property is required. 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.
- Change
Set Type This property is required. 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
This property is required. string - The description of the change set. The description can be up to 1,024 bytes in length.
- Disable
Rollback This property is required. 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.
- Execution
Status This property is required. string - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- Id
This property is required. string - The ID of the Change Set.
- Parameters
This property is required. List<Pulumi.Ali Cloud. Ros. Inputs. Get Change Sets Set Parameter> - Parameters.
- Stack
Id This property is required. 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.
- Stack
Name This property is required. 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.
- Status
This property is required. string - The status of the change set.
- Template
Body This property is required. 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.
- Timeout
In Minutes This property is required. int - Timeout In Minutes.
- Change
Set Id This property is required. string - The ID of the change set.
- Change
Set Name This property is required. 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.
- Change
Set Type This property is required. 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
This property is required. string - The description of the change set. The description can be up to 1,024 bytes in length.
- Disable
Rollback This property is required. 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.
- Execution
Status This property is required. string - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- Id
This property is required. string - The ID of the Change Set.
- Parameters
This property is required. []GetChange Sets Set Parameter - Parameters.
- Stack
Id This property is required. 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.
- Stack
Name This property is required. 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.
- Status
This property is required. string - The status of the change set.
- Template
Body This property is required. 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.
- Timeout
In Minutes This property is required. int - Timeout In Minutes.
- change
Set Id This property is required. String - The ID of the change set.
- change
Set Name This property is required. 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.
- change
Set Type This property is required. 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
This property is required. String - The description of the change set. The description can be up to 1,024 bytes in length.
- disable
Rollback This property is required. 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.
- execution
Status This property is required. String - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- id
This property is required. String - The ID of the Change Set.
- parameters
This property is required. List<GetChange Sets Set Parameter> - Parameters.
- stack
Id This property is required. 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.
- stack
Name This property is required. 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.
- status
This property is required. String - The status of the change set.
- template
Body This property is required. 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.
- timeout
In Minutes This property is required. Integer - Timeout In Minutes.
- change
Set Id This property is required. string - The ID of the change set.
- change
Set Name This property is required. 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.
- change
Set Type This property is required. 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
This property is required. string - The description of the change set. The description can be up to 1,024 bytes in length.
- disable
Rollback This property is required. 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.
- execution
Status This property is required. string - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- id
This property is required. string - The ID of the Change Set.
- parameters
This property is required. GetChange Sets Set Parameter[] - Parameters.
- stack
Id This property is required. 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.
- stack
Name This property is required. 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.
- status
This property is required. string - The status of the change set.
- template
Body This property is required. 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.
- timeout
In Minutes This property is required. number - Timeout In Minutes.
- change_
set_ id This property is required. str - The ID of the change set.
- change_
set_ name This property is required. 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 This property is required. 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
This property is required. str - The description of the change set. The description can be up to 1,024 bytes in length.
- disable_
rollback This property is required. 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.
- execution_
status This property is required. str - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- id
This property is required. str - The ID of the Change Set.
- parameters
This property is required. Sequence[GetChange Sets Set Parameter] - Parameters.
- stack_
id This property is required. 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 This property is required. 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.
- status
This property is required. str - The status of the change set.
- template_
body This property is required. 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.
- timeout_
in_ minutes This property is required. int - Timeout In Minutes.
- change
Set Id This property is required. String - The ID of the change set.
- change
Set Name This property is required. 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.
- change
Set Type This property is required. 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
This property is required. String - The description of the change set. The description can be up to 1,024 bytes in length.
- disable
Rollback This property is required. 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.
- execution
Status This property is required. String - The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
- id
This property is required. String - The ID of the Change Set.
- parameters
This property is required. List<Property Map> - Parameters.
- stack
Id This property is required. 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.
- stack
Name This property is required. 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.
- status
This property is required. String - The status of the change set.
- template
Body This property is required. 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.
- timeout
In Minutes This property is required. Number - Timeout In Minutes.
GetChangeSetsSetParameter
- Parameter
Key This property is required. string - The parameters.
- Parameter
Value This property is required. string - The parameters.
- Parameter
Key This property is required. string - The parameters.
- Parameter
Value This property is required. string - The parameters.
- parameter
Key This property is required. String - The parameters.
- parameter
Value This property is required. String - The parameters.
- parameter
Key This property is required. string - The parameters.
- parameter
Value This property is required. string - The parameters.
- parameter_
key This property is required. str - The parameters.
- parameter_
value This property is required. str - The parameters.
- parameter
Key This property is required. String - The parameters.
- parameter
Value This property is required. String - The parameters.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.