Skip to content

Commit

Permalink
azurerm_api_management - sku_name supports Consumption (#6602)
Browse files Browse the repository at this point in the history
  • Loading branch information
szaher committed Apr 24, 2020
1 parent 32a1ded commit 3399048
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 3399048

Please sign in to comment.