Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

TemplateScratch

Provides a ROS Template Scratch resource.

For information about ROS Template Scratch and how to use it, see What is Template Scratch.

NOTE: Available in v1.151.0+.

Example Usage

Basic Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var @default = Output.Create(AliCloud.ResourceManager.GetResourceGroups.InvokeAsync());
        var example = new AliCloud.Ros.TemplateScratch("example", new AliCloud.Ros.TemplateScratchArgs
        {
            Description = "tf_testacc",
            TemplateScratchType = "ResourceImport",
            PreferenceParameters = 
            {
                new AliCloud.Ros.Inputs.TemplateScratchPreferenceParameterArgs
                {
                    ParameterKey = "DeletionPolicy",
                    ParameterValue = "Retain",
                },
            },
            SourceResourceGroup = new AliCloud.Ros.Inputs.TemplateScratchSourceResourceGroupArgs
            {
                ResourceGroupId = @default.Apply(@default => @default.Ids?[0]),
                ResourceTypeFilters = 
                {
                    "ALIYUN::ECS::VPC",
                },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ros"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_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
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.ros.TemplateScratch;
import com.pulumi.alicloud.ros.TemplateScratchArgs;
import com.pulumi.alicloud.ros.inputs.TemplateScratchPreferenceParameterArgs;
import com.pulumi.alicloud.ros.inputs.TemplateScratchSourceResourceGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var default = ResourcemanagerFunctions.getResourceGroups();

        var example = new TemplateScratch("example", TemplateScratchArgs.builder()        
            .description("tf_testacc")
            .templateScratchType("ResourceImport")
            .preferenceParameters(TemplateScratchPreferenceParameterArgs.builder()
                .parameterKey("DeletionPolicy")
                .parameterValue("Retain")
                .build())
            .sourceResourceGroup(TemplateScratchSourceResourceGroupArgs.builder()
                .resourceGroupId(default_.ids()[0])
                .resourceTypeFilters("ALIYUN::ECS::VPC")
                .build())
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.resourcemanager.get_resource_groups()
example = alicloud.ros.TemplateScratch("example",
    description="tf_testacc",
    template_scratch_type="ResourceImport",
    preference_parameters=[alicloud.ros.TemplateScratchPreferenceParameterArgs(
        parameter_key="DeletionPolicy",
        parameter_value="Retain",
    )],
    source_resource_group=alicloud.ros.TemplateScratchSourceResourceGroupArgs(
        resource_group_id=default.ids[0],
        resource_type_filters=["ALIYUN::ECS::VPC"],
    ))
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const default = alicloud.resourcemanager.getResourceGroups({});
const example = new alicloud.ros.TemplateScratch("example", {
    description: "tf_testacc",
    templateScratchType: "ResourceImport",
    preferenceParameters: [{
        parameterKey: "DeletionPolicy",
        parameterValue: "Retain",
    }],
    sourceResourceGroup: {
        resourceGroupId: _default.then(_default => _default.ids?[0]),
        resourceTypeFilters: ["ALIYUN::ECS::VPC"],
    },
});
resources:
  example:
    type: alicloud:ros:TemplateScratch
    properties:
      description: tf_testacc
      templateScratchType: ResourceImport
      preferenceParameters:
        - parameterKey: DeletionPolicy
          parameterValue: Retain
      sourceResourceGroup:
        resourceGroupId: ${default.ids[0]}
        resourceTypeFilters:
          - ALIYUN::ECS::VPC
variables:
  default:
    Fn::Invoke:
      Function: alicloud:resourcemanager:getResourceGroups
      Arguments: {}

Create TemplateScratch Resource

new TemplateScratch(name: string, args: TemplateScratchArgs, opts?: CustomResourceOptions);
@overload
def TemplateScratch(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    execution_mode: Optional[str] = None,
                    logical_id_strategy: Optional[str] = None,
                    preference_parameters: Optional[Sequence[TemplateScratchPreferenceParameterArgs]] = None,
                    source_resource_group: Optional[TemplateScratchSourceResourceGroupArgs] = None,
                    source_resources: Optional[Sequence[TemplateScratchSourceResourceArgs]] = None,
                    source_tag: Optional[TemplateScratchSourceTagArgs] = None,
                    template_scratch_type: Optional[str] = None)
@overload
def TemplateScratch(resource_name: str,
                    args: TemplateScratchArgs,
                    opts: Optional[ResourceOptions] = None)
func NewTemplateScratch(ctx *Context, name string, args TemplateScratchArgs, opts ...ResourceOption) (*TemplateScratch, error)
public TemplateScratch(string name, TemplateScratchArgs args, CustomResourceOptions? opts = null)
public TemplateScratch(String name, TemplateScratchArgs args)
public TemplateScratch(String name, TemplateScratchArgs args, CustomResourceOptions options)
type: alicloud:ros:TemplateScratch
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TemplateScratchArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TemplateScratchArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TemplateScratchArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TemplateScratchArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TemplateScratchArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

TemplateScratch Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The TemplateScratch resource accepts the following input properties:

TemplateScratchType string

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

Description string

The Description of the Template Scratch.

ExecutionMode string

The execution mode. Valid Values: Async or Sync.

LogicalIdStrategy string

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

PreferenceParameters List<Pulumi.AliCloud.Ros.Inputs.TemplateScratchPreferenceParameterArgs>

Priority parameter. See the following Block preference_parameters.

SourceResourceGroup Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

SourceResources List<Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceResourceArgs>

Source resource. See the following Block source_resources.

SourceTag Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

TemplateScratchType string

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

Description string

The Description of the Template Scratch.

ExecutionMode string

The execution mode. Valid Values: Async or Sync.

LogicalIdStrategy string

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

PreferenceParameters []TemplateScratchPreferenceParameterArgs

Priority parameter. See the following Block preference_parameters.

SourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

SourceResources []TemplateScratchSourceResourceArgs

Source resource. See the following Block source_resources.

SourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

templateScratchType String

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

description String

The Description of the Template Scratch.

executionMode String

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy String

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

preferenceParameters List<TemplateScratchPreferenceParameterArgs>

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

sourceResources List<TemplateScratchSourceResourceArgs>

Source resource. See the following Block source_resources.

sourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

templateScratchType string

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

description string

The Description of the Template Scratch.

executionMode string

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy string

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

preferenceParameters TemplateScratchPreferenceParameterArgs[]

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

sourceResources TemplateScratchSourceResourceArgs[]

Source resource. See the following Block source_resources.

sourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

template_scratch_type str

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

description str

The Description of the Template Scratch.

execution_mode str

The execution mode. Valid Values: Async or Sync.

logical_id_strategy str

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

preference_parameters Sequence[TemplateScratchPreferenceParameterArgs]

Priority parameter. See the following Block preference_parameters.

source_resource_group TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

source_resources Sequence[TemplateScratchSourceResourceArgs]

Source resource. See the following Block source_resources.

source_tag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

templateScratchType String

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

description String

The Description of the Template Scratch.

executionMode String

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy String

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

preferenceParameters List<Property Map>

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup Property Map

Source resource grouping. See the following Block source_resource_group.

sourceResources List<Property Map>

Source resource. See the following Block source_resources.

sourceTag Property Map

Source tag. See the following Block source_tag.

Outputs

All input properties are implicitly available as output properties. Additionally, the TemplateScratch resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the resource.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the resource.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the resource.

Look up Existing TemplateScratch Resource

Get an existing TemplateScratch resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TemplateScratchState, opts?: CustomResourceOptions): TemplateScratch
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        execution_mode: Optional[str] = None,
        logical_id_strategy: Optional[str] = None,
        preference_parameters: Optional[Sequence[TemplateScratchPreferenceParameterArgs]] = None,
        source_resource_group: Optional[TemplateScratchSourceResourceGroupArgs] = None,
        source_resources: Optional[Sequence[TemplateScratchSourceResourceArgs]] = None,
        source_tag: Optional[TemplateScratchSourceTagArgs] = None,
        status: Optional[str] = None,
        template_scratch_type: Optional[str] = None) -> TemplateScratch
func GetTemplateScratch(ctx *Context, name string, id IDInput, state *TemplateScratchState, opts ...ResourceOption) (*TemplateScratch, error)
public static TemplateScratch Get(string name, Input<string> id, TemplateScratchState? state, CustomResourceOptions? opts = null)
public static TemplateScratch get(String name, Output<String> id, TemplateScratchState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
Description string

The Description of the Template Scratch.

ExecutionMode string

The execution mode. Valid Values: Async or Sync.

LogicalIdStrategy string

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

PreferenceParameters List<Pulumi.AliCloud.Ros.Inputs.TemplateScratchPreferenceParameterArgs>

Priority parameter. See the following Block preference_parameters.

SourceResourceGroup Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

SourceResources List<Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceResourceArgs>

Source resource. See the following Block source_resources.

SourceTag Pulumi.AliCloud.Ros.Inputs.TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

Status string

The status of the resource.

TemplateScratchType string

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

Description string

The Description of the Template Scratch.

ExecutionMode string

The execution mode. Valid Values: Async or Sync.

LogicalIdStrategy string

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

PreferenceParameters []TemplateScratchPreferenceParameterArgs

Priority parameter. See the following Block preference_parameters.

SourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

SourceResources []TemplateScratchSourceResourceArgs

Source resource. See the following Block source_resources.

SourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

Status string

The status of the resource.

TemplateScratchType string

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

description String

The Description of the Template Scratch.

executionMode String

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy String

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

preferenceParameters List<TemplateScratchPreferenceParameterArgs>

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

sourceResources List<TemplateScratchSourceResourceArgs>

Source resource. See the following Block source_resources.

sourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

status String

The status of the resource.

templateScratchType String

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

description string

The Description of the Template Scratch.

executionMode string

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy string

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

preferenceParameters TemplateScratchPreferenceParameterArgs[]

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

sourceResources TemplateScratchSourceResourceArgs[]

Source resource. See the following Block source_resources.

sourceTag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

status string

The status of the resource.

templateScratchType string

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

description str

The Description of the Template Scratch.

execution_mode str

The execution mode. Valid Values: Async or Sync.

logical_id_strategy str

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

preference_parameters Sequence[TemplateScratchPreferenceParameterArgs]

Priority parameter. See the following Block preference_parameters.

source_resource_group TemplateScratchSourceResourceGroupArgs

Source resource grouping. See the following Block source_resource_group.

source_resources Sequence[TemplateScratchSourceResourceArgs]

Source resource. See the following Block source_resources.

source_tag TemplateScratchSourceTagArgs

Source tag. See the following Block source_tag.

status str

The status of the resource.

template_scratch_type str

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

description String

The Description of the Template Scratch.

executionMode String

The execution mode. Valid Values: Async or Sync.

logicalIdStrategy String

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

preferenceParameters List<Property Map>

Priority parameter. See the following Block preference_parameters.

sourceResourceGroup Property Map

Source resource grouping. See the following Block source_resource_group.

sourceResources List<Property Map>

Source resource. See the following Block source_resources.

sourceTag Property Map

Source tag. See the following Block source_tag.

status String

The status of the resource.

templateScratchType String

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

Supporting Types

TemplateScratchPreferenceParameter

ParameterKey string

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

ParameterValue string

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

ParameterKey string

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

ParameterValue string

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

parameterKey String

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

parameterValue String

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

parameterKey string

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

parameterValue string

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

parameter_key str

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

parameter_value str

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

parameterKey String

Priority parameter key. For more information about values, see supplementary instructions for request parameters.

parameterValue String

Priority parameter value. For more information about values, see supplementary instructions for request parameters.

TemplateScratchSourceResource

ResourceId string

The ID of the Source Resource.

ResourceType string

The type of the Source resource.

ResourceId string

The ID of the Source Resource.

ResourceType string

The type of the Source resource.

resourceId String

The ID of the Source Resource.

resourceType String

The type of the Source resource.

resourceId string

The ID of the Source Resource.

resourceType string

The type of the Source resource.

resource_id str

The ID of the Source Resource.

resource_type str

The type of the Source resource.

resourceId String

The ID of the Source Resource.

resourceType String

The type of the Source resource.

TemplateScratchSourceResourceGroup

ResourceGroupId string

The ID of the Source Resource Group.

ResourceTypeFilters List<string>

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.

ResourceGroupId string

The ID of the Source Resource Group.

ResourceTypeFilters []string

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.

resourceGroupId String

The ID of the Source Resource Group.

resourceTypeFilters List<String>

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.

resourceGroupId string

The ID of the Source Resource Group.

resourceTypeFilters string[]

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.

resource_group_id str

The ID of the Source Resource Group.

resource_type_filters Sequence[str]

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.

resourceGroupId String

The ID of the Source Resource Group.

resourceTypeFilters List<String>

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.

TemplateScratchSourceTag

ResourceTags Dictionary<string, object>

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

ResourceTypeFilters List<string>

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.

ResourceTags map[string]interface{}

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

ResourceTypeFilters []string

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.

resourceTags Map<String,Object>

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

resourceTypeFilters List<String>

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.

resourceTags {[key: string]: any}

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

resourceTypeFilters string[]

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.

resource_tags Mapping[str, Any]

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

resource_type_filters Sequence[str]

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.

resourceTags Map<Any>

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

resourceTypeFilters List<String>

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.

Import

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.