alicloud_log_alert_resource
更新时间:
Using this data source can init SLS Alert resources automatically.
For information about SLS Alert and how to use it, see SLS Alert Overview
-> DEPRECATED: This resource has been deprecated from version 1.219.0
. Please use new resource alicloud_log_alert_resource.
-> NOTE: Available since v1.161.0.
Example Usage
data "alicloud_log_alert_resource" "example_user" {
type = "user"
lang = "cn"
}
Argument Reference
The following arguments are supported:
type
- (Required) The type of alert resources, must be user or project, 'user' for init aliyuncloud account's alert center resource, including project named sls-alert-{uid}-{region} and some dashboards; 'project' for init project's alert resource, including logstore named internal-alert-history and alert dashboard.lang
- (Optional) The lang of alert center resource when type is user.project
- (Optional) The project of alert resource when type is project.
文档内容是否对您有帮助?