-
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.
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)
- Loading branch information
Showing
238 changed files
with
24,796 additions
and
87 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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" | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
specification/vmware/Microsoft.AVS/examples/2023-09-01/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,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": {} | ||
} | ||
} |
Oops, something went wrong.