alicloud_log_service
更新时间:
复制 MD 格式
Log service is enabled automatically when a project is created. This data source is retained for compatibility and no longer calls service APIs.
For information about Log service and how to use it, see What is Log Service.
-> NOTE: Available since v1.96.0
Example Usage
data "alicloud_log_service" "open" {
enable = "On"
}
Argument Reference
The following arguments are supported:
enable- (Optional) Setting the value toOnreturnsOpened. Setting it toOffreturns an empty status. Valid values: "On" or "Off". Default to "Off".
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
status- ReturnsOpenedwhenenableisOn, or an empty string otherwise. This is a compatibility value, not the actual service status.
该文章对您有帮助吗?