layout | page_title | description |
---|---|---|
azuredevops |
AzureDevops: azuredevops_serviceendpoint_sonarcloud |
Gets information about an existing Sonar Cloud Service Endpoint. |
Use this data source to access information about an existing Sonar Cloud Service Endpoint.
data "azuredevops_serviceendpoint_sonarcloud" "example" {
project_id = azuredevops_project.example.id
service_endpoint_name = "Example Sonar Cloud"
}
output "service_endpoint_id" {
value = data.azuredevops_serviceendpoint_sonarcloud.example.id
}
The following arguments are supported:
-
project_id
- (Required) The ID of the project. -
service_endpoint_id
- (Optional) the ID of the Service Endpoint. -
service_endpoint_name
- (Optional) the Name of the Service Endpoint.
~> NOTE: One of either service_endpoint_id
or service_endpoint_name
must be specified.
In addition to the Arguments list above - the following Attributes are exported:
authorization
- Specifies the Authorization Scheme Map.description
- Specifies the description of the Service Endpoint.