Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_api_management - sku_name supports Consumption #6602

Merged
merged 2 commits into from Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -72,6 +72,7 @@ func resourceArmApiManagementService() *schema.Resource {
Type: schema.TypeString,
Required: true,
ValidateFunc: azure.MinCapacitySkuNameInSlice([]string{
string(apimanagement.SkuTypeConsumption),
string(apimanagement.SkuTypeDeveloper),
string(apimanagement.SkuTypeBasic),
string(apimanagement.SkuTypeStandard),
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/api_management.html.markdown
Expand Up @@ -55,7 +55,7 @@ The following arguments are supported:

* `publisher_email` - (Required) The email of publisher/company.

* `sku_name` - (Required) `sku_name` is a string consisting of two parts separated by an underscore(\_). The fist part is the `name`, valid values include: `Developer`, `Basic`, `Standard` and `Premium`. The second part is the `capacity` (e.g. the number of deployed units of the `sku`), which must be a positive `integer` (e.g. `Developer_1`).
* `sku_name` - (Required) `sku_name` is a string consisting of two parts separated by an underscore(\_). The fist part is the `name`, valid values include: `Consumption`, `Developer`, `Basic`, `Standard` and `Premium`. The second part is the `capacity` (e.g. the number of deployed units of the `sku`), which must be a positive `integer` (e.g. `Developer_1`).

---

Expand Down