diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Clusters.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Clusters.json index f8c56df74cca..6544896e5b64 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Clusters.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Clusters.json @@ -524,7 +524,16 @@ "capacity": { "description": "The capacity value", "type": "integer", - "format": "int64" + "format": "int64", + "enum": [ + 500, + 1000, + 2000, + 5000 + ], + "x-ms-enum": { + "name": "Capacity" + } }, "name": { "type": "string", @@ -632,18 +641,6 @@ "description": "Minimum CapacityReservation value in GB.", "type": "integer", "format": "int64" - }, - "capacityReservationLevel": { - "readOnly": true, - "description": "The capacity reservation level for this cluster in GB", - "type": "integer", - "format": "int32", - "enum": [ - 500, - 1000, - 2000, - 5000 - ] } } } diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json index 8cba3e80e87c..38ae1a60bd46 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/Workspaces.json @@ -432,7 +432,10 @@ 1000, 2000, 5000 - ] + ], + "x-ms-enum": { + "name": "CapacityReservationLevel" + } }, "lastSkuUpdate": { "type": "string", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersCreate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersCreate.json index bcba9ddd3793..45c696183fd0 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersCreate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersCreate.json @@ -12,7 +12,7 @@ "tag1": "val1" } }, - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { @@ -33,7 +33,7 @@ "associatedWorkspaces": [], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 + "minCapacity": 500 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", @@ -67,7 +67,7 @@ "associatedWorkspaces": [], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 + "minCapacity": 500 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/oiautorest6685/providers/microsoft.operationalinsights/clusters/oiautorest6685", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersDelete.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersDelete.json index 2bdd152922a4..d93edda4ce49 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersDelete.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersDelete.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "oiautorest6685", "clusterName": "oiautorest6685", - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json index 145f77b34aa5..a2d70ad9ea06 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersGet.json @@ -2,7 +2,7 @@ "parameters": { "resourceGroupName": "oiautorest6685", "clusterName": "oiautorest6685", - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { @@ -38,7 +38,7 @@ ], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 + "minCapacity": 500 } }, "id": "/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/clusters/testresourcelock", diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersListByResourceGroup.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersListByResourceGroup.json index 1bad17bc3eba..2ce22979fa02 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersListByResourceGroup.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersListByResourceGroup.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "oiautorest6685", - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersSubscriptionList.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersSubscriptionList.json index c0c3538ee698..01289b65cef2 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersSubscriptionList.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersSubscriptionList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { diff --git a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersUpdate.json b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersUpdate.json index a7ebeca9695f..46513df4cec6 100644 --- a/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersUpdate.json +++ b/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/stable/2021-06-01/examples/ClustersUpdate.json @@ -25,7 +25,7 @@ "tag1": "val1" } }, - "api-version": "2020-10-01", + "api-version": "2021-06-01", "subscriptionId": "00000000-0000-0000-0000-00000000000" }, "responses": { @@ -68,7 +68,7 @@ ], "capacityReservationProperties": { "lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT", - "minCapacity": 1000 + "minCapacity": 500 } }, "sku": {