TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkoos"
&alicloudroscdkoos.TemplateProps {
Content: interface{},
TemplateName: interface{},
IgnoreExisting: interface{},
ResourceGroupId: interface{},
Tags: *map[string]interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Content | interface{} | Property content: The content of the template. |
TemplateName | interface{} | Property templateName: The name of the template. |
IgnoreExisting | interface{} | Property ignoreExisting: Whether to ignore existing template False: ROS will perform a uniqueness check.If a template with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a template with the same name, the template creation process will be ignored. If the template is not created by ROS, it will be ignored during update and delete stage. |
ResourceGroupId | interface{} | Property resourceGroupId: Resource group id. |
Tags | *map[string]interface{} | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
ContentRequired
Content interface{}
- Type: interface{}
Property content: The content of the template.
The template must be in the JSON or YAML format. Maximum size: 64 KB.
TemplateNameRequired
TemplateName interface{}
- Type: interface{}
Property templateName: 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 ACS, ALIYUN, ALIBABA, or ALICLOUD.
IgnoreExistingOptional
IgnoreExisting interface{}
- Type: interface{}
Property ignoreExisting: Whether to ignore existing template False: ROS will perform a uniqueness check.If a template with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a template with the same name, the template creation process will be ignored. If the template is not created by ROS, it will be ignored during update and delete stage.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
TagsOptional
Tags *map[string]interface{}
- Type: *map[string]interface{}
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.