Unable to create an elastic monitor resource
See original GitHub issueRelated command
az elastic monitor create
Describe the bug Unable to create an Elastic Cloud resource from the AZ CLI. A valid value is requested for SKU (I counldn’t find information in the official documentation about possible values, the only one they show is “free_Monthly” and it doesn’t work).
To Reproduce
az elastic monitor create --name "myEC" --resource-group "MyResourceGroup" --location "West US 2" --sku "free_Monthly" --user-info "{\"companyInfo\":{\"business\":\"Technology\",\"country\":\"US\",\"domain\":\"microsoft.com\",\"employeeNumber\":\"10000\",\"state\":\"WA\"},\"companyName\":\"Microsoft\",\"emailAddress\":\"alice@microsoft.com\",\"firstName\":\"Alice\",\"lastName\":\"Bob\"}" --debug
Expected behavior Return a 200 (Be able to create an Elastic Cloud resource Successfully).
Environment summary
- elastic extension version: “0.1.0” (latest)
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
I see. The customer don’t know which values are valid to pass into sku property. “ess-monthly-consumption_Monthly” is not appeared in swagger. The customer tried with “free_Monthly” value which is used in swagger example, however it’s not valid.
So could you please define valid enum values for sku in this swagger file. Thanks.
Could you try
ess-monthly-consumption_Monthly
?