Skip to content

Commit

Permalink
AVS API 2023-03-01 (#24490)
Browse files Browse the repository at this point in the history
* 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
cataggar authored Aug 4, 2023
1 parent 33abb04 commit 0baf811
Show file tree
Hide file tree
Showing 114 changed files with 13,198 additions and 2 deletions.
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
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": {}
}
}
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"
}
}
}
}
Loading

0 comments on commit 0baf811

Please sign in to comment.