Skip to content

ReportTemplateProps

Properties for defining a ReportTemplate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-config-reporttemplate

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkconfig"
&alicloudroscdkconfig.ReportTemplateProps {
    ReportTemplateName: interface{},
    ReportFileFormats: interface{},
    ReportGranularity: interface{},
    ReportLanguage: interface{},
    ReportScope: interface{},
    ReportTemplateDescription: interface{},
    SubscriptionFrequency: interface{},
}

Properties

Name Type Description
ReportTemplateName interface{} Property reportTemplateName: Report Template Name.
ReportFileFormats interface{} Property reportFileFormats: Report Format.
ReportGranularity interface{} Property reportGranularity: Report Aggregation Granularity.
ReportLanguage interface{} Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US.
ReportScope interface{} Property reportScope: Report range, yes and logic between multiple sets of k-v pairs.
ReportTemplateDescription interface{} Property reportTemplateDescription: Report Template Description.
SubscriptionFrequency interface{} Property subscriptionFrequency: Report subscription frequency.

ReportTemplateNameRequired

ReportTemplateName interface{}
  • Type: interface{}

Property reportTemplateName: Report Template Name.


ReportFileFormatsOptional

ReportFileFormats interface{}
  • Type: interface{}

Property reportFileFormats: Report Format.

Currently only support excel.


ReportGranularityOptional

ReportGranularity interface{}
  • Type: interface{}

Property reportGranularity: Report Aggregation Granularity.


ReportLanguageOptional

ReportLanguage interface{}
  • Type: interface{}

Property reportLanguage: Report Content Language, Currently only support zh-CN or en-US.


ReportScopeOptional

ReportScope interface{}
  • Type: interface{}

Property reportScope: Report range, yes and logic between multiple sets of k-v pairs.


ReportTemplateDescriptionOptional

ReportTemplateDescription interface{}
  • Type: interface{}

Property reportTemplateDescription: Report Template Description.


SubscriptionFrequencyOptional

SubscriptionFrequency interface{}
  • Type: interface{}

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.