Skip to content

Commit 25f82a3

Browse files
committed
sync generation-DesktopVirtualization-preview
1 parent 1ccf118 commit 25f82a3

File tree

318 files changed

+18592
-7711
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

318 files changed

+18592
-7711
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0 (the ""License"");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
// http://www.apache.org/licenses/LICENSE-2.0
6+
// Unless required by applicable law or agreed to in writing, software
7+
// distributed under the License is distributed on an ""AS IS"" BASIS,
8+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9+
// See the License for the specific language governing permissions and
10+
// limitations under the License.
11+
// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
12+
// is regenerated.
13+
14+
using System;
15+
using System.Reflection;
16+
using System.Runtime.CompilerServices;
17+
using System.Runtime.InteropServices;
18+
19+
[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
20+
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
21+
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
22+
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DesktopVirtualizationClient")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("5.4.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("5.4.1")]
25+
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]

src/DesktopVirtualization/DesktopVirtualization.Autorest/README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ In this directory, run AutoRest:
4444
> see https://aka.ms/autorest
4545
4646
``` yaml
47-
commit: 0feca76719343b0cb1e6a9d6064c7037827706ca
47+
commit: 6de4fd441872ef5a6d0cebf177988e8661410e04
4848
require:
4949
- $(this-folder)/../../readme.azure.noprofile.md
5050
sanitize-names: true
5151
subject-prefix: 'Wvd'
5252
input-file:
53-
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/stable/2024-04-03/desktopvirtualization.json
53+
- $(repo)/specification/desktopvirtualization/resource-manager/Microsoft.DesktopVirtualization/preview/2024-04-08-preview/desktopvirtualization.json
5454

5555
module-version: 2.1.0
5656
title: DesktopVirtualizationClient
@@ -105,3 +105,20 @@ directive:
105105
parameter-name: Force
106106
set:
107107
parameter-description: 'Specify to force userSession deletion.'
108+
- where:
109+
parameter-name: ProgressSessionHostsInProgress
110+
set:
111+
parameter-name: SessionHostsInProgress
112+
- where:
113+
verb: New
114+
subject: HostPool
115+
set:
116+
preview-announcement:
117+
preview-message: The IdentityType property is not currently supported and will be enabled in a future update.
118+
- where:
119+
verb: Update
120+
subject: HostPool
121+
set:
122+
preview-announcement:
123+
preview-message: The IdentityType property is not currently supported and will be enabled in a future update.
124+
```
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "appAttachPackages",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},
@@ -42,44 +42,6 @@
4242
]
4343
}
4444
]
45-
},
46-
{
47-
"name": "Remove-AzWvdAppAttachPackage",
48-
"description": "Remove an App Attach Package.",
49-
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}",
50-
"help": {
51-
"learnMore": {
52-
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/remove-azwvdappattachpackage"
53-
},
54-
"parameterSets": [
55-
{
56-
"parameters": [
57-
"-Name <String>",
58-
"-ResourceGroupName <String>",
59-
"[-SubscriptionId <String>]"
60-
]
61-
}
62-
]
63-
},
64-
"examples": [
65-
{
66-
"description": "Remove an App Attach Package.",
67-
"parameters": [
68-
{
69-
"name": "-Name",
70-
"value": "[Path.appAttachPackageName]"
71-
},
72-
{
73-
"name": "-ResourceGroupName",
74-
"value": "[Path.resourceGroupName]"
75-
},
76-
{
77-
"name": "-SubscriptionId",
78-
"value": "[Path.subscriptionId]"
79-
}
80-
]
81-
}
82-
]
8345
}
8446
]
8547
}

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups-applications.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups/applications",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups-desktops.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups/desktops",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/applicationGroups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "applicationGroups",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-msixPackages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/msixPackages",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-privateEndpointConnections.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/privateEndpointConnections",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-sessionHosts-userSessions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/sessionHosts/userSessions",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},

src/DesktopVirtualization/DesktopVirtualization.Autorest/UX/Microsoft.DesktopVirtualization/hostPools-sessionHosts.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "hostPools/sessionHosts",
3-
"apiVersion": "2024-04-03",
3+
"apiVersion": "2024-04-08-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization"
66
},
@@ -47,6 +47,49 @@
4747
]
4848
}
4949
]
50+
},
51+
{
52+
"name": "Invoke-AzWvdRetrySessionHostProvisioning",
53+
"description": "Retry provisioning on a SessionHost.",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/sessionHosts/{sessionHostName}/retryProvisioning",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.desktopvirtualization/invoke-azwvdretrysessionhostprovisioning"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-HostPoolName <String>",
63+
"-ResourceGroupName <String>",
64+
"-SessionHostName <String>",
65+
"[-SubscriptionId <String>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Retry provisioning on a SessionHost.",
73+
"parameters": [
74+
{
75+
"name": "-HostPoolName",
76+
"value": "[Path.hostPoolName]"
77+
},
78+
{
79+
"name": "-ResourceGroupName",
80+
"value": "[Path.resourceGroupName]"
81+
},
82+
{
83+
"name": "-SessionHostName",
84+
"value": "[Path.sessionHostName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
5093
}
5194
]
5295
}

0 commit comments

Comments
 (0)