From eafbfffae1912723a70d006f1dc5d46377828865 Mon Sep 17 00:00:00 2001 From: Saad Zaher Date: Fri, 24 Apr 2020 04:30:25 +0100 Subject: [PATCH 1/2] update apimanagement to support consumtion tier Signed-off-by: Saad Zaher --- .../services/apimanagement/resource_arm_api_management.go | 1 + 1 file changed, 1 insertion(+) diff --git a/azurerm/internal/services/apimanagement/resource_arm_api_management.go b/azurerm/internal/services/apimanagement/resource_arm_api_management.go index 8beb983b5f2f..42e662398054 100644 --- a/azurerm/internal/services/apimanagement/resource_arm_api_management.go +++ b/azurerm/internal/services/apimanagement/resource_arm_api_management.go @@ -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), From 7548e7a33d8f78d92c2b8137738b0d45b7ba3f6a Mon Sep 17 00:00:00 2001 From: Saad Zaher Date: Fri, 24 Apr 2020 04:40:41 +0100 Subject: [PATCH 2/2] update website with consumption tier Signed-off-by: Saad Zaher --- website/docs/r/api_management.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/r/api_management.html.markdown b/website/docs/r/api_management.html.markdown index 796b47c74638..26aa3063d145 100644 --- a/website/docs/r/api_management.html.markdown +++ b/website/docs/r/api_management.html.markdown @@ -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`). ---