alicloud_api_gateway_log_configs

This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_api_gateway_log_configs" "ids" {
  ids = ["example_id"]
}

output "api_gateway_log_config_id_1" {
  value = data.alicloud_api_gateway_log_configs.ids.configs.0.id
}

data "alicloud_api_gateway_log_configs" "logType" {
  log_type = "PROVIDER"
}

output "api_gateway_log_config_id_2" {
  value = data.alicloud_api_gateway_log_configs.logType.configs.0.id
}

Argument Reference

The following arguments are supported:

Argument Reference

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