ros

package
v3.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) ElementType() reflect.Type

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 (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 (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 ChangeSetParameter struct {
	// The parameter key.
	ParameterKey string `pulumi:"parameterKey"`
	// The parameter value.
	ParameterValue string `pulumi:"parameterValue"`
}

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) Index

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) Elem added in v3.9.0

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 GetChangeSetsOutputArgs added in v3.9.0

type GetChangeSetsOutputArgs 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 `pulumi:"changeSetName"`
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Change Set IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Change Set name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `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 pulumi.StringInput `pulumi:"stackId"`
	// The status of the change set.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getChangeSets.

func (GetChangeSetsOutputArgs) ElementType added in v3.9.0

func (GetChangeSetsOutputArgs) ElementType() reflect.Type

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 GetChangeSetsResultOutput added in v3.9.0

type GetChangeSetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getChangeSets.

func GetChangeSetsOutput added in v3.9.0

func GetChangeSetsOutput(ctx *pulumi.Context, args GetChangeSetsOutputArgs, opts ...pulumi.InvokeOption) GetChangeSetsResultOutput

func (GetChangeSetsResultOutput) ChangeSetName added in v3.9.0

func (GetChangeSetsResultOutput) ElementType added in v3.9.0

func (GetChangeSetsResultOutput) ElementType() reflect.Type

func (GetChangeSetsResultOutput) EnableDetails added in v3.9.0

func (GetChangeSetsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetChangeSetsResultOutput) Ids added in v3.9.0

func (GetChangeSetsResultOutput) NameRegex added in v3.9.0

func (GetChangeSetsResultOutput) Names added in v3.9.0

func (GetChangeSetsResultOutput) OutputFile added in v3.9.0

func (GetChangeSetsResultOutput) Sets added in v3.9.0

func (GetChangeSetsResultOutput) StackId added in v3.9.0

func (GetChangeSetsResultOutput) Status added in v3.9.0

func (GetChangeSetsResultOutput) ToGetChangeSetsResultOutput added in v3.9.0

func (o GetChangeSetsResultOutput) ToGetChangeSetsResultOutput() GetChangeSetsResultOutput

func (GetChangeSetsResultOutput) ToGetChangeSetsResultOutputWithContext added in v3.9.0

func (o GetChangeSetsResultOutput) ToGetChangeSetsResultOutputWithContext(ctx context.Context) GetChangeSetsResultOutput

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) Index

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

The ID of the Change Set.

func (GetChangeSetsSetOutput) Parameters

Parameters.

func (GetChangeSetsSetOutput) StackId

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

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

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 GetChangeSetsSetParameter

type GetChangeSetsSetParameter struct {
	// The parameters.
	ParameterKey string `pulumi:"parameterKey"`
	// The parameters.
	ParameterValue string `pulumi:"parameterValue"`
}

type GetChangeSetsSetParameterArgs

type GetChangeSetsSetParameterArgs struct {
	// The parameters.
	ParameterKey pulumi.StringInput `pulumi:"parameterKey"`
	// The parameters.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
}

func (GetChangeSetsSetParameterArgs) ElementType

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) 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) Index

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) ParameterKey

The parameters.

func (GetChangeSetsSetParameterOutput) ParameterValue

The parameters.

func (GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutput

func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutput() GetChangeSetsSetParameterOutput

func (GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutputWithContext

func (o GetChangeSetsSetParameterOutput) ToGetChangeSetsSetParameterOutputWithContext(ctx context.Context) GetChangeSetsSetParameterOutput

type GetRegionsArgs added in v3.11.0

type GetRegionsArgs struct {
	OutputFile *string `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegions.

type GetRegionsOutputArgs added in v3.11.0

type GetRegionsOutputArgs struct {
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}

A collection of arguments for invoking getRegions.

func (GetRegionsOutputArgs) ElementType added in v3.11.0

func (GetRegionsOutputArgs) ElementType() reflect.Type

type GetRegionsRegion added in v3.11.0

type GetRegionsRegion struct {
	// The name of the region.
	LocalName string `pulumi:"localName"`
	// The endpoint of the region.
	RegionEndpoint string `pulumi:"regionEndpoint"`
	// The ID of the region.
	RegionId string `pulumi:"regionId"`
}

type GetRegionsRegionArgs added in v3.11.0

type GetRegionsRegionArgs struct {
	// The name of the region.
	LocalName pulumi.StringInput `pulumi:"localName"`
	// The endpoint of the region.
	RegionEndpoint pulumi.StringInput `pulumi:"regionEndpoint"`
	// The ID of the region.
	RegionId pulumi.StringInput `pulumi:"regionId"`
}

func (GetRegionsRegionArgs) ElementType added in v3.11.0

func (GetRegionsRegionArgs) ElementType() reflect.Type

func (GetRegionsRegionArgs) ToGetRegionsRegionOutput added in v3.11.0

func (i GetRegionsRegionArgs) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext added in v3.11.0

func (i GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput

type GetRegionsRegionArray added in v3.11.0

type GetRegionsRegionArray []GetRegionsRegionInput

func (GetRegionsRegionArray) ElementType added in v3.11.0

func (GetRegionsRegionArray) ElementType() reflect.Type

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutput added in v3.11.0

func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext added in v3.11.0

func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput

type GetRegionsRegionArrayInput added in v3.11.0

type GetRegionsRegionArrayInput interface {
	pulumi.Input

	ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput
	ToGetRegionsRegionArrayOutputWithContext(context.Context) GetRegionsRegionArrayOutput
}

GetRegionsRegionArrayInput is an input type that accepts GetRegionsRegionArray and GetRegionsRegionArrayOutput values. You can construct a concrete instance of `GetRegionsRegionArrayInput` via:

GetRegionsRegionArray{ GetRegionsRegionArgs{...} }

type GetRegionsRegionArrayOutput added in v3.11.0

type GetRegionsRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionArrayOutput) ElementType added in v3.11.0

func (GetRegionsRegionArrayOutput) Index added in v3.11.0

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput added in v3.11.0

func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext added in v3.11.0

func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext(ctx context.Context) GetRegionsRegionArrayOutput

type GetRegionsRegionInput added in v3.11.0

type GetRegionsRegionInput interface {
	pulumi.Input

	ToGetRegionsRegionOutput() GetRegionsRegionOutput
	ToGetRegionsRegionOutputWithContext(context.Context) GetRegionsRegionOutput
}

GetRegionsRegionInput is an input type that accepts GetRegionsRegionArgs and GetRegionsRegionOutput values. You can construct a concrete instance of `GetRegionsRegionInput` via:

GetRegionsRegionArgs{...}

type GetRegionsRegionOutput added in v3.11.0

type GetRegionsRegionOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionOutput) ElementType added in v3.11.0

func (GetRegionsRegionOutput) ElementType() reflect.Type

func (GetRegionsRegionOutput) LocalName added in v3.11.0

The name of the region.

func (GetRegionsRegionOutput) RegionEndpoint added in v3.11.0

func (o GetRegionsRegionOutput) RegionEndpoint() pulumi.StringOutput

The endpoint of the region.

func (GetRegionsRegionOutput) RegionId added in v3.11.0

The ID of the region.

func (GetRegionsRegionOutput) ToGetRegionsRegionOutput added in v3.11.0

func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext added in v3.11.0

func (o GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext(ctx context.Context) GetRegionsRegionOutput

type GetRegionsResult added in v3.11.0

type GetRegionsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id         string             `pulumi:"id"`
	OutputFile *string            `pulumi:"outputFile"`
	Regions    []GetRegionsRegion `pulumi:"regions"`
}

A collection of values returned by getRegions.

func GetRegions added in v3.11.0

func GetRegions(ctx *pulumi.Context, args *GetRegionsArgs, opts ...pulumi.InvokeOption) (*GetRegionsResult, error)

This data source provides the Ros Regions of the current Alibaba Cloud user.

> **NOTE:** Available in v1.145.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 {
		all, err := ros.GetRegions(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosRegionRegionId1", all.Regions[0].RegionId)
		return nil
	})
}

```

type GetRegionsResultOutput added in v3.11.0

type GetRegionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegions.

func GetRegionsOutput added in v3.11.0

func GetRegionsOutput(ctx *pulumi.Context, args GetRegionsOutputArgs, opts ...pulumi.InvokeOption) GetRegionsResultOutput

func (GetRegionsResultOutput) ElementType added in v3.11.0

func (GetRegionsResultOutput) ElementType() reflect.Type

func (GetRegionsResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetRegionsResultOutput) OutputFile added in v3.11.0

func (GetRegionsResultOutput) Regions added in v3.11.0

func (GetRegionsResultOutput) ToGetRegionsResultOutput added in v3.11.0

func (o GetRegionsResultOutput) ToGetRegionsResultOutput() GetRegionsResultOutput

func (GetRegionsResultOutput) ToGetRegionsResultOutputWithContext added in v3.11.0

func (o GetRegionsResultOutput) ToGetRegionsResultOutputWithContext(ctx context.Context) GetRegionsResultOutput

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) Index

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

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

The ID of the Stack Group.

func (GetStackGroupsGroupOutput) Parameters

The parameters.

func (GetStackGroupsGroupOutput) StackGroupId

The id of Stack Group.

func (GetStackGroupsGroupOutput) StackGroupName

func (o GetStackGroupsGroupOutput) StackGroupName() pulumi.StringOutput

The name of the stack group..

func (GetStackGroupsGroupOutput) Status

The status of Stack Group.

func (GetStackGroupsGroupOutput) TemplateBody

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 GetStackGroupsGroupParameter

type GetStackGroupsGroupParameter struct {
	// The parameter key.
	ParameterKey string `pulumi:"parameterKey"`
	// The parameter value.
	ParameterValue string `pulumi:"parameterValue"`
}

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) 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) 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) Index

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) ParameterKey

The parameter key.

func (GetStackGroupsGroupParameterOutput) ParameterValue

The parameter value.

func (GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutput

func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutput() GetStackGroupsGroupParameterOutput

func (GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutputWithContext

func (o GetStackGroupsGroupParameterOutput) ToGetStackGroupsGroupParameterOutputWithContext(ctx context.Context) GetStackGroupsGroupParameterOutput

type GetStackGroupsOutputArgs added in v3.9.0

type GetStackGroupsOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Stack Group IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Stack Group name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// The status of Stack Group.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getStackGroups.

func (GetStackGroupsOutputArgs) ElementType added in v3.9.0

func (GetStackGroupsOutputArgs) ElementType() reflect.Type

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 GetStackGroupsResultOutput added in v3.9.0

type GetStackGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStackGroups.

func GetStackGroupsOutput added in v3.9.0

func GetStackGroupsOutput(ctx *pulumi.Context, args GetStackGroupsOutputArgs, opts ...pulumi.InvokeOption) GetStackGroupsResultOutput

func (GetStackGroupsResultOutput) ElementType added in v3.9.0

func (GetStackGroupsResultOutput) ElementType() reflect.Type

func (GetStackGroupsResultOutput) EnableDetails added in v3.9.0

func (GetStackGroupsResultOutput) Groups added in v3.9.0

func (GetStackGroupsResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetStackGroupsResultOutput) Ids added in v3.9.0

func (GetStackGroupsResultOutput) NameRegex added in v3.9.0

func (GetStackGroupsResultOutput) Names added in v3.9.0

func (GetStackGroupsResultOutput) OutputFile added in v3.9.0

func (GetStackGroupsResultOutput) Status added in v3.9.0

func (GetStackGroupsResultOutput) ToGetStackGroupsResultOutput added in v3.9.0

func (o GetStackGroupsResultOutput) ToGetStackGroupsResultOutput() GetStackGroupsResultOutput

func (GetStackGroupsResultOutput) ToGetStackGroupsResultOutputWithContext added in v3.9.0

func (o GetStackGroupsResultOutput) ToGetStackGroupsResultOutputWithContext(ctx context.Context) GetStackGroupsResultOutput

type GetStackInstancesArgs added in v3.11.0

type GetStackInstancesArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Stack Instance IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The name of the stack group.
	StackGroupName string `pulumi:"stackGroupName"`
	// The account to which the stack instance belongs.
	StackInstanceAccountId *string `pulumi:"stackInstanceAccountId"`
	// The region of the stack instance.
	StackInstanceRegionId *string `pulumi:"stackInstanceRegionId"`
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status *string `pulumi:"status"`
}

A collection of arguments for invoking getStackInstances.

type GetStackInstancesInstance added in v3.11.0

type GetStackInstancesInstance struct {
	// The ID of the Stack Instance. The value formats as `<stack_group_name>:<stack_instance_account_id>:<stack_instance_region_id>`.
	Id string `pulumi:"id"`
	// ParameterOverrides.
	ParameterOverrides []GetStackInstancesInstanceParameterOverride `pulumi:"parameterOverrides"`
	// The ID of the stack group.
	StackGroupId string `pulumi:"stackGroupId"`
	// The name of the stack group.
	StackGroupName string `pulumi:"stackGroupName"`
	// The ID of the stack corresponding to the stack instance.
	StackId string `pulumi:"stackId"`
	// The account to which the stack instance belongs.
	StackInstanceAccountId string `pulumi:"stackInstanceAccountId"`
	// The region of the stack instance.
	StackInstanceRegionId string `pulumi:"stackInstanceRegionId"`
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status string `pulumi:"status"`
	// The reason why the stack is in its current state.
	StatusReason string `pulumi:"statusReason"`
}

type GetStackInstancesInstanceArgs added in v3.11.0

type GetStackInstancesInstanceArgs struct {
	// The ID of the Stack Instance. The value formats as `<stack_group_name>:<stack_instance_account_id>:<stack_instance_region_id>`.
	Id pulumi.StringInput `pulumi:"id"`
	// ParameterOverrides.
	ParameterOverrides GetStackInstancesInstanceParameterOverrideArrayInput `pulumi:"parameterOverrides"`
	// The ID of the stack group.
	StackGroupId pulumi.StringInput `pulumi:"stackGroupId"`
	// The name of the stack group.
	StackGroupName pulumi.StringInput `pulumi:"stackGroupName"`
	// The ID of the stack corresponding to the stack instance.
	StackId pulumi.StringInput `pulumi:"stackId"`
	// The account to which the stack instance belongs.
	StackInstanceAccountId pulumi.StringInput `pulumi:"stackInstanceAccountId"`
	// The region of the stack instance.
	StackInstanceRegionId pulumi.StringInput `pulumi:"stackInstanceRegionId"`
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status pulumi.StringInput `pulumi:"status"`
	// The reason why the stack is in its current state.
	StatusReason pulumi.StringInput `pulumi:"statusReason"`
}

func (GetStackInstancesInstanceArgs) ElementType added in v3.11.0

func (GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutput added in v3.11.0

func (i GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutput() GetStackInstancesInstanceOutput

func (GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutputWithContext added in v3.11.0

func (i GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutputWithContext(ctx context.Context) GetStackInstancesInstanceOutput

type GetStackInstancesInstanceArray added in v3.11.0

type GetStackInstancesInstanceArray []GetStackInstancesInstanceInput

func (GetStackInstancesInstanceArray) ElementType added in v3.11.0

func (GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutput added in v3.11.0

func (i GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutput() GetStackInstancesInstanceArrayOutput

func (GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutputWithContext added in v3.11.0

func (i GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutputWithContext(ctx context.Context) GetStackInstancesInstanceArrayOutput

type GetStackInstancesInstanceArrayInput added in v3.11.0

type GetStackInstancesInstanceArrayInput interface {
	pulumi.Input

	ToGetStackInstancesInstanceArrayOutput() GetStackInstancesInstanceArrayOutput
	ToGetStackInstancesInstanceArrayOutputWithContext(context.Context) GetStackInstancesInstanceArrayOutput
}

GetStackInstancesInstanceArrayInput is an input type that accepts GetStackInstancesInstanceArray and GetStackInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetStackInstancesInstanceArrayInput` via:

GetStackInstancesInstanceArray{ GetStackInstancesInstanceArgs{...} }

type GetStackInstancesInstanceArrayOutput added in v3.11.0

type GetStackInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceArrayOutput) ElementType added in v3.11.0

func (GetStackInstancesInstanceArrayOutput) Index added in v3.11.0

func (GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutput added in v3.11.0

func (o GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutput() GetStackInstancesInstanceArrayOutput

func (GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutputWithContext added in v3.11.0

func (o GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutputWithContext(ctx context.Context) GetStackInstancesInstanceArrayOutput

type GetStackInstancesInstanceInput added in v3.11.0

type GetStackInstancesInstanceInput interface {
	pulumi.Input

	ToGetStackInstancesInstanceOutput() GetStackInstancesInstanceOutput
	ToGetStackInstancesInstanceOutputWithContext(context.Context) GetStackInstancesInstanceOutput
}

GetStackInstancesInstanceInput is an input type that accepts GetStackInstancesInstanceArgs and GetStackInstancesInstanceOutput values. You can construct a concrete instance of `GetStackInstancesInstanceInput` via:

GetStackInstancesInstanceArgs{...}

type GetStackInstancesInstanceOutput added in v3.11.0

type GetStackInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceOutput) ElementType added in v3.11.0

func (GetStackInstancesInstanceOutput) Id added in v3.11.0

The ID of the Stack Instance. The value formats as `<stack_group_name>:<stack_instance_account_id>:<stack_instance_region_id>`.

func (GetStackInstancesInstanceOutput) ParameterOverrides added in v3.11.0

ParameterOverrides.

func (GetStackInstancesInstanceOutput) StackGroupId added in v3.11.0

The ID of the stack group.

func (GetStackInstancesInstanceOutput) StackGroupName added in v3.11.0

The name of the stack group.

func (GetStackInstancesInstanceOutput) StackId added in v3.11.0

The ID of the stack corresponding to the stack instance.

func (GetStackInstancesInstanceOutput) StackInstanceAccountId added in v3.11.0

func (o GetStackInstancesInstanceOutput) StackInstanceAccountId() pulumi.StringOutput

The account to which the stack instance belongs.

func (GetStackInstancesInstanceOutput) StackInstanceRegionId added in v3.11.0

func (o GetStackInstancesInstanceOutput) StackInstanceRegionId() pulumi.StringOutput

The region of the stack instance.

func (GetStackInstancesInstanceOutput) Status added in v3.11.0

The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`. * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group. * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes: * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created. * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated. * The create or update operation is not complete.

func (GetStackInstancesInstanceOutput) StatusReason added in v3.11.0

The reason why the stack is in its current state.

func (GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutput added in v3.11.0

func (o GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutput() GetStackInstancesInstanceOutput

func (GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutputWithContext added in v3.11.0

func (o GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutputWithContext(ctx context.Context) GetStackInstancesInstanceOutput

type GetStackInstancesInstanceParameterOverride added in v3.11.0

type GetStackInstancesInstanceParameterOverride struct {
	// The key of override parameter.
	ParameterKey string `pulumi:"parameterKey"`
	// The value of override parameter.
	ParameterValue string `pulumi:"parameterValue"`
}

type GetStackInstancesInstanceParameterOverrideArgs added in v3.11.0

type GetStackInstancesInstanceParameterOverrideArgs struct {
	// The key of override parameter.
	ParameterKey pulumi.StringInput `pulumi:"parameterKey"`
	// The value of override parameter.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
}

func (GetStackInstancesInstanceParameterOverrideArgs) ElementType added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutput added in v3.11.0

func (i GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutput() GetStackInstancesInstanceParameterOverrideOutput

func (GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutputWithContext added in v3.11.0

func (i GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutputWithContext(ctx context.Context) GetStackInstancesInstanceParameterOverrideOutput

type GetStackInstancesInstanceParameterOverrideArray added in v3.11.0

type GetStackInstancesInstanceParameterOverrideArray []GetStackInstancesInstanceParameterOverrideInput

func (GetStackInstancesInstanceParameterOverrideArray) ElementType added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutput added in v3.11.0

func (i GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutput() GetStackInstancesInstanceParameterOverrideArrayOutput

func (GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext added in v3.11.0

func (i GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext(ctx context.Context) GetStackInstancesInstanceParameterOverrideArrayOutput

type GetStackInstancesInstanceParameterOverrideArrayInput added in v3.11.0

type GetStackInstancesInstanceParameterOverrideArrayInput interface {
	pulumi.Input

	ToGetStackInstancesInstanceParameterOverrideArrayOutput() GetStackInstancesInstanceParameterOverrideArrayOutput
	ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext(context.Context) GetStackInstancesInstanceParameterOverrideArrayOutput
}

GetStackInstancesInstanceParameterOverrideArrayInput is an input type that accepts GetStackInstancesInstanceParameterOverrideArray and GetStackInstancesInstanceParameterOverrideArrayOutput values. You can construct a concrete instance of `GetStackInstancesInstanceParameterOverrideArrayInput` via:

GetStackInstancesInstanceParameterOverrideArray{ GetStackInstancesInstanceParameterOverrideArgs{...} }

type GetStackInstancesInstanceParameterOverrideArrayOutput added in v3.11.0

type GetStackInstancesInstanceParameterOverrideArrayOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ElementType added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideArrayOutput) Index added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ToGetStackInstancesInstanceParameterOverrideArrayOutput added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext added in v3.11.0

func (o GetStackInstancesInstanceParameterOverrideArrayOutput) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext(ctx context.Context) GetStackInstancesInstanceParameterOverrideArrayOutput

type GetStackInstancesInstanceParameterOverrideInput added in v3.11.0

type GetStackInstancesInstanceParameterOverrideInput interface {
	pulumi.Input

	ToGetStackInstancesInstanceParameterOverrideOutput() GetStackInstancesInstanceParameterOverrideOutput
	ToGetStackInstancesInstanceParameterOverrideOutputWithContext(context.Context) GetStackInstancesInstanceParameterOverrideOutput
}

GetStackInstancesInstanceParameterOverrideInput is an input type that accepts GetStackInstancesInstanceParameterOverrideArgs and GetStackInstancesInstanceParameterOverrideOutput values. You can construct a concrete instance of `GetStackInstancesInstanceParameterOverrideInput` via:

GetStackInstancesInstanceParameterOverrideArgs{...}

type GetStackInstancesInstanceParameterOverrideOutput added in v3.11.0

type GetStackInstancesInstanceParameterOverrideOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceParameterOverrideOutput) ElementType added in v3.11.0

func (GetStackInstancesInstanceParameterOverrideOutput) ParameterKey added in v3.11.0

The key of override parameter.

func (GetStackInstancesInstanceParameterOverrideOutput) ParameterValue added in v3.11.0

The value of override parameter.

func (GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutput added in v3.11.0

func (o GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutput() GetStackInstancesInstanceParameterOverrideOutput

func (GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutputWithContext added in v3.11.0

func (o GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutputWithContext(ctx context.Context) GetStackInstancesInstanceParameterOverrideOutput

type GetStackInstancesOutputArgs added in v3.11.0

type GetStackInstancesOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Stack Instance IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The name of the stack group.
	StackGroupName pulumi.StringInput `pulumi:"stackGroupName"`
	// The account to which the stack instance belongs.
	StackInstanceAccountId pulumi.StringPtrInput `pulumi:"stackInstanceAccountId"`
	// The region of the stack instance.
	StackInstanceRegionId pulumi.StringPtrInput `pulumi:"stackInstanceRegionId"`
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status pulumi.StringPtrInput `pulumi:"status"`
}

A collection of arguments for invoking getStackInstances.

func (GetStackInstancesOutputArgs) ElementType added in v3.11.0

type GetStackInstancesResult added in v3.11.0

type GetStackInstancesResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id                     string                      `pulumi:"id"`
	Ids                    []string                    `pulumi:"ids"`
	Instances              []GetStackInstancesInstance `pulumi:"instances"`
	OutputFile             *string                     `pulumi:"outputFile"`
	StackGroupName         string                      `pulumi:"stackGroupName"`
	StackInstanceAccountId *string                     `pulumi:"stackInstanceAccountId"`
	StackInstanceRegionId  *string                     `pulumi:"stackInstanceRegionId"`
	Status                 *string                     `pulumi:"status"`
}

A collection of values returned by getStackInstances.

func GetStackInstances added in v3.11.0

func GetStackInstances(ctx *pulumi.Context, args *GetStackInstancesArgs, opts ...pulumi.InvokeOption) (*GetStackInstancesResult, error)

This data source provides the Ros Stack Instances of the current Alibaba Cloud user.

> **NOTE:** Available in v1.145.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 := true
		ids, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			EnableDetails: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId1", ids.Instances[0].Id)
		opt1 := "CURRENT"
		opt2 := true
		status, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName: "example_value",
			Status:         &opt1,
			EnableDetails:  &opt2,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId2", status.Instances[0].Id)
		opt3 := "example_value"
		opt4 := true
		regionId, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName:        "example_value",
			StackInstanceRegionId: &opt3,
			EnableDetails:         &opt4,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId3", regionId.Instances[0].Id)
		opt5 := "example_value"
		opt6 := true
		accountId, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName:         "example_value",
			StackInstanceAccountId: &opt5,
			EnableDetails:          &opt6,
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId4", accountId.Instances[0].Id)
		return nil
	})
}

```

type GetStackInstancesResultOutput added in v3.11.0

type GetStackInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStackInstances.

func GetStackInstancesOutput added in v3.11.0

func (GetStackInstancesResultOutput) ElementType added in v3.11.0

func (GetStackInstancesResultOutput) EnableDetails added in v3.11.0

func (GetStackInstancesResultOutput) Id added in v3.11.0

The provider-assigned unique ID for this managed resource.

func (GetStackInstancesResultOutput) Ids added in v3.11.0

func (GetStackInstancesResultOutput) Instances added in v3.11.0

func (GetStackInstancesResultOutput) OutputFile added in v3.11.0

func (GetStackInstancesResultOutput) StackGroupName added in v3.11.0

func (GetStackInstancesResultOutput) StackInstanceAccountId added in v3.11.0

func (o GetStackInstancesResultOutput) StackInstanceAccountId() pulumi.StringPtrOutput

func (GetStackInstancesResultOutput) StackInstanceRegionId added in v3.11.0

func (o GetStackInstancesResultOutput) StackInstanceRegionId() pulumi.StringPtrOutput

func (GetStackInstancesResultOutput) Status added in v3.11.0

func (GetStackInstancesResultOutput) ToGetStackInstancesResultOutput added in v3.11.0

func (o GetStackInstancesResultOutput) ToGetStackInstancesResultOutput() GetStackInstancesResultOutput

func (GetStackInstancesResultOutput) ToGetStackInstancesResultOutputWithContext added in v3.11.0

func (o GetStackInstancesResultOutput) ToGetStackInstancesResultOutputWithContext(ctx context.Context) GetStackInstancesResultOutput

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 GetStacksOutputArgs added in v3.9.0

type GetStacksOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Stack IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Stack name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Parent Stack Id.
	ParentStackId pulumi.StringPtrInput `pulumi:"parentStackId"`
	// The show nested stack.
	ShowNestedStack pulumi.BoolPtrInput `pulumi:"showNestedStack"`
	// Stack Name.
	StackName pulumi.StringPtrInput `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 pulumi.StringPtrInput `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 pulumi.MapInput `pulumi:"tags"`
}

A collection of arguments for invoking getStacks.

func (GetStacksOutputArgs) ElementType added in v3.9.0

func (GetStacksOutputArgs) ElementType() reflect.Type

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 GetStacksResultOutput added in v3.9.0

type GetStacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStacks.

func GetStacksOutput added in v3.9.0

func GetStacksOutput(ctx *pulumi.Context, args GetStacksOutputArgs, opts ...pulumi.InvokeOption) GetStacksResultOutput

func (GetStacksResultOutput) ElementType added in v3.9.0

func (GetStacksResultOutput) ElementType() reflect.Type

func (GetStacksResultOutput) EnableDetails added in v3.9.0

func (o GetStacksResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetStacksResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetStacksResultOutput) Ids added in v3.9.0

func (GetStacksResultOutput) NameRegex added in v3.9.0

func (GetStacksResultOutput) Names added in v3.9.0

func (GetStacksResultOutput) OutputFile added in v3.9.0

func (GetStacksResultOutput) ParentStackId added in v3.9.0

func (o GetStacksResultOutput) ParentStackId() pulumi.StringPtrOutput

func (GetStacksResultOutput) ShowNestedStack added in v3.9.0

func (o GetStacksResultOutput) ShowNestedStack() pulumi.BoolPtrOutput

func (GetStacksResultOutput) StackName added in v3.9.0

func (GetStacksResultOutput) Stacks added in v3.9.0

func (GetStacksResultOutput) Status added in v3.9.0

func (GetStacksResultOutput) Tags added in v3.9.0

func (GetStacksResultOutput) ToGetStacksResultOutput added in v3.9.0

func (o GetStacksResultOutput) ToGetStacksResultOutput() GetStacksResultOutput

func (GetStacksResultOutput) ToGetStacksResultOutputWithContext added in v3.9.0

func (o GetStacksResultOutput) ToGetStacksResultOutputWithContext(ctx context.Context) GetStacksResultOutput

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 (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

The ID of the Stack.

func (GetStacksStackOutput) Parameters

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

Stack Id.

func (GetStacksStackOutput) StackName

Stack Name.

func (GetStacksStackOutput) StackPolicyBody

func (o GetStacksStackOutput) StackPolicyBody() pulumi.StringOutput

The structure that contains the stack policy body.

func (GetStacksStackOutput) Status

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

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 GetStacksStackParameter struct {
	// The key of parameters.
	ParameterKey string `pulumi:"parameterKey"`
	// The value of parameters.
	ParameterValue string `pulumi:"parameterValue"`
}

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) 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) 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) Index

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) ParameterKey

The key of parameters.

func (GetStacksStackParameterOutput) ParameterValue

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"`
	// Share Type.
	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 GetTemplatesOutputArgs added in v3.9.0

type GetTemplatesOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Template IDs.
	Ids pulumi.StringArrayInput `pulumi:"ids"`
	// A regex string to filter results by Template name.
	NameRegex  pulumi.StringPtrInput `pulumi:"nameRegex"`
	OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
	// Share Type.
	ShareType pulumi.StringPtrInput `pulumi:"shareType"`
	// Tags.
	Tags pulumi.MapInput `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 pulumi.StringPtrInput `pulumi:"templateName"`
}

A collection of arguments for invoking getTemplates.

func (GetTemplatesOutputArgs) ElementType added in v3.9.0

func (GetTemplatesOutputArgs) ElementType() reflect.Type

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"`
	ShareType    *string                `pulumi:"shareType"`
	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 GetTemplatesResultOutput added in v3.9.0

type GetTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTemplates.

func GetTemplatesOutput added in v3.9.0

func GetTemplatesOutput(ctx *pulumi.Context, args GetTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetTemplatesResultOutput

func (GetTemplatesResultOutput) ElementType added in v3.9.0

func (GetTemplatesResultOutput) ElementType() reflect.Type

func (GetTemplatesResultOutput) EnableDetails added in v3.9.0

func (o GetTemplatesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetTemplatesResultOutput) Id added in v3.9.0

The provider-assigned unique ID for this managed resource.

func (GetTemplatesResultOutput) Ids added in v3.9.0

func (GetTemplatesResultOutput) NameRegex added in v3.9.0

func (GetTemplatesResultOutput) Names added in v3.9.0

func (GetTemplatesResultOutput) OutputFile added in v3.9.0

func (GetTemplatesResultOutput) ShareType added in v3.9.0

func (GetTemplatesResultOutput) Tags added in v3.9.0

func (GetTemplatesResultOutput) TemplateName added in v3.9.0

func (GetTemplatesResultOutput) Templates added in v3.9.0

func (GetTemplatesResultOutput) ToGetTemplatesResultOutput added in v3.9.0

func (o GetTemplatesResultOutput) ToGetTemplatesResultOutput() GetTemplatesResultOutput

func (GetTemplatesResultOutput) ToGetTemplatesResultOutputWithContext added in v3.9.0

func (o GetTemplatesResultOutput) ToGetTemplatesResultOutputWithContext(ctx context.Context) GetTemplatesResultOutput

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"`
	// Share Type.
	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"`
	// Share Type.
	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) Index

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

The ID of the change set.

func (GetTemplatesTemplateOutput) Description

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

The ID of the Template.

func (GetTemplatesTemplateOutput) ShareType

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

The ID of the stack.

func (GetTemplatesTemplateOutput) Tags

Tags.

func (GetTemplatesTemplateOutput) TemplateBody

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

The ID of the template.

func (GetTemplatesTemplateOutput) TemplateName

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) ElementType() reflect.Type

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

func (StackArgs) ElementType() reflect.Type

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 (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 (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 (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 StackGroupParameter struct {
	// The parameter key.
	ParameterKey *string `pulumi:"parameterKey"`
	// The parameter value.
	ParameterValue *string `pulumi:"parameterValue"`
}

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) Index

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

The parameter key.

func (StackGroupParameterOutput) ParameterValue

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) Elem added in v3.9.0

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 StackInstance added in v3.11.0

type StackInstance struct {
	pulumi.CustomResourceState

	// The operation description.
	OperationDescription pulumi.StringPtrOutput `pulumi:"operationDescription"`
	// The operation preferences. The operation settings. The following fields are supported:
	OperationPreferences pulumi.StringPtrOutput `pulumi:"operationPreferences"`
	// ParameterOverrides. See the following `Block parameterOverrides`.
	ParameterOverrides StackInstanceParameterOverrideArrayOutput `pulumi:"parameterOverrides"`
	// Specifies whether to retain the stack corresponding to the stack instance.Default value `false`. **NOTE:** When `retainStacks` is `true`, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
	RetainStacks pulumi.BoolPtrOutput `pulumi:"retainStacks"`
	// The name of the stack group.
	StackGroupName pulumi.StringOutput `pulumi:"stackGroupName"`
	// The account to which the stack instance belongs.
	StackInstanceAccountId pulumi.StringOutput `pulumi:"stackInstanceAccountId"`
	// The region of the stack instance.
	StackInstanceRegionId pulumi.StringOutput `pulumi:"stackInstanceRegionId"`
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status pulumi.StringOutput `pulumi:"status"`
	// The timeout period that is specified for the stack creation request. Default value: `60`. Unit: `minutes`.
	TimeoutInMinutes pulumi.StringPtrOutput `pulumi:"timeoutInMinutes"`
}

Provides a ROS Stack Instance resource.

For information about ROS Stack Instance and how to use it, see [What is Stack Instance](https://www.alibabacloud.com/help/en/doc-detail/151338.html).

> **NOTE:** Available in v1.145.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 {
		exampleRegions, err := ros.GetRegions(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleStackGroup, err := ros.NewStackGroup(ctx, "exampleStackGroup", &ros.StackGroupArgs{
			StackGroupName: pulumi.Any(_var.Name),
			TemplateBody:   pulumi.String("{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}"),
			Description:    pulumi.String("test for stack groups"),
			Parameters: ros.StackGroupParameterArray{
				&ros.StackGroupParameterArgs{
					ParameterKey:   pulumi.String("VpcName"),
					ParameterValue: pulumi.String("VpcName"),
				},
				&ros.StackGroupParameterArgs{
					ParameterKey:   pulumi.String("InstanceType"),
					ParameterValue: pulumi.String("InstanceType"),
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = ros.NewStackInstance(ctx, "exampleStackInstance", &ros.StackInstanceArgs{
			StackGroupName:         exampleStackGroup.StackGroupName,
			StackInstanceAccountId: pulumi.String("example_value"),
			StackInstanceRegionId:  pulumi.String(exampleRegions.Regions[0].RegionId),
			OperationPreferences:   pulumi.String("{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}"),
			ParameterOverrides: ros.StackInstanceParameterOverrideArray{
				&ros.StackInstanceParameterOverrideArgs{
					ParameterValue: pulumi.String("VpcName"),
					ParameterKey:   pulumi.String("VpcName"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ROS Stack Instance can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ros/stackInstance:StackInstance example <stack_group_name>:<stack_instance_account_id>:<stack_instance_region_id>

```

func GetStackInstance added in v3.11.0

func GetStackInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *StackInstanceState, opts ...pulumi.ResourceOption) (*StackInstance, error)

GetStackInstance gets an existing StackInstance 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 NewStackInstance added in v3.11.0

func NewStackInstance(ctx *pulumi.Context,
	name string, args *StackInstanceArgs, opts ...pulumi.ResourceOption) (*StackInstance, error)

NewStackInstance registers a new resource with the given unique name, arguments, and options.

func (*StackInstance) ElementType added in v3.11.0

func (*StackInstance) ElementType() reflect.Type

func (*StackInstance) ToStackInstanceOutput added in v3.11.0

func (i *StackInstance) ToStackInstanceOutput() StackInstanceOutput

func (*StackInstance) ToStackInstanceOutputWithContext added in v3.11.0

func (i *StackInstance) ToStackInstanceOutputWithContext(ctx context.Context) StackInstanceOutput

func (*StackInstance) ToStackInstancePtrOutput added in v3.11.0

func (i *StackInstance) ToStackInstancePtrOutput() StackInstancePtrOutput

func (*StackInstance) ToStackInstancePtrOutputWithContext added in v3.11.0

func (i *StackInstance) ToStackInstancePtrOutputWithContext(ctx context.Context) StackInstancePtrOutput

type StackInstanceArgs added in v3.11.0

type StackInstanceArgs struct {
	// The operation description.
	OperationDescription pulumi.StringPtrInput
	// The operation preferences. The operation settings. The following fields are supported:
	OperationPreferences pulumi.StringPtrInput
	// ParameterOverrides. See the following `Block parameterOverrides`.
	ParameterOverrides StackInstanceParameterOverrideArrayInput
	// Specifies whether to retain the stack corresponding to the stack instance.Default value `false`. **NOTE:** When `retainStacks` is `true`, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
	RetainStacks pulumi.BoolPtrInput
	// The name of the stack group.
	StackGroupName pulumi.StringInput
	// The account to which the stack instance belongs.
	StackInstanceAccountId pulumi.StringInput
	// The region of the stack instance.
	StackInstanceRegionId pulumi.StringInput
	// The timeout period that is specified for the stack creation request. Default value: `60`. Unit: `minutes`.
	TimeoutInMinutes pulumi.StringPtrInput
}

The set of arguments for constructing a StackInstance resource.

func (StackInstanceArgs) ElementType added in v3.11.0

func (StackInstanceArgs) ElementType() reflect.Type

type StackInstanceArray added in v3.11.0

type StackInstanceArray []StackInstanceInput

func (StackInstanceArray) ElementType added in v3.11.0

func (StackInstanceArray) ElementType() reflect.Type

func (StackInstanceArray) ToStackInstanceArrayOutput added in v3.11.0

func (i StackInstanceArray) ToStackInstanceArrayOutput() StackInstanceArrayOutput

func (StackInstanceArray) ToStackInstanceArrayOutputWithContext added in v3.11.0

func (i StackInstanceArray) ToStackInstanceArrayOutputWithContext(ctx context.Context) StackInstanceArrayOutput

type StackInstanceArrayInput added in v3.11.0

type StackInstanceArrayInput interface {
	pulumi.Input

	ToStackInstanceArrayOutput() StackInstanceArrayOutput
	ToStackInstanceArrayOutputWithContext(context.Context) StackInstanceArrayOutput
}

StackInstanceArrayInput is an input type that accepts StackInstanceArray and StackInstanceArrayOutput values. You can construct a concrete instance of `StackInstanceArrayInput` via:

StackInstanceArray{ StackInstanceArgs{...} }

type StackInstanceArrayOutput added in v3.11.0

type StackInstanceArrayOutput struct{ *pulumi.OutputState }

func (StackInstanceArrayOutput) ElementType added in v3.11.0

func (StackInstanceArrayOutput) ElementType() reflect.Type

func (StackInstanceArrayOutput) Index added in v3.11.0

func (StackInstanceArrayOutput) ToStackInstanceArrayOutput added in v3.11.0

func (o StackInstanceArrayOutput) ToStackInstanceArrayOutput() StackInstanceArrayOutput

func (StackInstanceArrayOutput) ToStackInstanceArrayOutputWithContext added in v3.11.0

func (o StackInstanceArrayOutput) ToStackInstanceArrayOutputWithContext(ctx context.Context) StackInstanceArrayOutput

type StackInstanceInput added in v3.11.0

type StackInstanceInput interface {
	pulumi.Input

	ToStackInstanceOutput() StackInstanceOutput
	ToStackInstanceOutputWithContext(ctx context.Context) StackInstanceOutput
}

type StackInstanceMap added in v3.11.0

type StackInstanceMap map[string]StackInstanceInput

func (StackInstanceMap) ElementType added in v3.11.0

func (StackInstanceMap) ElementType() reflect.Type

func (StackInstanceMap) ToStackInstanceMapOutput added in v3.11.0

func (i StackInstanceMap) ToStackInstanceMapOutput() StackInstanceMapOutput

func (StackInstanceMap) ToStackInstanceMapOutputWithContext added in v3.11.0

func (i StackInstanceMap) ToStackInstanceMapOutputWithContext(ctx context.Context) StackInstanceMapOutput

type StackInstanceMapInput added in v3.11.0

type StackInstanceMapInput interface {
	pulumi.Input

	ToStackInstanceMapOutput() StackInstanceMapOutput
	ToStackInstanceMapOutputWithContext(context.Context) StackInstanceMapOutput
}

StackInstanceMapInput is an input type that accepts StackInstanceMap and StackInstanceMapOutput values. You can construct a concrete instance of `StackInstanceMapInput` via:

StackInstanceMap{ "key": StackInstanceArgs{...} }

type StackInstanceMapOutput added in v3.11.0

type StackInstanceMapOutput struct{ *pulumi.OutputState }

func (StackInstanceMapOutput) ElementType added in v3.11.0

func (StackInstanceMapOutput) ElementType() reflect.Type

func (StackInstanceMapOutput) MapIndex added in v3.11.0

func (StackInstanceMapOutput) ToStackInstanceMapOutput added in v3.11.0

func (o StackInstanceMapOutput) ToStackInstanceMapOutput() StackInstanceMapOutput

func (StackInstanceMapOutput) ToStackInstanceMapOutputWithContext added in v3.11.0

func (o StackInstanceMapOutput) ToStackInstanceMapOutputWithContext(ctx context.Context) StackInstanceMapOutput

type StackInstanceOutput added in v3.11.0

type StackInstanceOutput struct{ *pulumi.OutputState }

func (StackInstanceOutput) ElementType added in v3.11.0

func (StackInstanceOutput) ElementType() reflect.Type

func (StackInstanceOutput) ToStackInstanceOutput added in v3.11.0

func (o StackInstanceOutput) ToStackInstanceOutput() StackInstanceOutput

func (StackInstanceOutput) ToStackInstanceOutputWithContext added in v3.11.0

func (o StackInstanceOutput) ToStackInstanceOutputWithContext(ctx context.Context) StackInstanceOutput

func (StackInstanceOutput) ToStackInstancePtrOutput added in v3.11.0

func (o StackInstanceOutput) ToStackInstancePtrOutput() StackInstancePtrOutput

func (StackInstanceOutput) ToStackInstancePtrOutputWithContext added in v3.11.0

func (o StackInstanceOutput) ToStackInstancePtrOutputWithContext(ctx context.Context) StackInstancePtrOutput

type StackInstanceParameterOverride added in v3.11.0

type StackInstanceParameterOverride struct {
	// The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
	ParameterKey *string `pulumi:"parameterKey"`
	// The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
	ParameterValue *string `pulumi:"parameterValue"`
}

type StackInstanceParameterOverrideArgs added in v3.11.0

type StackInstanceParameterOverrideArgs struct {
	// The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
	ParameterKey pulumi.StringPtrInput `pulumi:"parameterKey"`
	// The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
	ParameterValue pulumi.StringPtrInput `pulumi:"parameterValue"`
}

func (StackInstanceParameterOverrideArgs) ElementType added in v3.11.0

func (StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutput added in v3.11.0

func (i StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutput() StackInstanceParameterOverrideOutput

func (StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutputWithContext added in v3.11.0

func (i StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutputWithContext(ctx context.Context) StackInstanceParameterOverrideOutput

type StackInstanceParameterOverrideArray added in v3.11.0

type StackInstanceParameterOverrideArray []StackInstanceParameterOverrideInput

func (StackInstanceParameterOverrideArray) ElementType added in v3.11.0

func (StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutput added in v3.11.0

func (i StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutput() StackInstanceParameterOverrideArrayOutput

func (StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutputWithContext added in v3.11.0

func (i StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutputWithContext(ctx context.Context) StackInstanceParameterOverrideArrayOutput

type StackInstanceParameterOverrideArrayInput added in v3.11.0

type StackInstanceParameterOverrideArrayInput interface {
	pulumi.Input

	ToStackInstanceParameterOverrideArrayOutput() StackInstanceParameterOverrideArrayOutput
	ToStackInstanceParameterOverrideArrayOutputWithContext(context.Context) StackInstanceParameterOverrideArrayOutput
}

StackInstanceParameterOverrideArrayInput is an input type that accepts StackInstanceParameterOverrideArray and StackInstanceParameterOverrideArrayOutput values. You can construct a concrete instance of `StackInstanceParameterOverrideArrayInput` via:

StackInstanceParameterOverrideArray{ StackInstanceParameterOverrideArgs{...} }

type StackInstanceParameterOverrideArrayOutput added in v3.11.0

type StackInstanceParameterOverrideArrayOutput struct{ *pulumi.OutputState }

func (StackInstanceParameterOverrideArrayOutput) ElementType added in v3.11.0

func (StackInstanceParameterOverrideArrayOutput) Index added in v3.11.0

func (StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutput added in v3.11.0

func (o StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutput() StackInstanceParameterOverrideArrayOutput

func (StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutputWithContext added in v3.11.0

func (o StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutputWithContext(ctx context.Context) StackInstanceParameterOverrideArrayOutput

type StackInstanceParameterOverrideInput added in v3.11.0

type StackInstanceParameterOverrideInput interface {
	pulumi.Input

	ToStackInstanceParameterOverrideOutput() StackInstanceParameterOverrideOutput
	ToStackInstanceParameterOverrideOutputWithContext(context.Context) StackInstanceParameterOverrideOutput
}

StackInstanceParameterOverrideInput is an input type that accepts StackInstanceParameterOverrideArgs and StackInstanceParameterOverrideOutput values. You can construct a concrete instance of `StackInstanceParameterOverrideInput` via:

StackInstanceParameterOverrideArgs{...}

type StackInstanceParameterOverrideOutput added in v3.11.0

type StackInstanceParameterOverrideOutput struct{ *pulumi.OutputState }

func (StackInstanceParameterOverrideOutput) ElementType added in v3.11.0

func (StackInstanceParameterOverrideOutput) ParameterKey added in v3.11.0

The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.

func (StackInstanceParameterOverrideOutput) ParameterValue added in v3.11.0

The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.

func (StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutput added in v3.11.0

func (o StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutput() StackInstanceParameterOverrideOutput

func (StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutputWithContext added in v3.11.0

func (o StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutputWithContext(ctx context.Context) StackInstanceParameterOverrideOutput

type StackInstancePtrInput added in v3.11.0

type StackInstancePtrInput interface {
	pulumi.Input

	ToStackInstancePtrOutput() StackInstancePtrOutput
	ToStackInstancePtrOutputWithContext(ctx context.Context) StackInstancePtrOutput
}

type StackInstancePtrOutput added in v3.11.0

type StackInstancePtrOutput struct{ *pulumi.OutputState }

func (StackInstancePtrOutput) Elem added in v3.11.0

func (StackInstancePtrOutput) ElementType added in v3.11.0

func (StackInstancePtrOutput) ElementType() reflect.Type

func (StackInstancePtrOutput) ToStackInstancePtrOutput added in v3.11.0

func (o StackInstancePtrOutput) ToStackInstancePtrOutput() StackInstancePtrOutput

func (StackInstancePtrOutput) ToStackInstancePtrOutputWithContext added in v3.11.0

func (o StackInstancePtrOutput) ToStackInstancePtrOutputWithContext(ctx context.Context) StackInstancePtrOutput

type StackInstanceState added in v3.11.0

type StackInstanceState struct {
	// The operation description.
	OperationDescription pulumi.StringPtrInput
	// The operation preferences. The operation settings. The following fields are supported:
	OperationPreferences pulumi.StringPtrInput
	// ParameterOverrides. See the following `Block parameterOverrides`.
	ParameterOverrides StackInstanceParameterOverrideArrayInput
	// Specifies whether to retain the stack corresponding to the stack instance.Default value `false`. **NOTE:** When `retainStacks` is `true`, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
	RetainStacks pulumi.BoolPtrInput
	// The name of the stack group.
	StackGroupName pulumi.StringPtrInput
	// The account to which the stack instance belongs.
	StackInstanceAccountId pulumi.StringPtrInput
	// The region of the stack instance.
	StackInstanceRegionId pulumi.StringPtrInput
	// The status of the stack instance. Valid values: `CURRENT` or `OUTDATED`.
	// * `CURRENT`: The stack corresponding to the stack instance is up to date with the stack group.
	// * `OUTDATED`: The stack corresponding to the stack instance is not up to date with the stack group. The `OUTDATED` state has the following possible causes:
	// * When the CreateStackInstances operation is called to create stack instances, the corresponding stacks fail to be created.
	// * When the UpdateStackInstances or UpdateStackGroup operation is called to update stack instances, the corresponding stacks fail to be updated, or only some of the stack instances are updated.
	// * The create or update operation is not complete.
	Status pulumi.StringPtrInput
	// The timeout period that is specified for the stack creation request. Default value: `60`. Unit: `minutes`.
	TimeoutInMinutes pulumi.StringPtrInput
}

func (StackInstanceState) ElementType added in v3.11.0

func (StackInstanceState) ElementType() reflect.Type

type StackMap

type StackMap map[string]StackInput

func (StackMap) ElementType

func (StackMap) ElementType() reflect.Type

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 (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 StackParameter struct {
	// The parameter key.
	ParameterKey *string `pulumi:"parameterKey"`
	// The parameter value.
	ParameterValue string `pulumi:"parameterValue"`
}

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 (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) Elem added in v3.9.0

func (o StackPtrOutput) Elem() StackOutput

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) ElementType() reflect.Type

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 (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 (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) Elem added in v3.9.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL