Skip to content

Commit

Permalink
Doc Fix: azurerm_api_management swap deprecated fields for valid on…
Browse files Browse the repository at this point in the history
…es and fix `azurerm_api_management_api_version_set` doc (#4894)
  • Loading branch information
gruebel authored and mbfrahry committed Nov 15, 2019
1 parent 9d3749f commit c1a7273
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 23 deletions.
2 changes: 1 addition & 1 deletion website/azurerm.erb
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
</li>

<li>
<a href="/docs/providers/azurerm/r/api_management_api_version_set.html">azurerm_api_management_version_set</a>
<a href="/docs/providers/azurerm/r/api_management_api_version_set.html">azurerm_api_management_api_version_set</a>
</li>

<li>
Expand Down
17 changes: 7 additions & 10 deletions website/docs/r/api_management_api_version_set.html.markdown
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
subcategory: "API Management"
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_api_management_version_set"
page_title: "Azure Resource Manager: azurerm_api_management_api_version_set"
sidebar_current: "docs-azurerm-resource-api-management-api-version-set"
description: |-
Manages an API Version Set within a API Management Service.
Manages an API Version Set within an API Management Service.
---

# azurerm_api_management_version_set
# azurerm_api_management_api_version_set

Manages an API Version Set within a API Management Service.
Manages an API Version Set within an API Management Service.

## Example Usage

Expand All @@ -26,13 +26,10 @@ resource "azurerm_api_management" "example" {
publisher_name = "pub1"
publisher_email = "[email protected]"
sku {
name = "Developer"
capacity = 1
}
sku_name = "Developer_1"
}
resource "azurerm_api_management_version_set" "example" {
resource "azurerm_api_management_api_version_set" "example" {
name = "example-apimapi-1.0.0"
resource_group_name = "${azurerm_resource_group.example.name}"
api_management_name = "${azurerm_api_management.example.name}"
Expand Down Expand Up @@ -79,5 +76,5 @@ In addition to all arguments above, the following attributes are exported:
API Version Set can be imported using the `resource id`, e.g.

```shell
terraform import azurerm_api_management_version_set.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.ApiManagement/service/example-apim/api-version-sets/example-apimp
terraform import azurerm_api_management_api_version_set.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.ApiManagement/service/example-apim/api-version-sets/example-apimp
```
5 changes: 1 addition & 4 deletions website/docs/r/api_management_backend.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ resource "azurerm_api_management" "example" {
publisher_name = "My Company"
publisher_email = "[email protected]"
sku {
name = "Developer"
capacity = 1
}
sku_name = "Developer_1"
}
resource "azurerm_api_management_backend" "example" {
Expand Down
5 changes: 1 addition & 4 deletions website/docs/r/api_management_certificate.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ resource "azurerm_api_management" "example" {
publisher_name = "My Company"
publisher_email = "[email protected]"
sku {
name = "Developer"
capacity = 1
}
sku_name = "Developer_1"
}
resource "azurerm_api_management_certificate" "example" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ resource "azurerm_api_management" "example" {
publisher_name = "My Company"
publisher_email = "[email protected]"
sku {
name = "Developer"
capacity = 1
}
sku_name = "Developer_1"
}
resource "azurerm_api_management_openid_connect_provider" "example" {
Expand Down

0 comments on commit c1a7273

Please sign in to comment.