-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
- Loading branch information
Showing
114 changed files
with
13,198 additions
and
2 deletions.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
...source-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_CreateOrUpdate_ArcReg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "arc", | ||
"addon": { | ||
"properties": { | ||
"addonType": "Arc", | ||
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", | ||
"name": "arc", | ||
"properties": { | ||
"addonType": "Arc", | ||
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", | ||
"name": "arc", | ||
"properties": { | ||
"addonType": "Arc", | ||
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
.../resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_CreateOrUpdate_HCX.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "hcx", | ||
"addon": { | ||
"properties": { | ||
"addonType": "HCX", | ||
"offer": "VMware MaaS Cloud Provider (Enterprise)" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", | ||
"name": "hcx", | ||
"properties": { | ||
"addonType": "HCX", | ||
"offer": "VMware MaaS Cloud Provider (Enterprise)", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", | ||
"name": "hcx", | ||
"properties": { | ||
"addonType": "HCX", | ||
"offer": "VMware MaaS Cloud Provider (Enterprise)", | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
.../resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_CreateOrUpdate_SRM.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm", | ||
"addon": { | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...e/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_CreateOrUpdate_VR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "vr", | ||
"addon": { | ||
"properties": { | ||
"addonType": "VR", | ||
"vrsCount": 1 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", | ||
"name": "vr", | ||
"properties": { | ||
"addonType": "VR", | ||
"vrsCount": 1, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", | ||
"name": "vr", | ||
"properties": { | ||
"addonType": "VR", | ||
"vrsCount": 1, | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ation/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"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" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...n/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_Get_ArcReg.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "arc" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/arc", | ||
"name": "arc", | ||
"properties": { | ||
"addonType": "Arc", | ||
"vCenter": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg_test/providers/Microsoft.ConnectedVMwarevSphere/VCenters/test-vcenter", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...tion/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_Get_HCX.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "hcx" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/hcx", | ||
"name": "hcx", | ||
"properties": { | ||
"addonType": "HCX", | ||
"offer": "VMware MaaS Cloud Provider (Enterprise)", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...tion/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_Get_SRM.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "srm" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...ation/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_Get_VR.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"addonName": "vr" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/vr", | ||
"name": "vr", | ||
"properties": { | ||
"addonType": "VR", | ||
"vrsCount": 1, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ication/vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Addons_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/addons/srm", | ||
"name": "srm", | ||
"properties": { | ||
"addonType": "SRM", | ||
"licenseKey": "41915178-A8FF-4A4D-B683-6D735AF5E3F5", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/addons" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ource-manager/Microsoft.AVS/stable/2023-03-01/examples/Authorizations_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1", | ||
"authorization": {} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", | ||
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", | ||
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Updating" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Authorizations_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"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" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
.../vmware/resource-manager/Microsoft.AVS/stable/2023-03-01/examples/Authorizations_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "group1", | ||
"privateCloudName": "cloud1", | ||
"authorizationName": "authorization1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.AVS/privateClouds/cloud1/authorizations/authorization1", | ||
"name": "authorization1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"expressRouteId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2/providers/Microsoft.Network/expressroutecircuits/tnt13-41a90db2-9d5e-4bd5-a77a-5ce7b58213d6-eastus2-xconnect", | ||
"expressRouteAuthorizationId": "/subscriptions/5206f269-120b-41ef-a95b-0dce7109de61/resourceGroups/tnt34-cust-mockp02-spearj2dev/providers/Microsoft.Network/expressroutecircuits/tnt34-cust-mockp02-spearj2dev-er/authorizations/myauth", | ||
"expressRouteAuthorizationKey": "37b0db3b-3b17-4c7b-bf76-bf13b01bcadc" | ||
}, | ||
"type": "Microsoft.AVS/privateClouds/authorizations" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.