subcategory |
---|
Log Subscriptions |
Get information about subscriptions to a Managed Loadbalancer Logs Service in a public cloud project.
data "ovh_cloud_project_region_loadbalancer_log_subscriptions" "subs" {
service_name = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
region_name = "gggg"
loadbalancer_id = "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
The following arguments are supported:
service_name
- The id of the public cloud project. If omitted, theOVH_CLOUD_PROJECT_SERVICE
environment variable is used.region_name
- A valid OVHcloud public cloud region name in which the loadbalancer is available. Ex.: "GRA11".loadbalancer_id
- Loadbalancer id to get the logskind
- (Optional) currently only "haproxy" is available
The following attributes are exported:
service_name
- The id of the public cloud project.region_name
- A valid OVHcloud public cloud region name in which the loadbalancer will be available. Ex.: "GRA11".loadbalancer_id
- Loadbalancer id to get the logskind
- Router used for forwarding logsubscription_ids
- The list of the subscription id