Skip to content

Commit

Permalink
Move DesktopVirtualization to Az.DesktopVirtualization-preview (#26396)
Browse files Browse the repository at this point in the history
Co-authored-by: azure-powershell-bot <[email protected]>
  • Loading branch information
1 parent 7c06fc5 commit 1f34af1
Show file tree
Hide file tree
Showing 95 changed files with 4,820 additions and 4,912 deletions.
31 changes: 4 additions & 27 deletions src/DesktopVirtualization/DesktopVirtualization.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,39 +107,16 @@ directive:
parameter-name: ProgressSessionHostsInProgress
set:
parameter-name: SessionHostsInProgress
- where:
verb: Get
subject: AppAttachPackage
set:
preview-announcement:
preview-message: This cmdlet is currently in preview, behavior is subject to change.
estimated-ga-date: 2024-04-01
- where:
verb: Import
subject: AppAttachPackageInfo
set:
preview-announcement:
preview-message: This cmdlet is currently in preview, behavior is subject to change.
estimated-ga-date: 2024-04-01
- where:
verb: New
subject: AppAttachPackage
set:
preview-announcement:
preview-message: This cmdlet is currently in preview, behavior is subject to change.
estimated-ga-date: 2024-04-01
- where:
verb: Remove
subject: AppAttachPackage
subject: HostPool
set:
preview-announcement:
preview-message: This cmdlet is currently in preview, behavior is subject to change.
estimated-ga-date: 2024-04-01
preview-message: The IdentityType property is not currently supported and will be enabled in a future update.
- where:
verb: Update
subject: AppAttachPackage
subject: HostPool
set:
preview-announcement:
preview-message: This cmdlet is currently in preview, behavior is subject to change.
estimated-ga-date: 2024-04-01
preview-message: The IdentityType property is not currently supported and will be enabled in a future update.
```
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ if(-not $Isolated -and -not $Debugger) {
$binFolder = Join-Path $PSScriptRoot 'bin'
$objFolder = Join-Path $PSScriptRoot 'obj'

$isAzure = [System.Convert]::ToBoolean('true')

if(-not $Debugger) {
Write-Host -ForegroundColor Green 'Cleaning build folders...'
$null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
Expand Down Expand Up @@ -143,7 +145,7 @@ if($NoDocs) {
$null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
}
$null = New-Item -ItemType Directory -Force -Path $docsFolder
$addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true')
$addComplexInterfaceInfo = !$isAzure
Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo
}

Expand Down Expand Up @@ -178,5 +180,4 @@ if (-not $DisableAfterBuildTasks){
}
}


Write-Host -ForegroundColor Green '-------------Done-------------'
Write-Host -ForegroundColor Green '-------------Done-------------'
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWvdAppAttachPackage_Get")]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Get an app attach package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWvdAppAttachPackage_GetViaIdentity")]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Get an app attach package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] ListByResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWvdAppAttachPackage_List")]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"List App Attach packages in resource group.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] ListBySubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.DesktopVirtualization/appAttachPackages"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzWvdAppAttachPackage_List1")]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"List App Attach packages in subscription.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Import=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/importAppAttachPackageInfo"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Import, @"AzWvdAppAttachPackageInfo_Import", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Gets information from a package given the path to the package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Import=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/importAppAttachPackageInfo"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Import, @"AzWvdAppAttachPackageInfo_ImportExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Gets information from a package given the path to the package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Import=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/importAppAttachPackageInfo"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Import, @"AzWvdAppAttachPackageInfo_ImportViaIdentity", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Gets information from a package given the path to the package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Import=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/importAppAttachPackageInfo"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Import, @"AzWvdAppAttachPackageInfo_ImportViaIdentityExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Gets information from a package given the path to the package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWvdAppAttachPackage_CreateExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Create or update an App Attach package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzWvdHostPool_CreateExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("The IdentityType property is not currently supported and will be enabled in a future update.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IHostPool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Create or update a host pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzWvdAppAttachPackage_Delete", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Remove an App Attach Package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Delete=>DELETE:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Remove, @"AzWvdAppAttachPackage_DeleteViaIdentity", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(bool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Remove an App Attach Package.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWvdAppAttachPackage_UpdateExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Update an App Attach Package")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/appAttachPackages/{appAttachPackageName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWvdAppAttachPackage_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("This cmdlet is currently in preview, behavior is subject to change.", "2024-04-01T00:00:00.000Z")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IAppAttachPackage))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Update an App Attach Package")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWvdHostPool_UpdateExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("The IdentityType property is not currently supported and will be enabled in a future update.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IHostPool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Update a host pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Cmdlets
/// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}"
/// </remarks>
[global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzWvdHostPool_UpdateViaIdentityExpanded", SupportsShouldProcess = true)]
[Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.PreviewMessage("The IdentityType property is not currently supported and will be enabled in a future update.")]
[global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20240408Preview.IHostPool))]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Description(@"Update a host pool.")]
[global::Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Generated]
Expand Down
Loading

0 comments on commit 1f34af1

Please sign in to comment.