get Change Sets
This data source provides the Ros Change Sets of the current Alibaba Cloud user.
NOTE: Available in v1.105.0+.
Example Usage
Basic Usage
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()));
}
}
Return
A collection of values returned by getChangeSets.
Parameters
A collection of arguments for invoking getChangeSets.
Return
A collection of values returned by getChangeSets.
See also
Parameters
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.
Default to false
. Set it to true
can output more details about resource attributes.
A list of Change Set IDs.
A regex string to filter results by Change Set name.
File name where to save data source results (after running pulumi preview
).
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.
The status of the change set.
Return
A collection of values returned by getChangeSets.
See also
Parameters
Builder for com.pulumi.alicloud.ros.kotlin.inputs.GetChangeSetsPlainArgs.