Skip to content

Commit bb4de36

Browse files
authored
Azure VMware Solution 2023-09-01 in TypeSpec (#28023)
* copy 2023-03-01 * update readme * add TypeSpec * TypeSpec examples * tsp compile * these examples were renamed * set default tag to new API version * Properties of a PATCH request body must not have default value, property:internet. * remove Maintenances (#28028) * new audience parameter must be optional * remove custom rename from 2023-09-01 API (#28105) * remove ProvisionedNetwork ProxyResource (#28108) * remove AvailabilityZones from 2023-09-01 API (#28111) * "quota", not "quote" * "quota" fix in swagger * remove "workloadNetworkName": "default" from example * TypeSpec compiler v0.54.0 * suppress namedOutputs again * suppress 200s in deletes * suppress missing-x-ms-identifiers * format tspconfig.yaml * suppress false positives (#28220) * use common LocationParameter (#28221) * remove LintDiff suppressions in readme (#28222) * add minimal suppressions back (#28234) * do not specify x-ms-long-running-operation-options for VirtualMachines_RestrictMovement * specify paths for suppressions (#28281)
1 parent 77c47a7 commit bb4de36

File tree

238 files changed

+24796
-87
lines changed

Some content is hidden

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

238 files changed

+24796
-87
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_ArcReg",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "arc",
10+
"addon": {
11+
"properties": {
12+
"addonType": "Arc",
13+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
21+
"name": "arc",
22+
"properties": {
23+
"addonType": "Arc",
24+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
33+
"name": "arc",
34+
"properties": {
35+
"addonType": "Arc",
36+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
37+
"provisioningState": "Succeeded"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_HCX",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "hcx",
10+
"addon": {
11+
"properties": {
12+
"addonType": "HCX",
13+
"offer": "VMware MaaS Cloud Provider (Enterprise)"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
21+
"name": "hcx",
22+
"properties": {
23+
"addonType": "HCX",
24+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
33+
"name": "hcx",
34+
"properties": {
35+
"addonType": "HCX",
36+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_SRM",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "srm",
10+
"addon": {
11+
"properties": {
12+
"addonType": "SRM",
13+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
21+
"name": "srm",
22+
"properties": {
23+
"addonType": "SRM",
24+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
33+
"name": "srm",
34+
"properties": {
35+
"addonType": "SRM",
36+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"title": "Addons_CreateOrUpdate_VR",
3+
"operationId": "Addons_CreateOrUpdate",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "vr",
10+
"addon": {
11+
"properties": {
12+
"addonType": "VR",
13+
"vrsCount": 1
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
21+
"name": "vr",
22+
"properties": {
23+
"addonType": "VR",
24+
"vrsCount": 1,
25+
"provisioningState": "Succeeded"
26+
},
27+
"type": "Microsoft.AVS/privateClouds/addons"
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
33+
"name": "vr",
34+
"properties": {
35+
"addonType": "VR",
36+
"vrsCount": 1,
37+
"provisioningState": "Updating"
38+
},
39+
"type": "Microsoft.AVS/privateClouds/addons"
40+
}
41+
}
42+
}
43+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"title": "Addons_Delete",
3+
"operationId": "Addons_Delete",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "srm"
10+
},
11+
"responses": {
12+
"200": {},
13+
"202": {
14+
"headers": {
15+
"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-09-01"
16+
}
17+
},
18+
"204": {}
19+
}
20+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Addons_Get_ArcReg",
3+
"operationId": "Addons_Get",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "arc"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc",
15+
"name": "arc",
16+
"properties": {
17+
"addonType": "Arc",
18+
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter",
19+
"provisioningState": "Succeeded"
20+
},
21+
"type": "Microsoft.AVS/privateClouds/addons"
22+
}
23+
}
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Addons_Get_HCX",
3+
"operationId": "Addons_Get",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "hcx"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx",
15+
"name": "hcx",
16+
"properties": {
17+
"addonType": "HCX",
18+
"offer": "VMware MaaS Cloud Provider (Enterprise)",
19+
"provisioningState": "Succeeded"
20+
},
21+
"type": "Microsoft.AVS/privateClouds/addons"
22+
}
23+
}
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Addons_Get_SRM",
3+
"operationId": "Addons_Get",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "srm"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
15+
"name": "srm",
16+
"properties": {
17+
"addonType": "SRM",
18+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
19+
"provisioningState": "Succeeded"
20+
},
21+
"type": "Microsoft.AVS/privateClouds/addons"
22+
}
23+
}
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"title": "Addons_Get_VR",
3+
"operationId": "Addons_Get",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1",
9+
"addonName": "vr"
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr",
15+
"name": "vr",
16+
"properties": {
17+
"addonType": "VR",
18+
"vrsCount": 1,
19+
"provisioningState": "Succeeded"
20+
},
21+
"type": "Microsoft.AVS/privateClouds/addons"
22+
}
23+
}
24+
}
25+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"title": "Addons_List",
3+
"operationId": "Addons_List",
4+
"parameters": {
5+
"api-version": "2023-09-01",
6+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
7+
"resourceGroupName": "group1",
8+
"privateCloudName": "cloud1"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm",
16+
"name": "srm",
17+
"properties": {
18+
"addonType": "SRM",
19+
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5",
20+
"provisioningState": "Succeeded"
21+
},
22+
"type": "Microsoft.AVS/privateClouds/addons"
23+
}
24+
]
25+
}
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)