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

Vipinhas/fix capacity4cluster #15565

Merged
merged 14 commits into from
Aug 10, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,10 @@
1000,
2000,
5000
]
],
"x-ms-enum": {
"name": "CapacityReservationLevel"
}
},
"lastSkuUpdate": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"tag1": "val1"
}
},
"api-version": "2020-10-01",
"api-version": "2021-06-01",
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"resourceGroupName": "oiautorest6685",
"api-version": "2020-10-01",
"api-version": "2021-06-01",
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2020-10-01",
"api-version": "2021-06-01",
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"tag1": "val1"
}
},
"api-version": "2020-10-01",
"api-version": "2021-06-01",
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
Expand Down Expand Up @@ -68,7 +68,7 @@
],
"capacityReservationProperties": {
"lastSkuUpdate": "Thu, 01 Jan 1970 00:00:00 GMT",
"minCapacity": 1000
"minCapacity": 500
}
},
"sku": {
Expand Down