TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-template
Initializer
using AlibabaCloud.SDK.ROS.CDK.Oos;
new TemplateProps {
object Content,
object TemplateName,
object IgnoreExisting = null,
object ResourceGroupId = null,
System.Collections.Generic.IDictionary<string, object> Tags = null
};
Properties
| Name | Type | Description |
|---|---|---|
Content | object | Property content: The content of the template. |
TemplateName | object | Property templateName: The name of the template. |
IgnoreExisting | object | 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 | object | Property resourceGroupId: Resource group id. |
Tags | System.Collections.Generic.IDictionary | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. |
ContentRequired
public object Content { get; set; }
- Type: object
Property content: The content of the template.
The template must be in the JSON or YAML format. Maximum size: 64 KB.
TemplateNameRequired
public object TemplateName { get; set; }
- Type: object
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
public object IgnoreExisting { get; set; }
- Type: object
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
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: Resource group id.
TagsOptional
public System.Collections.Generic.IDictionary<string, object> Tags { get; set; }
- Type: System.Collections.Generic.IDictionary
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.