alicloud_api_gateway_service

更新时间:2025-03-02 16:45:06

Using this data source can enable API gateway service automatically. If the service has been enabled, it will return Opened.

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

-> NOTE: Available in v1.96.0+

Example Usage

data "alicloud_api_gateway_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 API gateway service that means you have read and agreed the API Gateway 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.

  • 本页导读 (1)
  • Example Usage
  • Argument Reference
  • Attributes Reference
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等