Skip to content

Commit

Permalink
Azure VMware Solution 2023-09-01 in TypeSpec (#28023)
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
cataggar committed Mar 15, 2024
1 parent 77c47a7 commit bb4de36
Show file tree
Hide file tree
Showing 238 changed files with 24,796 additions and 87 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"title": "Addons_CreateOrUpdate_ArcReg",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-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,43 @@
{
"title": "Addons_CreateOrUpdate_HCX",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-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,43 @@
{
"title": "Addons_CreateOrUpdate_SRM",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-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,43 @@
{
"title": "Addons_CreateOrUpdate_VR",
"operationId": "Addons_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-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,20 @@
{
"title": "Addons_Delete",
"operationId": "Addons_Delete",
"parameters": {
"api-version": "2023-09-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-09-01"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"title": "Addons_Get_ArcReg",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2023-09-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,25 @@
{
"title": "Addons_Get_HCX",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2023-09-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,25 @@
{
"title": "Addons_Get_SRM",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2023-09-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,25 @@
{
"title": "Addons_Get_VR",
"operationId": "Addons_Get",
"parameters": {
"api-version": "2023-09-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,28 @@
{
"title": "Addons_List",
"operationId": "Addons_List",
"parameters": {
"api-version": "2023-09-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,37 @@
{
"title": "Authorizations_CreateOrUpdate",
"operationId": "Authorizations_CreateOrUpdate",
"parameters": {
"api-version": "2023-09-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,20 @@
{
"title": "Authorizations_Delete",
"operationId": "Authorizations_Delete",
"parameters": {
"api-version": "2023-09-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-09-01"
}
},
"204": {}
}
}
Loading

0 comments on commit bb4de36

Please sign in to comment.