TemplatesProps
Properties for defining a Templates.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-oos-templates
Initializer
using AlibabaCloud.SDK.ROS.CDK.Oos;
new TemplatesProps {
object Category = null,
object CreatedBy = null,
object CreatedDateAfter = null,
object CreatedDateBefore = null,
object HasTrigger = null,
object IsExample = null,
object IsFavorite = null,
object RefreshOptions = null,
object ResourceGroupId = null,
object ShareType = null,
object SortField = null,
object SortOrder = null,
System.Collections.Generic.IDictionary<string, object> Tags = null,
object TemplateFormat = null,
object TemplateName = null,
object TemplateType = null
};
Properties
| Name | Type | Description |
|---|---|---|
Category | object | Property category: The type of the template. |
CreatedBy | object | Property createdBy: The creator of the template. |
CreatedDateAfter | object | Property createdDateAfter: Specifies to query the template that is created at or later than the specified time.The value must be in the YYYY-MM-DDThh:mm:ssZ format. |
CreatedDateBefore | object | Property createdDateBefore: Specifies to query the template that is created at or before the specified time.The value must be in the YYYY-MM-DDThh:mm::ssZ format. |
HasTrigger | object | Property hasTrigger: Specifies whether to query the template that is configured with a trigger. |
IsExample | object | Property isExample: Specifies whether the template is an example template. |
IsFavorite | object | Property isFavorite: Specifies whether the template is added to favorites. |
RefreshOptions | object | Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ResourceGroupId | object | Property resourceGroupId: The ID of the resource group. |
ShareType | object | Property shareType: The share type of the template. |
SortField | object | Property sortField: The field that is used to sort the templates to be queried. |
SortOrder | object | Property sortOrder: The order in which you want to sort the results. |
Tags | System.Collections.Generic.IDictionary | Property tags: The tag keys and values. |
TemplateFormat | object | Property templateFormat: The format of the template. |
TemplateName | object | Property templateName: The name of the template. |
TemplateType | object | Property templateType: The type of the template. |
CategoryOptional
public object Category { get; set; }
- Type: object
Property category: The type of the template.
Valid values include TimerTrigger, EventTrigger, AlarmTrigger, and Other.
CreatedByOptional
public object CreatedBy { get; set; }
- Type: object
Property createdBy: The creator of the template.
CreatedDateAfterOptional
public object CreatedDateAfter { get; set; }
- Type: object
Property createdDateAfter: Specifies to query the template that is created at or later than the specified time.The value must be in the YYYY-MM-DDThh:mm:ssZ format.
CreatedDateBeforeOptional
public object CreatedDateBefore { get; set; }
- Type: object
Property createdDateBefore: Specifies to query the template that is created at or before the specified time.The value must be in the YYYY-MM-DDThh:mm::ssZ format.
HasTriggerOptional
public object HasTrigger { get; set; }
- Type: object
Property hasTrigger: Specifies whether to query the template that is configured with a trigger.
IsExampleOptional
public object IsExample { get; set; }
- Type: object
Property isExample: Specifies whether the template is an example template.
IsFavoriteOptional
public object IsFavorite { get; set; }
- Type: object
Property isFavorite: Specifies whether the template is added to favorites.
RefreshOptionsOptional
public object RefreshOptions { get; set; }
- Type: object
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
ShareTypeOptional
public object ShareType { get; set; }
- Type: object
Property shareType: The share type of the template.
Valid values: Public Private
SortFieldOptional
public object SortField { get; set; }
- Type: object
Property sortField: The field that is used to sort the templates to be queried.
Valid values: TotalExecutionCount (default): The system sorts the returned templates based on the total number of times that the templates are used. Popularity: The system sorts the returned templates based on the popularity of the templates. TemplateName: The system sorts the returned templates based on the names of the templates. CreatedDate: The system sorts the returned templates based on the points in time when the templates are created. UpdatedDate: The system sorts the returned templates based on the points in time when the templates are updated.
SortOrderOptional
public object SortOrder { get; set; }
- Type: object
Property sortOrder: The order in which you want to sort the results.
Valid values: Ascending: ascending order. Descending: descending order. This is the default value.
TagsOptional
public System.Collections.Generic.IDictionary<string, object> Tags { get; set; }
- Type: System.Collections.Generic.IDictionary
Property tags: The tag keys and values.
The number of key-value pairs ranges from 1 to 20. Example: {"k1":"k2","k2":"v2"}
TemplateFormatOptional
public object TemplateFormat { get; set; }
- Type: object
Property templateFormat: The format of the template.
Valid values: JSON YAML
TemplateNameOptional
public object TemplateName { get; set; }
- Type: object
Property templateName: The name of the template.
TemplateTypeOptional
public object TemplateType { get; set; }
- Type: object
Property templateType: The type of the template.
Valid values: Automation: the template for automated tasks. State: the template for configuration inventories. Package: the template for software packages.