Skip to content

Commit 28db62c

Browse files
grizzlytheodorehari-bodicherlaaspandkamusta-msftprchin
authored
ComputeRP 2022-03-01 REST API release (#17988)
* new API version set up * update mistakes * move extended location to common * update other readme files for sdk languages * Adding UltraSSDcapability properties in dedicated host resource (#18076) * Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS * updated comment * updated swagger specs for diffdisksettings property * updated swagger spec comments for diff disk settings [property * added example to create Diff OS disk scaleset * updated 2018-10-01 version specs with diffdisk property * added example file for creating VM with diffdisksettings property * updated swagger changes for reimage operation in single vm * update examples * udpated examples * fixed validation errors * updated comments for reimage operation documentation * Updated examples and documentation for APIs in swagger * updated examples as per review comments * updated swagger documentation * updated swagger documentation with zone details in the sku example * updated swagger documentation and reverted the breaking changes * updated examples as per swagger model * updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request * updated swagger * updated swagger * Added new property in DiffDiskSettings * updated swagger spec * udpated swagger * updated swagger spec * updated code * updated code * udpated swagger * updated code * updated swagger documentation for DiffDiskPlacement * updated code * updated documentation * updated code * updated swagger * updated swagger * updated swagger * updated code * updated code * updated example json * updated swagger changes * updated swagger * Updating minor documentation for the changes checked in PR: 18076 (#18528) * Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS * updated comment * updated swagger specs for diffdisksettings property * updated swagger spec comments for diff disk settings [property * added example to create Diff OS disk scaleset * updated 2018-10-01 version specs with diffdisk property * added example file for creating VM with diffdisksettings property * updated swagger changes for reimage operation in single vm * update examples * udpated examples * fixed validation errors * updated comments for reimage operation documentation * Updated examples and documentation for APIs in swagger * updated examples as per review comments * updated swagger documentation * updated swagger documentation with zone details in the sku example * updated swagger documentation and reverted the breaking changes * updated examples as per swagger model * updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request * updated swagger * updated swagger * Added new property in DiffDiskSettings * updated swagger spec * udpated swagger * updated swagger spec * updated code * updated code * udpated swagger * updated code * updated swagger documentation for DiffDiskPlacement * updated code * updated documentation * updated code * updated swagger * updated swagger * updated swagger * updated code * updated code * updated example json * updated swagger changes * updated swagger * udpated swagger * Merged the intent from origin (#18159) * fix naming convention error =s * new API version set up * update mistakes * move extended location to common * update other readme files for sdk languages * Adding UltraSSDcapability properties in dedicated host resource (#18076) * Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS * updated comment * updated swagger specs for diffdisksettings property * updated swagger spec comments for diff disk settings [property * added example to create Diff OS disk scaleset * updated 2018-10-01 version specs with diffdisk property * added example file for creating VM with diffdisksettings property * updated swagger changes for reimage operation in single vm * update examples * udpated examples * fixed validation errors * updated comments for reimage operation documentation * Updated examples and documentation for APIs in swagger * updated examples as per review comments * updated swagger documentation * updated swagger documentation with zone details in the sku example * updated swagger documentation and reverted the breaking changes * updated examples as per swagger model * updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request * updated swagger * updated swagger * Added new property in DiffDiskSettings * updated swagger spec * udpated swagger * updated swagger spec * updated code * updated code * udpated swagger * updated code * updated swagger documentation for DiffDiskPlacement * updated code * updated documentation * updated code * updated swagger * updated swagger * updated swagger * updated code * updated code * updated example json * updated swagger changes * updated swagger * Updating minor documentation for the changes checked in PR: 18076 (#18528) * Added diffDiskSettings property as part of Swagger changes needed for Ephemeral VM\VMSS * updated comment * updated swagger specs for diffdisksettings property * updated swagger spec comments for diff disk settings [property * added example to create Diff OS disk scaleset * updated 2018-10-01 version specs with diffdisk property * added example file for creating VM with diffdisksettings property * updated swagger changes for reimage operation in single vm * update examples * udpated examples * fixed validation errors * updated comments for reimage operation documentation * Updated examples and documentation for APIs in swagger * updated examples as per review comments * updated swagger documentation * updated swagger documentation with zone details in the sku example * updated swagger documentation and reverted the breaking changes * updated examples as per swagger model * updated swagger to remove the model validation errors for existing examples where we are passing read only parameter in the request * updated swagger * updated swagger * Added new property in DiffDiskSettings * updated swagger spec * udpated swagger * updated swagger spec * updated code * updated code * udpated swagger * updated code * updated swagger documentation for DiffDiskPlacement * updated code * updated documentation * updated code * updated swagger * updated swagger * updated swagger * updated code * updated code * updated example json * updated swagger changes * updated swagger * udpated swagger * Merged the intent from origin (#18159) * fix naming convention error =s * fix issues from #18159 * Adding Identity to VirtualMachineScaleSetVM (#18295) * init * PR comment * [Crash Consistent RestorePoints] Making consistencyMode input parameter for RestorePoint (#18165) * removing readonly for consistencymode * small spell correction 2.1 * [RestorePoints] Fixing instanceView (#18592) * fixing instance view 20220301instanceviewfix branch 1.1 * adding objects 2.1 * VMSS Flex Disk deleteOption changes (#18433) * disk delete option for vmss flex * prettier changes * update parameters Co-authored-by: Kimberly Yip Chang <[email protected]> * Fix vm extension location bug (#18487) * fix * fix lint issue * Update properties for VMApps, CRP (#18609) * saving work * ran prettier * fix LintDiff, SpellCheck * reverted changes made to gallery.json. The changes to gallery.json will be part of separate PR. * GuestPatching: Adding AutomaticByPlatformSettings (in VMSS and VM model) and useRollingUpgradePolicy (in VMSS model) properties (#18581) * GuestPatching: Adding AutomaticByPlatofrmSettings within Linux and Windows Patch settings for VM and VMSS model * Updating examples related to AutomaticByPlatformSettings property in PatchSettings for VM and VMSS model * Adding useRollingUpgradePolicy property to automaticOSUpgradePolicy for VMSS and other minor changes for AutomaticByPlatfrom settings * Addressing PR feedback * Addressing PR feedback #2 * Renaming reboot reference for windows and linux automaticbyplatform patch settings - reboot settings * Resolving errors reported on the PR by Avocado and LintDiff * add architecture added in last version * fix CI failures * added PremiumV2_LRS (#18809) * Update dedicatedHost.json * fix example name to keep it consistent with others * Update computeRPCommon.json Co-authored-by: hari-bodicherla <[email protected]> Co-authored-by: aspand <[email protected]> Co-authored-by: kamusta-msft <[email protected]> Co-authored-by: prchin <[email protected]> Co-authored-by: Kimberly Yip Chang <[email protected]> Co-authored-by: Kimberly Yip Chang <[email protected]> Co-authored-by: Bhaskar Brahma <[email protected]> Co-authored-by: Rajasi Rane <[email protected]> Co-authored-by: PushyaragY <[email protected]>
1 parent 7d6b476 commit 28db62c

File tree

379 files changed

+50753
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

379 files changed

+50753
-7
lines changed

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/availabilitySet.json

Lines changed: 514 additions & 0 deletions
Large diffs are not rendered by default.

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/capacityReservation.json

Lines changed: 978 additions & 0 deletions
Large diffs are not rendered by default.

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/computeRPCommon.json

Lines changed: 1863 additions & 0 deletions
Large diffs are not rendered by default.

specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/dedicatedHost.json

Lines changed: 1061 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2022-03-01",
6+
"availabilitySetName": "myAvailabilitySet",
7+
"parameters": {
8+
"location": "westus",
9+
"properties": {
10+
"platformFaultDomainCount": 2,
11+
"platformUpdateDomainCount": 20
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"sku": {
19+
"name": "Classic"
20+
},
21+
"name": "myAvailabilitySet",
22+
"properties": {
23+
"platformFaultDomainCount": 2,
24+
"platformUpdateDomainCount": 20
25+
},
26+
"location": "westus",
27+
"type": "Microsoft.Compute/availabilitySets",
28+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/myAvailabilitySet"
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscriptionId}",
4+
"api-version": "2022-03-01",
5+
"$expand": "virtualMachines\\$ref"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"name": "{availabilitySetName}",
13+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
14+
"type": "Microsoft.Compute/availabilitySets",
15+
"location": "australiasoutheast",
16+
"properties": {
17+
"platformUpdateDomainCount": 5,
18+
"platformFaultDomainCount": 3,
19+
"virtualMachines": [
20+
{
21+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
22+
}
23+
]
24+
},
25+
"sku": {
26+
"name": "Classic"
27+
}
28+
},
29+
{
30+
"name": "{availabilitySetName}",
31+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
32+
"type": "Microsoft.Compute/availabilitySets",
33+
"location": "australiasoutheast",
34+
"properties": {
35+
"platformUpdateDomainCount": 5,
36+
"platformFaultDomainCount": 3,
37+
"virtualMachines": [
38+
{
39+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}"
40+
}
41+
]
42+
},
43+
"sku": {
44+
"name": "Classic"
45+
}
46+
},
47+
{
48+
"name": "{availabilitySetName}",
49+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
50+
"type": "Microsoft.Compute/availabilitySets",
51+
"location": "westcentralus",
52+
"tags": {
53+
"{tagName}": "{tagValue}"
54+
},
55+
"properties": {
56+
"platformUpdateDomainCount": 5,
57+
"platformFaultDomainCount": 3,
58+
"virtualMachines": []
59+
},
60+
"sku": {
61+
"name": "Classic"
62+
}
63+
},
64+
{
65+
"name": "{availabilitySetName}",
66+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}",
67+
"type": "Microsoft.Compute/availabilitySets",
68+
"location": "westcentralus",
69+
"tags": {
70+
"{tagName}": "{tagValue}"
71+
},
72+
"properties": {
73+
"platformUpdateDomainCount": 5,
74+
"platformFaultDomainCount": 3,
75+
"virtualMachines": []
76+
},
77+
"sku": {
78+
"name": "Classic"
79+
}
80+
}
81+
]
82+
}
83+
}
84+
}
85+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aaaaaaaaaaaaaaaaaaaa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aaaaaaaaaaa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aaaaaaaaaaaa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "westus",
12+
"properties": {
13+
"platformFaultDomainCount": 2,
14+
"platformUpdateDomainCount": 20,
15+
"virtualMachines": [
16+
{
17+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
18+
}
19+
],
20+
"proximityPlacementGroup": {
21+
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}"
22+
},
23+
"statuses": [
24+
{
25+
"code": "aaaaaaaaaaaaaaaaaaaaaaa",
26+
"level": "Info",
27+
"displayStatus": "aaaaaa",
28+
"message": "a",
29+
"time": "2021-11-30T12:58:26.522Z"
30+
}
31+
]
32+
},
33+
"sku": {
34+
"name": "Classic",
35+
"tier": "aaaaaaaaaaaaaa",
36+
"capacity": 29
37+
},
38+
"id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/myAvailabilitySet",
39+
"name": "myAvailabilitySet",
40+
"type": "Microsoft.Compute/availabilitySets",
41+
"tags": {
42+
"key9626": "aaaaaaaaaaaaaaaaaaaa",
43+
"key2505": "aa"
44+
}
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aaaaaaaaaaaaaaaaaaaa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"location": "westus"
12+
}
13+
}
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aaaaaaaaaaaaaaaaaaaa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "Standard_A1_V2",
14+
"numberOfCores": 1,
15+
"osDiskSizeInMB": 1047552,
16+
"resourceDiskSizeInMB": 10240,
17+
"memoryInMB": 2048,
18+
"maxDataDiskCount": 2
19+
},
20+
{
21+
"name": "Standard_A2_V2",
22+
"numberOfCores": 2,
23+
"osDiskSizeInMB": 1047552,
24+
"resourceDiskSizeInMB": 20480,
25+
"memoryInMB": 4096,
26+
"maxDataDiskCount": 4
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "rgcompute",
4+
"availabilitySetName": "aa",
5+
"api-version": "2022-03-01",
6+
"subscriptionId": "{subscription-id}"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {}
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)