Skip to content

Commit 0baf811

Browse files
authored
AVS API 2023-03-01 (#24490)
* cp -r 2022-05-01 2023-03-01 * set version as 2023-03-01 * changes * switch back to v1 ErrorResponse * must not use two differert ErrorResponse types * use v5 ErrorResponse (#4) * remove sku changes * #/definitions/Sku * remove old readme block * remove skus.json * add patterns for resource names ported from Azure/azure-rest-api-specs-pr#11127
1 parent 33abb04 commit 0baf811

File tree

114 files changed

+13198
-2
lines changed

Some content is hidden

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

114 files changed

+13198
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "arc",
8+
"addon": {
9+
"properties": {
10+
"addonType": "Arc",
11+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
19+
"name": "arc",
20+
"properties": {
21+
"addonType": "Arc",
22+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
23+
"provisioningState": "Succeeded"
24+
},
25+
"type": "Microsoft.AVS/privateClouds/addons"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
31+
"name": "arc",
32+
"properties": {
33+
"addonType": "Arc",
34+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
35+
"provisioningState": "Succeeded"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "hcx",
8+
"addon": {
9+
"properties": {
10+
"addonType": "HCX",
11+
"offer": "VMware MaaS Cloud Provider (Enterprise)"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
19+
"name": "hcx",
20+
"properties": {
21+
"addonType": "HCX",
22+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
23+
"provisioningState": "Succeeded"
24+
},
25+
"type": "Microsoft.AVS/privateClouds/addons"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
31+
"name": "hcx",
32+
"properties": {
33+
"addonType": "HCX",
34+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
35+
"provisioningState": "Updating"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm",
8+
"addon": {
9+
"properties": {
10+
"addonType": "SRM",
11+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
19+
"name": "srm",
20+
"properties": {
21+
"addonType": "SRM",
22+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
23+
"provisioningState": "Succeeded"
24+
},
25+
"type": "Microsoft.AVS/privateClouds/addons"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
31+
"name": "srm",
32+
"properties": {
33+
"addonType": "SRM",
34+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
35+
"provisioningState": "Updating"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "vr",
8+
"addon": {
9+
"properties": {
10+
"addonType": "VR",
11+
"vrsCount": 1
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
19+
"name": "vr",
20+
"properties": {
21+
"addonType": "VR",
22+
"vrsCount": 1,
23+
"provisioningState": "Succeeded"
24+
},
25+
"type": "Microsoft.AVS/privateClouds/addons"
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
31+
"name": "vr",
32+
"properties": {
33+
"addonType": "VR",
34+
"vrsCount": 1,
35+
"provisioningState": "Updating"
36+
},
37+
"type": "Microsoft.AVS/privateClouds/addons"
38+
}
39+
}
40+
}
41+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {
12+
"headers": {
13+
"azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/group1/providers/Microsoft.AVS/operationstatuses/00000000-0000-0000-0000-000000000000?api-version=2023-03-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "arc"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
13+
"name": "arc",
14+
"properties": {
15+
"addonType": "Arc",
16+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "hcx"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
13+
"name": "hcx",
14+
"properties": {
15+
"addonType": "HCX",
16+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "srm"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
13+
"name": "srm",
14+
"properties": {
15+
"addonType": "SRM",
16+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1",
7+
"addonName": "vr"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
13+
"name": "vr",
14+
"properties": {
15+
"addonType": "VR",
16+
"vrsCount": 1,
17+
"provisioningState": "Succeeded"
18+
},
19+
"type": "Microsoft.AVS/privateClouds/addons"
20+
}
21+
}
22+
}
23+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "group1",
6+
"privateCloudName": "cloud1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
14+
"name": "srm",
15+
"properties": {
16+
"addonType": "SRM",
17+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
18+
"provisioningState": "Succeeded"
19+
},
20+
"type": "Microsoft.AVS/privateClouds/addons"
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)