Skip to content

Commit

Permalink
provider docs: change test to example (#4798)
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Nov 14, 2019
1 parent ae57392 commit 8ea8ba6
Show file tree
Hide file tree
Showing 316 changed files with 2,020 additions and 2,020 deletions.
4 changes: 2 additions & 2 deletions website/docs/d/api_management.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing API Management Serv
## Example Usage

```hcl
data "azurerm_api_management" "test" {
data "azurerm_api_management" "example" {
name = "search-api"
resource_group_name = "search-service"
}
output "api_management_id" {
value = "${data.azurerm_api_management.test.id}"
value = "${data.azurerm_api_management.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/api_management_api.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Use this data source to access information about an existing API Management API.
## Example Usage

```hcl
data "azurerm_api_management_api" "test" {
data "azurerm_api_management_api" "example" {
name = "search-api"
api_management_name = "search-api-management"
resource_group_name = "search-service"
revision = "2"
}
output "api_management_api_id" {
value = "${data.azurerm_api_management_api.test.id}"
value = "${data.azurerm_api_management_api.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/api_management_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Use this data source to access information about an existing API Management Grou
## Example Usage

```hcl
data "azurerm_api_management_group" "test" {
data "azurerm_api_management_group" "example" {
name = "my-group"
api_management_name = "example-apim"
resource_group_name = "search-service"
}
output "group_type" {
value = "${data.azurerm_api_management_group.test.type}"
value = "${data.azurerm_api_management_group.example.type}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/api_management_product.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Use this data source to access information about an existing API Management Prod
## Example Usage

```hcl
data "azurerm_api_management_product" "test" {
data "azurerm_api_management_product" "example" {
product_id = "my-product"
api_management_name = "example-apim"
resource_group_name = "search-service"
}
output "product_terms" {
value = "${data.azurerm_api_management_product.test.terms}"
value = "${data.azurerm_api_management_product.example.terms}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/api_management_user.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Use this data source to access information about an existing API Management User
## Example Usage

```hcl
data "azurerm_api_management_user" "test" {
data "azurerm_api_management_user" "example" {
user_id = "my-user"
api_management_name = "example-apim"
resource_group_name = "search-service"
}
output "notes" {
value = "${data.azurerm_api_management_user.test.notes}"
value = "${data.azurerm_api_management_user.example.notes}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/app_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing App Service.
## Example Usage

```hcl
data "azurerm_app_service" "test" {
data "azurerm_app_service" "example" {
name = "search-app-service"
resource_group_name = "search-service"
}
output "app_service_id" {
value = "${data.azurerm_app_service.test.id}"
value = "${data.azurerm_app_service.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/app_service_certificate_order.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing App Service Certifi
## Example Usage

```hcl
data "azurerm_app_service_certificate_order" "test" {
data "azurerm_app_service_certificate_order" "example" {
name = "example-cert-order"
resource_group_name = "example-resources"
}
output "certificate_order_id" {
value = "${data.azurerm_app_service_certificate_order.test.id}"
value = "${data.azurerm_app_service_certificate_order.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/app_service_plan.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing App Service Plan (f
## Example Usage

```hcl
data "azurerm_app_service_plan" "test" {
data "azurerm_app_service_plan" "example" {
name = "search-app-service-plan"
resource_group_name = "search-service"
}
output "app_service_plan_id" {
value = "${data.azurerm_app_service_plan.test.id}"
value = "${data.azurerm_app_service_plan.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/application_insights.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing Application Insight
## Example Usage

```hcl
data "azurerm_application_insights" "test" {
data "azurerm_application_insights" "example" {
name = "production"
resource_group_name = "networking"
}
output "application_insights_instrumentation_key" {
value = "${data.azurerm_application_insights.test.instrumentation_key}"
value = "${data.azurerm_application_insights.example.instrumentation_key}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/application_security_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing Application Securit
## Example Usage

```hcl
data "azurerm_application_security_group" "test" {
data "azurerm_application_security_group" "example" {
name = "tf-appsecuritygroup"
resource_group_name = "my-resource-group"
}
output "application_security_group_id" {
value = "${data.azurerm_application_security_group.test.id}"
value = "${data.azurerm_application_security_group.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/automation_account.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ Use this data source to access information about an existing Automation Account
## Example Usage

```hcl
data "azurerm_automation_account_registration_info" "test" {
data "azurerm_automation_account_registration_info" "example" {
name = "automation-account"
resource_group_name = "automation-resource-group"
}
output "automation_account_id" {
value = "${data.azurerm_automation_account_registration_info.test.id}"
value = "${data.azurerm_automation_account_registration_info.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/availability_set.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing Availability Set.
## Example Usage

```hcl
data "azurerm_availability_set" "test" {
data "azurerm_availability_set" "example" {
name = "tf-appsecuritygroup"
resource_group_name = "my-resource-group"
}
output "availability_set_id" {
value = "${data.azurerm_availability_set.test.id}"
value = "${data.azurerm_availability_set.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/azuread_application.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ Use this data source to access information about an existing Application within
## Example Usage

```hcl
data "azurerm_azuread_application" "test" {
data "azurerm_azuread_application" "example" {
name = "My First AzureAD Application"
}
output "azure_active_directory_object_id" {
value = "${data.azurerm_azuread_application.test.id}"
value = "${data.azurerm_azuread_application.example.id}"
}
```

Expand Down
6 changes: 3 additions & 3 deletions website/docs/d/azuread_service_principal.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ Gets information about an existing Service Principal associated with an Applicat
## Example Usage (by Application Display Name)

```hcl
data "azurerm_azuread_service_principal" "test" {
data "azurerm_azuread_service_principal" "example" {
display_name = "my-awesome-application"
}
```

## Example Usage (by Application ID)

```hcl
data "azurerm_azuread_service_principal" "test" {
data "azurerm_azuread_service_principal" "example" {
application_id = "00000000-0000-0000-0000-000000000000"
}
```

## Example Usage (by Object ID)

```hcl
data "azurerm_azuread_service_principal" "test" {
data "azurerm_azuread_service_principal" "example" {
object_id = "00000000-0000-0000-0000-000000000000"
}
```
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/batch_account.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Use this data source to access information about an existing Batch Account.
## Example Usage

```hcl
data "azurerm_batch_account" "test" {
data "azurerm_batch_account" "example" {
name = "testbatchaccount"
resource_group_name = "test"
}
output "pool_allocation_mode" {
value = "${data.azurerm_batch_account.test.pool_allocation_mode}"
value = "${data.azurerm_batch_account.example.pool_allocation_mode}"
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/batch_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Use this data source to access information about an existing Batch pool
## Example Usage

```hcl
data "azurerm_batch_pool" "test" {
data "azurerm_batch_pool" "example" {
name = "testbatchpool"
account_name = "testbatchaccount"
resource_group_name = "test"
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/cdn_profile.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing CDN Profile.
## Example Usage

```hcl
data "azurerm_cdn_profile" "test" {
data "azurerm_cdn_profile" "example" {
name = "myfirstcdnprofile"
resource_group_name = "example-resources"
}
output "cdn_profile_id" {
value = "${data.azurerm_cdn_profile.test.id}"
value = "${data.azurerm_cdn_profile.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/container_registry.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Use this data source to access information about an existing Container Registry.
## Example Usage

```hcl
data "azurerm_container_registry" "test" {
data "azurerm_container_registry" "example" {
name = "testacr"
resource_group_name = "test"
}
output "login_server" {
value = "${data.azurerm_container_registry.test.login_server}"
value = "${data.azurerm_container_registry.example.login_server}"
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/cosmosdb_account.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Use this data source to access information about an existing CosmosDB (formally
## Example Usage

```hcl
data "azurerm_cosmosdb_account" "test" {
data "azurerm_cosmosdb_account" "example" {
name = "tfex-cosmosdb-account"
resource_group_name = "tfex-cosmosdb-account-rg"
}
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/data_lake_store.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Use this data source to access information about an existing Data Lake Store.
## Example Usage

```hcl
data "azurerm_data_lake_store" "test" {
data "azurerm_data_lake_store" "example" {
name = "testdatalake"
resource_group_name = "testdatalake"
}
output "data_lake_store_id" {
value = "${data.azurerm_data_lake_store.test.id}"
value = "${data.azurerm_data_lake_store.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/dev_test_lab.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing Dev Test Lab.
## Example Usage

```hcl
data "azurerm_dev_test_lab" "test" {
data "azurerm_dev_test_lab" "example" {
name = "example-lab"
resource_group_name = "example-resources"
}
output "unique_identifier" {
value = "${data.azurerm_dev_test_lab.test.unique_identifier}"
value = "${data.azurerm_dev_test_lab.example.unique_identifier}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/dev_test_virtual_network.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Use this data source to access information about an existing Dev Test Lab Virtua
## Example Usage

```hcl
data "azurerm_dev_test_virtual_network" "test" {
data "azurerm_dev_test_virtual_network" "example" {
name = "example-network"
lab_name = "examplelab"
resource_group_name = "example-resource"
}
output "lab_subnet_name" {
value = "${data.azurerm_dev_test_virtual_network.test.allowed_subnets.0.lab_subnet_name}"
value = "${data.azurerm_dev_test_virtual_network.example.allowed_subnets.0.lab_subnet_name}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/dns_zone.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Use this data source to access information about an existing DNS Zone.
## Example Usage

```hcl
data "azurerm_dns_zone" "test" {
data "azurerm_dns_zone" "example" {
name = "search-eventhubns"
resource_group_name = "search-service"
}
output "dns_zone_id" {
value = "${data.azurerm_dns_zone.test.id}"
value = "${data.azurerm_dns_zone.example.id}"
}
```

Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/eventhub_namespace.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ Use this data source to access information about an existing EventHub Namespace.
## Example Usage

```hcl
data "azurerm_eventhub_namespace" "test" {
data "azurerm_eventhub_namespace" "example" {
name = "search-eventhubns"
resource_group_name = "search-service"
}
output "eventhub_namespace_id" {
value = "${data.azurerm_eventhub_namespace.test.id}"
value = "${data.azurerm_eventhub_namespace.example.id}"
}
```

Expand Down
Loading

0 comments on commit 8ea8ba6

Please sign in to comment.