-
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.
Dev desktopvirtualization microsoft.desktop virtualization 2021 05 13…
… preview (#14410) * Adds base for updating Microsoft.DesktopVirtualization from version preview/2021-04-01-preview to version 2021-05-13-preview * Updates readme * Updates API version in new specs and examples * add SAU and HPUpdate * new routes and sh props, and shc last updated time fix errors update SAU corect name sessionHostConfigurationLastUpdateTime and maintenance alert array add faultType * patch publicNetworkAccess * minor description changes * validate and initiate one endpoint, GET updateStatuses, GET validateStatuses * long running and examples * rename sessionhostconfigurations -> sessionhostconfigurations, hostpoolupdateparameters -> hostpoolupdateconfiguration * make updateStatuses/current endpoint a proxy, updateValidationResults, updateResults * fix system data and variable * pr comments rename updateStatuses to updateDetails and remove unsupported state * make status endpoints current * pageable and list operation more next link more pagination add refs of private link more importing issues undo breaking change remove unused HostPoolUpdateValidationResponseList prettier add description * system data for all examples for all * move shconfig to proxy obj * add cancel message * fix formatting * add parameter * philips pr comments * fix examples * move lastUpdate to shc proxy rename to version * pr comments migrate to update * add object type to private link * remove object type for one * change to default
- Loading branch information
Showing
75 changed files
with
11,682 additions
and
7 deletions.
There are no files selected for viewing
6,835 changes: 6,835 additions & 0 deletions
6,835
...ger/Microsoft.DesktopVirtualization/preview/2021-05-13-preview/desktopvirtualization.json
Large diffs are not rendered by default.
Oops, something went wrong.
93 changes: 93 additions & 0 deletions
93
...ft.DesktopVirtualization/preview/2021-05-13-preview/examples/ApplicationGroup_Create.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,93 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"applicationGroupName": "applicationGroup1", | ||
"api-version": "2021-05-13-preview", | ||
"applicationGroup": { | ||
"location": "centralus", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"applicationGroupType": "RemoteApp", | ||
"migrationRequest": { | ||
"migrationPath": "TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}", | ||
"operation": "Start" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false, | ||
"migrationRequest": { | ||
"migrationPath": "TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}", | ||
"operation": "Start" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false, | ||
"migrationRequest": { | ||
"migrationPath": "TenantGroups/{defaultV1TenantGroup.Name}/Tenants/{defaultV1Tenant.Name}/HostPools/{sessionHostPool.Name}", | ||
"operation": "Start" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...ft.DesktopVirtualization/preview/2021-05-13-preview/examples/ApplicationGroup_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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"applicationGroupName": "applicationGroup1", | ||
"api-version": "2021-05-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...osoft.DesktopVirtualization/preview/2021-05-13-preview/examples/ApplicationGroup_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,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"applicationGroupName": "applicationGroup1", | ||
"api-version": "2021-05-13-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
} | ||
} | ||
} | ||
} |
70 changes: 70 additions & 0 deletions
70
...tualization/preview/2021-05-13-preview/examples/ApplicationGroup_ListByResourceGroup.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,70 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"api-version": "2021-05-13-preview", | ||
"$filter": "applicationGroupType eq 'RailApplication'" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
}, | ||
{ | ||
"name": "applicationGroup2", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
...rtualization/preview/2021-05-13-preview/examples/ApplicationGroup_ListBySubscription.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,69 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"api-version": "2021-05-13-preview", | ||
"$filter": "applicationGroupType eq 'RailApplication'" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
}, | ||
{ | ||
"name": "applicationGroup2", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup2", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...ft.DesktopVirtualization/preview/2021-05-13-preview/examples/ApplicationGroup_Update.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,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "daefabc0-95b4-48b3-b645-8a753a63c4fa", | ||
"resourceGroupName": "resourceGroup1", | ||
"applicationGroupName": "applicationGroup1", | ||
"api-version": "2021-05-13-preview", | ||
"applicationGroup": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"description": "des1", | ||
"friendlyName": "friendly" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "applicationGroup1", | ||
"id": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/applicationGroups/applicationGroup1", | ||
"type": "Microsoft.DesktopVirtualization/applicationGroups", | ||
"location": "centralus", | ||
"tags": { | ||
"key1": "value1", | ||
"key2": "value2" | ||
}, | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"objectId": "7877fb31-4bde-49fd-9df3-c046e0ec5325", | ||
"description": "des1", | ||
"friendlyName": "friendly", | ||
"hostPoolArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/hostPools/hostPool1", | ||
"workspaceArmPath": "/subscriptions/daefabc0-95b4-48b3-b645-8a753a63c4fa/resourceGroups/resourceGroup1/providers/Microsoft.DesktopVirtualization/workspaces/workspace1", | ||
"applicationGroupType": "RemoteApp", | ||
"cloudPcResource": false | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.