alicloud_cms_service

更新时间:

Using this data source can open CMS service automatically. If the service has been opened, it will return opened.

For information about CMS and how to use it, see What is CMS.

-> NOTE: Available in v1.111.0+

-> DEPRECATED: This data source has been deprecated from version 1.219.0. The Cloud Monitor Service is no longer needed to open in the product dimension and the OpenAPI has been taken offline.

Example Usage

data "alicloud_cms_service" "open" {
	enable = "On"
}

Argument Reference

The following arguments are supported:

  • enable - (Optional) Setting the value to On to enable the service. If has been enabled, return the result. Valid values: On or Off. Default to Off.

-> NOTE: Setting enable = "On" to open the CMS service that means you have read and agreed the CMS Terms of Service. The service can not closed once it is opened.

Attributes Reference

The following attributes are exported in addition to the arguments listed above:

  • status - The current service enable status.