summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorSharath Nair <snair3@agl.com.au>2022-07-20 11:30:32 +1000
committerSharath Nair <snair3@agl.com.au>2022-07-20 11:30:32 +1000
commit519cc9fdd755626f2642edd93bcff843f005e76c (patch)
treee4bb4fe102ee658fca5bb0ffd52ba91500b9ab36 /website
parent8eb4c29e8562e5cc8665aabcbb1debc6ea397435 (diff)
Rename data source attribute
Diffstat (limited to 'website')
-rw-r--r--website/docs/d/serviceendpoint_azurerm.html.markdown11
1 files changed, 6 insertions, 5 deletions
diff --git a/website/docs/d/serviceendpoint_azurerm.html.markdown b/website/docs/d/serviceendpoint_azurerm.html.markdown
index 14301c15..f31ecc20 100644
--- a/website/docs/d/serviceendpoint_azurerm.html.markdown
+++ b/website/docs/d/serviceendpoint_azurerm.html.markdown
@@ -24,7 +24,7 @@ data "azuredevops_serviceendpoint_azurerm" "id" {
}
output "service_endpoint_name" {
- value = data.azuredevops_serviceendpoint_azurerm.service_endpoint_name
+ value = data.azuredevops_serviceendpoint_azurerm.name
}
```
@@ -36,8 +36,8 @@ data "azuredevops_project" "sample" {
}
data "azuredevops_serviceendpoint_azurerm" "id" {
- project_id = data.azuredevops_project.sample.id
- service_endpoint_name = "Example-Service-Endpoint"
+ project_id = data.azuredevops_project.sample.id
+ name = "Example-Service-Endpoint"
}
output "service_endpoint_id" {
@@ -53,9 +53,9 @@ The following arguments are supported:
* `id` - (Optional) the ID of the Service Endpoint.
-* `service_endpoint_name` - (Optional) the Name of the Service Endpoint.
+* `name` - (Optional) the Name of the Service Endpoint.
-~> **NOTE:** One of either `id` or `service_endpoint_name` must be specified.
+~> **NOTE:** One of either `id` or `name` must be specified.
## Attributes Reference
@@ -69,3 +69,4 @@ In addition to the Arguments list above - the following Attributes are exported:
* `resource_group` - Specifies the Resource Group of the Service Endpoint target, if available.
* `azurerm_spn_tenantid` - Specifies the Tenant ID of the Azure targets.
* `description` - Specifies the description of the Service Endpoint.
+* `service_endpoint_name` - Specifies the friendly name of the Service Endpoint, same as the `name` attribute.