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{},
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. |
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. |
Content
Required
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.
TemplateName
Required
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 ALIYUN, ACS, ALIBABA, or ALICLOUD.
ResourceGroupId
Optional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: Resource group id.
Tags
Optional
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.