Skip to content

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 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.
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 ALIYUN, ACS, ALIBABA, or ALICLOUD.


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.