Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure VMware Solution 2023-09-01 in TypeSpec #28023

Merged
merged 32 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
f612aa1
copy 2023-03-01
cataggar Mar 1, 2024
691dd77
update readme
cataggar Mar 1, 2024
bef45d3
add TypeSpec
cataggar Mar 1, 2024
97f190c
TypeSpec examples
cataggar Mar 1, 2024
bfbdc30
tsp compile
cataggar Mar 1, 2024
c05c689
these examples were renamed
cataggar Mar 1, 2024
5bab4cf
set default tag to new API version
cataggar Mar 1, 2024
49c09a5
Properties of a PATCH request body must not have default value, prope…
cataggar Mar 1, 2024
2f20dd7
remove Maintenances (#28028)
cataggar Mar 5, 2024
dc37f35
new audience parameter must be optional
cataggar Mar 6, 2024
3578998
remove custom rename from 2023-09-01 API (#28105)
cataggar Mar 6, 2024
08142ac
remove ProvisionedNetwork ProxyResource (#28108)
cataggar Mar 6, 2024
1c7a144
remove AvailabilityZones from 2023-09-01 API (#28111)
cataggar Mar 6, 2024
d0af234
"quota", not "quote"
cataggar Mar 7, 2024
3b53612
"quota" fix in swagger
cataggar Mar 7, 2024
2213585
remove "workloadNetworkName": "default" from example
cataggar Mar 7, 2024
614826a
Merge remote-tracking branch 'origin/main' into AVS/2023-09-01
cataggar Mar 11, 2024
2950018
TypeSpec compiler v0.54.0
cataggar Mar 11, 2024
57fb9fa
suppress namedOutputs again
cataggar Mar 11, 2024
19f9675
suppress 200s in deletes
cataggar Mar 11, 2024
44cd0ae
suppress missing-x-ms-identifiers
cataggar Mar 11, 2024
c05d4ac
format tspconfig.yaml
cataggar Mar 11, 2024
fb5850b
suppress false positives (#28220)
cataggar Mar 12, 2024
98dbba4
use common LocationParameter (#28221)
cataggar Mar 12, 2024
c35c8b7
remove LintDiff suppressions in readme (#28222)
cataggar Mar 12, 2024
80fd9bd
add minimal suppressions back (#28234)
cataggar Mar 13, 2024
09d6b2d
Merge branch 'main' into AVS/2023-09-01
cataggar Mar 13, 2024
3e688c0
do not specify x-ms-long-running-operation-options for VirtualMachine…
cataggar Mar 13, 2024
44d7782
Merge branch 'main' into AVS/2023-09-01
cataggar Mar 13, 2024
cfd7ca8
Merge branch 'main' into AVS/2023-09-01
cataggar Mar 14, 2024
1d629fc
specify paths for suppressions (#28281)
cataggar Mar 15, 2024
1628d55
Merge branch 'main' into AVS/2023-09-01
cataggar Mar 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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