ReportTemplateProps
Properties for defining a ReportTemplate.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-reporttemplate
Initializer
using AlibabaCloud.SDK.ROS.CDK.Config;
new ReportTemplateProps {
object ReportTemplateName,
object ReportFileFormats = null,
object ReportGranularity = null,
object ReportLanguage = null,
object ReportScope = null,
object ReportTemplateDescription = null,
object SubscriptionFrequency = null
};
Properties
| Name | Type | Description |
|---|---|---|
ReportTemplateName | object | Property reportTemplateName: Report Template Name. |
ReportFileFormats | object | Property reportFileFormats: Report Format. |
ReportGranularity | object | Property reportGranularity: Report Aggregation Granularity. |
ReportLanguage | object | Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US. |
ReportScope | object | Property reportScope: Report range, yes and logic between multiple sets of k-v pairs. |
ReportTemplateDescription | object | Property reportTemplateDescription: Report Template Description. |
SubscriptionFrequency | object | Property subscriptionFrequency: Report subscription frequency. |
ReportTemplateNameRequired
public object ReportTemplateName { get; set; }
- Type: object
Property reportTemplateName: Report Template Name.
ReportFileFormatsOptional
public object ReportFileFormats { get; set; }
- Type: object
Property reportFileFormats: Report Format.
Currently only support excel.
ReportGranularityOptional
public object ReportGranularity { get; set; }
- Type: object
Property reportGranularity: Report Aggregation Granularity.
ReportLanguageOptional
public object ReportLanguage { get; set; }
- Type: object
Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US.
ReportScopeOptional
public object ReportScope { get; set; }
- Type: object
Property reportScope: Report range, yes and logic between multiple sets of k-v pairs.
ReportTemplateDescriptionOptional
public object ReportTemplateDescription { get; set; }
- Type: object
Property reportTemplateDescription: Report Template Description.
SubscriptionFrequencyOptional
public object SubscriptionFrequency { get; set; }
- Type: object
Property subscriptionFrequency: Report subscription frequency.
If this field is not empty, it is a Cron expression in Quartz format triggered by the subscription notification. The format is: Seconds, time, day, month, week. The following are examples of commonly used Cron expressions:
- Execute at 0 o'clock every day: 0 0 0 * *?
- Every Monday at 15: 30: 0 30 15? * MON
- Execute at 2 o'clock on the 1st of each month: 0 0 2 1 *? Among them:
- "*" Indicates any value
- What-? Used for day and week fields, indicating that no specific value is specified
- MON means Monday
The trigger time is UTC +8, and the settings of the cron expression can be converted according to the time zone. It can only be triggered according to the cron expression time as much as possible. The cron expression limits the same template to trigger at most one notification per day.