文档

alicloud_mns_service

更新时间:
一键部署

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

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

-> NOTE: Available in v1.118.0+

-> NOTE: The MNS service is not support in the international site.

Example Usage

data "alicloud_mns_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 MNS service that means you have read and agreed the MNS 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.

  • 本页导读 (0)
文档反馈