Documentation
¶
Index ¶
- type ChangeSet
- func (*ChangeSet) ElementType() reflect.Type
- func (i *ChangeSet) ToChangeSetOutput() ChangeSetOutput
- func (i *ChangeSet) ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput
- func (i *ChangeSet) ToChangeSetPtrOutput() ChangeSetPtrOutput
- func (i *ChangeSet) ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput
- type ChangeSetArgs
- type ChangeSetArray
- type ChangeSetArrayInput
- type ChangeSetArrayOutput
- func (ChangeSetArrayOutput) ElementType() reflect.Type
- func (o ChangeSetArrayOutput) Index(i pulumi.IntInput) ChangeSetOutput
- func (o ChangeSetArrayOutput) ToChangeSetArrayOutput() ChangeSetArrayOutput
- func (o ChangeSetArrayOutput) ToChangeSetArrayOutputWithContext(ctx context.Context) ChangeSetArrayOutput
- type ChangeSetInput
- type ChangeSetMap
- type ChangeSetMapInput
- type ChangeSetMapOutput
- type ChangeSetOutput
- func (ChangeSetOutput) ElementType() reflect.Type
- func (o ChangeSetOutput) ToChangeSetOutput() ChangeSetOutput
- func (o ChangeSetOutput) ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput
- func (o ChangeSetOutput) ToChangeSetPtrOutput() ChangeSetPtrOutput
- func (o ChangeSetOutput) ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput
- type ChangeSetParameter
- type ChangeSetParameterArgs
- type ChangeSetParameterArray
- type ChangeSetParameterArrayInput
- type ChangeSetParameterArrayOutput
- func (ChangeSetParameterArrayOutput) ElementType() reflect.Type
- func (o ChangeSetParameterArrayOutput) Index(i pulumi.IntInput) ChangeSetParameterOutput
- func (o ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutput() ChangeSetParameterArrayOutput
- func (o ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutputWithContext(ctx context.Context) ChangeSetParameterArrayOutput
- type ChangeSetParameterInput
- type ChangeSetParameterOutput
- func (ChangeSetParameterOutput) ElementType() reflect.Type
- func (o ChangeSetParameterOutput) ParameterKey() pulumi.StringOutput
- func (o ChangeSetParameterOutput) ParameterValue() pulumi.StringOutput
- func (o ChangeSetParameterOutput) ToChangeSetParameterOutput() ChangeSetParameterOutput
- func (o ChangeSetParameterOutput) ToChangeSetParameterOutputWithContext(ctx context.Context) ChangeSetParameterOutput
- type ChangeSetPtrInput
- type ChangeSetPtrOutput
- type ChangeSetState
- type GetChangeSetsArgs
- type GetChangeSetsResult
- type GetChangeSetsSet
- type GetChangeSetsSetArgs
- type GetChangeSetsSetArray
- type GetChangeSetsSetArrayInput
- type GetChangeSetsSetArrayOutput
- func (GetChangeSetsSetArrayOutput) ElementType() reflect.Type
- func (o GetChangeSetsSetArrayOutput) Index(i pulumi.IntInput) GetChangeSetsSetOutput
- func (o GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutput() GetChangeSetsSetArrayOutput
- func (o GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutputWithContext(ctx context.Context) GetChangeSetsSetArrayOutput
- type GetChangeSetsSetInput
- type GetChangeSetsSetOutput
- func (o GetChangeSetsSetOutput) ChangeSetId() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) ChangeSetName() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) ChangeSetType() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) Description() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) DisableRollback() pulumi.BoolOutput
- func (GetChangeSetsSetOutput) ElementType() reflect.Type
- func (o GetChangeSetsSetOutput) ExecutionStatus() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) Id() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) Parameters() GetChangeSetsSetParameterArrayOutput
- func (o GetChangeSetsSetOutput) StackId() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) StackName() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) Status() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) TemplateBody() pulumi.StringOutput
- func (o GetChangeSetsSetOutput) TimeoutInMinutes() pulumi.IntOutput
- func (o GetChangeSetsSetOutput) ToGetChangeSetsSetOutput() GetChangeSetsSetOutput
- func (o GetChangeSetsSetOutput) ToGetChangeSetsSetOutputWithContext(ctx context.Context) GetChangeSetsSetOutput
- type GetChangeSetsSetParameter
- type GetChangeSetsSetParameterArgs
- func (GetChangeSetsSetParameterArgs) ElementType() reflect.Type
- func (i GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput
- func (i GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutputWithContext(ctx context.Context) GetChangeSetsSetParameterOutput
- type GetChangeSetsSetParameterArray
- func (GetChangeSetsSetParameterArray) ElementType() reflect.Type
- func (i GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutput() GetChangeSetsSetParameterArrayOutput
- func (i GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutputWithContext(ctx context.Context) GetChangeSetsSetParameterArrayOutput
- type GetChangeSetsSetParameterArrayInput
- type GetChangeSetsSetParameterArrayOutput
- func (GetChangeSetsSetParameterArrayOutput) ElementType() reflect.Type
- func (o GetChangeSetsSetParameterArrayOutput) Index(i pulumi.IntInput) GetChangeSetsSetParameterOutput
- func (o GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutput() GetChangeSetsSetParameterArrayOutput
- func (o GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutputWithContext(ctx context.Context) GetChangeSetsSetParameterArrayOutput
- type GetChangeSetsSetParameterInput
- type GetChangeSetsSetParameterOutput
- func (GetChangeSetsSetParameterOutput) ElementType() reflect.Type
- func (o GetChangeSetsSetParameterOutput) ParameterKey() pulumi.StringOutput
- func (o GetChangeSetsSetParameterOutput) ParameterValue() pulumi.StringOutput
- func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput
- func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutputWithContext(ctx context.Context) GetChangeSetsSetParameterOutput
- type GetStackGroupsArgs
- type GetStackGroupsGroup
- type GetStackGroupsGroupArgs
- type GetStackGroupsGroupArray
- type GetStackGroupsGroupArrayInput
- type GetStackGroupsGroupArrayOutput
- func (GetStackGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetStackGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetStackGroupsGroupOutput
- func (o GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutput() GetStackGroupsGroupArrayOutput
- func (o GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupArrayOutput
- type GetStackGroupsGroupInput
- type GetStackGroupsGroupOutput
- func (o GetStackGroupsGroupOutput) AdministrationRoleName() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) Description() pulumi.StringOutput
- func (GetStackGroupsGroupOutput) ElementType() reflect.Type
- func (o GetStackGroupsGroupOutput) ExecutionRoleName() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) Parameters() GetStackGroupsGroupParameterArrayOutput
- func (o GetStackGroupsGroupOutput) StackGroupId() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) StackGroupName() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) Status() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) TemplateBody() pulumi.StringOutput
- func (o GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutput() GetStackGroupsGroupOutput
- func (o GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutputWithContext(ctx context.Context) GetStackGroupsGroupOutput
- type GetStackGroupsGroupParameter
- type GetStackGroupsGroupParameterArgs
- func (GetStackGroupsGroupParameterArgs) ElementType() reflect.Type
- func (i GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput
- func (i GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterOutput
- type GetStackGroupsGroupParameterArray
- func (GetStackGroupsGroupParameterArray) ElementType() reflect.Type
- func (i GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutput() GetStackGroupsGroupParameterArrayOutput
- func (i GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterArrayOutput
- type GetStackGroupsGroupParameterArrayInput
- type GetStackGroupsGroupParameterArrayOutput
- func (GetStackGroupsGroupParameterArrayOutput) ElementType() reflect.Type
- func (o GetStackGroupsGroupParameterArrayOutput) Index(i pulumi.IntInput) GetStackGroupsGroupParameterOutput
- func (o GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutput() GetStackGroupsGroupParameterArrayOutput
- func (o GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterArrayOutput
- type GetStackGroupsGroupParameterInput
- type GetStackGroupsGroupParameterOutput
- func (GetStackGroupsGroupParameterOutput) ElementType() reflect.Type
- func (o GetStackGroupsGroupParameterOutput) ParameterKey() pulumi.StringOutput
- func (o GetStackGroupsGroupParameterOutput) ParameterValue() pulumi.StringOutput
- func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput
- func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterOutput
- type GetStackGroupsResult
- type GetStacksArgs
- type GetStacksResult
- type GetStacksStack
- type GetStacksStackArgs
- type GetStacksStackArray
- type GetStacksStackArrayInput
- type GetStacksStackArrayOutput
- func (GetStacksStackArrayOutput) ElementType() reflect.Type
- func (o GetStacksStackArrayOutput) Index(i pulumi.IntInput) GetStacksStackOutput
- func (o GetStacksStackArrayOutput) ToGetStacksStackArrayOutput() GetStacksStackArrayOutput
- func (o GetStacksStackArrayOutput) ToGetStacksStackArrayOutputWithContext(ctx context.Context) GetStacksStackArrayOutput
- type GetStacksStackInput
- type GetStacksStackOutput
- func (o GetStacksStackOutput) DeletionProtection() pulumi.StringOutput
- func (o GetStacksStackOutput) Description() pulumi.StringOutput
- func (o GetStacksStackOutput) DisableRollback() pulumi.BoolOutput
- func (o GetStacksStackOutput) DriftDetectionTime() pulumi.StringOutput
- func (GetStacksStackOutput) ElementType() reflect.Type
- func (o GetStacksStackOutput) Id() pulumi.StringOutput
- func (o GetStacksStackOutput) Parameters() GetStacksStackParameterArrayOutput
- func (o GetStacksStackOutput) ParentStackId() pulumi.StringOutput
- func (o GetStacksStackOutput) RamRoleName() pulumi.StringOutput
- func (o GetStacksStackOutput) RootStackId() pulumi.StringOutput
- func (o GetStacksStackOutput) StackDriftStatus() pulumi.StringOutput
- func (o GetStacksStackOutput) StackId() pulumi.StringOutput
- func (o GetStacksStackOutput) StackName() pulumi.StringOutput
- func (o GetStacksStackOutput) StackPolicyBody() pulumi.StringOutput
- func (o GetStacksStackOutput) Status() pulumi.StringOutput
- func (o GetStacksStackOutput) StatusReason() pulumi.StringOutput
- func (o GetStacksStackOutput) Tags() pulumi.MapOutput
- func (o GetStacksStackOutput) TemplateDescription() pulumi.StringOutput
- func (o GetStacksStackOutput) TimeoutInMinutes() pulumi.IntOutput
- func (o GetStacksStackOutput) ToGetStacksStackOutput() GetStacksStackOutput
- func (o GetStacksStackOutput) ToGetStacksStackOutputWithContext(ctx context.Context) GetStacksStackOutput
- type GetStacksStackParameter
- type GetStacksStackParameterArgs
- type GetStacksStackParameterArray
- func (GetStacksStackParameterArray) ElementType() reflect.Type
- func (i GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutput() GetStacksStackParameterArrayOutput
- func (i GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutputWithContext(ctx context.Context) GetStacksStackParameterArrayOutput
- type GetStacksStackParameterArrayInput
- type GetStacksStackParameterArrayOutput
- func (GetStacksStackParameterArrayOutput) ElementType() reflect.Type
- func (o GetStacksStackParameterArrayOutput) Index(i pulumi.IntInput) GetStacksStackParameterOutput
- func (o GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutput() GetStacksStackParameterArrayOutput
- func (o GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutputWithContext(ctx context.Context) GetStacksStackParameterArrayOutput
- type GetStacksStackParameterInput
- type GetStacksStackParameterOutput
- func (GetStacksStackParameterOutput) ElementType() reflect.Type
- func (o GetStacksStackParameterOutput) ParameterKey() pulumi.StringOutput
- func (o GetStacksStackParameterOutput) ParameterValue() pulumi.StringOutput
- func (o GetStacksStackParameterOutput) ToGetStacksStackParameterOutput() GetStacksStackParameterOutput
- func (o GetStacksStackParameterOutput) ToGetStacksStackParameterOutputWithContext(ctx context.Context) GetStacksStackParameterOutput
- type GetTemplatesArgs
- type GetTemplatesResult
- type GetTemplatesTemplate
- type GetTemplatesTemplateArgs
- type GetTemplatesTemplateArray
- type GetTemplatesTemplateArrayInput
- type GetTemplatesTemplateArrayOutput
- func (GetTemplatesTemplateArrayOutput) ElementType() reflect.Type
- func (o GetTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetTemplatesTemplateOutput
- func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput
- func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetTemplatesTemplateArrayOutput
- type GetTemplatesTemplateInput
- type GetTemplatesTemplateOutput
- func (o GetTemplatesTemplateOutput) ChangeSetId() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) Description() pulumi.StringOutput
- func (GetTemplatesTemplateOutput) ElementType() reflect.Type
- func (o GetTemplatesTemplateOutput) Id() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) ShareType() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) StackGroupName() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) StackId() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) Tags() pulumi.MapOutput
- func (o GetTemplatesTemplateOutput) TemplateBody() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) TemplateId() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) TemplateName() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) TemplateVersion() pulumi.StringOutput
- func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput
- func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutputWithContext(ctx context.Context) GetTemplatesTemplateOutput
- type Stack
- type StackArgs
- type StackArray
- type StackArrayInput
- type StackArrayOutput
- type StackGroup
- func (*StackGroup) ElementType() reflect.Type
- func (i *StackGroup) ToStackGroupOutput() StackGroupOutput
- func (i *StackGroup) ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput
- func (i *StackGroup) ToStackGroupPtrOutput() StackGroupPtrOutput
- func (i *StackGroup) ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput
- type StackGroupArgs
- type StackGroupArray
- type StackGroupArrayInput
- type StackGroupArrayOutput
- func (StackGroupArrayOutput) ElementType() reflect.Type
- func (o StackGroupArrayOutput) Index(i pulumi.IntInput) StackGroupOutput
- func (o StackGroupArrayOutput) ToStackGroupArrayOutput() StackGroupArrayOutput
- func (o StackGroupArrayOutput) ToStackGroupArrayOutputWithContext(ctx context.Context) StackGroupArrayOutput
- type StackGroupInput
- type StackGroupMap
- type StackGroupMapInput
- type StackGroupMapOutput
- func (StackGroupMapOutput) ElementType() reflect.Type
- func (o StackGroupMapOutput) MapIndex(k pulumi.StringInput) StackGroupOutput
- func (o StackGroupMapOutput) ToStackGroupMapOutput() StackGroupMapOutput
- func (o StackGroupMapOutput) ToStackGroupMapOutputWithContext(ctx context.Context) StackGroupMapOutput
- type StackGroupOutput
- func (StackGroupOutput) ElementType() reflect.Type
- func (o StackGroupOutput) ToStackGroupOutput() StackGroupOutput
- func (o StackGroupOutput) ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput
- func (o StackGroupOutput) ToStackGroupPtrOutput() StackGroupPtrOutput
- func (o StackGroupOutput) ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput
- type StackGroupParameter
- type StackGroupParameterArgs
- type StackGroupParameterArray
- type StackGroupParameterArrayInput
- type StackGroupParameterArrayOutput
- func (StackGroupParameterArrayOutput) ElementType() reflect.Type
- func (o StackGroupParameterArrayOutput) Index(i pulumi.IntInput) StackGroupParameterOutput
- func (o StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutput() StackGroupParameterArrayOutput
- func (o StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutputWithContext(ctx context.Context) StackGroupParameterArrayOutput
- type StackGroupParameterInput
- type StackGroupParameterOutput
- func (StackGroupParameterOutput) ElementType() reflect.Type
- func (o StackGroupParameterOutput) ParameterKey() pulumi.StringPtrOutput
- func (o StackGroupParameterOutput) ParameterValue() pulumi.StringPtrOutput
- func (o StackGroupParameterOutput) ToStackGroupParameterOutput() StackGroupParameterOutput
- func (o StackGroupParameterOutput) ToStackGroupParameterOutputWithContext(ctx context.Context) StackGroupParameterOutput
- type StackGroupPtrInput
- type StackGroupPtrOutput
- type StackGroupState
- type StackInput
- type StackMap
- type StackMapInput
- type StackMapOutput
- type StackOutput
- func (StackOutput) ElementType() reflect.Type
- func (o StackOutput) ToStackOutput() StackOutput
- func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput
- func (o StackOutput) ToStackPtrOutput() StackPtrOutput
- func (o StackOutput) ToStackPtrOutputWithContext(ctx context.Context) StackPtrOutput
- type StackParameter
- type StackParameterArgs
- type StackParameterArray
- type StackParameterArrayInput
- type StackParameterArrayOutput
- func (StackParameterArrayOutput) ElementType() reflect.Type
- func (o StackParameterArrayOutput) Index(i pulumi.IntInput) StackParameterOutput
- func (o StackParameterArrayOutput) ToStackParameterArrayOutput() StackParameterArrayOutput
- func (o StackParameterArrayOutput) ToStackParameterArrayOutputWithContext(ctx context.Context) StackParameterArrayOutput
- type StackParameterInput
- type StackParameterOutput
- func (StackParameterOutput) ElementType() reflect.Type
- func (o StackParameterOutput) ParameterKey() pulumi.StringPtrOutput
- func (o StackParameterOutput) ParameterValue() pulumi.StringOutput
- func (o StackParameterOutput) ToStackParameterOutput() StackParameterOutput
- func (o StackParameterOutput) ToStackParameterOutputWithContext(ctx context.Context) StackParameterOutput
- type StackPtrInput
- type StackPtrOutput
- type StackState
- type Template
- func (*Template) ElementType() reflect.Type
- func (i *Template) ToTemplateOutput() TemplateOutput
- func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
- func (i *Template) ToTemplatePtrOutput() TemplatePtrOutput
- func (i *Template) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
- type TemplateArgs
- type TemplateArray
- type TemplateArrayInput
- type TemplateArrayOutput
- type TemplateInput
- type TemplateMap
- type TemplateMapInput
- type TemplateMapOutput
- type TemplateOutput
- func (TemplateOutput) ElementType() reflect.Type
- func (o TemplateOutput) ToTemplateOutput() TemplateOutput
- func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
- func (o TemplateOutput) ToTemplatePtrOutput() TemplatePtrOutput
- func (o TemplateOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
- type TemplatePtrInput
- type TemplatePtrOutput
- type TemplateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeSet ¶
type ChangeSet struct { pulumi.CustomResourceState // 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. ChangeSetName pulumi.StringOutput `pulumi:"changeSetName"` // 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. ChangeSetType pulumi.StringPtrOutput `pulumi:"changeSetType"` // The description of the change set. The description can be up to 1,024 bytes in length. Description pulumi.StringPtrOutput `pulumi:"description"` // 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. DisableRollback pulumi.BoolPtrOutput `pulumi:"disableRollback"` // The notification urls. NotificationUrls pulumi.StringArrayOutput `pulumi:"notificationUrls"` // Parameters. Parameters ChangeSetParameterArrayOutput `pulumi:"parameters"` // The ram role name. RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"` // The replacement option. ReplacementOption pulumi.StringPtrOutput `pulumi:"replacementOption"` // 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. StackId pulumi.StringOutput `pulumi:"stackId"` // 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. StackName pulumi.StringPtrOutput `pulumi:"stackName"` // The stack policy body. StackPolicyBody pulumi.StringPtrOutput `pulumi:"stackPolicyBody"` // The stack policy during update body. StackPolicyDuringUpdateBody pulumi.StringPtrOutput `pulumi:"stackPolicyDuringUpdateBody"` // The stack policy during update url. StackPolicyDuringUpdateUrl pulumi.StringPtrOutput `pulumi:"stackPolicyDuringUpdateUrl"` // The stack policy url. StackPolicyUrl pulumi.StringPtrOutput `pulumi:"stackPolicyUrl"` // The status of the change set. Status pulumi.StringOutput `pulumi:"status"` // 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. TemplateBody pulumi.StringPtrOutput `pulumi:"templateBody"` // The template url. TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"` // Timeout In Minutes. TimeoutInMinutes pulumi.IntOutput `pulumi:"timeoutInMinutes"` // The use previous parameters. UsePreviousParameters pulumi.BoolPtrOutput `pulumi:"usePreviousParameters"` }
Provides a ROS Change Set resource.
For information about ROS Change Set and how to use it, see [What is Change Set](https://www.alibabacloud.com/help/doc-detail/131051.htm).
> **NOTE:** Available in v1.105.0+.
## Example Usage
Basic Usage ¶
```go 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 }) }
```
## Import
ROS Change Set can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ros/changeSet:ChangeSet example <change_set_id>
```
func GetChangeSet ¶
func GetChangeSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ChangeSetState, opts ...pulumi.ResourceOption) (*ChangeSet, error)
GetChangeSet gets an existing ChangeSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewChangeSet ¶
func NewChangeSet(ctx *pulumi.Context, name string, args *ChangeSetArgs, opts ...pulumi.ResourceOption) (*ChangeSet, error)
NewChangeSet registers a new resource with the given unique name, arguments, and options.
func (*ChangeSet) ElementType ¶
func (*ChangeSet) ToChangeSetOutput ¶
func (i *ChangeSet) ToChangeSetOutput() ChangeSetOutput
func (*ChangeSet) ToChangeSetOutputWithContext ¶
func (i *ChangeSet) ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput
func (*ChangeSet) ToChangeSetPtrOutput ¶
func (i *ChangeSet) ToChangeSetPtrOutput() ChangeSetPtrOutput
func (*ChangeSet) ToChangeSetPtrOutputWithContext ¶
func (i *ChangeSet) ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput
type ChangeSetArgs ¶
type ChangeSetArgs struct { // 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. ChangeSetName pulumi.StringInput // 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. ChangeSetType pulumi.StringPtrInput // The description of the change set. The description can be up to 1,024 bytes in length. Description pulumi.StringPtrInput // 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. DisableRollback pulumi.BoolPtrInput // The notification urls. NotificationUrls pulumi.StringArrayInput // Parameters. Parameters ChangeSetParameterArrayInput // The ram role name. RamRoleName pulumi.StringPtrInput // The replacement option. ReplacementOption pulumi.StringPtrInput // 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. StackId pulumi.StringPtrInput // 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. StackName pulumi.StringPtrInput // The stack policy body. StackPolicyBody pulumi.StringPtrInput // The stack policy during update body. StackPolicyDuringUpdateBody pulumi.StringPtrInput // The stack policy during update url. StackPolicyDuringUpdateUrl pulumi.StringPtrInput // The stack policy url. StackPolicyUrl pulumi.StringPtrInput // 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. TemplateBody pulumi.StringPtrInput // The template url. TemplateUrl pulumi.StringPtrInput // Timeout In Minutes. TimeoutInMinutes pulumi.IntPtrInput // The use previous parameters. UsePreviousParameters pulumi.BoolPtrInput }
The set of arguments for constructing a ChangeSet resource.
func (ChangeSetArgs) ElementType ¶
func (ChangeSetArgs) ElementType() reflect.Type
type ChangeSetArray ¶
type ChangeSetArray []ChangeSetInput
func (ChangeSetArray) ElementType ¶
func (ChangeSetArray) ElementType() reflect.Type
func (ChangeSetArray) ToChangeSetArrayOutput ¶
func (i ChangeSetArray) ToChangeSetArrayOutput() ChangeSetArrayOutput
func (ChangeSetArray) ToChangeSetArrayOutputWithContext ¶
func (i ChangeSetArray) ToChangeSetArrayOutputWithContext(ctx context.Context) ChangeSetArrayOutput
type ChangeSetArrayInput ¶
type ChangeSetArrayInput interface { pulumi.Input ToChangeSetArrayOutput() ChangeSetArrayOutput ToChangeSetArrayOutputWithContext(context.Context) ChangeSetArrayOutput }
ChangeSetArrayInput is an input type that accepts ChangeSetArray and ChangeSetArrayOutput values. You can construct a concrete instance of `ChangeSetArrayInput` via:
ChangeSetArray{ ChangeSetArgs{...} }
type ChangeSetArrayOutput ¶
type ChangeSetArrayOutput struct{ *pulumi.OutputState }
func (ChangeSetArrayOutput) ElementType ¶
func (ChangeSetArrayOutput) ElementType() reflect.Type
func (ChangeSetArrayOutput) Index ¶
func (o ChangeSetArrayOutput) Index(i pulumi.IntInput) ChangeSetOutput
func (ChangeSetArrayOutput) ToChangeSetArrayOutput ¶
func (o ChangeSetArrayOutput) ToChangeSetArrayOutput() ChangeSetArrayOutput
func (ChangeSetArrayOutput) ToChangeSetArrayOutputWithContext ¶
func (o ChangeSetArrayOutput) ToChangeSetArrayOutputWithContext(ctx context.Context) ChangeSetArrayOutput
type ChangeSetInput ¶
type ChangeSetInput interface { pulumi.Input ToChangeSetOutput() ChangeSetOutput ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput }
type ChangeSetMap ¶
type ChangeSetMap map[string]ChangeSetInput
func (ChangeSetMap) ElementType ¶
func (ChangeSetMap) ElementType() reflect.Type
func (ChangeSetMap) ToChangeSetMapOutput ¶
func (i ChangeSetMap) ToChangeSetMapOutput() ChangeSetMapOutput
func (ChangeSetMap) ToChangeSetMapOutputWithContext ¶
func (i ChangeSetMap) ToChangeSetMapOutputWithContext(ctx context.Context) ChangeSetMapOutput
type ChangeSetMapInput ¶
type ChangeSetMapInput interface { pulumi.Input ToChangeSetMapOutput() ChangeSetMapOutput ToChangeSetMapOutputWithContext(context.Context) ChangeSetMapOutput }
ChangeSetMapInput is an input type that accepts ChangeSetMap and ChangeSetMapOutput values. You can construct a concrete instance of `ChangeSetMapInput` via:
ChangeSetMap{ "key": ChangeSetArgs{...} }
type ChangeSetMapOutput ¶
type ChangeSetMapOutput struct{ *pulumi.OutputState }
func (ChangeSetMapOutput) ElementType ¶
func (ChangeSetMapOutput) ElementType() reflect.Type
func (ChangeSetMapOutput) MapIndex ¶
func (o ChangeSetMapOutput) MapIndex(k pulumi.StringInput) ChangeSetOutput
func (ChangeSetMapOutput) ToChangeSetMapOutput ¶
func (o ChangeSetMapOutput) ToChangeSetMapOutput() ChangeSetMapOutput
func (ChangeSetMapOutput) ToChangeSetMapOutputWithContext ¶
func (o ChangeSetMapOutput) ToChangeSetMapOutputWithContext(ctx context.Context) ChangeSetMapOutput
type ChangeSetOutput ¶
type ChangeSetOutput struct {
*pulumi.OutputState
}
func (ChangeSetOutput) ElementType ¶
func (ChangeSetOutput) ElementType() reflect.Type
func (ChangeSetOutput) ToChangeSetOutput ¶
func (o ChangeSetOutput) ToChangeSetOutput() ChangeSetOutput
func (ChangeSetOutput) ToChangeSetOutputWithContext ¶
func (o ChangeSetOutput) ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput
func (ChangeSetOutput) ToChangeSetPtrOutput ¶
func (o ChangeSetOutput) ToChangeSetPtrOutput() ChangeSetPtrOutput
func (ChangeSetOutput) ToChangeSetPtrOutputWithContext ¶
func (o ChangeSetOutput) ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput
type ChangeSetParameter ¶
type ChangeSetParameterArgs ¶
type ChangeSetParameterArgs struct { // The parameter key. ParameterKey pulumi.StringInput `pulumi:"parameterKey"` // The parameter value. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (ChangeSetParameterArgs) ElementType ¶
func (ChangeSetParameterArgs) ElementType() reflect.Type
func (ChangeSetParameterArgs) ToChangeSetParameterOutput ¶
func (i ChangeSetParameterArgs) ToChangeSetParameterOutput() ChangeSetParameterOutput
func (ChangeSetParameterArgs) ToChangeSetParameterOutputWithContext ¶
func (i ChangeSetParameterArgs) ToChangeSetParameterOutputWithContext(ctx context.Context) ChangeSetParameterOutput
type ChangeSetParameterArray ¶
type ChangeSetParameterArray []ChangeSetParameterInput
func (ChangeSetParameterArray) ElementType ¶
func (ChangeSetParameterArray) ElementType() reflect.Type
func (ChangeSetParameterArray) ToChangeSetParameterArrayOutput ¶
func (i ChangeSetParameterArray) ToChangeSetParameterArrayOutput() ChangeSetParameterArrayOutput
func (ChangeSetParameterArray) ToChangeSetParameterArrayOutputWithContext ¶
func (i ChangeSetParameterArray) ToChangeSetParameterArrayOutputWithContext(ctx context.Context) ChangeSetParameterArrayOutput
type ChangeSetParameterArrayInput ¶
type ChangeSetParameterArrayInput interface { pulumi.Input ToChangeSetParameterArrayOutput() ChangeSetParameterArrayOutput ToChangeSetParameterArrayOutputWithContext(context.Context) ChangeSetParameterArrayOutput }
ChangeSetParameterArrayInput is an input type that accepts ChangeSetParameterArray and ChangeSetParameterArrayOutput values. You can construct a concrete instance of `ChangeSetParameterArrayInput` via:
ChangeSetParameterArray{ ChangeSetParameterArgs{...} }
type ChangeSetParameterArrayOutput ¶
type ChangeSetParameterArrayOutput struct{ *pulumi.OutputState }
func (ChangeSetParameterArrayOutput) ElementType ¶
func (ChangeSetParameterArrayOutput) ElementType() reflect.Type
func (ChangeSetParameterArrayOutput) Index ¶
func (o ChangeSetParameterArrayOutput) Index(i pulumi.IntInput) ChangeSetParameterOutput
func (ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutput ¶
func (o ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutput() ChangeSetParameterArrayOutput
func (ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutputWithContext ¶
func (o ChangeSetParameterArrayOutput) ToChangeSetParameterArrayOutputWithContext(ctx context.Context) ChangeSetParameterArrayOutput
type ChangeSetParameterInput ¶
type ChangeSetParameterInput interface { pulumi.Input ToChangeSetParameterOutput() ChangeSetParameterOutput ToChangeSetParameterOutputWithContext(context.Context) ChangeSetParameterOutput }
ChangeSetParameterInput is an input type that accepts ChangeSetParameterArgs and ChangeSetParameterOutput values. You can construct a concrete instance of `ChangeSetParameterInput` via:
ChangeSetParameterArgs{...}
type ChangeSetParameterOutput ¶
type ChangeSetParameterOutput struct{ *pulumi.OutputState }
func (ChangeSetParameterOutput) ElementType ¶
func (ChangeSetParameterOutput) ElementType() reflect.Type
func (ChangeSetParameterOutput) ParameterKey ¶
func (o ChangeSetParameterOutput) ParameterKey() pulumi.StringOutput
The parameter key.
func (ChangeSetParameterOutput) ParameterValue ¶
func (o ChangeSetParameterOutput) ParameterValue() pulumi.StringOutput
The parameter value.
func (ChangeSetParameterOutput) ToChangeSetParameterOutput ¶
func (o ChangeSetParameterOutput) ToChangeSetParameterOutput() ChangeSetParameterOutput
func (ChangeSetParameterOutput) ToChangeSetParameterOutputWithContext ¶
func (o ChangeSetParameterOutput) ToChangeSetParameterOutputWithContext(ctx context.Context) ChangeSetParameterOutput
type ChangeSetPtrInput ¶
type ChangeSetPtrInput interface { pulumi.Input ToChangeSetPtrOutput() ChangeSetPtrOutput ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput }
type ChangeSetPtrOutput ¶
type ChangeSetPtrOutput struct {
*pulumi.OutputState
}
func (ChangeSetPtrOutput) ElementType ¶
func (ChangeSetPtrOutput) ElementType() reflect.Type
func (ChangeSetPtrOutput) ToChangeSetPtrOutput ¶
func (o ChangeSetPtrOutput) ToChangeSetPtrOutput() ChangeSetPtrOutput
func (ChangeSetPtrOutput) ToChangeSetPtrOutputWithContext ¶
func (o ChangeSetPtrOutput) ToChangeSetPtrOutputWithContext(ctx context.Context) ChangeSetPtrOutput
type ChangeSetState ¶
type ChangeSetState struct { // 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. ChangeSetName pulumi.StringPtrInput // 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. ChangeSetType pulumi.StringPtrInput // The description of the change set. The description can be up to 1,024 bytes in length. Description pulumi.StringPtrInput // 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. DisableRollback pulumi.BoolPtrInput // The notification urls. NotificationUrls pulumi.StringArrayInput // Parameters. Parameters ChangeSetParameterArrayInput // The ram role name. RamRoleName pulumi.StringPtrInput // The replacement option. ReplacementOption pulumi.StringPtrInput // 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. StackId pulumi.StringPtrInput // 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. StackName pulumi.StringPtrInput // The stack policy body. StackPolicyBody pulumi.StringPtrInput // The stack policy during update body. StackPolicyDuringUpdateBody pulumi.StringPtrInput // The stack policy during update url. StackPolicyDuringUpdateUrl pulumi.StringPtrInput // The stack policy url. StackPolicyUrl pulumi.StringPtrInput // The status of the change set. Status pulumi.StringPtrInput // 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. TemplateBody pulumi.StringPtrInput // The template url. TemplateUrl pulumi.StringPtrInput // Timeout In Minutes. TimeoutInMinutes pulumi.IntPtrInput // The use previous parameters. UsePreviousParameters pulumi.BoolPtrInput }
func (ChangeSetState) ElementType ¶
func (ChangeSetState) ElementType() reflect.Type
type GetChangeSetsArgs ¶
type GetChangeSetsArgs struct { // 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. ChangeSetName *string `pulumi:"changeSetName"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Change Set IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Change Set name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // 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. StackId string `pulumi:"stackId"` // The status of the change set. Status *string `pulumi:"status"` }
A collection of arguments for invoking getChangeSets.
type GetChangeSetsResult ¶
type GetChangeSetsResult struct { ChangeSetName *string `pulumi:"changeSetName"` EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Sets []GetChangeSetsSet `pulumi:"sets"` StackId string `pulumi:"stackId"` Status *string `pulumi:"status"` }
A collection of values returned by getChangeSets.
func GetChangeSets ¶
func GetChangeSets(ctx *pulumi.Context, args *GetChangeSetsArgs, opts ...pulumi.InvokeOption) (*GetChangeSetsResult, error)
This data source provides the Ros Change Sets of the current Alibaba Cloud user.
> **NOTE:** Available in v1.105.0+.
## Example Usage
Basic Usage ¶
```go 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 { opt0 := "the_resource_name" example, err := ros.GetChangeSets(ctx, &ros.GetChangeSetsArgs{ StackId: "example_value", Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstRosChangeSetId", example.Sets[0].Id) return nil }) }
```
type GetChangeSetsSet ¶
type GetChangeSetsSet struct { // The ID of the change set. ChangeSetId string `pulumi:"changeSetId"` // 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. ChangeSetName string `pulumi:"changeSetName"` // 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. ChangeSetType string `pulumi:"changeSetType"` // The description of the change set. The description can be up to 1,024 bytes in length. Description string `pulumi:"description"` // 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. DisableRollback bool `pulumi:"disableRollback"` // The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE. ExecutionStatus string `pulumi:"executionStatus"` // The ID of the Change Set. Id string `pulumi:"id"` // Parameters. Parameters []GetChangeSetsSetParameter `pulumi:"parameters"` // 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. StackId string `pulumi:"stackId"` // 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. StackName string `pulumi:"stackName"` // The status of the change set. Status string `pulumi:"status"` // 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. TemplateBody string `pulumi:"templateBody"` // Timeout In Minutes. TimeoutInMinutes int `pulumi:"timeoutInMinutes"` }
type GetChangeSetsSetArgs ¶
type GetChangeSetsSetArgs struct { // The ID of the change set. ChangeSetId pulumi.StringInput `pulumi:"changeSetId"` // 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. ChangeSetName pulumi.StringInput `pulumi:"changeSetName"` // 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. ChangeSetType pulumi.StringInput `pulumi:"changeSetType"` // The description of the change set. The description can be up to 1,024 bytes in length. Description pulumi.StringInput `pulumi:"description"` // 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. DisableRollback pulumi.BoolInput `pulumi:"disableRollback"` // The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE. ExecutionStatus pulumi.StringInput `pulumi:"executionStatus"` // The ID of the Change Set. Id pulumi.StringInput `pulumi:"id"` // Parameters. Parameters GetChangeSetsSetParameterArrayInput `pulumi:"parameters"` // 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. StackId pulumi.StringInput `pulumi:"stackId"` // 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. StackName pulumi.StringInput `pulumi:"stackName"` // The status of the change set. Status pulumi.StringInput `pulumi:"status"` // 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. TemplateBody pulumi.StringInput `pulumi:"templateBody"` // Timeout In Minutes. TimeoutInMinutes pulumi.IntInput `pulumi:"timeoutInMinutes"` }
func (GetChangeSetsSetArgs) ElementType ¶
func (GetChangeSetsSetArgs) ElementType() reflect.Type
func (GetChangeSetsSetArgs) ToGetChangeSetsSetOutput ¶
func (i GetChangeSetsSetArgs) ToGetChangeSetsSetOutput() GetChangeSetsSetOutput
func (GetChangeSetsSetArgs) ToGetChangeSetsSetOutputWithContext ¶
func (i GetChangeSetsSetArgs) ToGetChangeSetsSetOutputWithContext(ctx context.Context) GetChangeSetsSetOutput
type GetChangeSetsSetArray ¶
type GetChangeSetsSetArray []GetChangeSetsSetInput
func (GetChangeSetsSetArray) ElementType ¶
func (GetChangeSetsSetArray) ElementType() reflect.Type
func (GetChangeSetsSetArray) ToGetChangeSetsSetArrayOutput ¶
func (i GetChangeSetsSetArray) ToGetChangeSetsSetArrayOutput() GetChangeSetsSetArrayOutput
func (GetChangeSetsSetArray) ToGetChangeSetsSetArrayOutputWithContext ¶
func (i GetChangeSetsSetArray) ToGetChangeSetsSetArrayOutputWithContext(ctx context.Context) GetChangeSetsSetArrayOutput
type GetChangeSetsSetArrayInput ¶
type GetChangeSetsSetArrayInput interface { pulumi.Input ToGetChangeSetsSetArrayOutput() GetChangeSetsSetArrayOutput ToGetChangeSetsSetArrayOutputWithContext(context.Context) GetChangeSetsSetArrayOutput }
GetChangeSetsSetArrayInput is an input type that accepts GetChangeSetsSetArray and GetChangeSetsSetArrayOutput values. You can construct a concrete instance of `GetChangeSetsSetArrayInput` via:
GetChangeSetsSetArray{ GetChangeSetsSetArgs{...} }
type GetChangeSetsSetArrayOutput ¶
type GetChangeSetsSetArrayOutput struct{ *pulumi.OutputState }
func (GetChangeSetsSetArrayOutput) ElementType ¶
func (GetChangeSetsSetArrayOutput) ElementType() reflect.Type
func (GetChangeSetsSetArrayOutput) Index ¶
func (o GetChangeSetsSetArrayOutput) Index(i pulumi.IntInput) GetChangeSetsSetOutput
func (GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutput ¶
func (o GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutput() GetChangeSetsSetArrayOutput
func (GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutputWithContext ¶
func (o GetChangeSetsSetArrayOutput) ToGetChangeSetsSetArrayOutputWithContext(ctx context.Context) GetChangeSetsSetArrayOutput
type GetChangeSetsSetInput ¶
type GetChangeSetsSetInput interface { pulumi.Input ToGetChangeSetsSetOutput() GetChangeSetsSetOutput ToGetChangeSetsSetOutputWithContext(context.Context) GetChangeSetsSetOutput }
GetChangeSetsSetInput is an input type that accepts GetChangeSetsSetArgs and GetChangeSetsSetOutput values. You can construct a concrete instance of `GetChangeSetsSetInput` via:
GetChangeSetsSetArgs{...}
type GetChangeSetsSetOutput ¶
type GetChangeSetsSetOutput struct{ *pulumi.OutputState }
func (GetChangeSetsSetOutput) ChangeSetId ¶
func (o GetChangeSetsSetOutput) ChangeSetId() pulumi.StringOutput
The ID of the change set.
func (GetChangeSetsSetOutput) ChangeSetName ¶
func (o GetChangeSetsSetOutput) ChangeSetName() pulumi.StringOutput
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.
func (GetChangeSetsSetOutput) ChangeSetType ¶
func (o GetChangeSetsSetOutput) ChangeSetType() pulumi.StringOutput
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.
func (GetChangeSetsSetOutput) Description ¶
func (o GetChangeSetsSetOutput) Description() pulumi.StringOutput
The description of the change set. The description can be up to 1,024 bytes in length.
func (GetChangeSetsSetOutput) DisableRollback ¶
func (o GetChangeSetsSetOutput) DisableRollback() pulumi.BoolOutput
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.
func (GetChangeSetsSetOutput) ElementType ¶
func (GetChangeSetsSetOutput) ElementType() reflect.Type
func (GetChangeSetsSetOutput) ExecutionStatus ¶
func (o GetChangeSetsSetOutput) ExecutionStatus() pulumi.StringOutput
The execution status of change set N. Maximum value of N: 5. Valid values: UNAVAILABLE AVAILABLE EXECUTE_IN_PROGRESS EXECUTE_COMPLETE EXECUTE_FAILED OBSOLETE.
func (GetChangeSetsSetOutput) Id ¶
func (o GetChangeSetsSetOutput) Id() pulumi.StringOutput
The ID of the Change Set.
func (GetChangeSetsSetOutput) Parameters ¶
func (o GetChangeSetsSetOutput) Parameters() GetChangeSetsSetParameterArrayOutput
Parameters.
func (GetChangeSetsSetOutput) StackId ¶
func (o GetChangeSetsSetOutput) StackId() pulumi.StringOutput
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.
func (GetChangeSetsSetOutput) StackName ¶
func (o GetChangeSetsSetOutput) StackName() pulumi.StringOutput
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.
func (GetChangeSetsSetOutput) Status ¶
func (o GetChangeSetsSetOutput) Status() pulumi.StringOutput
The status of the change set.
func (GetChangeSetsSetOutput) TemplateBody ¶
func (o GetChangeSetsSetOutput) TemplateBody() pulumi.StringOutput
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.
func (GetChangeSetsSetOutput) TimeoutInMinutes ¶
func (o GetChangeSetsSetOutput) TimeoutInMinutes() pulumi.IntOutput
Timeout In Minutes.
func (GetChangeSetsSetOutput) ToGetChangeSetsSetOutput ¶
func (o GetChangeSetsSetOutput) ToGetChangeSetsSetOutput() GetChangeSetsSetOutput
func (GetChangeSetsSetOutput) ToGetChangeSetsSetOutputWithContext ¶
func (o GetChangeSetsSetOutput) ToGetChangeSetsSetOutputWithContext(ctx context.Context) GetChangeSetsSetOutput
type GetChangeSetsSetParameterArgs ¶
type GetChangeSetsSetParameterArgs struct { // The parameters. ParameterKey pulumi.StringInput `pulumi:"parameterKey"` // The parameters. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (GetChangeSetsSetParameterArgs) ElementType ¶
func (GetChangeSetsSetParameterArgs) ElementType() reflect.Type
func (GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutput ¶
func (i GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput
func (GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutputWithContext ¶
func (i GetChangeSetsSetParameterArgs) ToGetChangeSetsSetParameterOutputWithContext(ctx context.Context) GetChangeSetsSetParameterOutput
type GetChangeSetsSetParameterArray ¶
type GetChangeSetsSetParameterArray []GetChangeSetsSetParameterInput
func (GetChangeSetsSetParameterArray) ElementType ¶
func (GetChangeSetsSetParameterArray) ElementType() reflect.Type
func (GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutput ¶
func (i GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutput() GetChangeSetsSetParameterArrayOutput
func (GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutputWithContext ¶
func (i GetChangeSetsSetParameterArray) ToGetChangeSetsSetParameterArrayOutputWithContext(ctx context.Context) GetChangeSetsSetParameterArrayOutput
type GetChangeSetsSetParameterArrayInput ¶
type GetChangeSetsSetParameterArrayInput interface { pulumi.Input ToGetChangeSetsSetParameterArrayOutput() GetChangeSetsSetParameterArrayOutput ToGetChangeSetsSetParameterArrayOutputWithContext(context.Context) GetChangeSetsSetParameterArrayOutput }
GetChangeSetsSetParameterArrayInput is an input type that accepts GetChangeSetsSetParameterArray and GetChangeSetsSetParameterArrayOutput values. You can construct a concrete instance of `GetChangeSetsSetParameterArrayInput` via:
GetChangeSetsSetParameterArray{ GetChangeSetsSetParameterArgs{...} }
type GetChangeSetsSetParameterArrayOutput ¶
type GetChangeSetsSetParameterArrayOutput struct{ *pulumi.OutputState }
func (GetChangeSetsSetParameterArrayOutput) ElementType ¶
func (GetChangeSetsSetParameterArrayOutput) ElementType() reflect.Type
func (GetChangeSetsSetParameterArrayOutput) Index ¶
func (o GetChangeSetsSetParameterArrayOutput) Index(i pulumi.IntInput) GetChangeSetsSetParameterOutput
func (GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutput ¶
func (o GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutput() GetChangeSetsSetParameterArrayOutput
func (GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutputWithContext ¶
func (o GetChangeSetsSetParameterArrayOutput) ToGetChangeSetsSetParameterArrayOutputWithContext(ctx context.Context) GetChangeSetsSetParameterArrayOutput
type GetChangeSetsSetParameterInput ¶
type GetChangeSetsSetParameterInput interface { pulumi.Input ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput ToGetChangeSetsSetParameterOutputWithContext(context.Context) GetChangeSetsSetParameterOutput }
GetChangeSetsSetParameterInput is an input type that accepts GetChangeSetsSetParameterArgs and GetChangeSetsSetParameterOutput values. You can construct a concrete instance of `GetChangeSetsSetParameterInput` via:
GetChangeSetsSetParameterArgs{...}
type GetChangeSetsSetParameterOutput ¶
type GetChangeSetsSetParameterOutput struct{ *pulumi.OutputState }
func (GetChangeSetsSetParameterOutput) ElementType ¶
func (GetChangeSetsSetParameterOutput) ElementType() reflect.Type
func (GetChangeSetsSetParameterOutput) ParameterKey ¶
func (o GetChangeSetsSetParameterOutput) ParameterKey() pulumi.StringOutput
The parameters.
func (GetChangeSetsSetParameterOutput) ParameterValue ¶
func (o GetChangeSetsSetParameterOutput) ParameterValue() pulumi.StringOutput
The parameters.
func (GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutput ¶
func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput
func (GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutputWithContext ¶
func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutputWithContext(ctx context.Context) GetChangeSetsSetParameterOutput
type GetStackGroupsArgs ¶
type GetStackGroupsArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Stack Group IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Stack Group name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of Stack Group. Status *string `pulumi:"status"` }
A collection of arguments for invoking getStackGroups.
type GetStackGroupsGroup ¶
type GetStackGroupsGroup struct { // The name of the RAM administrator role assumed by ROS. AdministrationRoleName string `pulumi:"administrationRoleName"` // The description of the stack group. Description string `pulumi:"description"` // The name of the RAM execution role assumed by the administrator role. ExecutionRoleName string `pulumi:"executionRoleName"` // The ID of the Stack Group. Id string `pulumi:"id"` // The parameters. Parameters []GetStackGroupsGroupParameter `pulumi:"parameters"` // The id of Stack Group. StackGroupId string `pulumi:"stackGroupId"` // The name of the stack group.. StackGroupName string `pulumi:"stackGroupName"` // The status of Stack Group. Status string `pulumi:"status"` // The structure that contains the template body. TemplateBody string `pulumi:"templateBody"` }
type GetStackGroupsGroupArgs ¶
type GetStackGroupsGroupArgs struct { // The name of the RAM administrator role assumed by ROS. AdministrationRoleName pulumi.StringInput `pulumi:"administrationRoleName"` // The description of the stack group. Description pulumi.StringInput `pulumi:"description"` // The name of the RAM execution role assumed by the administrator role. ExecutionRoleName pulumi.StringInput `pulumi:"executionRoleName"` // The ID of the Stack Group. Id pulumi.StringInput `pulumi:"id"` // The parameters. Parameters GetStackGroupsGroupParameterArrayInput `pulumi:"parameters"` // The id of Stack Group. StackGroupId pulumi.StringInput `pulumi:"stackGroupId"` // The name of the stack group.. StackGroupName pulumi.StringInput `pulumi:"stackGroupName"` // The status of Stack Group. Status pulumi.StringInput `pulumi:"status"` // The structure that contains the template body. TemplateBody pulumi.StringInput `pulumi:"templateBody"` }
func (GetStackGroupsGroupArgs) ElementType ¶
func (GetStackGroupsGroupArgs) ElementType() reflect.Type
func (GetStackGroupsGroupArgs) ToGetStackGroupsGroupOutput ¶
func (i GetStackGroupsGroupArgs) ToGetStackGroupsGroupOutput() GetStackGroupsGroupOutput
func (GetStackGroupsGroupArgs) ToGetStackGroupsGroupOutputWithContext ¶
func (i GetStackGroupsGroupArgs) ToGetStackGroupsGroupOutputWithContext(ctx context.Context) GetStackGroupsGroupOutput
type GetStackGroupsGroupArray ¶
type GetStackGroupsGroupArray []GetStackGroupsGroupInput
func (GetStackGroupsGroupArray) ElementType ¶
func (GetStackGroupsGroupArray) ElementType() reflect.Type
func (GetStackGroupsGroupArray) ToGetStackGroupsGroupArrayOutput ¶
func (i GetStackGroupsGroupArray) ToGetStackGroupsGroupArrayOutput() GetStackGroupsGroupArrayOutput
func (GetStackGroupsGroupArray) ToGetStackGroupsGroupArrayOutputWithContext ¶
func (i GetStackGroupsGroupArray) ToGetStackGroupsGroupArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupArrayOutput
type GetStackGroupsGroupArrayInput ¶
type GetStackGroupsGroupArrayInput interface { pulumi.Input ToGetStackGroupsGroupArrayOutput() GetStackGroupsGroupArrayOutput ToGetStackGroupsGroupArrayOutputWithContext(context.Context) GetStackGroupsGroupArrayOutput }
GetStackGroupsGroupArrayInput is an input type that accepts GetStackGroupsGroupArray and GetStackGroupsGroupArrayOutput values. You can construct a concrete instance of `GetStackGroupsGroupArrayInput` via:
GetStackGroupsGroupArray{ GetStackGroupsGroupArgs{...} }
type GetStackGroupsGroupArrayOutput ¶
type GetStackGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetStackGroupsGroupArrayOutput) ElementType ¶
func (GetStackGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetStackGroupsGroupArrayOutput) Index ¶
func (o GetStackGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetStackGroupsGroupOutput
func (GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutput ¶
func (o GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutput() GetStackGroupsGroupArrayOutput
func (GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutputWithContext ¶
func (o GetStackGroupsGroupArrayOutput) ToGetStackGroupsGroupArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupArrayOutput
type GetStackGroupsGroupInput ¶
type GetStackGroupsGroupInput interface { pulumi.Input ToGetStackGroupsGroupOutput() GetStackGroupsGroupOutput ToGetStackGroupsGroupOutputWithContext(context.Context) GetStackGroupsGroupOutput }
GetStackGroupsGroupInput is an input type that accepts GetStackGroupsGroupArgs and GetStackGroupsGroupOutput values. You can construct a concrete instance of `GetStackGroupsGroupInput` via:
GetStackGroupsGroupArgs{...}
type GetStackGroupsGroupOutput ¶
type GetStackGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetStackGroupsGroupOutput) AdministrationRoleName ¶
func (o GetStackGroupsGroupOutput) AdministrationRoleName() pulumi.StringOutput
The name of the RAM administrator role assumed by ROS.
func (GetStackGroupsGroupOutput) Description ¶
func (o GetStackGroupsGroupOutput) Description() pulumi.StringOutput
The description of the stack group.
func (GetStackGroupsGroupOutput) ElementType ¶
func (GetStackGroupsGroupOutput) ElementType() reflect.Type
func (GetStackGroupsGroupOutput) ExecutionRoleName ¶
func (o GetStackGroupsGroupOutput) ExecutionRoleName() pulumi.StringOutput
The name of the RAM execution role assumed by the administrator role.
func (GetStackGroupsGroupOutput) Id ¶
func (o GetStackGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the Stack Group.
func (GetStackGroupsGroupOutput) Parameters ¶
func (o GetStackGroupsGroupOutput) Parameters() GetStackGroupsGroupParameterArrayOutput
The parameters.
func (GetStackGroupsGroupOutput) StackGroupId ¶
func (o GetStackGroupsGroupOutput) StackGroupId() pulumi.StringOutput
The id of Stack Group.
func (GetStackGroupsGroupOutput) StackGroupName ¶
func (o GetStackGroupsGroupOutput) StackGroupName() pulumi.StringOutput
The name of the stack group..
func (GetStackGroupsGroupOutput) Status ¶
func (o GetStackGroupsGroupOutput) Status() pulumi.StringOutput
The status of Stack Group.
func (GetStackGroupsGroupOutput) TemplateBody ¶
func (o GetStackGroupsGroupOutput) TemplateBody() pulumi.StringOutput
The structure that contains the template body.
func (GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutput ¶
func (o GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutput() GetStackGroupsGroupOutput
func (GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutputWithContext ¶
func (o GetStackGroupsGroupOutput) ToGetStackGroupsGroupOutputWithContext(ctx context.Context) GetStackGroupsGroupOutput
type GetStackGroupsGroupParameterArgs ¶
type GetStackGroupsGroupParameterArgs struct { // The parameter key. ParameterKey pulumi.StringInput `pulumi:"parameterKey"` // The parameter value. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (GetStackGroupsGroupParameterArgs) ElementType ¶
func (GetStackGroupsGroupParameterArgs) ElementType() reflect.Type
func (GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutput ¶
func (i GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput
func (GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutputWithContext ¶
func (i GetStackGroupsGroupParameterArgs) ToGetStackGroupsGroupParameterOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterOutput
type GetStackGroupsGroupParameterArray ¶
type GetStackGroupsGroupParameterArray []GetStackGroupsGroupParameterInput
func (GetStackGroupsGroupParameterArray) ElementType ¶
func (GetStackGroupsGroupParameterArray) ElementType() reflect.Type
func (GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutput ¶
func (i GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutput() GetStackGroupsGroupParameterArrayOutput
func (GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutputWithContext ¶
func (i GetStackGroupsGroupParameterArray) ToGetStackGroupsGroupParameterArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterArrayOutput
type GetStackGroupsGroupParameterArrayInput ¶
type GetStackGroupsGroupParameterArrayInput interface { pulumi.Input ToGetStackGroupsGroupParameterArrayOutput() GetStackGroupsGroupParameterArrayOutput ToGetStackGroupsGroupParameterArrayOutputWithContext(context.Context) GetStackGroupsGroupParameterArrayOutput }
GetStackGroupsGroupParameterArrayInput is an input type that accepts GetStackGroupsGroupParameterArray and GetStackGroupsGroupParameterArrayOutput values. You can construct a concrete instance of `GetStackGroupsGroupParameterArrayInput` via:
GetStackGroupsGroupParameterArray{ GetStackGroupsGroupParameterArgs{...} }
type GetStackGroupsGroupParameterArrayOutput ¶
type GetStackGroupsGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (GetStackGroupsGroupParameterArrayOutput) ElementType ¶
func (GetStackGroupsGroupParameterArrayOutput) ElementType() reflect.Type
func (GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutput ¶
func (o GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutput() GetStackGroupsGroupParameterArrayOutput
func (GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutputWithContext ¶
func (o GetStackGroupsGroupParameterArrayOutput) ToGetStackGroupsGroupParameterArrayOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterArrayOutput
type GetStackGroupsGroupParameterInput ¶
type GetStackGroupsGroupParameterInput interface { pulumi.Input ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput ToGetStackGroupsGroupParameterOutputWithContext(context.Context) GetStackGroupsGroupParameterOutput }
GetStackGroupsGroupParameterInput is an input type that accepts GetStackGroupsGroupParameterArgs and GetStackGroupsGroupParameterOutput values. You can construct a concrete instance of `GetStackGroupsGroupParameterInput` via:
GetStackGroupsGroupParameterArgs{...}
type GetStackGroupsGroupParameterOutput ¶
type GetStackGroupsGroupParameterOutput struct{ *pulumi.OutputState }
func (GetStackGroupsGroupParameterOutput) ElementType ¶
func (GetStackGroupsGroupParameterOutput) ElementType() reflect.Type
func (GetStackGroupsGroupParameterOutput) ParameterKey ¶
func (o GetStackGroupsGroupParameterOutput) ParameterKey() pulumi.StringOutput
The parameter key.
func (GetStackGroupsGroupParameterOutput) ParameterValue ¶
func (o GetStackGroupsGroupParameterOutput) ParameterValue() pulumi.StringOutput
The parameter value.
func (GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutput ¶
func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput
func (GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutputWithContext ¶
func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterOutput
type GetStackGroupsResult ¶
type GetStackGroupsResult struct { EnableDetails *bool `pulumi:"enableDetails"` Groups []GetStackGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getStackGroups.
func GetStackGroups ¶
func GetStackGroups(ctx *pulumi.Context, args *GetStackGroupsArgs, opts ...pulumi.InvokeOption) (*GetStackGroupsResult, error)
This data source provides the Ros Stack Groups of the current Alibaba Cloud user.
> **NOTE:** Available in v1.107.0+.
## Example Usage
Basic Usage ¶
```go 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 { opt0 := "the_resource_name" example, err := ros.GetStackGroups(ctx, &ros.GetStackGroupsArgs{ Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstRosStackGroupId", example.Groups[0].Id) return nil }) }
```
type GetStacksArgs ¶
type GetStacksArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Stack IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Stack name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // Parent Stack Id. ParentStackId *string `pulumi:"parentStackId"` // The show nested stack. ShowNestedStack *bool `pulumi:"showNestedStack"` // Stack Name. StackName *string `pulumi:"stackName"` // The status of Stack. Valid Values: `CREATE_COMPLETE`, `CREATE_FAILED`, `CREATE_IN_PROGRESS`, `DELETE_COMPLETE`, `DELETE_FAILED`, `DELETE_IN_PROGRESS`, `ROLLBACK_COMPLETE`, `ROLLBACK_FAILED`, `ROLLBACK_IN_PROGRESS`. Status *string `pulumi:"status"` // Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`. Tags map[string]interface{} `pulumi:"tags"` }
A collection of arguments for invoking getStacks.
type GetStacksResult ¶
type GetStacksResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` ParentStackId *string `pulumi:"parentStackId"` ShowNestedStack *bool `pulumi:"showNestedStack"` StackName *string `pulumi:"stackName"` Stacks []GetStacksStack `pulumi:"stacks"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` }
A collection of values returned by getStacks.
func GetStacks ¶
func GetStacks(ctx *pulumi.Context, args *GetStacksArgs, opts ...pulumi.InvokeOption) (*GetStacksResult, error)
This data source provides the Ros Stacks of the current Alibaba Cloud user.
> **NOTE:** Available in v1.106.0+.
## Example Usage
Basic Usage ¶
```go 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 { opt0 := "the_resource_name" example, err := ros.GetStacks(ctx, &ros.GetStacksArgs{ Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstRosStackId", example.Stacks[0].Id) return nil }) }
```
type GetStacksStack ¶
type GetStacksStack struct { // Specifies whether to enable deletion protection on the stack. DeletionProtection string `pulumi:"deletionProtection"` // The Description of the Stack. Description string `pulumi:"description"` // Specifies whether to disable rollback on stack creation failure.. DisableRollback bool `pulumi:"disableRollback"` // Drift DetectionTime. DriftDetectionTime string `pulumi:"driftDetectionTime"` // The ID of the Stack. Id string `pulumi:"id"` // The parameters. Parameters []GetStacksStackParameter `pulumi:"parameters"` // Parent Stack Id. ParentStackId string `pulumi:"parentStackId"` // The RamRoleName. RamRoleName string `pulumi:"ramRoleName"` // Root Stack Id. RootStackId string `pulumi:"rootStackId"` // Stack DriftStatus. StackDriftStatus string `pulumi:"stackDriftStatus"` // Stack Id. StackId string `pulumi:"stackId"` // Stack Name. StackName string `pulumi:"stackName"` // The structure that contains the stack policy body. StackPolicyBody string `pulumi:"stackPolicyBody"` // The status of Stack. Valid Values: `CREATE_COMPLETE`, `CREATE_FAILED`, `CREATE_IN_PROGRESS`, `DELETE_COMPLETE`, `DELETE_FAILED`, `DELETE_IN_PROGRESS`, `ROLLBACK_COMPLETE`, `ROLLBACK_FAILED`, `ROLLBACK_IN_PROGRESS`. Status string `pulumi:"status"` // Status Reason. StatusReason string `pulumi:"statusReason"` // Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`. Tags map[string]interface{} `pulumi:"tags"` // Template Description. TemplateDescription string `pulumi:"templateDescription"` // Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request. TimeoutInMinutes int `pulumi:"timeoutInMinutes"` }
type GetStacksStackArgs ¶
type GetStacksStackArgs struct { // Specifies whether to enable deletion protection on the stack. DeletionProtection pulumi.StringInput `pulumi:"deletionProtection"` // The Description of the Stack. Description pulumi.StringInput `pulumi:"description"` // Specifies whether to disable rollback on stack creation failure.. DisableRollback pulumi.BoolInput `pulumi:"disableRollback"` // Drift DetectionTime. DriftDetectionTime pulumi.StringInput `pulumi:"driftDetectionTime"` // The ID of the Stack. Id pulumi.StringInput `pulumi:"id"` // The parameters. Parameters GetStacksStackParameterArrayInput `pulumi:"parameters"` // Parent Stack Id. ParentStackId pulumi.StringInput `pulumi:"parentStackId"` // The RamRoleName. RamRoleName pulumi.StringInput `pulumi:"ramRoleName"` // Root Stack Id. RootStackId pulumi.StringInput `pulumi:"rootStackId"` // Stack DriftStatus. StackDriftStatus pulumi.StringInput `pulumi:"stackDriftStatus"` // Stack Id. StackId pulumi.StringInput `pulumi:"stackId"` // Stack Name. StackName pulumi.StringInput `pulumi:"stackName"` // The structure that contains the stack policy body. StackPolicyBody pulumi.StringInput `pulumi:"stackPolicyBody"` // The status of Stack. Valid Values: `CREATE_COMPLETE`, `CREATE_FAILED`, `CREATE_IN_PROGRESS`, `DELETE_COMPLETE`, `DELETE_FAILED`, `DELETE_IN_PROGRESS`, `ROLLBACK_COMPLETE`, `ROLLBACK_FAILED`, `ROLLBACK_IN_PROGRESS`. Status pulumi.StringInput `pulumi:"status"` // Status Reason. StatusReason pulumi.StringInput `pulumi:"statusReason"` // Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`. Tags pulumi.MapInput `pulumi:"tags"` // Template Description. TemplateDescription pulumi.StringInput `pulumi:"templateDescription"` // Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request. TimeoutInMinutes pulumi.IntInput `pulumi:"timeoutInMinutes"` }
func (GetStacksStackArgs) ElementType ¶
func (GetStacksStackArgs) ElementType() reflect.Type
func (GetStacksStackArgs) ToGetStacksStackOutput ¶
func (i GetStacksStackArgs) ToGetStacksStackOutput() GetStacksStackOutput
func (GetStacksStackArgs) ToGetStacksStackOutputWithContext ¶
func (i GetStacksStackArgs) ToGetStacksStackOutputWithContext(ctx context.Context) GetStacksStackOutput
type GetStacksStackArray ¶
type GetStacksStackArray []GetStacksStackInput
func (GetStacksStackArray) ElementType ¶
func (GetStacksStackArray) ElementType() reflect.Type
func (GetStacksStackArray) ToGetStacksStackArrayOutput ¶
func (i GetStacksStackArray) ToGetStacksStackArrayOutput() GetStacksStackArrayOutput
func (GetStacksStackArray) ToGetStacksStackArrayOutputWithContext ¶
func (i GetStacksStackArray) ToGetStacksStackArrayOutputWithContext(ctx context.Context) GetStacksStackArrayOutput
type GetStacksStackArrayInput ¶
type GetStacksStackArrayInput interface { pulumi.Input ToGetStacksStackArrayOutput() GetStacksStackArrayOutput ToGetStacksStackArrayOutputWithContext(context.Context) GetStacksStackArrayOutput }
GetStacksStackArrayInput is an input type that accepts GetStacksStackArray and GetStacksStackArrayOutput values. You can construct a concrete instance of `GetStacksStackArrayInput` via:
GetStacksStackArray{ GetStacksStackArgs{...} }
type GetStacksStackArrayOutput ¶
type GetStacksStackArrayOutput struct{ *pulumi.OutputState }
func (GetStacksStackArrayOutput) ElementType ¶
func (GetStacksStackArrayOutput) ElementType() reflect.Type
func (GetStacksStackArrayOutput) Index ¶
func (o GetStacksStackArrayOutput) Index(i pulumi.IntInput) GetStacksStackOutput
func (GetStacksStackArrayOutput) ToGetStacksStackArrayOutput ¶
func (o GetStacksStackArrayOutput) ToGetStacksStackArrayOutput() GetStacksStackArrayOutput
func (GetStacksStackArrayOutput) ToGetStacksStackArrayOutputWithContext ¶
func (o GetStacksStackArrayOutput) ToGetStacksStackArrayOutputWithContext(ctx context.Context) GetStacksStackArrayOutput
type GetStacksStackInput ¶
type GetStacksStackInput interface { pulumi.Input ToGetStacksStackOutput() GetStacksStackOutput ToGetStacksStackOutputWithContext(context.Context) GetStacksStackOutput }
GetStacksStackInput is an input type that accepts GetStacksStackArgs and GetStacksStackOutput values. You can construct a concrete instance of `GetStacksStackInput` via:
GetStacksStackArgs{...}
type GetStacksStackOutput ¶
type GetStacksStackOutput struct{ *pulumi.OutputState }
func (GetStacksStackOutput) DeletionProtection ¶
func (o GetStacksStackOutput) DeletionProtection() pulumi.StringOutput
Specifies whether to enable deletion protection on the stack.
func (GetStacksStackOutput) Description ¶
func (o GetStacksStackOutput) Description() pulumi.StringOutput
The Description of the Stack.
func (GetStacksStackOutput) DisableRollback ¶
func (o GetStacksStackOutput) DisableRollback() pulumi.BoolOutput
Specifies whether to disable rollback on stack creation failure..
func (GetStacksStackOutput) DriftDetectionTime ¶
func (o GetStacksStackOutput) DriftDetectionTime() pulumi.StringOutput
Drift DetectionTime.
func (GetStacksStackOutput) ElementType ¶
func (GetStacksStackOutput) ElementType() reflect.Type
func (GetStacksStackOutput) Id ¶
func (o GetStacksStackOutput) Id() pulumi.StringOutput
The ID of the Stack.
func (GetStacksStackOutput) Parameters ¶
func (o GetStacksStackOutput) Parameters() GetStacksStackParameterArrayOutput
The parameters.
func (GetStacksStackOutput) ParentStackId ¶
func (o GetStacksStackOutput) ParentStackId() pulumi.StringOutput
Parent Stack Id.
func (GetStacksStackOutput) RamRoleName ¶
func (o GetStacksStackOutput) RamRoleName() pulumi.StringOutput
The RamRoleName.
func (GetStacksStackOutput) RootStackId ¶
func (o GetStacksStackOutput) RootStackId() pulumi.StringOutput
Root Stack Id.
func (GetStacksStackOutput) StackDriftStatus ¶
func (o GetStacksStackOutput) StackDriftStatus() pulumi.StringOutput
Stack DriftStatus.
func (GetStacksStackOutput) StackId ¶
func (o GetStacksStackOutput) StackId() pulumi.StringOutput
Stack Id.
func (GetStacksStackOutput) StackName ¶
func (o GetStacksStackOutput) StackName() pulumi.StringOutput
Stack Name.
func (GetStacksStackOutput) StackPolicyBody ¶
func (o GetStacksStackOutput) StackPolicyBody() pulumi.StringOutput
The structure that contains the stack policy body.
func (GetStacksStackOutput) Status ¶
func (o GetStacksStackOutput) Status() pulumi.StringOutput
The status of Stack. Valid Values: `CREATE_COMPLETE`, `CREATE_FAILED`, `CREATE_IN_PROGRESS`, `DELETE_COMPLETE`, `DELETE_FAILED`, `DELETE_IN_PROGRESS`, `ROLLBACK_COMPLETE`, `ROLLBACK_FAILED`, `ROLLBACK_IN_PROGRESS`.
func (GetStacksStackOutput) StatusReason ¶
func (o GetStacksStackOutput) StatusReason() pulumi.StringOutput
Status Reason.
func (GetStacksStackOutput) Tags ¶
func (o GetStacksStackOutput) Tags() pulumi.MapOutput
Query the instance bound to the tag. The format of the incoming value is `json` string, including `TagKey` and `TagValue`. `TagKey` cannot be null, and `TagValue` can be empty. Format example `{"key1":"value1"}`.
func (GetStacksStackOutput) TemplateDescription ¶
func (o GetStacksStackOutput) TemplateDescription() pulumi.StringOutput
Template Description.
func (GetStacksStackOutput) TimeoutInMinutes ¶
func (o GetStacksStackOutput) TimeoutInMinutes() pulumi.IntOutput
Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request.
func (GetStacksStackOutput) ToGetStacksStackOutput ¶
func (o GetStacksStackOutput) ToGetStacksStackOutput() GetStacksStackOutput
func (GetStacksStackOutput) ToGetStacksStackOutputWithContext ¶
func (o GetStacksStackOutput) ToGetStacksStackOutputWithContext(ctx context.Context) GetStacksStackOutput
type GetStacksStackParameter ¶
type GetStacksStackParameterArgs ¶
type GetStacksStackParameterArgs struct { // The key of parameters. ParameterKey pulumi.StringInput `pulumi:"parameterKey"` // The value of parameters. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (GetStacksStackParameterArgs) ElementType ¶
func (GetStacksStackParameterArgs) ElementType() reflect.Type
func (GetStacksStackParameterArgs) ToGetStacksStackParameterOutput ¶
func (i GetStacksStackParameterArgs) ToGetStacksStackParameterOutput() GetStacksStackParameterOutput
func (GetStacksStackParameterArgs) ToGetStacksStackParameterOutputWithContext ¶
func (i GetStacksStackParameterArgs) ToGetStacksStackParameterOutputWithContext(ctx context.Context) GetStacksStackParameterOutput
type GetStacksStackParameterArray ¶
type GetStacksStackParameterArray []GetStacksStackParameterInput
func (GetStacksStackParameterArray) ElementType ¶
func (GetStacksStackParameterArray) ElementType() reflect.Type
func (GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutput ¶
func (i GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutput() GetStacksStackParameterArrayOutput
func (GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutputWithContext ¶
func (i GetStacksStackParameterArray) ToGetStacksStackParameterArrayOutputWithContext(ctx context.Context) GetStacksStackParameterArrayOutput
type GetStacksStackParameterArrayInput ¶
type GetStacksStackParameterArrayInput interface { pulumi.Input ToGetStacksStackParameterArrayOutput() GetStacksStackParameterArrayOutput ToGetStacksStackParameterArrayOutputWithContext(context.Context) GetStacksStackParameterArrayOutput }
GetStacksStackParameterArrayInput is an input type that accepts GetStacksStackParameterArray and GetStacksStackParameterArrayOutput values. You can construct a concrete instance of `GetStacksStackParameterArrayInput` via:
GetStacksStackParameterArray{ GetStacksStackParameterArgs{...} }
type GetStacksStackParameterArrayOutput ¶
type GetStacksStackParameterArrayOutput struct{ *pulumi.OutputState }
func (GetStacksStackParameterArrayOutput) ElementType ¶
func (GetStacksStackParameterArrayOutput) ElementType() reflect.Type
func (GetStacksStackParameterArrayOutput) Index ¶
func (o GetStacksStackParameterArrayOutput) Index(i pulumi.IntInput) GetStacksStackParameterOutput
func (GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutput ¶
func (o GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutput() GetStacksStackParameterArrayOutput
func (GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutputWithContext ¶
func (o GetStacksStackParameterArrayOutput) ToGetStacksStackParameterArrayOutputWithContext(ctx context.Context) GetStacksStackParameterArrayOutput
type GetStacksStackParameterInput ¶
type GetStacksStackParameterInput interface { pulumi.Input ToGetStacksStackParameterOutput() GetStacksStackParameterOutput ToGetStacksStackParameterOutputWithContext(context.Context) GetStacksStackParameterOutput }
GetStacksStackParameterInput is an input type that accepts GetStacksStackParameterArgs and GetStacksStackParameterOutput values. You can construct a concrete instance of `GetStacksStackParameterInput` via:
GetStacksStackParameterArgs{...}
type GetStacksStackParameterOutput ¶
type GetStacksStackParameterOutput struct{ *pulumi.OutputState }
func (GetStacksStackParameterOutput) ElementType ¶
func (GetStacksStackParameterOutput) ElementType() reflect.Type
func (GetStacksStackParameterOutput) ParameterKey ¶
func (o GetStacksStackParameterOutput) ParameterKey() pulumi.StringOutput
The key of parameters.
func (GetStacksStackParameterOutput) ParameterValue ¶
func (o GetStacksStackParameterOutput) ParameterValue() pulumi.StringOutput
The value of parameters.
func (GetStacksStackParameterOutput) ToGetStacksStackParameterOutput ¶
func (o GetStacksStackParameterOutput) ToGetStacksStackParameterOutput() GetStacksStackParameterOutput
func (GetStacksStackParameterOutput) ToGetStacksStackParameterOutputWithContext ¶
func (o GetStacksStackParameterOutput) ToGetStacksStackParameterOutputWithContext(ctx context.Context) GetStacksStackParameterOutput
type GetTemplatesArgs ¶
type GetTemplatesArgs struct { // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // A list of Template IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Template name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` ShareType *string `pulumi:"shareType"` // Tags. Tags map[string]interface{} `pulumi:"tags"` // The name of the template. 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. TemplateName *string `pulumi:"templateName"` }
A collection of arguments for invoking getTemplates.
type GetTemplatesResult ¶
type GetTemplatesResult struct { EnableDetails *bool `pulumi:"enableDetails"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Tags map[string]interface{} `pulumi:"tags"` TemplateName *string `pulumi:"templateName"` Templates []GetTemplatesTemplate `pulumi:"templates"` }
A collection of values returned by getTemplates.
func GetTemplates ¶
func GetTemplates(ctx *pulumi.Context, args *GetTemplatesArgs, opts ...pulumi.InvokeOption) (*GetTemplatesResult, error)
This data source provides the Ros Templates of the current Alibaba Cloud user.
> **NOTE:** Available in v1.108.0+.
## Example Usage
Basic Usage ¶
```go 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 { opt0 := "the_resource_name" example, err := ros.GetTemplates(ctx, &ros.GetTemplatesArgs{ Ids: []string{ "example_value", }, NameRegex: &opt0, }, nil) if err != nil { return err } ctx.Export("firstRosTemplateId", example.Templates[0].Id) return nil }) }
```
type GetTemplatesTemplate ¶
type GetTemplatesTemplate struct { // The ID of the change set. ChangeSetId string `pulumi:"changeSetId"` // The description of the template. The description can be up to 256 characters in length. Description string `pulumi:"description"` // The ID of the Template. Id string `pulumi:"id"` ShareType string `pulumi:"shareType"` // The name of the stack group. The name must be unique in a region. 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. StackGroupName string `pulumi:"stackGroupName"` // The ID of the stack. StackId string `pulumi:"stackId"` // Tags. Tags map[string]interface{} `pulumi:"tags"` // 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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them. TemplateBody string `pulumi:"templateBody"` // The ID of the template. TemplateId string `pulumi:"templateId"` // The name of the template. 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. TemplateName string `pulumi:"templateName"` // Template Version. TemplateVersion string `pulumi:"templateVersion"` }
type GetTemplatesTemplateArgs ¶
type GetTemplatesTemplateArgs struct { // The ID of the change set. ChangeSetId pulumi.StringInput `pulumi:"changeSetId"` // The description of the template. The description can be up to 256 characters in length. Description pulumi.StringInput `pulumi:"description"` // The ID of the Template. Id pulumi.StringInput `pulumi:"id"` ShareType pulumi.StringInput `pulumi:"shareType"` // The name of the stack group. The name must be unique in a region. 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. StackGroupName pulumi.StringInput `pulumi:"stackGroupName"` // The ID of the stack. StackId pulumi.StringInput `pulumi:"stackId"` // Tags. Tags pulumi.MapInput `pulumi:"tags"` // 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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them. TemplateBody pulumi.StringInput `pulumi:"templateBody"` // The ID of the template. TemplateId pulumi.StringInput `pulumi:"templateId"` // The name of the template. 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. TemplateName pulumi.StringInput `pulumi:"templateName"` // Template Version. TemplateVersion pulumi.StringInput `pulumi:"templateVersion"` }
func (GetTemplatesTemplateArgs) ElementType ¶
func (GetTemplatesTemplateArgs) ElementType() reflect.Type
func (GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutput ¶
func (i GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput
func (GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutputWithContext ¶
func (i GetTemplatesTemplateArgs) ToGetTemplatesTemplateOutputWithContext(ctx context.Context) GetTemplatesTemplateOutput
type GetTemplatesTemplateArray ¶
type GetTemplatesTemplateArray []GetTemplatesTemplateInput
func (GetTemplatesTemplateArray) ElementType ¶
func (GetTemplatesTemplateArray) ElementType() reflect.Type
func (GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutput ¶
func (i GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput
func (GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutputWithContext ¶
func (i GetTemplatesTemplateArray) ToGetTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetTemplatesTemplateArrayOutput
type GetTemplatesTemplateArrayInput ¶
type GetTemplatesTemplateArrayInput interface { pulumi.Input ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput ToGetTemplatesTemplateArrayOutputWithContext(context.Context) GetTemplatesTemplateArrayOutput }
GetTemplatesTemplateArrayInput is an input type that accepts GetTemplatesTemplateArray and GetTemplatesTemplateArrayOutput values. You can construct a concrete instance of `GetTemplatesTemplateArrayInput` via:
GetTemplatesTemplateArray{ GetTemplatesTemplateArgs{...} }
type GetTemplatesTemplateArrayOutput ¶
type GetTemplatesTemplateArrayOutput struct{ *pulumi.OutputState }
func (GetTemplatesTemplateArrayOutput) ElementType ¶
func (GetTemplatesTemplateArrayOutput) ElementType() reflect.Type
func (GetTemplatesTemplateArrayOutput) Index ¶
func (o GetTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetTemplatesTemplateOutput
func (GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutput ¶
func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutput() GetTemplatesTemplateArrayOutput
func (GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutputWithContext ¶
func (o GetTemplatesTemplateArrayOutput) ToGetTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetTemplatesTemplateArrayOutput
type GetTemplatesTemplateInput ¶
type GetTemplatesTemplateInput interface { pulumi.Input ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput ToGetTemplatesTemplateOutputWithContext(context.Context) GetTemplatesTemplateOutput }
GetTemplatesTemplateInput is an input type that accepts GetTemplatesTemplateArgs and GetTemplatesTemplateOutput values. You can construct a concrete instance of `GetTemplatesTemplateInput` via:
GetTemplatesTemplateArgs{...}
type GetTemplatesTemplateOutput ¶
type GetTemplatesTemplateOutput struct{ *pulumi.OutputState }
func (GetTemplatesTemplateOutput) ChangeSetId ¶
func (o GetTemplatesTemplateOutput) ChangeSetId() pulumi.StringOutput
The ID of the change set.
func (GetTemplatesTemplateOutput) Description ¶
func (o GetTemplatesTemplateOutput) Description() pulumi.StringOutput
The description of the template. The description can be up to 256 characters in length.
func (GetTemplatesTemplateOutput) ElementType ¶
func (GetTemplatesTemplateOutput) ElementType() reflect.Type
func (GetTemplatesTemplateOutput) Id ¶
func (o GetTemplatesTemplateOutput) Id() pulumi.StringOutput
The ID of the Template.
func (GetTemplatesTemplateOutput) ShareType ¶
func (o GetTemplatesTemplateOutput) ShareType() pulumi.StringOutput
Share Type.
func (GetTemplatesTemplateOutput) StackGroupName ¶
func (o GetTemplatesTemplateOutput) StackGroupName() pulumi.StringOutput
The name of the stack group. The name must be unique in a region. 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.
func (GetTemplatesTemplateOutput) StackId ¶
func (o GetTemplatesTemplateOutput) StackId() pulumi.StringOutput
The ID of the stack.
func (GetTemplatesTemplateOutput) Tags ¶
func (o GetTemplatesTemplateOutput) Tags() pulumi.MapOutput
Tags.
func (GetTemplatesTemplateOutput) TemplateBody ¶
func (o GetTemplatesTemplateOutput) TemplateBody() pulumi.StringOutput
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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them.
func (GetTemplatesTemplateOutput) TemplateId ¶
func (o GetTemplatesTemplateOutput) TemplateId() pulumi.StringOutput
The ID of the template.
func (GetTemplatesTemplateOutput) TemplateName ¶
func (o GetTemplatesTemplateOutput) TemplateName() pulumi.StringOutput
The name of the template. 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.
func (GetTemplatesTemplateOutput) TemplateVersion ¶
func (o GetTemplatesTemplateOutput) TemplateVersion() pulumi.StringOutput
Template Version.
func (GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutput ¶
func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutput() GetTemplatesTemplateOutput
func (GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutputWithContext ¶
func (o GetTemplatesTemplateOutput) ToGetTemplatesTemplateOutputWithContext(ctx context.Context) GetTemplatesTemplateOutput
type Stack ¶
type Stack struct { pulumi.CustomResourceState // Specifies whether to delete the stack after it is created. CreateOption pulumi.StringPtrOutput `pulumi:"createOption"` // Specifies whether to enable deletion protection on the stack. Valid values: `Disabled`, `Enabled`. Default to: `Disabled` DeletionProtection pulumi.StringPtrOutput `pulumi:"deletionProtection"` // Specifies whether to disable rollback on stack creation failure. Default to: `false`. DisableRollback pulumi.BoolPtrOutput `pulumi:"disableRollback"` // The callback URL for receiving stack event N. Only HTTP POST is supported. Maximum value of N: 5. NotificationUrls pulumi.StringArrayOutput `pulumi:"notificationUrls"` // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackParameterArrayOutput `pulumi:"parameters"` // The name of the RAM role. ROS assumes the specified RAM role to create the stack and call API operations by using the credentials of the role. RamRoleName pulumi.StringPtrOutput `pulumi:"ramRoleName"` // Specifies whether to enable replacement update after a resource attribute that does not support modification update is changed. Modification update keeps the physical ID of the resource unchanged. However, the resource is deleted and then recreated, and its physical ID is changed if replacement update is enabled. ReplacementOption pulumi.StringPtrOutput `pulumi:"replacementOption"` // The retain all resources. RetainAllResources pulumi.BoolPtrOutput `pulumi:"retainAllResources"` // Specifies whether to retain the resources in the stack. RetainResources pulumi.StringArrayOutput `pulumi:"retainResources"` // 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. StackName pulumi.StringOutput `pulumi:"stackName"` // The structure that contains the stack policy body. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyBody pulumi.StringPtrOutput `pulumi:"stackPolicyBody"` // The structure that contains the body of the temporary overriding stack policy. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyDuringUpdateBody pulumi.StringPtrOutput `pulumi:"stackPolicyDuringUpdateBody"` // The URL of the file that contains the temporary overriding stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyDuringUpdateUrl pulumi.StringPtrOutput `pulumi:"stackPolicyDuringUpdateUrl"` // The URL of the file that contains the stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyUrl pulumi.StringPtrOutput `pulumi:"stackPolicyUrl"` // The status of Stack. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // 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. TemplateBody pulumi.StringPtrOutput `pulumi:"templateBody"` // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"` // The version of the template. TemplateVersion pulumi.StringPtrOutput `pulumi:"templateVersion"` // The timeout period that is specified for the stack creation request. Default to: `60`. TimeoutInMinutes pulumi.IntPtrOutput `pulumi:"timeoutInMinutes"` // Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request. UsePreviousParameters pulumi.BoolPtrOutput `pulumi:"usePreviousParameters"` }
Provides a ROS Stack resource.
For information about ROS Stack and how to use it, see [What is Stack](https://www.alibabacloud.com/help/en/doc-detail/132086.htm).
> **NOTE:** Available in v1.106.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "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.NewStack(ctx, "example", &ros.StackArgs{ StackName: pulumi.String("tf-testaccstack"), StackPolicyBody: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v", " {\n", " \"Statement\": [{\n", " \"Action\": \"Update:Delete\",\n", " \"Resource\": \"*\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": \"*\"\n", " }]\n", " }\n", " \n")), TemplateBody: pulumi.String(fmt.Sprintf("%v%v%v%v", " {\n", " \"ROSTemplateFormatVersion\": \"2015-09-01\"\n", " }\n", " \n")), }) if err != nil { return err } return nil }) }
```
## Import
ROS Stack can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ros/stack:Stack example <stack_id>
```
func GetStack ¶
func GetStack(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StackState, opts ...pulumi.ResourceOption) (*Stack, error)
GetStack gets an existing Stack resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewStack ¶
func NewStack(ctx *pulumi.Context, name string, args *StackArgs, opts ...pulumi.ResourceOption) (*Stack, error)
NewStack registers a new resource with the given unique name, arguments, and options.
func (*Stack) ElementType ¶
func (*Stack) ToStackOutput ¶
func (i *Stack) ToStackOutput() StackOutput
func (*Stack) ToStackOutputWithContext ¶
func (i *Stack) ToStackOutputWithContext(ctx context.Context) StackOutput
func (*Stack) ToStackPtrOutput ¶
func (i *Stack) ToStackPtrOutput() StackPtrOutput
func (*Stack) ToStackPtrOutputWithContext ¶
func (i *Stack) ToStackPtrOutputWithContext(ctx context.Context) StackPtrOutput
type StackArgs ¶
type StackArgs struct { // Specifies whether to delete the stack after it is created. CreateOption pulumi.StringPtrInput // Specifies whether to enable deletion protection on the stack. Valid values: `Disabled`, `Enabled`. Default to: `Disabled` DeletionProtection pulumi.StringPtrInput // Specifies whether to disable rollback on stack creation failure. Default to: `false`. DisableRollback pulumi.BoolPtrInput // The callback URL for receiving stack event N. Only HTTP POST is supported. Maximum value of N: 5. NotificationUrls pulumi.StringArrayInput // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackParameterArrayInput // The name of the RAM role. ROS assumes the specified RAM role to create the stack and call API operations by using the credentials of the role. RamRoleName pulumi.StringPtrInput // Specifies whether to enable replacement update after a resource attribute that does not support modification update is changed. Modification update keeps the physical ID of the resource unchanged. However, the resource is deleted and then recreated, and its physical ID is changed if replacement update is enabled. ReplacementOption pulumi.StringPtrInput // The retain all resources. RetainAllResources pulumi.BoolPtrInput // Specifies whether to retain the resources in the stack. RetainResources pulumi.StringArrayInput // 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. StackName pulumi.StringInput // The structure that contains the stack policy body. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyBody pulumi.StringPtrInput // The structure that contains the body of the temporary overriding stack policy. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyDuringUpdateBody pulumi.StringPtrInput // The URL of the file that contains the temporary overriding stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyDuringUpdateUrl pulumi.StringPtrInput // The URL of the file that contains the stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyUrl pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // 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. TemplateBody pulumi.StringPtrInput // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrInput // The version of the template. TemplateVersion pulumi.StringPtrInput // The timeout period that is specified for the stack creation request. Default to: `60`. TimeoutInMinutes pulumi.IntPtrInput // Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request. UsePreviousParameters pulumi.BoolPtrInput }
The set of arguments for constructing a Stack resource.
func (StackArgs) ElementType ¶
type StackArray ¶
type StackArray []StackInput
func (StackArray) ElementType ¶
func (StackArray) ElementType() reflect.Type
func (StackArray) ToStackArrayOutput ¶
func (i StackArray) ToStackArrayOutput() StackArrayOutput
func (StackArray) ToStackArrayOutputWithContext ¶
func (i StackArray) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput
type StackArrayInput ¶
type StackArrayInput interface { pulumi.Input ToStackArrayOutput() StackArrayOutput ToStackArrayOutputWithContext(context.Context) StackArrayOutput }
StackArrayInput is an input type that accepts StackArray and StackArrayOutput values. You can construct a concrete instance of `StackArrayInput` via:
StackArray{ StackArgs{...} }
type StackArrayOutput ¶
type StackArrayOutput struct{ *pulumi.OutputState }
func (StackArrayOutput) ElementType ¶
func (StackArrayOutput) ElementType() reflect.Type
func (StackArrayOutput) Index ¶
func (o StackArrayOutput) Index(i pulumi.IntInput) StackOutput
func (StackArrayOutput) ToStackArrayOutput ¶
func (o StackArrayOutput) ToStackArrayOutput() StackArrayOutput
func (StackArrayOutput) ToStackArrayOutputWithContext ¶
func (o StackArrayOutput) ToStackArrayOutputWithContext(ctx context.Context) StackArrayOutput
type StackGroup ¶
type StackGroup struct { pulumi.CustomResourceState // The list of target account IDs, in JSON format. A maximum of 20 accounts can be specified. AccountIds pulumi.StringPtrOutput `pulumi:"accountIds"` // The name of the RAM administrator role assumed by ROS. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. AdministrationRoleName pulumi.StringOutput `pulumi:"administrationRoleName"` // The description of the stack group. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the RAM execution role assumed by the administrator role. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. ExecutionRoleName pulumi.StringOutput `pulumi:"executionRoleName"` // The description of the operation. OperationDescription pulumi.StringPtrOutput `pulumi:"operationDescription"` // The operation settings, in JSON format. OperationPreferences pulumi.StringPtrOutput `pulumi:"operationPreferences"` // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackGroupParameterArrayOutput `pulumi:"parameters"` // The list of target regions, in JSON format. A maximum of 20 accounts can be specified. RegionIds pulumi.StringPtrOutput `pulumi:"regionIds"` // The id of Stack Group. StackGroupId pulumi.StringOutput `pulumi:"stackGroupId"` // The name of the stack group. The name must be unique in a region. StackGroupName pulumi.StringOutput `pulumi:"stackGroupName"` // The status of Stack Group. Status pulumi.StringOutput `pulumi:"status"` // 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. TemplateBody pulumi.StringPtrOutput `pulumi:"templateBody"` // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"` // The version of the template. TemplateVersion pulumi.StringPtrOutput `pulumi:"templateVersion"` }
Provides a ROS Stack Group resource.
For information about ROS Stack Group and how to use it, see [What is Stack Group](https://www.alibabacloud.com/help/en/doc-detail/151333.htm).
> **NOTE:** Available in v1.107.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "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.NewStackGroup(ctx, "example", &ros.StackGroupArgs{ StackGroupName: pulumi.String("example_value"), TemplateBody: pulumi.String(fmt.Sprintf("%v%v%v%v", " {\n", " \"ROSTemplateFormatVersion\": \"2015-09-01\"\n", " }\n", " \n")), }) if err != nil { return err } return nil }) }
```
## Import
ROS Stack Group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ros/stackGroup:StackGroup example <stack_group_name>
```
func GetStackGroup ¶
func GetStackGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StackGroupState, opts ...pulumi.ResourceOption) (*StackGroup, error)
GetStackGroup gets an existing StackGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewStackGroup ¶
func NewStackGroup(ctx *pulumi.Context, name string, args *StackGroupArgs, opts ...pulumi.ResourceOption) (*StackGroup, error)
NewStackGroup registers a new resource with the given unique name, arguments, and options.
func (*StackGroup) ElementType ¶
func (*StackGroup) ElementType() reflect.Type
func (*StackGroup) ToStackGroupOutput ¶
func (i *StackGroup) ToStackGroupOutput() StackGroupOutput
func (*StackGroup) ToStackGroupOutputWithContext ¶
func (i *StackGroup) ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput
func (*StackGroup) ToStackGroupPtrOutput ¶
func (i *StackGroup) ToStackGroupPtrOutput() StackGroupPtrOutput
func (*StackGroup) ToStackGroupPtrOutputWithContext ¶
func (i *StackGroup) ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput
type StackGroupArgs ¶
type StackGroupArgs struct { // The list of target account IDs, in JSON format. A maximum of 20 accounts can be specified. AccountIds pulumi.StringPtrInput // The name of the RAM administrator role assumed by ROS. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. AdministrationRoleName pulumi.StringPtrInput // The description of the stack group. Description pulumi.StringPtrInput // The name of the RAM execution role assumed by the administrator role. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. ExecutionRoleName pulumi.StringPtrInput // The description of the operation. OperationDescription pulumi.StringPtrInput // The operation settings, in JSON format. OperationPreferences pulumi.StringPtrInput // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackGroupParameterArrayInput // The list of target regions, in JSON format. A maximum of 20 accounts can be specified. RegionIds pulumi.StringPtrInput // The name of the stack group. The name must be unique in a region. StackGroupName pulumi.StringInput // 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. TemplateBody pulumi.StringPtrInput // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrInput // The version of the template. TemplateVersion pulumi.StringPtrInput }
The set of arguments for constructing a StackGroup resource.
func (StackGroupArgs) ElementType ¶
func (StackGroupArgs) ElementType() reflect.Type
type StackGroupArray ¶
type StackGroupArray []StackGroupInput
func (StackGroupArray) ElementType ¶
func (StackGroupArray) ElementType() reflect.Type
func (StackGroupArray) ToStackGroupArrayOutput ¶
func (i StackGroupArray) ToStackGroupArrayOutput() StackGroupArrayOutput
func (StackGroupArray) ToStackGroupArrayOutputWithContext ¶
func (i StackGroupArray) ToStackGroupArrayOutputWithContext(ctx context.Context) StackGroupArrayOutput
type StackGroupArrayInput ¶
type StackGroupArrayInput interface { pulumi.Input ToStackGroupArrayOutput() StackGroupArrayOutput ToStackGroupArrayOutputWithContext(context.Context) StackGroupArrayOutput }
StackGroupArrayInput is an input type that accepts StackGroupArray and StackGroupArrayOutput values. You can construct a concrete instance of `StackGroupArrayInput` via:
StackGroupArray{ StackGroupArgs{...} }
type StackGroupArrayOutput ¶
type StackGroupArrayOutput struct{ *pulumi.OutputState }
func (StackGroupArrayOutput) ElementType ¶
func (StackGroupArrayOutput) ElementType() reflect.Type
func (StackGroupArrayOutput) Index ¶
func (o StackGroupArrayOutput) Index(i pulumi.IntInput) StackGroupOutput
func (StackGroupArrayOutput) ToStackGroupArrayOutput ¶
func (o StackGroupArrayOutput) ToStackGroupArrayOutput() StackGroupArrayOutput
func (StackGroupArrayOutput) ToStackGroupArrayOutputWithContext ¶
func (o StackGroupArrayOutput) ToStackGroupArrayOutputWithContext(ctx context.Context) StackGroupArrayOutput
type StackGroupInput ¶
type StackGroupInput interface { pulumi.Input ToStackGroupOutput() StackGroupOutput ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput }
type StackGroupMap ¶
type StackGroupMap map[string]StackGroupInput
func (StackGroupMap) ElementType ¶
func (StackGroupMap) ElementType() reflect.Type
func (StackGroupMap) ToStackGroupMapOutput ¶
func (i StackGroupMap) ToStackGroupMapOutput() StackGroupMapOutput
func (StackGroupMap) ToStackGroupMapOutputWithContext ¶
func (i StackGroupMap) ToStackGroupMapOutputWithContext(ctx context.Context) StackGroupMapOutput
type StackGroupMapInput ¶
type StackGroupMapInput interface { pulumi.Input ToStackGroupMapOutput() StackGroupMapOutput ToStackGroupMapOutputWithContext(context.Context) StackGroupMapOutput }
StackGroupMapInput is an input type that accepts StackGroupMap and StackGroupMapOutput values. You can construct a concrete instance of `StackGroupMapInput` via:
StackGroupMap{ "key": StackGroupArgs{...} }
type StackGroupMapOutput ¶
type StackGroupMapOutput struct{ *pulumi.OutputState }
func (StackGroupMapOutput) ElementType ¶
func (StackGroupMapOutput) ElementType() reflect.Type
func (StackGroupMapOutput) MapIndex ¶
func (o StackGroupMapOutput) MapIndex(k pulumi.StringInput) StackGroupOutput
func (StackGroupMapOutput) ToStackGroupMapOutput ¶
func (o StackGroupMapOutput) ToStackGroupMapOutput() StackGroupMapOutput
func (StackGroupMapOutput) ToStackGroupMapOutputWithContext ¶
func (o StackGroupMapOutput) ToStackGroupMapOutputWithContext(ctx context.Context) StackGroupMapOutput
type StackGroupOutput ¶
type StackGroupOutput struct {
*pulumi.OutputState
}
func (StackGroupOutput) ElementType ¶
func (StackGroupOutput) ElementType() reflect.Type
func (StackGroupOutput) ToStackGroupOutput ¶
func (o StackGroupOutput) ToStackGroupOutput() StackGroupOutput
func (StackGroupOutput) ToStackGroupOutputWithContext ¶
func (o StackGroupOutput) ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput
func (StackGroupOutput) ToStackGroupPtrOutput ¶
func (o StackGroupOutput) ToStackGroupPtrOutput() StackGroupPtrOutput
func (StackGroupOutput) ToStackGroupPtrOutputWithContext ¶
func (o StackGroupOutput) ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput
type StackGroupParameter ¶
type StackGroupParameterArgs ¶
type StackGroupParameterArgs struct { // The parameter key. ParameterKey pulumi.StringPtrInput `pulumi:"parameterKey"` // The parameter value. ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"` }
func (StackGroupParameterArgs) ElementType ¶
func (StackGroupParameterArgs) ElementType() reflect.Type
func (StackGroupParameterArgs) ToStackGroupParameterOutput ¶
func (i StackGroupParameterArgs) ToStackGroupParameterOutput() StackGroupParameterOutput
func (StackGroupParameterArgs) ToStackGroupParameterOutputWithContext ¶
func (i StackGroupParameterArgs) ToStackGroupParameterOutputWithContext(ctx context.Context) StackGroupParameterOutput
type StackGroupParameterArray ¶
type StackGroupParameterArray []StackGroupParameterInput
func (StackGroupParameterArray) ElementType ¶
func (StackGroupParameterArray) ElementType() reflect.Type
func (StackGroupParameterArray) ToStackGroupParameterArrayOutput ¶
func (i StackGroupParameterArray) ToStackGroupParameterArrayOutput() StackGroupParameterArrayOutput
func (StackGroupParameterArray) ToStackGroupParameterArrayOutputWithContext ¶
func (i StackGroupParameterArray) ToStackGroupParameterArrayOutputWithContext(ctx context.Context) StackGroupParameterArrayOutput
type StackGroupParameterArrayInput ¶
type StackGroupParameterArrayInput interface { pulumi.Input ToStackGroupParameterArrayOutput() StackGroupParameterArrayOutput ToStackGroupParameterArrayOutputWithContext(context.Context) StackGroupParameterArrayOutput }
StackGroupParameterArrayInput is an input type that accepts StackGroupParameterArray and StackGroupParameterArrayOutput values. You can construct a concrete instance of `StackGroupParameterArrayInput` via:
StackGroupParameterArray{ StackGroupParameterArgs{...} }
type StackGroupParameterArrayOutput ¶
type StackGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (StackGroupParameterArrayOutput) ElementType ¶
func (StackGroupParameterArrayOutput) ElementType() reflect.Type
func (StackGroupParameterArrayOutput) Index ¶
func (o StackGroupParameterArrayOutput) Index(i pulumi.IntInput) StackGroupParameterOutput
func (StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutput ¶
func (o StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutput() StackGroupParameterArrayOutput
func (StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutputWithContext ¶
func (o StackGroupParameterArrayOutput) ToStackGroupParameterArrayOutputWithContext(ctx context.Context) StackGroupParameterArrayOutput
type StackGroupParameterInput ¶
type StackGroupParameterInput interface { pulumi.Input ToStackGroupParameterOutput() StackGroupParameterOutput ToStackGroupParameterOutputWithContext(context.Context) StackGroupParameterOutput }
StackGroupParameterInput is an input type that accepts StackGroupParameterArgs and StackGroupParameterOutput values. You can construct a concrete instance of `StackGroupParameterInput` via:
StackGroupParameterArgs{...}
type StackGroupParameterOutput ¶
type StackGroupParameterOutput struct{ *pulumi.OutputState }
func (StackGroupParameterOutput) ElementType ¶
func (StackGroupParameterOutput) ElementType() reflect.Type
func (StackGroupParameterOutput) ParameterKey ¶
func (o StackGroupParameterOutput) ParameterKey() pulumi.StringPtrOutput
The parameter key.
func (StackGroupParameterOutput) ParameterValue ¶
func (o StackGroupParameterOutput) ParameterValue() pulumi.StringPtrOutput
The parameter value.
func (StackGroupParameterOutput) ToStackGroupParameterOutput ¶
func (o StackGroupParameterOutput) ToStackGroupParameterOutput() StackGroupParameterOutput
func (StackGroupParameterOutput) ToStackGroupParameterOutputWithContext ¶
func (o StackGroupParameterOutput) ToStackGroupParameterOutputWithContext(ctx context.Context) StackGroupParameterOutput
type StackGroupPtrInput ¶
type StackGroupPtrInput interface { pulumi.Input ToStackGroupPtrOutput() StackGroupPtrOutput ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput }
type StackGroupPtrOutput ¶
type StackGroupPtrOutput struct {
*pulumi.OutputState
}
func (StackGroupPtrOutput) ElementType ¶
func (StackGroupPtrOutput) ElementType() reflect.Type
func (StackGroupPtrOutput) ToStackGroupPtrOutput ¶
func (o StackGroupPtrOutput) ToStackGroupPtrOutput() StackGroupPtrOutput
func (StackGroupPtrOutput) ToStackGroupPtrOutputWithContext ¶
func (o StackGroupPtrOutput) ToStackGroupPtrOutputWithContext(ctx context.Context) StackGroupPtrOutput
type StackGroupState ¶
type StackGroupState struct { // The list of target account IDs, in JSON format. A maximum of 20 accounts can be specified. AccountIds pulumi.StringPtrInput // The name of the RAM administrator role assumed by ROS. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. AdministrationRoleName pulumi.StringPtrInput // The description of the stack group. Description pulumi.StringPtrInput // The name of the RAM execution role assumed by the administrator role. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group. ExecutionRoleName pulumi.StringPtrInput // The description of the operation. OperationDescription pulumi.StringPtrInput // The operation settings, in JSON format. OperationPreferences pulumi.StringPtrInput // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackGroupParameterArrayInput // The list of target regions, in JSON format. A maximum of 20 accounts can be specified. RegionIds pulumi.StringPtrInput // The id of Stack Group. StackGroupId pulumi.StringPtrInput // The name of the stack group. The name must be unique in a region. StackGroupName pulumi.StringPtrInput // The status of Stack Group. Status pulumi.StringPtrInput // 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. TemplateBody pulumi.StringPtrInput // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrInput // The version of the template. TemplateVersion pulumi.StringPtrInput }
func (StackGroupState) ElementType ¶
func (StackGroupState) ElementType() reflect.Type
type StackInput ¶
type StackInput interface { pulumi.Input ToStackOutput() StackOutput ToStackOutputWithContext(ctx context.Context) StackOutput }
type StackMap ¶
type StackMap map[string]StackInput
func (StackMap) ElementType ¶
func (StackMap) ToStackMapOutput ¶
func (i StackMap) ToStackMapOutput() StackMapOutput
func (StackMap) ToStackMapOutputWithContext ¶
func (i StackMap) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput
type StackMapInput ¶
type StackMapInput interface { pulumi.Input ToStackMapOutput() StackMapOutput ToStackMapOutputWithContext(context.Context) StackMapOutput }
StackMapInput is an input type that accepts StackMap and StackMapOutput values. You can construct a concrete instance of `StackMapInput` via:
StackMap{ "key": StackArgs{...} }
type StackMapOutput ¶
type StackMapOutput struct{ *pulumi.OutputState }
func (StackMapOutput) ElementType ¶
func (StackMapOutput) ElementType() reflect.Type
func (StackMapOutput) MapIndex ¶
func (o StackMapOutput) MapIndex(k pulumi.StringInput) StackOutput
func (StackMapOutput) ToStackMapOutput ¶
func (o StackMapOutput) ToStackMapOutput() StackMapOutput
func (StackMapOutput) ToStackMapOutputWithContext ¶
func (o StackMapOutput) ToStackMapOutputWithContext(ctx context.Context) StackMapOutput
type StackOutput ¶
type StackOutput struct {
*pulumi.OutputState
}
func (StackOutput) ElementType ¶
func (StackOutput) ElementType() reflect.Type
func (StackOutput) ToStackOutput ¶
func (o StackOutput) ToStackOutput() StackOutput
func (StackOutput) ToStackOutputWithContext ¶
func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput
func (StackOutput) ToStackPtrOutput ¶
func (o StackOutput) ToStackPtrOutput() StackPtrOutput
func (StackOutput) ToStackPtrOutputWithContext ¶
func (o StackOutput) ToStackPtrOutputWithContext(ctx context.Context) StackPtrOutput
type StackParameter ¶
type StackParameterArgs ¶
type StackParameterArgs struct { // The parameter key. ParameterKey pulumi.StringPtrInput `pulumi:"parameterKey"` // The parameter value. ParameterValue pulumi.StringInput `pulumi:"parameterValue"` }
func (StackParameterArgs) ElementType ¶
func (StackParameterArgs) ElementType() reflect.Type
func (StackParameterArgs) ToStackParameterOutput ¶
func (i StackParameterArgs) ToStackParameterOutput() StackParameterOutput
func (StackParameterArgs) ToStackParameterOutputWithContext ¶
func (i StackParameterArgs) ToStackParameterOutputWithContext(ctx context.Context) StackParameterOutput
type StackParameterArray ¶
type StackParameterArray []StackParameterInput
func (StackParameterArray) ElementType ¶
func (StackParameterArray) ElementType() reflect.Type
func (StackParameterArray) ToStackParameterArrayOutput ¶
func (i StackParameterArray) ToStackParameterArrayOutput() StackParameterArrayOutput
func (StackParameterArray) ToStackParameterArrayOutputWithContext ¶
func (i StackParameterArray) ToStackParameterArrayOutputWithContext(ctx context.Context) StackParameterArrayOutput
type StackParameterArrayInput ¶
type StackParameterArrayInput interface { pulumi.Input ToStackParameterArrayOutput() StackParameterArrayOutput ToStackParameterArrayOutputWithContext(context.Context) StackParameterArrayOutput }
StackParameterArrayInput is an input type that accepts StackParameterArray and StackParameterArrayOutput values. You can construct a concrete instance of `StackParameterArrayInput` via:
StackParameterArray{ StackParameterArgs{...} }
type StackParameterArrayOutput ¶
type StackParameterArrayOutput struct{ *pulumi.OutputState }
func (StackParameterArrayOutput) ElementType ¶
func (StackParameterArrayOutput) ElementType() reflect.Type
func (StackParameterArrayOutput) Index ¶
func (o StackParameterArrayOutput) Index(i pulumi.IntInput) StackParameterOutput
func (StackParameterArrayOutput) ToStackParameterArrayOutput ¶
func (o StackParameterArrayOutput) ToStackParameterArrayOutput() StackParameterArrayOutput
func (StackParameterArrayOutput) ToStackParameterArrayOutputWithContext ¶
func (o StackParameterArrayOutput) ToStackParameterArrayOutputWithContext(ctx context.Context) StackParameterArrayOutput
type StackParameterInput ¶
type StackParameterInput interface { pulumi.Input ToStackParameterOutput() StackParameterOutput ToStackParameterOutputWithContext(context.Context) StackParameterOutput }
StackParameterInput is an input type that accepts StackParameterArgs and StackParameterOutput values. You can construct a concrete instance of `StackParameterInput` via:
StackParameterArgs{...}
type StackParameterOutput ¶
type StackParameterOutput struct{ *pulumi.OutputState }
func (StackParameterOutput) ElementType ¶
func (StackParameterOutput) ElementType() reflect.Type
func (StackParameterOutput) ParameterKey ¶
func (o StackParameterOutput) ParameterKey() pulumi.StringPtrOutput
The parameter key.
func (StackParameterOutput) ParameterValue ¶
func (o StackParameterOutput) ParameterValue() pulumi.StringOutput
The parameter value.
func (StackParameterOutput) ToStackParameterOutput ¶
func (o StackParameterOutput) ToStackParameterOutput() StackParameterOutput
func (StackParameterOutput) ToStackParameterOutputWithContext ¶
func (o StackParameterOutput) ToStackParameterOutputWithContext(ctx context.Context) StackParameterOutput
type StackPtrInput ¶
type StackPtrInput interface { pulumi.Input ToStackPtrOutput() StackPtrOutput ToStackPtrOutputWithContext(ctx context.Context) StackPtrOutput }
type StackPtrOutput ¶
type StackPtrOutput struct {
*pulumi.OutputState
}
func (StackPtrOutput) ElementType ¶
func (StackPtrOutput) ElementType() reflect.Type
func (StackPtrOutput) ToStackPtrOutput ¶
func (o StackPtrOutput) ToStackPtrOutput() StackPtrOutput
func (StackPtrOutput) ToStackPtrOutputWithContext ¶
func (o StackPtrOutput) ToStackPtrOutputWithContext(ctx context.Context) StackPtrOutput
type StackState ¶
type StackState struct { // Specifies whether to delete the stack after it is created. CreateOption pulumi.StringPtrInput // Specifies whether to enable deletion protection on the stack. Valid values: `Disabled`, `Enabled`. Default to: `Disabled` DeletionProtection pulumi.StringPtrInput // Specifies whether to disable rollback on stack creation failure. Default to: `false`. DisableRollback pulumi.BoolPtrInput // The callback URL for receiving stack event N. Only HTTP POST is supported. Maximum value of N: 5. NotificationUrls pulumi.StringArrayInput // The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template. Parameters StackParameterArrayInput // The name of the RAM role. ROS assumes the specified RAM role to create the stack and call API operations by using the credentials of the role. RamRoleName pulumi.StringPtrInput // Specifies whether to enable replacement update after a resource attribute that does not support modification update is changed. Modification update keeps the physical ID of the resource unchanged. However, the resource is deleted and then recreated, and its physical ID is changed if replacement update is enabled. ReplacementOption pulumi.StringPtrInput // The retain all resources. RetainAllResources pulumi.BoolPtrInput // Specifies whether to retain the resources in the stack. RetainResources pulumi.StringArrayInput // 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. StackName pulumi.StringPtrInput // The structure that contains the stack policy body. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyBody pulumi.StringPtrInput // The structure that contains the body of the temporary overriding stack policy. The stack policy body must be 1 to 16,384 bytes in length. StackPolicyDuringUpdateBody pulumi.StringPtrInput // The URL of the file that contains the temporary overriding stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyDuringUpdateUrl pulumi.StringPtrInput // The URL of the file that contains the stack policy. The URL must point to a policy located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/stack-policy/demo and oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The policy can be up to 16,384 bytes in length and the URL can be up to 1,350 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. StackPolicyUrl pulumi.StringPtrInput // The status of Stack. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // 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. TemplateBody pulumi.StringPtrInput // The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default. TemplateUrl pulumi.StringPtrInput // The version of the template. TemplateVersion pulumi.StringPtrInput // The timeout period that is specified for the stack creation request. Default to: `60`. TimeoutInMinutes pulumi.IntPtrInput // Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request. UsePreviousParameters pulumi.BoolPtrInput }
func (StackState) ElementType ¶
func (StackState) ElementType() reflect.Type
type Template ¶
type Template struct { pulumi.CustomResourceState // The description of the template. The description can be up to 256 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // 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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them. TemplateBody pulumi.StringPtrOutput `pulumi:"templateBody"` // The name of the template. 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. TemplateName pulumi.StringOutput `pulumi:"templateName"` // The template url. TemplateUrl pulumi.StringPtrOutput `pulumi:"templateUrl"` }
Provides a ROS Template resource.
For information about ROS Template and how to use it, see [What is Template](https://www.alibabacloud.com/help/en/doc-detail/141851.htm).
> **NOTE:** Available in v1.108.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"fmt" "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.NewTemplate(ctx, "example", &ros.TemplateArgs{ TemplateBody: pulumi.String(fmt.Sprintf("%v%v%v%v", " {\n", " \"ROSTemplateFormatVersion\": \"2015-09-01\"\n", " }\n", " \n")), TemplateName: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
ROS Template can be imported using the id, e.g.
```sh
$ pulumi import alicloud:ros/template:Template example <template_id>
```
func GetTemplate ¶
func GetTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TemplateState, opts ...pulumi.ResourceOption) (*Template, error)
GetTemplate gets an existing Template resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTemplate ¶
func NewTemplate(ctx *pulumi.Context, name string, args *TemplateArgs, opts ...pulumi.ResourceOption) (*Template, error)
NewTemplate registers a new resource with the given unique name, arguments, and options.
func (*Template) ElementType ¶
func (*Template) ToTemplateOutput ¶
func (i *Template) ToTemplateOutput() TemplateOutput
func (*Template) ToTemplateOutputWithContext ¶
func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
func (*Template) ToTemplatePtrOutput ¶
func (i *Template) ToTemplatePtrOutput() TemplatePtrOutput
func (*Template) ToTemplatePtrOutputWithContext ¶
func (i *Template) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
type TemplateArgs ¶
type TemplateArgs struct { // The description of the template. The description can be up to 256 characters in length. Description pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // 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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them. TemplateBody pulumi.StringPtrInput // The name of the template. 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. TemplateName pulumi.StringInput // The template url. TemplateUrl pulumi.StringPtrInput }
The set of arguments for constructing a Template resource.
func (TemplateArgs) ElementType ¶
func (TemplateArgs) ElementType() reflect.Type
type TemplateArray ¶
type TemplateArray []TemplateInput
func (TemplateArray) ElementType ¶
func (TemplateArray) ElementType() reflect.Type
func (TemplateArray) ToTemplateArrayOutput ¶
func (i TemplateArray) ToTemplateArrayOutput() TemplateArrayOutput
func (TemplateArray) ToTemplateArrayOutputWithContext ¶
func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput
type TemplateArrayInput ¶
type TemplateArrayInput interface { pulumi.Input ToTemplateArrayOutput() TemplateArrayOutput ToTemplateArrayOutputWithContext(context.Context) TemplateArrayOutput }
TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. You can construct a concrete instance of `TemplateArrayInput` via:
TemplateArray{ TemplateArgs{...} }
type TemplateArrayOutput ¶
type TemplateArrayOutput struct{ *pulumi.OutputState }
func (TemplateArrayOutput) ElementType ¶
func (TemplateArrayOutput) ElementType() reflect.Type
func (TemplateArrayOutput) Index ¶
func (o TemplateArrayOutput) Index(i pulumi.IntInput) TemplateOutput
func (TemplateArrayOutput) ToTemplateArrayOutput ¶
func (o TemplateArrayOutput) ToTemplateArrayOutput() TemplateArrayOutput
func (TemplateArrayOutput) ToTemplateArrayOutputWithContext ¶
func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Context) TemplateArrayOutput
type TemplateInput ¶
type TemplateInput interface { pulumi.Input ToTemplateOutput() TemplateOutput ToTemplateOutputWithContext(ctx context.Context) TemplateOutput }
type TemplateMap ¶
type TemplateMap map[string]TemplateInput
func (TemplateMap) ElementType ¶
func (TemplateMap) ElementType() reflect.Type
func (TemplateMap) ToTemplateMapOutput ¶
func (i TemplateMap) ToTemplateMapOutput() TemplateMapOutput
func (TemplateMap) ToTemplateMapOutputWithContext ¶
func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput
type TemplateMapInput ¶
type TemplateMapInput interface { pulumi.Input ToTemplateMapOutput() TemplateMapOutput ToTemplateMapOutputWithContext(context.Context) TemplateMapOutput }
TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. You can construct a concrete instance of `TemplateMapInput` via:
TemplateMap{ "key": TemplateArgs{...} }
type TemplateMapOutput ¶
type TemplateMapOutput struct{ *pulumi.OutputState }
func (TemplateMapOutput) ElementType ¶
func (TemplateMapOutput) ElementType() reflect.Type
func (TemplateMapOutput) MapIndex ¶
func (o TemplateMapOutput) MapIndex(k pulumi.StringInput) TemplateOutput
func (TemplateMapOutput) ToTemplateMapOutput ¶
func (o TemplateMapOutput) ToTemplateMapOutput() TemplateMapOutput
func (TemplateMapOutput) ToTemplateMapOutputWithContext ¶
func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) TemplateMapOutput
type TemplateOutput ¶
type TemplateOutput struct {
*pulumi.OutputState
}
func (TemplateOutput) ElementType ¶
func (TemplateOutput) ElementType() reflect.Type
func (TemplateOutput) ToTemplateOutput ¶
func (o TemplateOutput) ToTemplateOutput() TemplateOutput
func (TemplateOutput) ToTemplateOutputWithContext ¶
func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput
func (TemplateOutput) ToTemplatePtrOutput ¶
func (o TemplateOutput) ToTemplatePtrOutput() TemplatePtrOutput
func (TemplateOutput) ToTemplatePtrOutputWithContext ¶
func (o TemplateOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
type TemplatePtrInput ¶
type TemplatePtrInput interface { pulumi.Input ToTemplatePtrOutput() TemplatePtrOutput ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput }
type TemplatePtrOutput ¶
type TemplatePtrOutput struct {
*pulumi.OutputState
}
func (TemplatePtrOutput) ElementType ¶
func (TemplatePtrOutput) ElementType() reflect.Type
func (TemplatePtrOutput) ToTemplatePtrOutput ¶
func (o TemplatePtrOutput) ToTemplatePtrOutput() TemplatePtrOutput
func (TemplatePtrOutput) ToTemplatePtrOutputWithContext ¶
func (o TemplatePtrOutput) ToTemplatePtrOutputWithContext(ctx context.Context) TemplatePtrOutput
type TemplateState ¶
type TemplateState struct { // The description of the template. The description can be up to 256 characters in length. Description pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // 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 must specify one of the TemplateBody and TemplateURL parameters, but you cannot specify both of them. TemplateBody pulumi.StringPtrInput // The name of the template. 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. TemplateName pulumi.StringPtrInput // The template url. TemplateUrl pulumi.StringPtrInput }
func (TemplateState) ElementType ¶
func (TemplateState) ElementType() reflect.Type