alicloud.oos.Template
Explore with Pulumi AI
Provides a OOS Template resource. For information about Alicloud OOS Template and how to use it, see What is Resource Alicloud OOS Template.
NOTE: Available since v1.92.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const _default = new random.index.Integer("default", {
    min: 10000,
    max: 99999,
});
const example = new alicloud.oos.Template("example", {
    content: `  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }
`,
    templateName: `tf-example-name-${_default.result}`,
    versionName: "example",
    tags: {
        Created: "TF",
        For: "acceptance Test",
    },
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
default = random.index.Integer("default",
    min=10000,
    max=99999)
example = alicloud.oos.Template("example",
    content="""  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }
""",
    template_name=f"tf-example-name-{default['result']}",
    version_name="example",
    tags={
        "Created": "TF",
        "For": "acceptance Test",
    })
package main
import (
	"fmt"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/oos"
	"github.com/pulumi/pulumi-random/sdk/v4/go/random"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
			Min: 10000,
			Max: 99999,
		})
		if err != nil {
			return err
		}
		_, err = oos.NewTemplate(ctx, "example", &oos.TemplateArgs{
			Content: pulumi.String(`  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }
`),
			TemplateName: pulumi.Sprintf("tf-example-name-%v", _default.Result),
			VersionName:  pulumi.String("example"),
			Tags: pulumi.StringMap{
				"Created": pulumi.String("TF"),
				"For":     pulumi.String("acceptance Test"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() => 
{
    var @default = new Random.Index.Integer("default", new()
    {
        Min = 10000,
        Max = 99999,
    });
    var example = new AliCloud.Oos.Template("example", new()
    {
        Content = @"  {
    ""FormatVersion"": ""OOS-2019-06-01"",
    ""Description"": ""Update Describe instances of given status"",
    ""Parameters"":{
      ""Status"":{
        ""Type"": ""String"",
        ""Description"": ""(Required) The status of the Ecs instance.""
      }
    },
    ""Tasks"": [
      {
        ""Properties"" :{
          ""Parameters"":{
            ""Status"": ""{{ Status }}""
          },
          ""API"": ""DescribeInstances"",
          ""Service"": ""Ecs""
        },
        ""Name"": ""foo"",
        ""Action"": ""ACS::ExecuteApi""
      }]
  }
",
        TemplateName = $"tf-example-name-{@default.Result}",
        VersionName = "example",
        Tags = 
        {
            { "Created", "TF" },
            { "For", "acceptance Test" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.oos.Template;
import com.pulumi.alicloud.oos.TemplateArgs;
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) {
        var default_ = new Integer("default", IntegerArgs.builder()
            .min(10000)
            .max(99999)
            .build());
        var example = new Template("example", TemplateArgs.builder()
            .content("""
  {
    "FormatVersion": "OOS-2019-06-01",
    "Description": "Update Describe instances of given status",
    "Parameters":{
      "Status":{
        "Type": "String",
        "Description": "(Required) The status of the Ecs instance."
      }
    },
    "Tasks": [
      {
        "Properties" :{
          "Parameters":{
            "Status": "{{ Status }}"
          },
          "API": "DescribeInstances",
          "Service": "Ecs"
        },
        "Name": "foo",
        "Action": "ACS::ExecuteApi"
      }]
  }
            """)
            .templateName(String.format("tf-example-name-%s", default_.result()))
            .versionName("example")
            .tags(Map.ofEntries(
                Map.entry("Created", "TF"),
                Map.entry("For", "acceptance Test")
            ))
            .build());
    }
}
resources:
  default:
    type: random:integer
    properties:
      min: 10000
      max: 99999
  example:
    type: alicloud:oos:Template
    properties:
      content: |2
          {
            "FormatVersion": "OOS-2019-06-01",
            "Description": "Update Describe instances of given status",
            "Parameters":{
              "Status":{
                "Type": "String",
                "Description": "(Required) The status of the Ecs instance."
              }
            },
            "Tasks": [
              {
                "Properties" :{
                  "Parameters":{
                    "Status": "{{ Status }}"
                  },
                  "API": "DescribeInstances",
                  "Service": "Ecs"
                },
                "Name": "foo",
                "Action": "ACS::ExecuteApi"
              }]
          }
      templateName: tf-example-name-${default.result}
      versionName: example
      tags:
        Created: TF
        For: acceptance Test
Create Template Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Template(name: string, args: TemplateArgs, opts?: CustomResourceOptions);@overload
def Template(resource_name: str,
             args: TemplateArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Template(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             content: Optional[str] = None,
             template_name: Optional[str] = None,
             auto_delete_executions: Optional[bool] = None,
             resource_group_id: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None,
             version_name: Optional[str] = None)func NewTemplate(ctx *Context, name string, args TemplateArgs, opts ...ResourceOption) (*Template, error)public Template(string name, TemplateArgs args, CustomResourceOptions? opts = null)
public Template(String name, TemplateArgs args)
public Template(String name, TemplateArgs args, CustomResourceOptions options)
type: alicloud:oos:Template
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TemplateArgs
- 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 TemplateArgs
- 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 TemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var templateResource = new AliCloud.Oos.Template("templateResource", new()
{
    Content = "string",
    TemplateName = "string",
    AutoDeleteExecutions = false,
    ResourceGroupId = "string",
    Tags = 
    {
        { "string", "string" },
    },
    VersionName = "string",
});
example, err := oos.NewTemplate(ctx, "templateResource", &oos.TemplateArgs{
	Content:              pulumi.String("string"),
	TemplateName:         pulumi.String("string"),
	AutoDeleteExecutions: pulumi.Bool(false),
	ResourceGroupId:      pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	VersionName: pulumi.String("string"),
})
var templateResource = new Template("templateResource", TemplateArgs.builder()
    .content("string")
    .templateName("string")
    .autoDeleteExecutions(false)
    .resourceGroupId("string")
    .tags(Map.of("string", "string"))
    .versionName("string")
    .build());
template_resource = alicloud.oos.Template("templateResource",
    content="string",
    template_name="string",
    auto_delete_executions=False,
    resource_group_id="string",
    tags={
        "string": "string",
    },
    version_name="string")
const templateResource = new alicloud.oos.Template("templateResource", {
    content: "string",
    templateName: "string",
    autoDeleteExecutions: false,
    resourceGroupId: "string",
    tags: {
        string: "string",
    },
    versionName: "string",
});
type: alicloud:oos:Template
properties:
    autoDeleteExecutions: false
    content: string
    resourceGroupId: string
    tags:
        string: string
    templateName: string
    versionName: string
Template Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Template resource accepts the following input properties:
- Content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- TemplateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- AutoDelete boolExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- ResourceGroup stringId 
- The ID of resource group which the template belongs.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- VersionName string
- The name of template version.
- Content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- TemplateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- AutoDelete boolExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- ResourceGroup stringId 
- The ID of resource group which the template belongs.
- map[string]string
- A mapping of tags to assign to the resource.
- VersionName string
- The name of template version.
- content String
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- templateName String
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- autoDelete BooleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- resourceGroup StringId 
- The ID of resource group which the template belongs.
- Map<String,String>
- A mapping of tags to assign to the resource.
- versionName String
- The name of template version.
- content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- templateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- autoDelete booleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- resourceGroup stringId 
- The ID of resource group which the template belongs.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- versionName string
- The name of template version.
- content str
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- template_name str
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- auto_delete_ boolexecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- resource_group_ strid 
- The ID of resource group which the template belongs.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- version_name str
- The name of template version.
- content String
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- templateName String
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- autoDelete BooleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- resourceGroup StringId 
- The ID of resource group which the template belongs.
- Map<String>
- A mapping of tags to assign to the resource.
- versionName String
- The name of template version.
Outputs
All input properties are implicitly available as output properties. Additionally, the Template resource produces the following output properties:
- CreatedBy string
- The creator of the template.
- CreatedDate string
- The time when the template is created.
- Description string
- The description of the template.
- HasTrigger bool
- Is it triggered successfully.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- TemplateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- TemplateId string
- The id of OOS Template.
- TemplateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- TemplateVersion string
- The version of OOS Template.
- UpdatedBy string
- The user who updated the template.
- UpdatedDate string
- The time when the template was updated.
- CreatedBy string
- The creator of the template.
- CreatedDate string
- The time when the template is created.
- Description string
- The description of the template.
- HasTrigger bool
- Is it triggered successfully.
- Id string
- The provider-assigned unique ID for this managed resource.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- TemplateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- TemplateId string
- The id of OOS Template.
- TemplateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- TemplateVersion string
- The version of OOS Template.
- UpdatedBy string
- The user who updated the template.
- UpdatedDate string
- The time when the template was updated.
- createdBy String
- The creator of the template.
- createdDate String
- The time when the template is created.
- description String
- The description of the template.
- hasTrigger Boolean
- Is it triggered successfully.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- templateFormat String
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId String
- The id of OOS Template.
- templateType String
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion String
- The version of OOS Template.
- updatedBy String
- The user who updated the template.
- updatedDate String
- The time when the template was updated.
- createdBy string
- The creator of the template.
- createdDate string
- The time when the template is created.
- description string
- The description of the template.
- hasTrigger boolean
- Is it triggered successfully.
- id string
- The provider-assigned unique ID for this managed resource.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- templateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId string
- The id of OOS Template.
- templateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion string
- The version of OOS Template.
- updatedBy string
- The user who updated the template.
- updatedDate string
- The time when the template was updated.
- created_by str
- The creator of the template.
- created_date str
- The time when the template is created.
- description str
- The description of the template.
- has_trigger bool
- Is it triggered successfully.
- id str
- The provider-assigned unique ID for this managed resource.
- str
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- template_format str
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- template_id str
- The id of OOS Template.
- template_type str
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- template_version str
- The version of OOS Template.
- updated_by str
- The user who updated the template.
- updated_date str
- The time when the template was updated.
- createdBy String
- The creator of the template.
- createdDate String
- The time when the template is created.
- description String
- The description of the template.
- hasTrigger Boolean
- Is it triggered successfully.
- id String
- The provider-assigned unique ID for this managed resource.
- String
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- templateFormat String
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId String
- The id of OOS Template.
- templateType String
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion String
- The version of OOS Template.
- updatedBy String
- The user who updated the template.
- updatedDate String
- The time when the template was updated.
Look up Existing Template Resource
Get an existing Template 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?: TemplateState, opts?: CustomResourceOptions): Template@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        auto_delete_executions: Optional[bool] = None,
        content: Optional[str] = None,
        created_by: Optional[str] = None,
        created_date: Optional[str] = None,
        description: Optional[str] = None,
        has_trigger: Optional[bool] = None,
        resource_group_id: Optional[str] = None,
        share_type: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        template_format: Optional[str] = None,
        template_id: Optional[str] = None,
        template_name: Optional[str] = None,
        template_type: Optional[str] = None,
        template_version: Optional[str] = None,
        updated_by: Optional[str] = None,
        updated_date: Optional[str] = None,
        version_name: Optional[str] = None) -> Templatefunc GetTemplate(ctx *Context, name string, id IDInput, state *TemplateState, opts ...ResourceOption) (*Template, error)public static Template Get(string name, Input<string> id, TemplateState? state, CustomResourceOptions? opts = null)public static Template get(String name, Output<String> id, TemplateState state, CustomResourceOptions options)resources:  _:    type: alicloud:oos:Template    get:      id: ${id}- 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.
- AutoDelete boolExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- Content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- CreatedBy string
- The creator of the template.
- CreatedDate string
- The time when the template is created.
- Description string
- The description of the template.
- HasTrigger bool
- Is it triggered successfully.
- ResourceGroup stringId 
- The ID of resource group which the template belongs.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- TemplateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- TemplateId string
- The id of OOS Template.
- TemplateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- TemplateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- TemplateVersion string
- The version of OOS Template.
- UpdatedBy string
- The user who updated the template.
- UpdatedDate string
- The time when the template was updated.
- VersionName string
- The name of template version.
- AutoDelete boolExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- Content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- CreatedBy string
- The creator of the template.
- CreatedDate string
- The time when the template is created.
- Description string
- The description of the template.
- HasTrigger bool
- Is it triggered successfully.
- ResourceGroup stringId 
- The ID of resource group which the template belongs.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- map[string]string
- A mapping of tags to assign to the resource.
- TemplateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- TemplateId string
- The id of OOS Template.
- TemplateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- TemplateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- TemplateVersion string
- The version of OOS Template.
- UpdatedBy string
- The user who updated the template.
- UpdatedDate string
- The time when the template was updated.
- VersionName string
- The name of template version.
- autoDelete BooleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- content String
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- createdBy String
- The creator of the template.
- createdDate String
- The time when the template is created.
- description String
- The description of the template.
- hasTrigger Boolean
- Is it triggered successfully.
- resourceGroup StringId 
- The ID of resource group which the template belongs.
- String
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- Map<String,String>
- A mapping of tags to assign to the resource.
- templateFormat String
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId String
- The id of OOS Template.
- templateName String
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- templateType String
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion String
- The version of OOS Template.
- updatedBy String
- The user who updated the template.
- updatedDate String
- The time when the template was updated.
- versionName String
- The name of template version.
- autoDelete booleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- content string
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- createdBy string
- The creator of the template.
- createdDate string
- The time when the template is created.
- description string
- The description of the template.
- hasTrigger boolean
- Is it triggered successfully.
- resourceGroup stringId 
- The ID of resource group which the template belongs.
- string
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- templateFormat string
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId string
- The id of OOS Template.
- templateName string
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- templateType string
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion string
- The version of OOS Template.
- updatedBy string
- The user who updated the template.
- updatedDate string
- The time when the template was updated.
- versionName string
- The name of template version.
- auto_delete_ boolexecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- content str
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- created_by str
- The creator of the template.
- created_date str
- The time when the template is created.
- description str
- The description of the template.
- has_trigger bool
- Is it triggered successfully.
- resource_group_ strid 
- The ID of resource group which the template belongs.
- str
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- template_format str
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- template_id str
- The id of OOS Template.
- template_name str
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- template_type str
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- template_version str
- The version of OOS Template.
- updated_by str
- The user who updated the template.
- updated_date str
- The time when the template was updated.
- version_name str
- The name of template version.
- autoDelete BooleanExecutions 
- When deleting a template, whether to delete its related executions. Default to false.
- content String
- The content of the template. The template must be in the JSON or YAML format. Maximum size: 64 KB.
- createdBy String
- The creator of the template.
- createdDate String
- The time when the template is created.
- description String
- The description of the template.
- hasTrigger Boolean
- Is it triggered successfully.
- resourceGroup StringId 
- The ID of resource group which the template belongs.
- String
- The sharing type of the template. The sharing type of templates created by users are set to Private. The sharing type of common templates provided by OOS are set to Public.
- Map<String>
- A mapping of tags to assign to the resource.
- templateFormat String
- The format of the template. The format can be JSON or YAML. The system automatically identifies the format.
- templateId String
- The id of OOS Template.
- templateName String
- The name of the template. The template name can be up to 200 characters in length. The name can contain letters, digits, hyphens (-), and underscores (_). It cannot start with ALIYUN,ACS,ALIBABA, orALICLOUD.
- templateType String
- The type of OOS Template. Automationmeans the implementation of Alibaba Cloud API template,Packagemeans represents a template for installing software.
- templateVersion String
- The version of OOS Template.
- updatedBy String
- The user who updated the template.
- updatedDate String
- The time when the template was updated.
- versionName String
- The name of template version.
Import
OOS Template can be imported using the id or template_name, e.g.
$ pulumi import alicloud:oos/template:Template example template_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.