ros

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.1

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

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

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

func (o ChangeSetOutput) 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 (ChangeSetOutput) ChangeSetType

func (o ChangeSetOutput) ChangeSetType() pulumi.StringPtrOutput

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 (ChangeSetOutput) Description

func (o ChangeSetOutput) Description() pulumi.StringPtrOutput

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

func (ChangeSetOutput) DisableRollback

func (o ChangeSetOutput) DisableRollback() pulumi.BoolPtrOutput

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 (ChangeSetOutput) ElementType

func (ChangeSetOutput) ElementType() reflect.Type

func (ChangeSetOutput) NotificationUrls

func (o ChangeSetOutput) NotificationUrls() pulumi.StringArrayOutput

The notification urls.

func (ChangeSetOutput) Parameters

Parameters.

func (ChangeSetOutput) RamRoleName

func (o ChangeSetOutput) RamRoleName() pulumi.StringPtrOutput

The ram role name.

func (ChangeSetOutput) ReplacementOption

func (o ChangeSetOutput) ReplacementOption() pulumi.StringPtrOutput

The replacement option.

func (ChangeSetOutput) StackId

func (o ChangeSetOutput) StackId() pulumi.StringOutput

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

func (ChangeSetOutput) StackName

func (o ChangeSetOutput) StackName() pulumi.StringPtrOutput

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 (ChangeSetOutput) StackPolicyBody

func (o ChangeSetOutput) StackPolicyBody() pulumi.StringPtrOutput

The stack policy body.

func (ChangeSetOutput) StackPolicyDuringUpdateBody

func (o ChangeSetOutput) StackPolicyDuringUpdateBody() pulumi.StringPtrOutput

The stack policy during update body.

func (ChangeSetOutput) StackPolicyDuringUpdateUrl

func (o ChangeSetOutput) StackPolicyDuringUpdateUrl() pulumi.StringPtrOutput

The stack policy during update url.

func (ChangeSetOutput) StackPolicyUrl

func (o ChangeSetOutput) StackPolicyUrl() pulumi.StringPtrOutput

The stack policy url.

func (ChangeSetOutput) Status

func (o ChangeSetOutput) Status() pulumi.StringOutput

The status of the change set.

func (ChangeSetOutput) TemplateBody

func (o ChangeSetOutput) TemplateBody() pulumi.StringPtrOutput

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 (ChangeSetOutput) TemplateUrl

func (o ChangeSetOutput) TemplateUrl() pulumi.StringPtrOutput

The template url.

func (ChangeSetOutput) TimeoutInMinutes

func (o ChangeSetOutput) TimeoutInMinutes() pulumi.IntOutput

Timeout In Minutes.

func (ChangeSetOutput) ToChangeSetOutput

func (o ChangeSetOutput) ToChangeSetOutput() ChangeSetOutput

func (ChangeSetOutput) ToChangeSetOutputWithContext

func (o ChangeSetOutput) ToChangeSetOutputWithContext(ctx context.Context) ChangeSetOutput

func (ChangeSetOutput) UsePreviousParameters

func (o ChangeSetOutput) UsePreviousParameters() pulumi.BoolPtrOutput

The use previous parameters.

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

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ros.GetChangeSets(ctx, &ros.GetChangeSetsArgs{
			StackId: "example_value",
			Ids: []string{
				"example_value",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRosChangeSetId", example.Sets[0].Id)
		return nil
	})
}

```

type GetChangeSetsResultOutput

type GetChangeSetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getChangeSets.

func (GetChangeSetsResultOutput) ChangeSetName

func (GetChangeSetsResultOutput) ElementType

func (GetChangeSetsResultOutput) ElementType() reflect.Type

func (GetChangeSetsResultOutput) EnableDetails

func (GetChangeSetsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetChangeSetsResultOutput) Ids

func (GetChangeSetsResultOutput) NameRegex

func (GetChangeSetsResultOutput) Names

func (GetChangeSetsResultOutput) OutputFile

func (GetChangeSetsResultOutput) Sets

func (GetChangeSetsResultOutput) StackId

func (GetChangeSetsResultOutput) Status

func (GetChangeSetsResultOutput) ToGetChangeSetsResultOutput

func (o GetChangeSetsResultOutput) ToGetChangeSetsResultOutput() GetChangeSetsResultOutput

func (GetChangeSetsResultOutput) ToGetChangeSetsResultOutputWithContext

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

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

A collection of arguments for invoking getRegions.

type GetRegionsOutputArgs

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

A collection of arguments for invoking getRegions.

func (GetRegionsOutputArgs) ElementType

func (GetRegionsOutputArgs) ElementType() reflect.Type

type GetRegionsRegion

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

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

func (GetRegionsRegionArgs) ElementType() reflect.Type

func (GetRegionsRegionArgs) ToGetRegionsRegionOutput

func (i GetRegionsRegionArgs) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionArgs) ToGetRegionsRegionOutputWithContext

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

type GetRegionsRegionArray

type GetRegionsRegionArray []GetRegionsRegionInput

func (GetRegionsRegionArray) ElementType

func (GetRegionsRegionArray) ElementType() reflect.Type

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutput

func (i GetRegionsRegionArray) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArray) ToGetRegionsRegionArrayOutputWithContext

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

type GetRegionsRegionArrayInput

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

type GetRegionsRegionArrayOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionArrayOutput) ElementType

func (GetRegionsRegionArrayOutput) Index

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput

func (o GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutput() GetRegionsRegionArrayOutput

func (GetRegionsRegionArrayOutput) ToGetRegionsRegionArrayOutputWithContext

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

type GetRegionsRegionInput

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

type GetRegionsRegionOutput struct{ *pulumi.OutputState }

func (GetRegionsRegionOutput) ElementType

func (GetRegionsRegionOutput) ElementType() reflect.Type

func (GetRegionsRegionOutput) LocalName

The name of the region.

func (GetRegionsRegionOutput) RegionEndpoint

func (o GetRegionsRegionOutput) RegionEndpoint() pulumi.StringOutput

The endpoint of the region.

func (GetRegionsRegionOutput) RegionId

The ID of the region.

func (GetRegionsRegionOutput) ToGetRegionsRegionOutput

func (o GetRegionsRegionOutput) ToGetRegionsRegionOutput() GetRegionsRegionOutput

func (GetRegionsRegionOutput) ToGetRegionsRegionOutputWithContext

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

type GetRegionsResult

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

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

type GetRegionsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRegions.

func (GetRegionsResultOutput) ElementType

func (GetRegionsResultOutput) ElementType() reflect.Type

func (GetRegionsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetRegionsResultOutput) OutputFile

func (GetRegionsResultOutput) Regions

func (GetRegionsResultOutput) ToGetRegionsResultOutput

func (o GetRegionsResultOutput) ToGetRegionsResultOutput() GetRegionsResultOutput

func (GetRegionsResultOutput) ToGetRegionsResultOutputWithContext

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

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ros.GetStackGroups(ctx, &ros.GetStackGroupsArgs{
			Ids: []string{
				"example_value",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRosStackGroupId", example.Groups[0].Id)
		return nil
	})
}

```

type GetStackGroupsResultOutput

type GetStackGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStackGroups.

func (GetStackGroupsResultOutput) ElementType

func (GetStackGroupsResultOutput) ElementType() reflect.Type

func (GetStackGroupsResultOutput) EnableDetails

func (GetStackGroupsResultOutput) Groups

func (GetStackGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStackGroupsResultOutput) Ids

func (GetStackGroupsResultOutput) NameRegex

func (GetStackGroupsResultOutput) Names

func (GetStackGroupsResultOutput) OutputFile

func (GetStackGroupsResultOutput) Status

func (GetStackGroupsResultOutput) ToGetStackGroupsResultOutput

func (o GetStackGroupsResultOutput) ToGetStackGroupsResultOutput() GetStackGroupsResultOutput

func (GetStackGroupsResultOutput) ToGetStackGroupsResultOutputWithContext

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

type GetStackInstancesArgs

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

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

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

func (GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutput

func (i GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutput() GetStackInstancesInstanceOutput

func (GetStackInstancesInstanceArgs) ToGetStackInstancesInstanceOutputWithContext

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

type GetStackInstancesInstanceArray

type GetStackInstancesInstanceArray []GetStackInstancesInstanceInput

func (GetStackInstancesInstanceArray) ElementType

func (GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutput

func (i GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutput() GetStackInstancesInstanceArrayOutput

func (GetStackInstancesInstanceArray) ToGetStackInstancesInstanceArrayOutputWithContext

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

type GetStackInstancesInstanceArrayInput

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

type GetStackInstancesInstanceArrayOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceArrayOutput) ElementType

func (GetStackInstancesInstanceArrayOutput) Index

func (GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutput

func (o GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutput() GetStackInstancesInstanceArrayOutput

func (GetStackInstancesInstanceArrayOutput) ToGetStackInstancesInstanceArrayOutputWithContext

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

type GetStackInstancesInstanceInput

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

type GetStackInstancesInstanceOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceOutput) ElementType

func (GetStackInstancesInstanceOutput) Id

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

func (GetStackInstancesInstanceOutput) ParameterOverrides

ParameterOverrides.

func (GetStackInstancesInstanceOutput) StackGroupId

The ID of the stack group.

func (GetStackInstancesInstanceOutput) StackGroupName

The name of the stack group.

func (GetStackInstancesInstanceOutput) StackId

The ID of the stack corresponding to the stack instance.

func (GetStackInstancesInstanceOutput) StackInstanceAccountId

func (o GetStackInstancesInstanceOutput) StackInstanceAccountId() pulumi.StringOutput

The account to which the stack instance belongs.

func (GetStackInstancesInstanceOutput) StackInstanceRegionId

func (o GetStackInstancesInstanceOutput) StackInstanceRegionId() pulumi.StringOutput

The region of the stack instance.

func (GetStackInstancesInstanceOutput) Status

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

The reason why the stack is in its current state.

func (GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutput

func (o GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutput() GetStackInstancesInstanceOutput

func (GetStackInstancesInstanceOutput) ToGetStackInstancesInstanceOutputWithContext

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

type GetStackInstancesInstanceParameterOverride

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

type GetStackInstancesInstanceParameterOverrideArgs

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

func (GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutput

func (i GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutput() GetStackInstancesInstanceParameterOverrideOutput

func (GetStackInstancesInstanceParameterOverrideArgs) ToGetStackInstancesInstanceParameterOverrideOutputWithContext

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

type GetStackInstancesInstanceParameterOverrideArray

type GetStackInstancesInstanceParameterOverrideArray []GetStackInstancesInstanceParameterOverrideInput

func (GetStackInstancesInstanceParameterOverrideArray) ElementType

func (GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutput

func (i GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutput() GetStackInstancesInstanceParameterOverrideArrayOutput

func (GetStackInstancesInstanceParameterOverrideArray) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext

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

type GetStackInstancesInstanceParameterOverrideArrayInput

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

type GetStackInstancesInstanceParameterOverrideArrayOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ElementType

func (GetStackInstancesInstanceParameterOverrideArrayOutput) Index

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ToGetStackInstancesInstanceParameterOverrideArrayOutput

func (GetStackInstancesInstanceParameterOverrideArrayOutput) ToGetStackInstancesInstanceParameterOverrideArrayOutputWithContext

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

type GetStackInstancesInstanceParameterOverrideInput

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

type GetStackInstancesInstanceParameterOverrideOutput struct{ *pulumi.OutputState }

func (GetStackInstancesInstanceParameterOverrideOutput) ElementType

func (GetStackInstancesInstanceParameterOverrideOutput) ParameterKey

The key of override parameter.

func (GetStackInstancesInstanceParameterOverrideOutput) ParameterValue

The value of override parameter.

func (GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutput

func (o GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutput() GetStackInstancesInstanceParameterOverrideOutput

func (GetStackInstancesInstanceParameterOverrideOutput) ToGetStackInstancesInstanceParameterOverrideOutputWithContext

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

type GetStackInstancesOutputArgs

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

type GetStackInstancesResult

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName: "example_value",
			Ids: []string{
				"example_value-1",
				"example_value-2",
			},
			EnableDetails: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId1", ids.Instances[0].Id)
		status, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName: "example_value",
			Status:         pulumi.StringRef("CURRENT"),
			EnableDetails:  pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId2", status.Instances[0].Id)
		regionId, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName:        "example_value",
			StackInstanceRegionId: pulumi.StringRef("example_value"),
			EnableDetails:         pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId3", regionId.Instances[0].Id)
		accountId, err := ros.GetStackInstances(ctx, &ros.GetStackInstancesArgs{
			StackGroupName:         "example_value",
			StackInstanceAccountId: pulumi.StringRef("example_value"),
			EnableDetails:          pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosStackInstanceId4", accountId.Instances[0].Id)
		return nil
	})
}

```

type GetStackInstancesResultOutput

type GetStackInstancesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStackInstances.

func (GetStackInstancesResultOutput) ElementType

func (GetStackInstancesResultOutput) EnableDetails

func (GetStackInstancesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStackInstancesResultOutput) Ids

func (GetStackInstancesResultOutput) Instances

func (GetStackInstancesResultOutput) OutputFile

func (GetStackInstancesResultOutput) StackGroupName

func (GetStackInstancesResultOutput) StackInstanceAccountId

func (o GetStackInstancesResultOutput) StackInstanceAccountId() pulumi.StringPtrOutput

func (GetStackInstancesResultOutput) StackInstanceRegionId

func (o GetStackInstancesResultOutput) StackInstanceRegionId() pulumi.StringPtrOutput

func (GetStackInstancesResultOutput) Status

func (GetStackInstancesResultOutput) ToGetStackInstancesResultOutput

func (o GetStackInstancesResultOutput) ToGetStackInstancesResultOutput() GetStackInstancesResultOutput

func (GetStackInstancesResultOutput) ToGetStackInstancesResultOutputWithContext

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

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ros.GetStacks(ctx, &ros.GetStacksArgs{
			Ids: []string{
				"example_value",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRosStackId", example.Stacks[0].Id)
		return nil
	})
}

```

type GetStacksResultOutput

type GetStacksResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getStacks.

func (GetStacksResultOutput) ElementType

func (GetStacksResultOutput) ElementType() reflect.Type

func (GetStacksResultOutput) EnableDetails

func (o GetStacksResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetStacksResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetStacksResultOutput) Ids

func (GetStacksResultOutput) NameRegex

func (GetStacksResultOutput) Names

func (GetStacksResultOutput) OutputFile

func (GetStacksResultOutput) ParentStackId

func (o GetStacksResultOutput) ParentStackId() pulumi.StringPtrOutput

func (GetStacksResultOutput) ShowNestedStack

func (o GetStacksResultOutput) ShowNestedStack() pulumi.BoolPtrOutput

func (GetStacksResultOutput) StackName

func (GetStacksResultOutput) Stacks

func (GetStacksResultOutput) Status

func (GetStacksResultOutput) Tags

func (GetStacksResultOutput) ToGetStacksResultOutput

func (o GetStacksResultOutput) ToGetStacksResultOutput() GetStacksResultOutput

func (GetStacksResultOutput) ToGetStacksResultOutputWithContext

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 GetTemplateScratchesArgs

type GetTemplateScratchesArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails *bool `pulumi:"enableDetails"`
	// A list of Template Scratch IDs.
	Ids        []string `pulumi:"ids"`
	OutputFile *string  `pulumi:"outputFile"`
	// The status of the resource.
	Status *string `pulumi:"status"`
	// The type of the Template Scratch.
	TemplateScratchType *string `pulumi:"templateScratchType"`
}

A collection of arguments for invoking getTemplateScratches.

type GetTemplateScratchesOutputArgs

type GetTemplateScratchesOutputArgs struct {
	// Default to `false`. Set it to `true` can output more details about resource attributes.
	EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"`
	// A list of Template Scratch IDs.
	Ids        pulumi.StringArrayInput `pulumi:"ids"`
	OutputFile pulumi.StringPtrInput   `pulumi:"outputFile"`
	// The status of the resource.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The type of the Template Scratch.
	TemplateScratchType pulumi.StringPtrInput `pulumi:"templateScratchType"`
}

A collection of arguments for invoking getTemplateScratches.

func (GetTemplateScratchesOutputArgs) ElementType

type GetTemplateScratchesResult

type GetTemplateScratchesResult struct {
	EnableDetails *bool `pulumi:"enableDetails"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string                        `pulumi:"id"`
	Ids                 []string                      `pulumi:"ids"`
	OutputFile          *string                       `pulumi:"outputFile"`
	Scratches           []GetTemplateScratchesScratch `pulumi:"scratches"`
	Status              *string                       `pulumi:"status"`
	TemplateScratchType *string                       `pulumi:"templateScratchType"`
}

A collection of values returned by getTemplateScratches.

func GetTemplateScratches

func GetTemplateScratches(ctx *pulumi.Context, args *GetTemplateScratchesArgs, opts ...pulumi.InvokeOption) (*GetTemplateScratchesResult, error)

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

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ids, err := ros.GetTemplateScratches(ctx, &ros.GetTemplateScratchesArgs{
			Ids: []string{
				"example_value",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosTemplateScratchId1", ids.Scratches[0].Id)
		status, err := ros.GetTemplateScratches(ctx, &ros.GetTemplateScratchesArgs{
			Status: pulumi.StringRef("GENERATE_COMPLETE"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosTemplateScratchId2", status.Scratches[0].Id)
		templateScratchType, err := ros.GetTemplateScratches(ctx, &ros.GetTemplateScratchesArgs{
			TemplateScratchType: pulumi.StringRef("ResourceImport"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("rosTemplateScratchId3", templateScratchType.Scratches[0].Id)
		return nil
	})
}

```

type GetTemplateScratchesResultOutput

type GetTemplateScratchesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTemplateScratches.

func (GetTemplateScratchesResultOutput) ElementType

func (GetTemplateScratchesResultOutput) EnableDetails

func (GetTemplateScratchesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTemplateScratchesResultOutput) Ids

func (GetTemplateScratchesResultOutput) OutputFile

func (GetTemplateScratchesResultOutput) Scratches

func (GetTemplateScratchesResultOutput) Status

func (GetTemplateScratchesResultOutput) TemplateScratchType

func (GetTemplateScratchesResultOutput) ToGetTemplateScratchesResultOutput

func (o GetTemplateScratchesResultOutput) ToGetTemplateScratchesResultOutput() GetTemplateScratchesResultOutput

func (GetTemplateScratchesResultOutput) ToGetTemplateScratchesResultOutputWithContext

func (o GetTemplateScratchesResultOutput) ToGetTemplateScratchesResultOutputWithContext(ctx context.Context) GetTemplateScratchesResultOutput

type GetTemplateScratchesScratch

type GetTemplateScratchesScratch struct {
	// The creation time of the resource.
	CreateTime string `pulumi:"createTime"`
	// The description of the Template Scratch.
	Description string `pulumi:"description"`
	// The ID of the Template Scratch.
	Id string `pulumi:"id"`
	// The Logical ID generation strategy of the Template Scratch.
	LogicalIdStrategy string `pulumi:"logicalIdStrategy"`
	// Priority parameter.
	PreferenceParameters []GetTemplateScratchesScratchPreferenceParameter `pulumi:"preferenceParameters"`
	// Source resource grouping.
	SourceResourceGroups []GetTemplateScratchesScratchSourceResourceGroup `pulumi:"sourceResourceGroups"`
	// Source resource.
	SourceResources []GetTemplateScratchesScratchSourceResource `pulumi:"sourceResources"`
	// The Source label list.
	SourceTags []GetTemplateScratchesScratchSourceTag `pulumi:"sourceTags"`
	// A list of resource stacks associated with the resource scene.
	Stacks []GetTemplateScratchesScratchStack `pulumi:"stacks"`
	// The status of the resource.
	Status string `pulumi:"status"`
	// The ID of the Template Scratch.
	TemplateScratchId string `pulumi:"templateScratchId"`
	// The type of the Template Scratch.
	TemplateScratchType string `pulumi:"templateScratchType"`
}

type GetTemplateScratchesScratchArgs

type GetTemplateScratchesScratchArgs struct {
	// The creation time of the resource.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// The description of the Template Scratch.
	Description pulumi.StringInput `pulumi:"description"`
	// The ID of the Template Scratch.
	Id pulumi.StringInput `pulumi:"id"`
	// The Logical ID generation strategy of the Template Scratch.
	LogicalIdStrategy pulumi.StringInput `pulumi:"logicalIdStrategy"`
	// Priority parameter.
	PreferenceParameters GetTemplateScratchesScratchPreferenceParameterArrayInput `pulumi:"preferenceParameters"`
	// Source resource grouping.
	SourceResourceGroups GetTemplateScratchesScratchSourceResourceGroupArrayInput `pulumi:"sourceResourceGroups"`
	// Source resource.
	SourceResources GetTemplateScratchesScratchSourceResourceArrayInput `pulumi:"sourceResources"`
	// The Source label list.
	SourceTags GetTemplateScratchesScratchSourceTagArrayInput `pulumi:"sourceTags"`
	// A list of resource stacks associated with the resource scene.
	Stacks GetTemplateScratchesScratchStackArrayInput `pulumi:"stacks"`
	// The status of the resource.
	Status pulumi.StringInput `pulumi:"status"`
	// The ID of the Template Scratch.
	TemplateScratchId pulumi.StringInput `pulumi:"templateScratchId"`
	// The type of the Template Scratch.
	TemplateScratchType pulumi.StringInput `pulumi:"templateScratchType"`
}

func (GetTemplateScratchesScratchArgs) ElementType

func (GetTemplateScratchesScratchArgs) ToGetTemplateScratchesScratchOutput

func (i GetTemplateScratchesScratchArgs) ToGetTemplateScratchesScratchOutput() GetTemplateScratchesScratchOutput

func (GetTemplateScratchesScratchArgs) ToGetTemplateScratchesScratchOutputWithContext

func (i GetTemplateScratchesScratchArgs) ToGetTemplateScratchesScratchOutputWithContext(ctx context.Context) GetTemplateScratchesScratchOutput

type GetTemplateScratchesScratchArray

type GetTemplateScratchesScratchArray []GetTemplateScratchesScratchInput

func (GetTemplateScratchesScratchArray) ElementType

func (GetTemplateScratchesScratchArray) ToGetTemplateScratchesScratchArrayOutput

func (i GetTemplateScratchesScratchArray) ToGetTemplateScratchesScratchArrayOutput() GetTemplateScratchesScratchArrayOutput

func (GetTemplateScratchesScratchArray) ToGetTemplateScratchesScratchArrayOutputWithContext

func (i GetTemplateScratchesScratchArray) ToGetTemplateScratchesScratchArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchArrayOutput

type GetTemplateScratchesScratchArrayInput

type GetTemplateScratchesScratchArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchArrayOutput() GetTemplateScratchesScratchArrayOutput
	ToGetTemplateScratchesScratchArrayOutputWithContext(context.Context) GetTemplateScratchesScratchArrayOutput
}

GetTemplateScratchesScratchArrayInput is an input type that accepts GetTemplateScratchesScratchArray and GetTemplateScratchesScratchArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchArrayInput` via:

GetTemplateScratchesScratchArray{ GetTemplateScratchesScratchArgs{...} }

type GetTemplateScratchesScratchArrayOutput

type GetTemplateScratchesScratchArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchArrayOutput) ElementType

func (GetTemplateScratchesScratchArrayOutput) Index

func (GetTemplateScratchesScratchArrayOutput) ToGetTemplateScratchesScratchArrayOutput

func (o GetTemplateScratchesScratchArrayOutput) ToGetTemplateScratchesScratchArrayOutput() GetTemplateScratchesScratchArrayOutput

func (GetTemplateScratchesScratchArrayOutput) ToGetTemplateScratchesScratchArrayOutputWithContext

func (o GetTemplateScratchesScratchArrayOutput) ToGetTemplateScratchesScratchArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchArrayOutput

type GetTemplateScratchesScratchInput

type GetTemplateScratchesScratchInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchOutput() GetTemplateScratchesScratchOutput
	ToGetTemplateScratchesScratchOutputWithContext(context.Context) GetTemplateScratchesScratchOutput
}

GetTemplateScratchesScratchInput is an input type that accepts GetTemplateScratchesScratchArgs and GetTemplateScratchesScratchOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchInput` via:

GetTemplateScratchesScratchArgs{...}

type GetTemplateScratchesScratchOutput

type GetTemplateScratchesScratchOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchOutput) CreateTime

The creation time of the resource.

func (GetTemplateScratchesScratchOutput) Description

The description of the Template Scratch.

func (GetTemplateScratchesScratchOutput) ElementType

func (GetTemplateScratchesScratchOutput) Id

The ID of the Template Scratch.

func (GetTemplateScratchesScratchOutput) LogicalIdStrategy

The Logical ID generation strategy of the Template Scratch.

func (GetTemplateScratchesScratchOutput) PreferenceParameters

Priority parameter.

func (GetTemplateScratchesScratchOutput) SourceResourceGroups

Source resource grouping.

func (GetTemplateScratchesScratchOutput) SourceResources

Source resource.

func (GetTemplateScratchesScratchOutput) SourceTags

The Source label list.

func (GetTemplateScratchesScratchOutput) Stacks

A list of resource stacks associated with the resource scene.

func (GetTemplateScratchesScratchOutput) Status

The status of the resource.

func (GetTemplateScratchesScratchOutput) TemplateScratchId

The ID of the Template Scratch.

func (GetTemplateScratchesScratchOutput) TemplateScratchType

func (o GetTemplateScratchesScratchOutput) TemplateScratchType() pulumi.StringOutput

The type of the Template Scratch.

func (GetTemplateScratchesScratchOutput) ToGetTemplateScratchesScratchOutput

func (o GetTemplateScratchesScratchOutput) ToGetTemplateScratchesScratchOutput() GetTemplateScratchesScratchOutput

func (GetTemplateScratchesScratchOutput) ToGetTemplateScratchesScratchOutputWithContext

func (o GetTemplateScratchesScratchOutput) ToGetTemplateScratchesScratchOutputWithContext(ctx context.Context) GetTemplateScratchesScratchOutput

type GetTemplateScratchesScratchPreferenceParameter

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

type GetTemplateScratchesScratchPreferenceParameterArgs

type GetTemplateScratchesScratchPreferenceParameterArgs struct {
	// Priority parameter key.
	ParameterKey pulumi.StringInput `pulumi:"parameterKey"`
	// Priority parameter value.
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
}

func (GetTemplateScratchesScratchPreferenceParameterArgs) ElementType

func (GetTemplateScratchesScratchPreferenceParameterArgs) ToGetTemplateScratchesScratchPreferenceParameterOutput

func (i GetTemplateScratchesScratchPreferenceParameterArgs) ToGetTemplateScratchesScratchPreferenceParameterOutput() GetTemplateScratchesScratchPreferenceParameterOutput

func (GetTemplateScratchesScratchPreferenceParameterArgs) ToGetTemplateScratchesScratchPreferenceParameterOutputWithContext

func (i GetTemplateScratchesScratchPreferenceParameterArgs) ToGetTemplateScratchesScratchPreferenceParameterOutputWithContext(ctx context.Context) GetTemplateScratchesScratchPreferenceParameterOutput

type GetTemplateScratchesScratchPreferenceParameterArray

type GetTemplateScratchesScratchPreferenceParameterArray []GetTemplateScratchesScratchPreferenceParameterInput

func (GetTemplateScratchesScratchPreferenceParameterArray) ElementType

func (GetTemplateScratchesScratchPreferenceParameterArray) ToGetTemplateScratchesScratchPreferenceParameterArrayOutput

func (i GetTemplateScratchesScratchPreferenceParameterArray) ToGetTemplateScratchesScratchPreferenceParameterArrayOutput() GetTemplateScratchesScratchPreferenceParameterArrayOutput

func (GetTemplateScratchesScratchPreferenceParameterArray) ToGetTemplateScratchesScratchPreferenceParameterArrayOutputWithContext

func (i GetTemplateScratchesScratchPreferenceParameterArray) ToGetTemplateScratchesScratchPreferenceParameterArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchPreferenceParameterArrayOutput

type GetTemplateScratchesScratchPreferenceParameterArrayInput

type GetTemplateScratchesScratchPreferenceParameterArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchPreferenceParameterArrayOutput() GetTemplateScratchesScratchPreferenceParameterArrayOutput
	ToGetTemplateScratchesScratchPreferenceParameterArrayOutputWithContext(context.Context) GetTemplateScratchesScratchPreferenceParameterArrayOutput
}

GetTemplateScratchesScratchPreferenceParameterArrayInput is an input type that accepts GetTemplateScratchesScratchPreferenceParameterArray and GetTemplateScratchesScratchPreferenceParameterArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchPreferenceParameterArrayInput` via:

GetTemplateScratchesScratchPreferenceParameterArray{ GetTemplateScratchesScratchPreferenceParameterArgs{...} }

type GetTemplateScratchesScratchPreferenceParameterArrayOutput

type GetTemplateScratchesScratchPreferenceParameterArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchPreferenceParameterArrayOutput) ElementType

func (GetTemplateScratchesScratchPreferenceParameterArrayOutput) Index

func (GetTemplateScratchesScratchPreferenceParameterArrayOutput) ToGetTemplateScratchesScratchPreferenceParameterArrayOutput

func (GetTemplateScratchesScratchPreferenceParameterArrayOutput) ToGetTemplateScratchesScratchPreferenceParameterArrayOutputWithContext

func (o GetTemplateScratchesScratchPreferenceParameterArrayOutput) ToGetTemplateScratchesScratchPreferenceParameterArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchPreferenceParameterArrayOutput

type GetTemplateScratchesScratchPreferenceParameterInput

type GetTemplateScratchesScratchPreferenceParameterInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchPreferenceParameterOutput() GetTemplateScratchesScratchPreferenceParameterOutput
	ToGetTemplateScratchesScratchPreferenceParameterOutputWithContext(context.Context) GetTemplateScratchesScratchPreferenceParameterOutput
}

GetTemplateScratchesScratchPreferenceParameterInput is an input type that accepts GetTemplateScratchesScratchPreferenceParameterArgs and GetTemplateScratchesScratchPreferenceParameterOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchPreferenceParameterInput` via:

GetTemplateScratchesScratchPreferenceParameterArgs{...}

type GetTemplateScratchesScratchPreferenceParameterOutput

type GetTemplateScratchesScratchPreferenceParameterOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchPreferenceParameterOutput) ElementType

func (GetTemplateScratchesScratchPreferenceParameterOutput) ParameterKey

Priority parameter key.

func (GetTemplateScratchesScratchPreferenceParameterOutput) ParameterValue

Priority parameter value.

func (GetTemplateScratchesScratchPreferenceParameterOutput) ToGetTemplateScratchesScratchPreferenceParameterOutput

func (GetTemplateScratchesScratchPreferenceParameterOutput) ToGetTemplateScratchesScratchPreferenceParameterOutputWithContext

func (o GetTemplateScratchesScratchPreferenceParameterOutput) ToGetTemplateScratchesScratchPreferenceParameterOutputWithContext(ctx context.Context) GetTemplateScratchesScratchPreferenceParameterOutput

type GetTemplateScratchesScratchSourceResource

type GetTemplateScratchesScratchSourceResource struct {
	// The ID of the Source Resource.
	ResourceId string `pulumi:"resourceId"`
	// The type of the Source resource.
	ResourceType string `pulumi:"resourceType"`
}

type GetTemplateScratchesScratchSourceResourceArgs

type GetTemplateScratchesScratchSourceResourceArgs struct {
	// The ID of the Source Resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The type of the Source resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
}

func (GetTemplateScratchesScratchSourceResourceArgs) ElementType

func (GetTemplateScratchesScratchSourceResourceArgs) ToGetTemplateScratchesScratchSourceResourceOutput

func (i GetTemplateScratchesScratchSourceResourceArgs) ToGetTemplateScratchesScratchSourceResourceOutput() GetTemplateScratchesScratchSourceResourceOutput

func (GetTemplateScratchesScratchSourceResourceArgs) ToGetTemplateScratchesScratchSourceResourceOutputWithContext

func (i GetTemplateScratchesScratchSourceResourceArgs) ToGetTemplateScratchesScratchSourceResourceOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceOutput

type GetTemplateScratchesScratchSourceResourceArray

type GetTemplateScratchesScratchSourceResourceArray []GetTemplateScratchesScratchSourceResourceInput

func (GetTemplateScratchesScratchSourceResourceArray) ElementType

func (GetTemplateScratchesScratchSourceResourceArray) ToGetTemplateScratchesScratchSourceResourceArrayOutput

func (i GetTemplateScratchesScratchSourceResourceArray) ToGetTemplateScratchesScratchSourceResourceArrayOutput() GetTemplateScratchesScratchSourceResourceArrayOutput

func (GetTemplateScratchesScratchSourceResourceArray) ToGetTemplateScratchesScratchSourceResourceArrayOutputWithContext

func (i GetTemplateScratchesScratchSourceResourceArray) ToGetTemplateScratchesScratchSourceResourceArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceArrayOutput

type GetTemplateScratchesScratchSourceResourceArrayInput

type GetTemplateScratchesScratchSourceResourceArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceResourceArrayOutput() GetTemplateScratchesScratchSourceResourceArrayOutput
	ToGetTemplateScratchesScratchSourceResourceArrayOutputWithContext(context.Context) GetTemplateScratchesScratchSourceResourceArrayOutput
}

GetTemplateScratchesScratchSourceResourceArrayInput is an input type that accepts GetTemplateScratchesScratchSourceResourceArray and GetTemplateScratchesScratchSourceResourceArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceResourceArrayInput` via:

GetTemplateScratchesScratchSourceResourceArray{ GetTemplateScratchesScratchSourceResourceArgs{...} }

type GetTemplateScratchesScratchSourceResourceArrayOutput

type GetTemplateScratchesScratchSourceResourceArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceResourceArrayOutput) ElementType

func (GetTemplateScratchesScratchSourceResourceArrayOutput) Index

func (GetTemplateScratchesScratchSourceResourceArrayOutput) ToGetTemplateScratchesScratchSourceResourceArrayOutput

func (GetTemplateScratchesScratchSourceResourceArrayOutput) ToGetTemplateScratchesScratchSourceResourceArrayOutputWithContext

func (o GetTemplateScratchesScratchSourceResourceArrayOutput) ToGetTemplateScratchesScratchSourceResourceArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceArrayOutput

type GetTemplateScratchesScratchSourceResourceGroup

type GetTemplateScratchesScratchSourceResourceGroup struct {
	// The ID of the Source Resource Group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// Source resource type filter list.
	ResourceTypeFilters []string `pulumi:"resourceTypeFilters"`
}

type GetTemplateScratchesScratchSourceResourceGroupArgs

type GetTemplateScratchesScratchSourceResourceGroupArgs struct {
	// The ID of the Source Resource Group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// Source resource type filter list.
	ResourceTypeFilters pulumi.StringArrayInput `pulumi:"resourceTypeFilters"`
}

func (GetTemplateScratchesScratchSourceResourceGroupArgs) ElementType

func (GetTemplateScratchesScratchSourceResourceGroupArgs) ToGetTemplateScratchesScratchSourceResourceGroupOutput

func (i GetTemplateScratchesScratchSourceResourceGroupArgs) ToGetTemplateScratchesScratchSourceResourceGroupOutput() GetTemplateScratchesScratchSourceResourceGroupOutput

func (GetTemplateScratchesScratchSourceResourceGroupArgs) ToGetTemplateScratchesScratchSourceResourceGroupOutputWithContext

func (i GetTemplateScratchesScratchSourceResourceGroupArgs) ToGetTemplateScratchesScratchSourceResourceGroupOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceGroupOutput

type GetTemplateScratchesScratchSourceResourceGroupArray

type GetTemplateScratchesScratchSourceResourceGroupArray []GetTemplateScratchesScratchSourceResourceGroupInput

func (GetTemplateScratchesScratchSourceResourceGroupArray) ElementType

func (GetTemplateScratchesScratchSourceResourceGroupArray) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutput

func (i GetTemplateScratchesScratchSourceResourceGroupArray) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutput() GetTemplateScratchesScratchSourceResourceGroupArrayOutput

func (GetTemplateScratchesScratchSourceResourceGroupArray) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutputWithContext

func (i GetTemplateScratchesScratchSourceResourceGroupArray) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceGroupArrayOutput

type GetTemplateScratchesScratchSourceResourceGroupArrayInput

type GetTemplateScratchesScratchSourceResourceGroupArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceResourceGroupArrayOutput() GetTemplateScratchesScratchSourceResourceGroupArrayOutput
	ToGetTemplateScratchesScratchSourceResourceGroupArrayOutputWithContext(context.Context) GetTemplateScratchesScratchSourceResourceGroupArrayOutput
}

GetTemplateScratchesScratchSourceResourceGroupArrayInput is an input type that accepts GetTemplateScratchesScratchSourceResourceGroupArray and GetTemplateScratchesScratchSourceResourceGroupArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceResourceGroupArrayInput` via:

GetTemplateScratchesScratchSourceResourceGroupArray{ GetTemplateScratchesScratchSourceResourceGroupArgs{...} }

type GetTemplateScratchesScratchSourceResourceGroupArrayOutput

type GetTemplateScratchesScratchSourceResourceGroupArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceResourceGroupArrayOutput) ElementType

func (GetTemplateScratchesScratchSourceResourceGroupArrayOutput) Index

func (GetTemplateScratchesScratchSourceResourceGroupArrayOutput) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutput

func (GetTemplateScratchesScratchSourceResourceGroupArrayOutput) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutputWithContext

func (o GetTemplateScratchesScratchSourceResourceGroupArrayOutput) ToGetTemplateScratchesScratchSourceResourceGroupArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceGroupArrayOutput

type GetTemplateScratchesScratchSourceResourceGroupInput

type GetTemplateScratchesScratchSourceResourceGroupInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceResourceGroupOutput() GetTemplateScratchesScratchSourceResourceGroupOutput
	ToGetTemplateScratchesScratchSourceResourceGroupOutputWithContext(context.Context) GetTemplateScratchesScratchSourceResourceGroupOutput
}

GetTemplateScratchesScratchSourceResourceGroupInput is an input type that accepts GetTemplateScratchesScratchSourceResourceGroupArgs and GetTemplateScratchesScratchSourceResourceGroupOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceResourceGroupInput` via:

GetTemplateScratchesScratchSourceResourceGroupArgs{...}

type GetTemplateScratchesScratchSourceResourceGroupOutput

type GetTemplateScratchesScratchSourceResourceGroupOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceResourceGroupOutput) ElementType

func (GetTemplateScratchesScratchSourceResourceGroupOutput) ResourceGroupId

The ID of the Source Resource Group.

func (GetTemplateScratchesScratchSourceResourceGroupOutput) ResourceTypeFilters

Source resource type filter list.

func (GetTemplateScratchesScratchSourceResourceGroupOutput) ToGetTemplateScratchesScratchSourceResourceGroupOutput

func (GetTemplateScratchesScratchSourceResourceGroupOutput) ToGetTemplateScratchesScratchSourceResourceGroupOutputWithContext

func (o GetTemplateScratchesScratchSourceResourceGroupOutput) ToGetTemplateScratchesScratchSourceResourceGroupOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceGroupOutput

type GetTemplateScratchesScratchSourceResourceInput

type GetTemplateScratchesScratchSourceResourceInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceResourceOutput() GetTemplateScratchesScratchSourceResourceOutput
	ToGetTemplateScratchesScratchSourceResourceOutputWithContext(context.Context) GetTemplateScratchesScratchSourceResourceOutput
}

GetTemplateScratchesScratchSourceResourceInput is an input type that accepts GetTemplateScratchesScratchSourceResourceArgs and GetTemplateScratchesScratchSourceResourceOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceResourceInput` via:

GetTemplateScratchesScratchSourceResourceArgs{...}

type GetTemplateScratchesScratchSourceResourceOutput

type GetTemplateScratchesScratchSourceResourceOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceResourceOutput) ElementType

func (GetTemplateScratchesScratchSourceResourceOutput) ResourceId

The ID of the Source Resource.

func (GetTemplateScratchesScratchSourceResourceOutput) ResourceType

The type of the Source resource.

func (GetTemplateScratchesScratchSourceResourceOutput) ToGetTemplateScratchesScratchSourceResourceOutput

func (o GetTemplateScratchesScratchSourceResourceOutput) ToGetTemplateScratchesScratchSourceResourceOutput() GetTemplateScratchesScratchSourceResourceOutput

func (GetTemplateScratchesScratchSourceResourceOutput) ToGetTemplateScratchesScratchSourceResourceOutputWithContext

func (o GetTemplateScratchesScratchSourceResourceOutput) ToGetTemplateScratchesScratchSourceResourceOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceResourceOutput

type GetTemplateScratchesScratchSourceTag

type GetTemplateScratchesScratchSourceTag struct {
	// Source label.
	ResourceTags map[string]interface{} `pulumi:"resourceTags"`
	// Source resource type filter list.
	ResourceTypeFilters []string `pulumi:"resourceTypeFilters"`
}

type GetTemplateScratchesScratchSourceTagArgs

type GetTemplateScratchesScratchSourceTagArgs struct {
	// Source label.
	ResourceTags pulumi.MapInput `pulumi:"resourceTags"`
	// Source resource type filter list.
	ResourceTypeFilters pulumi.StringArrayInput `pulumi:"resourceTypeFilters"`
}

func (GetTemplateScratchesScratchSourceTagArgs) ElementType

func (GetTemplateScratchesScratchSourceTagArgs) ToGetTemplateScratchesScratchSourceTagOutput

func (i GetTemplateScratchesScratchSourceTagArgs) ToGetTemplateScratchesScratchSourceTagOutput() GetTemplateScratchesScratchSourceTagOutput

func (GetTemplateScratchesScratchSourceTagArgs) ToGetTemplateScratchesScratchSourceTagOutputWithContext

func (i GetTemplateScratchesScratchSourceTagArgs) ToGetTemplateScratchesScratchSourceTagOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceTagOutput

type GetTemplateScratchesScratchSourceTagArray

type GetTemplateScratchesScratchSourceTagArray []GetTemplateScratchesScratchSourceTagInput

func (GetTemplateScratchesScratchSourceTagArray) ElementType

func (GetTemplateScratchesScratchSourceTagArray) ToGetTemplateScratchesScratchSourceTagArrayOutput

func (i GetTemplateScratchesScratchSourceTagArray) ToGetTemplateScratchesScratchSourceTagArrayOutput() GetTemplateScratchesScratchSourceTagArrayOutput

func (GetTemplateScratchesScratchSourceTagArray) ToGetTemplateScratchesScratchSourceTagArrayOutputWithContext

func (i GetTemplateScratchesScratchSourceTagArray) ToGetTemplateScratchesScratchSourceTagArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceTagArrayOutput

type GetTemplateScratchesScratchSourceTagArrayInput

type GetTemplateScratchesScratchSourceTagArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceTagArrayOutput() GetTemplateScratchesScratchSourceTagArrayOutput
	ToGetTemplateScratchesScratchSourceTagArrayOutputWithContext(context.Context) GetTemplateScratchesScratchSourceTagArrayOutput
}

GetTemplateScratchesScratchSourceTagArrayInput is an input type that accepts GetTemplateScratchesScratchSourceTagArray and GetTemplateScratchesScratchSourceTagArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceTagArrayInput` via:

GetTemplateScratchesScratchSourceTagArray{ GetTemplateScratchesScratchSourceTagArgs{...} }

type GetTemplateScratchesScratchSourceTagArrayOutput

type GetTemplateScratchesScratchSourceTagArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceTagArrayOutput) ElementType

func (GetTemplateScratchesScratchSourceTagArrayOutput) Index

func (GetTemplateScratchesScratchSourceTagArrayOutput) ToGetTemplateScratchesScratchSourceTagArrayOutput

func (o GetTemplateScratchesScratchSourceTagArrayOutput) ToGetTemplateScratchesScratchSourceTagArrayOutput() GetTemplateScratchesScratchSourceTagArrayOutput

func (GetTemplateScratchesScratchSourceTagArrayOutput) ToGetTemplateScratchesScratchSourceTagArrayOutputWithContext

func (o GetTemplateScratchesScratchSourceTagArrayOutput) ToGetTemplateScratchesScratchSourceTagArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceTagArrayOutput

type GetTemplateScratchesScratchSourceTagInput

type GetTemplateScratchesScratchSourceTagInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchSourceTagOutput() GetTemplateScratchesScratchSourceTagOutput
	ToGetTemplateScratchesScratchSourceTagOutputWithContext(context.Context) GetTemplateScratchesScratchSourceTagOutput
}

GetTemplateScratchesScratchSourceTagInput is an input type that accepts GetTemplateScratchesScratchSourceTagArgs and GetTemplateScratchesScratchSourceTagOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchSourceTagInput` via:

GetTemplateScratchesScratchSourceTagArgs{...}

type GetTemplateScratchesScratchSourceTagOutput

type GetTemplateScratchesScratchSourceTagOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchSourceTagOutput) ElementType

func (GetTemplateScratchesScratchSourceTagOutput) ResourceTags

Source label.

func (GetTemplateScratchesScratchSourceTagOutput) ResourceTypeFilters

Source resource type filter list.

func (GetTemplateScratchesScratchSourceTagOutput) ToGetTemplateScratchesScratchSourceTagOutput

func (o GetTemplateScratchesScratchSourceTagOutput) ToGetTemplateScratchesScratchSourceTagOutput() GetTemplateScratchesScratchSourceTagOutput

func (GetTemplateScratchesScratchSourceTagOutput) ToGetTemplateScratchesScratchSourceTagOutputWithContext

func (o GetTemplateScratchesScratchSourceTagOutput) ToGetTemplateScratchesScratchSourceTagOutputWithContext(ctx context.Context) GetTemplateScratchesScratchSourceTagOutput

type GetTemplateScratchesScratchStack

type GetTemplateScratchesScratchStack struct {
	// The ID of the Resource stack.
	StackId string `pulumi:"stackId"`
}

type GetTemplateScratchesScratchStackArgs

type GetTemplateScratchesScratchStackArgs struct {
	// The ID of the Resource stack.
	StackId pulumi.StringInput `pulumi:"stackId"`
}

func (GetTemplateScratchesScratchStackArgs) ElementType

func (GetTemplateScratchesScratchStackArgs) ToGetTemplateScratchesScratchStackOutput

func (i GetTemplateScratchesScratchStackArgs) ToGetTemplateScratchesScratchStackOutput() GetTemplateScratchesScratchStackOutput

func (GetTemplateScratchesScratchStackArgs) ToGetTemplateScratchesScratchStackOutputWithContext

func (i GetTemplateScratchesScratchStackArgs) ToGetTemplateScratchesScratchStackOutputWithContext(ctx context.Context) GetTemplateScratchesScratchStackOutput

type GetTemplateScratchesScratchStackArray

type GetTemplateScratchesScratchStackArray []GetTemplateScratchesScratchStackInput

func (GetTemplateScratchesScratchStackArray) ElementType

func (GetTemplateScratchesScratchStackArray) ToGetTemplateScratchesScratchStackArrayOutput

func (i GetTemplateScratchesScratchStackArray) ToGetTemplateScratchesScratchStackArrayOutput() GetTemplateScratchesScratchStackArrayOutput

func (GetTemplateScratchesScratchStackArray) ToGetTemplateScratchesScratchStackArrayOutputWithContext

func (i GetTemplateScratchesScratchStackArray) ToGetTemplateScratchesScratchStackArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchStackArrayOutput

type GetTemplateScratchesScratchStackArrayInput

type GetTemplateScratchesScratchStackArrayInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchStackArrayOutput() GetTemplateScratchesScratchStackArrayOutput
	ToGetTemplateScratchesScratchStackArrayOutputWithContext(context.Context) GetTemplateScratchesScratchStackArrayOutput
}

GetTemplateScratchesScratchStackArrayInput is an input type that accepts GetTemplateScratchesScratchStackArray and GetTemplateScratchesScratchStackArrayOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchStackArrayInput` via:

GetTemplateScratchesScratchStackArray{ GetTemplateScratchesScratchStackArgs{...} }

type GetTemplateScratchesScratchStackArrayOutput

type GetTemplateScratchesScratchStackArrayOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchStackArrayOutput) ElementType

func (GetTemplateScratchesScratchStackArrayOutput) Index

func (GetTemplateScratchesScratchStackArrayOutput) ToGetTemplateScratchesScratchStackArrayOutput

func (o GetTemplateScratchesScratchStackArrayOutput) ToGetTemplateScratchesScratchStackArrayOutput() GetTemplateScratchesScratchStackArrayOutput

func (GetTemplateScratchesScratchStackArrayOutput) ToGetTemplateScratchesScratchStackArrayOutputWithContext

func (o GetTemplateScratchesScratchStackArrayOutput) ToGetTemplateScratchesScratchStackArrayOutputWithContext(ctx context.Context) GetTemplateScratchesScratchStackArrayOutput

type GetTemplateScratchesScratchStackInput

type GetTemplateScratchesScratchStackInput interface {
	pulumi.Input

	ToGetTemplateScratchesScratchStackOutput() GetTemplateScratchesScratchStackOutput
	ToGetTemplateScratchesScratchStackOutputWithContext(context.Context) GetTemplateScratchesScratchStackOutput
}

GetTemplateScratchesScratchStackInput is an input type that accepts GetTemplateScratchesScratchStackArgs and GetTemplateScratchesScratchStackOutput values. You can construct a concrete instance of `GetTemplateScratchesScratchStackInput` via:

GetTemplateScratchesScratchStackArgs{...}

type GetTemplateScratchesScratchStackOutput

type GetTemplateScratchesScratchStackOutput struct{ *pulumi.OutputState }

func (GetTemplateScratchesScratchStackOutput) ElementType

func (GetTemplateScratchesScratchStackOutput) StackId

The ID of the Resource stack.

func (GetTemplateScratchesScratchStackOutput) ToGetTemplateScratchesScratchStackOutput

func (o GetTemplateScratchesScratchStackOutput) ToGetTemplateScratchesScratchStackOutput() GetTemplateScratchesScratchStackOutput

func (GetTemplateScratchesScratchStackOutput) ToGetTemplateScratchesScratchStackOutputWithContext

func (o GetTemplateScratchesScratchStackOutput) ToGetTemplateScratchesScratchStackOutputWithContext(ctx context.Context) GetTemplateScratchesScratchStackOutput

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

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := ros.GetTemplates(ctx, &ros.GetTemplatesArgs{
			Ids: []string{
				"example_value",
			},
			NameRegex: pulumi.StringRef("the_resource_name"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("firstRosTemplateId", example.Templates[0].Id)
		return nil
	})
}

```

type GetTemplatesResultOutput

type GetTemplatesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getTemplates.

func (GetTemplatesResultOutput) ElementType

func (GetTemplatesResultOutput) ElementType() reflect.Type

func (GetTemplatesResultOutput) EnableDetails

func (o GetTemplatesResultOutput) EnableDetails() pulumi.BoolPtrOutput

func (GetTemplatesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetTemplatesResultOutput) Ids

func (GetTemplatesResultOutput) NameRegex

func (GetTemplatesResultOutput) Names

func (GetTemplatesResultOutput) OutputFile

func (GetTemplatesResultOutput) ShareType

func (GetTemplatesResultOutput) Tags

func (GetTemplatesResultOutput) TemplateName

func (GetTemplatesResultOutput) Templates

func (GetTemplatesResultOutput) ToGetTemplatesResultOutput

func (o GetTemplatesResultOutput) ToGetTemplatesResultOutput() GetTemplatesResultOutput

func (GetTemplatesResultOutput) ToGetTemplatesResultOutputWithContext

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

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(`    {
    	"Statement": [{
    		"Action": "Update:Delete",
    		"Resource": "*",
    		"Effect": "Allow",
    		"Principal": "*"
    	}]
    }

`)),

			TemplateBody: pulumi.String(fmt.Sprintf("    {\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

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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

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("    {\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

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

func (o StackGroupOutput) AccountIds() pulumi.StringPtrOutput

The list of target account IDs, in JSON format. A maximum of 20 accounts can be specified.

func (StackGroupOutput) AdministrationRoleName

func (o StackGroupOutput) AdministrationRoleName() pulumi.StringOutput

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.

func (StackGroupOutput) Description

func (o StackGroupOutput) Description() pulumi.StringPtrOutput

The description of the stack group.

func (StackGroupOutput) ElementType

func (StackGroupOutput) ElementType() reflect.Type

func (StackGroupOutput) ExecutionRoleName

func (o StackGroupOutput) ExecutionRoleName() pulumi.StringOutput

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.

func (StackGroupOutput) OperationDescription

func (o StackGroupOutput) OperationDescription() pulumi.StringPtrOutput

The description of the operation.

func (StackGroupOutput) OperationPreferences

func (o StackGroupOutput) OperationPreferences() pulumi.StringPtrOutput

The operation settings, in JSON format.

func (StackGroupOutput) Parameters

The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template.

func (StackGroupOutput) RegionIds

func (o StackGroupOutput) RegionIds() pulumi.StringPtrOutput

The list of target regions, in JSON format. A maximum of 20 accounts can be specified.

func (StackGroupOutput) StackGroupId

func (o StackGroupOutput) StackGroupId() pulumi.StringOutput

The id of Stack Group.

func (StackGroupOutput) StackGroupName

func (o StackGroupOutput) StackGroupName() pulumi.StringOutput

The name of the stack group. The name must be unique in a region.

func (StackGroupOutput) Status

The status of Stack Group.

func (StackGroupOutput) TemplateBody

func (o StackGroupOutput) TemplateBody() pulumi.StringPtrOutput

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.

func (StackGroupOutput) TemplateUrl

func (o StackGroupOutput) TemplateUrl() pulumi.StringPtrOutput

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.

func (StackGroupOutput) TemplateVersion

func (o StackGroupOutput) TemplateVersion() pulumi.StringPtrOutput

The version of the template.

func (StackGroupOutput) ToStackGroupOutput

func (o StackGroupOutput) ToStackGroupOutput() StackGroupOutput

func (StackGroupOutput) ToStackGroupOutputWithContext

func (o StackGroupOutput) ToStackGroupOutputWithContext(ctx context.Context) StackGroupOutput

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

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/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

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

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

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

func (*StackInstance) ElementType() reflect.Type

func (*StackInstance) ToStackInstanceOutput

func (i *StackInstance) ToStackInstanceOutput() StackInstanceOutput

func (*StackInstance) ToStackInstanceOutputWithContext

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

type StackInstanceArgs

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

func (StackInstanceArgs) ElementType() reflect.Type

type StackInstanceArray

type StackInstanceArray []StackInstanceInput

func (StackInstanceArray) ElementType

func (StackInstanceArray) ElementType() reflect.Type

func (StackInstanceArray) ToStackInstanceArrayOutput

func (i StackInstanceArray) ToStackInstanceArrayOutput() StackInstanceArrayOutput

func (StackInstanceArray) ToStackInstanceArrayOutputWithContext

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

type StackInstanceArrayInput

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

type StackInstanceArrayOutput struct{ *pulumi.OutputState }

func (StackInstanceArrayOutput) ElementType

func (StackInstanceArrayOutput) ElementType() reflect.Type

func (StackInstanceArrayOutput) Index

func (StackInstanceArrayOutput) ToStackInstanceArrayOutput

func (o StackInstanceArrayOutput) ToStackInstanceArrayOutput() StackInstanceArrayOutput

func (StackInstanceArrayOutput) ToStackInstanceArrayOutputWithContext

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

type StackInstanceInput

type StackInstanceInput interface {
	pulumi.Input

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

type StackInstanceMap

type StackInstanceMap map[string]StackInstanceInput

func (StackInstanceMap) ElementType

func (StackInstanceMap) ElementType() reflect.Type

func (StackInstanceMap) ToStackInstanceMapOutput

func (i StackInstanceMap) ToStackInstanceMapOutput() StackInstanceMapOutput

func (StackInstanceMap) ToStackInstanceMapOutputWithContext

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

type StackInstanceMapInput

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

type StackInstanceMapOutput struct{ *pulumi.OutputState }

func (StackInstanceMapOutput) ElementType

func (StackInstanceMapOutput) ElementType() reflect.Type

func (StackInstanceMapOutput) MapIndex

func (StackInstanceMapOutput) ToStackInstanceMapOutput

func (o StackInstanceMapOutput) ToStackInstanceMapOutput() StackInstanceMapOutput

func (StackInstanceMapOutput) ToStackInstanceMapOutputWithContext

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

type StackInstanceOutput

type StackInstanceOutput struct{ *pulumi.OutputState }

func (StackInstanceOutput) ElementType

func (StackInstanceOutput) ElementType() reflect.Type

func (StackInstanceOutput) OperationDescription

func (o StackInstanceOutput) OperationDescription() pulumi.StringPtrOutput

The operation description.

func (StackInstanceOutput) OperationPreferences

func (o StackInstanceOutput) OperationPreferences() pulumi.StringPtrOutput

The operation preferences. The operation settings. The following fields are supported:

func (StackInstanceOutput) ParameterOverrides

ParameterOverrides. See the following `Block parameterOverrides`.

func (StackInstanceOutput) RetainStacks

func (o StackInstanceOutput) RetainStacks() pulumi.BoolPtrOutput

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.

func (StackInstanceOutput) StackGroupName

func (o StackInstanceOutput) StackGroupName() pulumi.StringOutput

The name of the stack group.

func (StackInstanceOutput) StackInstanceAccountId

func (o StackInstanceOutput) StackInstanceAccountId() pulumi.StringOutput

The account to which the stack instance belongs.

func (StackInstanceOutput) StackInstanceRegionId

func (o StackInstanceOutput) StackInstanceRegionId() pulumi.StringOutput

The region of the stack instance.

func (StackInstanceOutput) Status

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 (StackInstanceOutput) TimeoutInMinutes

func (o StackInstanceOutput) TimeoutInMinutes() pulumi.StringPtrOutput

The timeout period that is specified for the stack creation request. Default value: `60`. Unit: `minutes`.

func (StackInstanceOutput) ToStackInstanceOutput

func (o StackInstanceOutput) ToStackInstanceOutput() StackInstanceOutput

func (StackInstanceOutput) ToStackInstanceOutputWithContext

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

type StackInstanceParameterOverride

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

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

func (StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutput

func (i StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutput() StackInstanceParameterOverrideOutput

func (StackInstanceParameterOverrideArgs) ToStackInstanceParameterOverrideOutputWithContext

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

type StackInstanceParameterOverrideArray

type StackInstanceParameterOverrideArray []StackInstanceParameterOverrideInput

func (StackInstanceParameterOverrideArray) ElementType

func (StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutput

func (i StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutput() StackInstanceParameterOverrideArrayOutput

func (StackInstanceParameterOverrideArray) ToStackInstanceParameterOverrideArrayOutputWithContext

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

type StackInstanceParameterOverrideArrayInput

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

type StackInstanceParameterOverrideArrayOutput struct{ *pulumi.OutputState }

func (StackInstanceParameterOverrideArrayOutput) ElementType

func (StackInstanceParameterOverrideArrayOutput) Index

func (StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutput

func (o StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutput() StackInstanceParameterOverrideArrayOutput

func (StackInstanceParameterOverrideArrayOutput) ToStackInstanceParameterOverrideArrayOutputWithContext

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

type StackInstanceParameterOverrideInput

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

type StackInstanceParameterOverrideOutput struct{ *pulumi.OutputState }

func (StackInstanceParameterOverrideOutput) ElementType

func (StackInstanceParameterOverrideOutput) ParameterKey

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

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

func (o StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutput() StackInstanceParameterOverrideOutput

func (StackInstanceParameterOverrideOutput) ToStackInstanceParameterOverrideOutputWithContext

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

type StackInstanceState

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

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

func (o StackOutput) CreateOption() pulumi.StringPtrOutput

Specifies whether to delete the stack after it is created.

func (StackOutput) DeletionProtection

func (o StackOutput) DeletionProtection() pulumi.StringPtrOutput

Specifies whether to enable deletion protection on the stack. Valid values: `Disabled`, `Enabled`. Default to: `Disabled`

func (StackOutput) DisableRollback

func (o StackOutput) DisableRollback() pulumi.BoolPtrOutput

Specifies whether to disable rollback on stack creation failure. Default to: `false`.

func (StackOutput) ElementType

func (StackOutput) ElementType() reflect.Type

func (StackOutput) NotificationUrls

func (o StackOutput) NotificationUrls() pulumi.StringArrayOutput

The callback URL for receiving stack event N. Only HTTP POST is supported. Maximum value of N: 5.

func (StackOutput) Parameters

func (o StackOutput) Parameters() StackParameterArrayOutput

The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template.

func (StackOutput) RamRoleName

func (o StackOutput) RamRoleName() pulumi.StringPtrOutput

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.

func (StackOutput) ReplacementOption

func (o StackOutput) ReplacementOption() pulumi.StringPtrOutput

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.

func (StackOutput) RetainAllResources

func (o StackOutput) RetainAllResources() pulumi.BoolPtrOutput

The retain all resources.

func (StackOutput) RetainResources

func (o StackOutput) RetainResources() pulumi.StringArrayOutput

Specifies whether to retain the resources in the stack.

func (StackOutput) StackName

func (o StackOutput) StackName() pulumi.StringOutput

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 (StackOutput) StackPolicyBody

func (o StackOutput) StackPolicyBody() pulumi.StringPtrOutput

The structure that contains the stack policy body. The stack policy body must be 1 to 16,384 bytes in length.

func (StackOutput) StackPolicyDuringUpdateBody

func (o StackOutput) StackPolicyDuringUpdateBody() pulumi.StringPtrOutput

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.

func (StackOutput) StackPolicyDuringUpdateUrl

func (o StackOutput) StackPolicyDuringUpdateUrl() pulumi.StringPtrOutput

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.

func (StackOutput) StackPolicyUrl

func (o StackOutput) StackPolicyUrl() pulumi.StringPtrOutput

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.

func (StackOutput) Status

func (o StackOutput) Status() pulumi.StringOutput

The status of Stack.

func (StackOutput) Tags

func (o StackOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (StackOutput) TemplateBody

func (o StackOutput) TemplateBody() pulumi.StringPtrOutput

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.

func (StackOutput) TemplateUrl

func (o StackOutput) TemplateUrl() pulumi.StringPtrOutput

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.

func (StackOutput) TemplateVersion

func (o StackOutput) TemplateVersion() pulumi.StringPtrOutput

The version of the template.

func (StackOutput) TimeoutInMinutes

func (o StackOutput) TimeoutInMinutes() pulumi.IntPtrOutput

The timeout period that is specified for the stack creation request. Default to: `60`.

func (StackOutput) ToStackOutput

func (o StackOutput) ToStackOutput() StackOutput

func (StackOutput) ToStackOutputWithContext

func (o StackOutput) ToStackOutputWithContext(ctx context.Context) StackOutput

func (StackOutput) UsePreviousParameters

func (o StackOutput) UsePreviousParameters() pulumi.BoolPtrOutput

Specifies whether to use the values that were passed last time for the parameters that you do not specify in the current request.

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 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/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ros.NewTemplate(ctx, "example", &ros.TemplateArgs{
			TemplateBody: pulumi.String(fmt.Sprintf("    {\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

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

func (o TemplateOutput) Description() pulumi.StringPtrOutput

The description of the template. The description can be up to 256 characters in length.

func (TemplateOutput) ElementType

func (TemplateOutput) ElementType() reflect.Type

func (TemplateOutput) Tags

func (o TemplateOutput) Tags() pulumi.MapOutput

A mapping of tags to assign to the resource.

func (TemplateOutput) TemplateBody

func (o TemplateOutput) TemplateBody() pulumi.StringPtrOutput

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 (TemplateOutput) TemplateName

func (o TemplateOutput) TemplateName() pulumi.StringOutput

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

func (TemplateOutput) TemplateUrl

func (o TemplateOutput) TemplateUrl() pulumi.StringPtrOutput

The template url.

func (TemplateOutput) ToTemplateOutput

func (o TemplateOutput) ToTemplateOutput() TemplateOutput

func (TemplateOutput) ToTemplateOutputWithContext

func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) TemplateOutput

type TemplateScratch

type TemplateScratch struct {
	pulumi.CustomResourceState

	// The Description of the Template Scratch.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The execution mode. Valid Values: `Async` or `Sync`.
	ExecutionMode pulumi.StringPtrOutput `pulumi:"executionMode"`
	// Logical ID generation strategy. Valid Values: `LongTypePrefixAndIndexSuffix`, `LongTypePrefixAndHashSuffix` and `ShortTypePrefixAndHashSuffix`.
	LogicalIdStrategy pulumi.StringOutput `pulumi:"logicalIdStrategy"`
	// Priority parameter. See the following `Block preferenceParameters`.
	PreferenceParameters TemplateScratchPreferenceParameterArrayOutput `pulumi:"preferenceParameters"`
	// Source resource grouping. See the following `Block sourceResourceGroup`.
	SourceResourceGroup TemplateScratchSourceResourceGroupPtrOutput `pulumi:"sourceResourceGroup"`
	// Source resource. See the following `Block sourceResources`.
	SourceResources TemplateScratchSourceResourceArrayOutput `pulumi:"sourceResources"`
	// Source tag. See the following `Block sourceTag`.
	SourceTag TemplateScratchSourceTagPtrOutput `pulumi:"sourceTag"`
	// The status of the resource.
	Status pulumi.StringOutput `pulumi:"status"`
	// The type of the Template scan. Valid Values: `ResourceImport` or `ArchitectureReplication`.
	TemplateScratchType pulumi.StringOutput `pulumi:"templateScratchType"`
}

Provides a ROS Template Scratch resource.

For information about ROS Template Scratch and how to use it, see [What is Template Scratch](https://www.alibabacloud.com/help/zh/doc-detail/352074.html).

> **NOTE:** Available in v1.151.0+.

## Example Usage

Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
"github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ros"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := resourcemanager.GetResourceGroups(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = ros.NewTemplateScratch(ctx, "example", &ros.TemplateScratchArgs{
			Description:         pulumi.String("tf_testacc"),
			TemplateScratchType: pulumi.String("ResourceImport"),
			PreferenceParameters: ros.TemplateScratchPreferenceParameterArray{
				&ros.TemplateScratchPreferenceParameterArgs{
					ParameterKey:   pulumi.String("DeletionPolicy"),
					ParameterValue: pulumi.String("Retain"),
				},
			},
			SourceResourceGroup: &ros.TemplateScratchSourceResourceGroupArgs{
				ResourceGroupId: pulumi.String(_default.Ids[0]),
				ResourceTypeFilters: pulumi.StringArray{
					pulumi.String("ALIYUN::ECS::VPC"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ROS Template Scratch can be imported using the id, e.g.

```sh

$ pulumi import alicloud:ros/templateScratch:TemplateScratch example <id>

```

func GetTemplateScratch

func GetTemplateScratch(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateScratchState, opts ...pulumi.ResourceOption) (*TemplateScratch, error)

GetTemplateScratch gets an existing TemplateScratch 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 NewTemplateScratch

func NewTemplateScratch(ctx *pulumi.Context,
	name string, args *TemplateScratchArgs, opts ...pulumi.ResourceOption) (*TemplateScratch, error)

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

func (*TemplateScratch) ElementType

func (*TemplateScratch) ElementType() reflect.Type

func (*TemplateScratch) ToTemplateScratchOutput

func (i *TemplateScratch) ToTemplateScratchOutput() TemplateScratchOutput

func (*TemplateScratch) ToTemplateScratchOutputWithContext

func (i *TemplateScratch) ToTemplateScratchOutputWithContext(ctx context.Context) TemplateScratchOutput

type TemplateScratchArgs

type TemplateScratchArgs struct {
	// The Description of the Template Scratch.
	Description pulumi.StringPtrInput
	// The execution mode. Valid Values: `Async` or `Sync`.
	ExecutionMode pulumi.StringPtrInput
	// Logical ID generation strategy. Valid Values: `LongTypePrefixAndIndexSuffix`, `LongTypePrefixAndHashSuffix` and `ShortTypePrefixAndHashSuffix`.
	LogicalIdStrategy pulumi.StringPtrInput
	// Priority parameter. See the following `Block preferenceParameters`.
	PreferenceParameters TemplateScratchPreferenceParameterArrayInput
	// Source resource grouping. See the following `Block sourceResourceGroup`.
	SourceResourceGroup TemplateScratchSourceResourceGroupPtrInput
	// Source resource. See the following `Block sourceResources`.
	SourceResources TemplateScratchSourceResourceArrayInput
	// Source tag. See the following `Block sourceTag`.
	SourceTag TemplateScratchSourceTagPtrInput
	// The type of the Template scan. Valid Values: `ResourceImport` or `ArchitectureReplication`.
	TemplateScratchType pulumi.StringInput
}

The set of arguments for constructing a TemplateScratch resource.

func (TemplateScratchArgs) ElementType

func (TemplateScratchArgs) ElementType() reflect.Type

type TemplateScratchArray

type TemplateScratchArray []TemplateScratchInput

func (TemplateScratchArray) ElementType

func (TemplateScratchArray) ElementType() reflect.Type

func (TemplateScratchArray) ToTemplateScratchArrayOutput

func (i TemplateScratchArray) ToTemplateScratchArrayOutput() TemplateScratchArrayOutput

func (TemplateScratchArray) ToTemplateScratchArrayOutputWithContext

func (i TemplateScratchArray) ToTemplateScratchArrayOutputWithContext(ctx context.Context) TemplateScratchArrayOutput

type TemplateScratchArrayInput

type TemplateScratchArrayInput interface {
	pulumi.Input

	ToTemplateScratchArrayOutput() TemplateScratchArrayOutput
	ToTemplateScratchArrayOutputWithContext(context.Context) TemplateScratchArrayOutput
}

TemplateScratchArrayInput is an input type that accepts TemplateScratchArray and TemplateScratchArrayOutput values. You can construct a concrete instance of `TemplateScratchArrayInput` via:

TemplateScratchArray{ TemplateScratchArgs{...} }

type TemplateScratchArrayOutput

type TemplateScratchArrayOutput struct{ *pulumi.OutputState }

func (TemplateScratchArrayOutput) ElementType

func (TemplateScratchArrayOutput) ElementType() reflect.Type

func (TemplateScratchArrayOutput) Index

func (TemplateScratchArrayOutput) ToTemplateScratchArrayOutput

func (o TemplateScratchArrayOutput) ToTemplateScratchArrayOutput() TemplateScratchArrayOutput

func (TemplateScratchArrayOutput) ToTemplateScratchArrayOutputWithContext

func (o TemplateScratchArrayOutput) ToTemplateScratchArrayOutputWithContext(ctx context.Context) TemplateScratchArrayOutput

type TemplateScratchInput

type TemplateScratchInput interface {
	pulumi.Input

	ToTemplateScratchOutput() TemplateScratchOutput
	ToTemplateScratchOutputWithContext(ctx context.Context) TemplateScratchOutput
}

type TemplateScratchMap

type TemplateScratchMap map[string]TemplateScratchInput

func (TemplateScratchMap) ElementType

func (TemplateScratchMap) ElementType() reflect.Type

func (TemplateScratchMap) ToTemplateScratchMapOutput

func (i TemplateScratchMap) ToTemplateScratchMapOutput() TemplateScratchMapOutput

func (TemplateScratchMap) ToTemplateScratchMapOutputWithContext

func (i TemplateScratchMap) ToTemplateScratchMapOutputWithContext(ctx context.Context) TemplateScratchMapOutput

type TemplateScratchMapInput

type TemplateScratchMapInput interface {
	pulumi.Input

	ToTemplateScratchMapOutput() TemplateScratchMapOutput
	ToTemplateScratchMapOutputWithContext(context.Context) TemplateScratchMapOutput
}

TemplateScratchMapInput is an input type that accepts TemplateScratchMap and TemplateScratchMapOutput values. You can construct a concrete instance of `TemplateScratchMapInput` via:

TemplateScratchMap{ "key": TemplateScratchArgs{...} }

type TemplateScratchMapOutput

type TemplateScratchMapOutput struct{ *pulumi.OutputState }

func (TemplateScratchMapOutput) ElementType

func (TemplateScratchMapOutput) ElementType() reflect.Type

func (TemplateScratchMapOutput) MapIndex

func (TemplateScratchMapOutput) ToTemplateScratchMapOutput

func (o TemplateScratchMapOutput) ToTemplateScratchMapOutput() TemplateScratchMapOutput

func (TemplateScratchMapOutput) ToTemplateScratchMapOutputWithContext

func (o TemplateScratchMapOutput) ToTemplateScratchMapOutputWithContext(ctx context.Context) TemplateScratchMapOutput

type TemplateScratchOutput

type TemplateScratchOutput struct{ *pulumi.OutputState }

func (TemplateScratchOutput) Description

The Description of the Template Scratch.

func (TemplateScratchOutput) ElementType

func (TemplateScratchOutput) ElementType() reflect.Type

func (TemplateScratchOutput) ExecutionMode

func (o TemplateScratchOutput) ExecutionMode() pulumi.StringPtrOutput

The execution mode. Valid Values: `Async` or `Sync`.

func (TemplateScratchOutput) LogicalIdStrategy

func (o TemplateScratchOutput) LogicalIdStrategy() pulumi.StringOutput

Logical ID generation strategy. Valid Values: `LongTypePrefixAndIndexSuffix`, `LongTypePrefixAndHashSuffix` and `ShortTypePrefixAndHashSuffix`.

func (TemplateScratchOutput) PreferenceParameters

Priority parameter. See the following `Block preferenceParameters`.

func (TemplateScratchOutput) SourceResourceGroup

Source resource grouping. See the following `Block sourceResourceGroup`.

func (TemplateScratchOutput) SourceResources

Source resource. See the following `Block sourceResources`.

func (TemplateScratchOutput) SourceTag

Source tag. See the following `Block sourceTag`.

func (TemplateScratchOutput) Status

The status of the resource.

func (TemplateScratchOutput) TemplateScratchType

func (o TemplateScratchOutput) TemplateScratchType() pulumi.StringOutput

The type of the Template scan. Valid Values: `ResourceImport` or `ArchitectureReplication`.

func (TemplateScratchOutput) ToTemplateScratchOutput

func (o TemplateScratchOutput) ToTemplateScratchOutput() TemplateScratchOutput

func (TemplateScratchOutput) ToTemplateScratchOutputWithContext

func (o TemplateScratchOutput) ToTemplateScratchOutputWithContext(ctx context.Context) TemplateScratchOutput

type TemplateScratchPreferenceParameter

type TemplateScratchPreferenceParameter struct {
	// Priority parameter key. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).
	ParameterKey string `pulumi:"parameterKey"`
	// Priority parameter value. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).
	ParameterValue string `pulumi:"parameterValue"`
}

type TemplateScratchPreferenceParameterArgs

type TemplateScratchPreferenceParameterArgs struct {
	// Priority parameter key. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).
	ParameterKey pulumi.StringInput `pulumi:"parameterKey"`
	// Priority parameter value. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).
	ParameterValue pulumi.StringInput `pulumi:"parameterValue"`
}

func (TemplateScratchPreferenceParameterArgs) ElementType

func (TemplateScratchPreferenceParameterArgs) ToTemplateScratchPreferenceParameterOutput

func (i TemplateScratchPreferenceParameterArgs) ToTemplateScratchPreferenceParameterOutput() TemplateScratchPreferenceParameterOutput

func (TemplateScratchPreferenceParameterArgs) ToTemplateScratchPreferenceParameterOutputWithContext

func (i TemplateScratchPreferenceParameterArgs) ToTemplateScratchPreferenceParameterOutputWithContext(ctx context.Context) TemplateScratchPreferenceParameterOutput

type TemplateScratchPreferenceParameterArray

type TemplateScratchPreferenceParameterArray []TemplateScratchPreferenceParameterInput

func (TemplateScratchPreferenceParameterArray) ElementType

func (TemplateScratchPreferenceParameterArray) ToTemplateScratchPreferenceParameterArrayOutput

func (i TemplateScratchPreferenceParameterArray) ToTemplateScratchPreferenceParameterArrayOutput() TemplateScratchPreferenceParameterArrayOutput

func (TemplateScratchPreferenceParameterArray) ToTemplateScratchPreferenceParameterArrayOutputWithContext

func (i TemplateScratchPreferenceParameterArray) ToTemplateScratchPreferenceParameterArrayOutputWithContext(ctx context.Context) TemplateScratchPreferenceParameterArrayOutput

type TemplateScratchPreferenceParameterArrayInput

type TemplateScratchPreferenceParameterArrayInput interface {
	pulumi.Input

	ToTemplateScratchPreferenceParameterArrayOutput() TemplateScratchPreferenceParameterArrayOutput
	ToTemplateScratchPreferenceParameterArrayOutputWithContext(context.Context) TemplateScratchPreferenceParameterArrayOutput
}

TemplateScratchPreferenceParameterArrayInput is an input type that accepts TemplateScratchPreferenceParameterArray and TemplateScratchPreferenceParameterArrayOutput values. You can construct a concrete instance of `TemplateScratchPreferenceParameterArrayInput` via:

TemplateScratchPreferenceParameterArray{ TemplateScratchPreferenceParameterArgs{...} }

type TemplateScratchPreferenceParameterArrayOutput

type TemplateScratchPreferenceParameterArrayOutput struct{ *pulumi.OutputState }

func (TemplateScratchPreferenceParameterArrayOutput) ElementType

func (TemplateScratchPreferenceParameterArrayOutput) Index

func (TemplateScratchPreferenceParameterArrayOutput) ToTemplateScratchPreferenceParameterArrayOutput

func (o TemplateScratchPreferenceParameterArrayOutput) ToTemplateScratchPreferenceParameterArrayOutput() TemplateScratchPreferenceParameterArrayOutput

func (TemplateScratchPreferenceParameterArrayOutput) ToTemplateScratchPreferenceParameterArrayOutputWithContext

func (o TemplateScratchPreferenceParameterArrayOutput) ToTemplateScratchPreferenceParameterArrayOutputWithContext(ctx context.Context) TemplateScratchPreferenceParameterArrayOutput

type TemplateScratchPreferenceParameterInput

type TemplateScratchPreferenceParameterInput interface {
	pulumi.Input

	ToTemplateScratchPreferenceParameterOutput() TemplateScratchPreferenceParameterOutput
	ToTemplateScratchPreferenceParameterOutputWithContext(context.Context) TemplateScratchPreferenceParameterOutput
}

TemplateScratchPreferenceParameterInput is an input type that accepts TemplateScratchPreferenceParameterArgs and TemplateScratchPreferenceParameterOutput values. You can construct a concrete instance of `TemplateScratchPreferenceParameterInput` via:

TemplateScratchPreferenceParameterArgs{...}

type TemplateScratchPreferenceParameterOutput

type TemplateScratchPreferenceParameterOutput struct{ *pulumi.OutputState }

func (TemplateScratchPreferenceParameterOutput) ElementType

func (TemplateScratchPreferenceParameterOutput) ParameterKey

Priority parameter key. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).

func (TemplateScratchPreferenceParameterOutput) ParameterValue

Priority parameter value. For more information about values, see [supplementary instructions for request parameters](https://www.alibabacloud.com/help/zh/doc-detail/358846.html#h2-url-4).

func (TemplateScratchPreferenceParameterOutput) ToTemplateScratchPreferenceParameterOutput

func (o TemplateScratchPreferenceParameterOutput) ToTemplateScratchPreferenceParameterOutput() TemplateScratchPreferenceParameterOutput

func (TemplateScratchPreferenceParameterOutput) ToTemplateScratchPreferenceParameterOutputWithContext

func (o TemplateScratchPreferenceParameterOutput) ToTemplateScratchPreferenceParameterOutputWithContext(ctx context.Context) TemplateScratchPreferenceParameterOutput

type TemplateScratchSourceResource

type TemplateScratchSourceResource struct {
	// The ID of the Source Resource.
	ResourceId string `pulumi:"resourceId"`
	// The type of the Source resource.
	ResourceType string `pulumi:"resourceType"`
}

type TemplateScratchSourceResourceArgs

type TemplateScratchSourceResourceArgs struct {
	// The ID of the Source Resource.
	ResourceId pulumi.StringInput `pulumi:"resourceId"`
	// The type of the Source resource.
	ResourceType pulumi.StringInput `pulumi:"resourceType"`
}

func (TemplateScratchSourceResourceArgs) ElementType

func (TemplateScratchSourceResourceArgs) ToTemplateScratchSourceResourceOutput

func (i TemplateScratchSourceResourceArgs) ToTemplateScratchSourceResourceOutput() TemplateScratchSourceResourceOutput

func (TemplateScratchSourceResourceArgs) ToTemplateScratchSourceResourceOutputWithContext

func (i TemplateScratchSourceResourceArgs) ToTemplateScratchSourceResourceOutputWithContext(ctx context.Context) TemplateScratchSourceResourceOutput

type TemplateScratchSourceResourceArray

type TemplateScratchSourceResourceArray []TemplateScratchSourceResourceInput

func (TemplateScratchSourceResourceArray) ElementType

func (TemplateScratchSourceResourceArray) ToTemplateScratchSourceResourceArrayOutput

func (i TemplateScratchSourceResourceArray) ToTemplateScratchSourceResourceArrayOutput() TemplateScratchSourceResourceArrayOutput

func (TemplateScratchSourceResourceArray) ToTemplateScratchSourceResourceArrayOutputWithContext

func (i TemplateScratchSourceResourceArray) ToTemplateScratchSourceResourceArrayOutputWithContext(ctx context.Context) TemplateScratchSourceResourceArrayOutput

type TemplateScratchSourceResourceArrayInput

type TemplateScratchSourceResourceArrayInput interface {
	pulumi.Input

	ToTemplateScratchSourceResourceArrayOutput() TemplateScratchSourceResourceArrayOutput
	ToTemplateScratchSourceResourceArrayOutputWithContext(context.Context) TemplateScratchSourceResourceArrayOutput
}

TemplateScratchSourceResourceArrayInput is an input type that accepts TemplateScratchSourceResourceArray and TemplateScratchSourceResourceArrayOutput values. You can construct a concrete instance of `TemplateScratchSourceResourceArrayInput` via:

TemplateScratchSourceResourceArray{ TemplateScratchSourceResourceArgs{...} }

type TemplateScratchSourceResourceArrayOutput

type TemplateScratchSourceResourceArrayOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceResourceArrayOutput) ElementType

func (TemplateScratchSourceResourceArrayOutput) Index

func (TemplateScratchSourceResourceArrayOutput) ToTemplateScratchSourceResourceArrayOutput

func (o TemplateScratchSourceResourceArrayOutput) ToTemplateScratchSourceResourceArrayOutput() TemplateScratchSourceResourceArrayOutput

func (TemplateScratchSourceResourceArrayOutput) ToTemplateScratchSourceResourceArrayOutputWithContext

func (o TemplateScratchSourceResourceArrayOutput) ToTemplateScratchSourceResourceArrayOutputWithContext(ctx context.Context) TemplateScratchSourceResourceArrayOutput

type TemplateScratchSourceResourceGroup

type TemplateScratchSourceResourceGroup struct {
	// The ID of the Source Resource Group.
	ResourceGroupId string `pulumi:"resourceGroupId"`
	// Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.
	ResourceTypeFilters []string `pulumi:"resourceTypeFilters"`
}

type TemplateScratchSourceResourceGroupArgs

type TemplateScratchSourceResourceGroupArgs struct {
	// The ID of the Source Resource Group.
	ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"`
	// Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.
	ResourceTypeFilters pulumi.StringArrayInput `pulumi:"resourceTypeFilters"`
}

func (TemplateScratchSourceResourceGroupArgs) ElementType

func (TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupOutput

func (i TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupOutput() TemplateScratchSourceResourceGroupOutput

func (TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupOutputWithContext

func (i TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupOutputWithContext(ctx context.Context) TemplateScratchSourceResourceGroupOutput

func (TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupPtrOutput

func (i TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupPtrOutput() TemplateScratchSourceResourceGroupPtrOutput

func (TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupPtrOutputWithContext

func (i TemplateScratchSourceResourceGroupArgs) ToTemplateScratchSourceResourceGroupPtrOutputWithContext(ctx context.Context) TemplateScratchSourceResourceGroupPtrOutput

type TemplateScratchSourceResourceGroupInput

type TemplateScratchSourceResourceGroupInput interface {
	pulumi.Input

	ToTemplateScratchSourceResourceGroupOutput() TemplateScratchSourceResourceGroupOutput
	ToTemplateScratchSourceResourceGroupOutputWithContext(context.Context) TemplateScratchSourceResourceGroupOutput
}

TemplateScratchSourceResourceGroupInput is an input type that accepts TemplateScratchSourceResourceGroupArgs and TemplateScratchSourceResourceGroupOutput values. You can construct a concrete instance of `TemplateScratchSourceResourceGroupInput` via:

TemplateScratchSourceResourceGroupArgs{...}

type TemplateScratchSourceResourceGroupOutput

type TemplateScratchSourceResourceGroupOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceResourceGroupOutput) ElementType

func (TemplateScratchSourceResourceGroupOutput) ResourceGroupId

The ID of the Source Resource Group.

func (TemplateScratchSourceResourceGroupOutput) ResourceTypeFilters

Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.

func (TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupOutput

func (o TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupOutput() TemplateScratchSourceResourceGroupOutput

func (TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupOutputWithContext

func (o TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupOutputWithContext(ctx context.Context) TemplateScratchSourceResourceGroupOutput

func (TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupPtrOutput

func (o TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupPtrOutput() TemplateScratchSourceResourceGroupPtrOutput

func (TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupPtrOutputWithContext

func (o TemplateScratchSourceResourceGroupOutput) ToTemplateScratchSourceResourceGroupPtrOutputWithContext(ctx context.Context) TemplateScratchSourceResourceGroupPtrOutput

type TemplateScratchSourceResourceGroupPtrInput

type TemplateScratchSourceResourceGroupPtrInput interface {
	pulumi.Input

	ToTemplateScratchSourceResourceGroupPtrOutput() TemplateScratchSourceResourceGroupPtrOutput
	ToTemplateScratchSourceResourceGroupPtrOutputWithContext(context.Context) TemplateScratchSourceResourceGroupPtrOutput
}

TemplateScratchSourceResourceGroupPtrInput is an input type that accepts TemplateScratchSourceResourceGroupArgs, TemplateScratchSourceResourceGroupPtr and TemplateScratchSourceResourceGroupPtrOutput values. You can construct a concrete instance of `TemplateScratchSourceResourceGroupPtrInput` via:

        TemplateScratchSourceResourceGroupArgs{...}

or:

        nil

type TemplateScratchSourceResourceGroupPtrOutput

type TemplateScratchSourceResourceGroupPtrOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceResourceGroupPtrOutput) Elem

func (TemplateScratchSourceResourceGroupPtrOutput) ElementType

func (TemplateScratchSourceResourceGroupPtrOutput) ResourceGroupId

The ID of the Source Resource Group.

func (TemplateScratchSourceResourceGroupPtrOutput) ResourceTypeFilters

Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.

func (TemplateScratchSourceResourceGroupPtrOutput) ToTemplateScratchSourceResourceGroupPtrOutput

func (o TemplateScratchSourceResourceGroupPtrOutput) ToTemplateScratchSourceResourceGroupPtrOutput() TemplateScratchSourceResourceGroupPtrOutput

func (TemplateScratchSourceResourceGroupPtrOutput) ToTemplateScratchSourceResourceGroupPtrOutputWithContext

func (o TemplateScratchSourceResourceGroupPtrOutput) ToTemplateScratchSourceResourceGroupPtrOutputWithContext(ctx context.Context) TemplateScratchSourceResourceGroupPtrOutput

type TemplateScratchSourceResourceInput

type TemplateScratchSourceResourceInput interface {
	pulumi.Input

	ToTemplateScratchSourceResourceOutput() TemplateScratchSourceResourceOutput
	ToTemplateScratchSourceResourceOutputWithContext(context.Context) TemplateScratchSourceResourceOutput
}

TemplateScratchSourceResourceInput is an input type that accepts TemplateScratchSourceResourceArgs and TemplateScratchSourceResourceOutput values. You can construct a concrete instance of `TemplateScratchSourceResourceInput` via:

TemplateScratchSourceResourceArgs{...}

type TemplateScratchSourceResourceOutput

type TemplateScratchSourceResourceOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceResourceOutput) ElementType

func (TemplateScratchSourceResourceOutput) ResourceId

The ID of the Source Resource.

func (TemplateScratchSourceResourceOutput) ResourceType

The type of the Source resource.

func (TemplateScratchSourceResourceOutput) ToTemplateScratchSourceResourceOutput

func (o TemplateScratchSourceResourceOutput) ToTemplateScratchSourceResourceOutput() TemplateScratchSourceResourceOutput

func (TemplateScratchSourceResourceOutput) ToTemplateScratchSourceResourceOutputWithContext

func (o TemplateScratchSourceResourceOutput) ToTemplateScratchSourceResourceOutputWithContext(ctx context.Context) TemplateScratchSourceResourceOutput

type TemplateScratchSourceTag

type TemplateScratchSourceTag struct {
	// Source label. **NOTE:** A maximum of 10 source labels can be configured.
	ResourceTags map[string]interface{} `pulumi:"resourceTags"`
	// Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.
	ResourceTypeFilters []string `pulumi:"resourceTypeFilters"`
}

type TemplateScratchSourceTagArgs

type TemplateScratchSourceTagArgs struct {
	// Source label. **NOTE:** A maximum of 10 source labels can be configured.
	ResourceTags pulumi.MapInput `pulumi:"resourceTags"`
	// Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.
	ResourceTypeFilters pulumi.StringArrayInput `pulumi:"resourceTypeFilters"`
}

func (TemplateScratchSourceTagArgs) ElementType

func (TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagOutput

func (i TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagOutput() TemplateScratchSourceTagOutput

func (TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagOutputWithContext

func (i TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagOutputWithContext(ctx context.Context) TemplateScratchSourceTagOutput

func (TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagPtrOutput

func (i TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagPtrOutput() TemplateScratchSourceTagPtrOutput

func (TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagPtrOutputWithContext

func (i TemplateScratchSourceTagArgs) ToTemplateScratchSourceTagPtrOutputWithContext(ctx context.Context) TemplateScratchSourceTagPtrOutput

type TemplateScratchSourceTagInput

type TemplateScratchSourceTagInput interface {
	pulumi.Input

	ToTemplateScratchSourceTagOutput() TemplateScratchSourceTagOutput
	ToTemplateScratchSourceTagOutputWithContext(context.Context) TemplateScratchSourceTagOutput
}

TemplateScratchSourceTagInput is an input type that accepts TemplateScratchSourceTagArgs and TemplateScratchSourceTagOutput values. You can construct a concrete instance of `TemplateScratchSourceTagInput` via:

TemplateScratchSourceTagArgs{...}

type TemplateScratchSourceTagOutput

type TemplateScratchSourceTagOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceTagOutput) ElementType

func (TemplateScratchSourceTagOutput) ResourceTags

Source label. **NOTE:** A maximum of 10 source labels can be configured.

func (TemplateScratchSourceTagOutput) ResourceTypeFilters

Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.

func (TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagOutput

func (o TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagOutput() TemplateScratchSourceTagOutput

func (TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagOutputWithContext

func (o TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagOutputWithContext(ctx context.Context) TemplateScratchSourceTagOutput

func (TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagPtrOutput

func (o TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagPtrOutput() TemplateScratchSourceTagPtrOutput

func (TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagPtrOutputWithContext

func (o TemplateScratchSourceTagOutput) ToTemplateScratchSourceTagPtrOutputWithContext(ctx context.Context) TemplateScratchSourceTagPtrOutput

type TemplateScratchSourceTagPtrInput

type TemplateScratchSourceTagPtrInput interface {
	pulumi.Input

	ToTemplateScratchSourceTagPtrOutput() TemplateScratchSourceTagPtrOutput
	ToTemplateScratchSourceTagPtrOutputWithContext(context.Context) TemplateScratchSourceTagPtrOutput
}

TemplateScratchSourceTagPtrInput is an input type that accepts TemplateScratchSourceTagArgs, TemplateScratchSourceTagPtr and TemplateScratchSourceTagPtrOutput values. You can construct a concrete instance of `TemplateScratchSourceTagPtrInput` via:

        TemplateScratchSourceTagArgs{...}

or:

        nil

type TemplateScratchSourceTagPtrOutput

type TemplateScratchSourceTagPtrOutput struct{ *pulumi.OutputState }

func (TemplateScratchSourceTagPtrOutput) Elem

func (TemplateScratchSourceTagPtrOutput) ElementType

func (TemplateScratchSourceTagPtrOutput) ResourceTags

Source label. **NOTE:** A maximum of 10 source labels can be configured.

func (TemplateScratchSourceTagPtrOutput) ResourceTypeFilters

Source resource type filter list. If the resource type list is specified, it means to scan the resources of the specified resource type and in the specified resource group; Otherwise, it means to scan all resources in the specified resource group. **NOTE:** A maximum of `20` resource type filter can be configured.

func (TemplateScratchSourceTagPtrOutput) ToTemplateScratchSourceTagPtrOutput

func (o TemplateScratchSourceTagPtrOutput) ToTemplateScratchSourceTagPtrOutput() TemplateScratchSourceTagPtrOutput

func (TemplateScratchSourceTagPtrOutput) ToTemplateScratchSourceTagPtrOutputWithContext

func (o TemplateScratchSourceTagPtrOutput) ToTemplateScratchSourceTagPtrOutputWithContext(ctx context.Context) TemplateScratchSourceTagPtrOutput

type TemplateScratchState

type TemplateScratchState struct {
	// The Description of the Template Scratch.
	Description pulumi.StringPtrInput
	// The execution mode. Valid Values: `Async` or `Sync`.
	ExecutionMode pulumi.StringPtrInput
	// Logical ID generation strategy. Valid Values: `LongTypePrefixAndIndexSuffix`, `LongTypePrefixAndHashSuffix` and `ShortTypePrefixAndHashSuffix`.
	LogicalIdStrategy pulumi.StringPtrInput
	// Priority parameter. See the following `Block preferenceParameters`.
	PreferenceParameters TemplateScratchPreferenceParameterArrayInput
	// Source resource grouping. See the following `Block sourceResourceGroup`.
	SourceResourceGroup TemplateScratchSourceResourceGroupPtrInput
	// Source resource. See the following `Block sourceResources`.
	SourceResources TemplateScratchSourceResourceArrayInput
	// Source tag. See the following `Block sourceTag`.
	SourceTag TemplateScratchSourceTagPtrInput
	// The status of the resource.
	Status pulumi.StringPtrInput
	// The type of the Template scan. Valid Values: `ResourceImport` or `ArchitectureReplication`.
	TemplateScratchType pulumi.StringPtrInput
}

func (TemplateScratchState) ElementType

func (TemplateScratchState) ElementType() reflect.Type

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