From 0a6cc475568f9b4b7c8f647dd93839880f9615cf Mon Sep 17 00:00:00 2001 From: bganapa Date: Tue, 17 Aug 2021 15:58:01 -0700 Subject: [PATCH] Updating Compute Admin model api versions for the Open API Spec changes --- src/Azs.Compute.Admin/custom/New-AzsComputeQuota.ps1 | 8 ++++---- src/Azs.Compute.Admin/custom/New-AzsDiskMigrationJob.ps1 | 8 ++++---- src/Azs.Compute.Admin/custom/Set-AzsComputeQuota.ps1 | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Azs.Compute.Admin/custom/New-AzsComputeQuota.ps1 b/src/Azs.Compute.Admin/custom/New-AzsComputeQuota.ps1 index e56db0d9..17b7ef88 100644 --- a/src/Azs.Compute.Admin/custom/New-AzsComputeQuota.ps1 +++ b/src/Azs.Compute.Admin/custom/New-AzsComputeQuota.ps1 @@ -6,9 +6,9 @@ Creates or Updates a Compute Quota with the provided quota parameters. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/new-azscomputequota .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. @@ -25,7 +25,7 @@ NEWQUOTA : Holds Compute quota information used to control resource allo https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/new-azscomputequota #> function New-AzsComputeQuota { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -52,7 +52,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota] + [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota] # Holds Compute quota information used to control resource allocation. # To construct, see NOTES section for NEWQUOTA properties and create a hash table. ${NewQuota}, diff --git a/src/Azs.Compute.Admin/custom/New-AzsDiskMigrationJob.ps1 b/src/Azs.Compute.Admin/custom/New-AzsDiskMigrationJob.ps1 index dbb19ebb..d90e6255 100644 --- a/src/Azs.Compute.Admin/custom/New-AzsDiskMigrationJob.ps1 +++ b/src/Azs.Compute.Admin/custom/New-AzsDiskMigrationJob.ps1 @@ -6,9 +6,9 @@ Starts a managed disk migration job to migrate managed disks to the specified de .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/new-azsdiskmigrationjob .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180730Preview.IDisk[] +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20210401.IDisk[] .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180730Preview.IDiskMigrationJob +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20210401.IDiskMigrationJob .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. @@ -23,7 +23,7 @@ https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/new-azsdisk #> function New-AzsDiskMigrationJob { [Alias('Start-AzsDiskMigrationJob')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180730Preview.IDiskMigrationJob])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20210401.IDiskMigrationJob])] [CmdletBinding(DefaultParameterSetName='Volume', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -68,7 +68,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180730Preview.IDisk[]] + [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20210401.IDisk[]] # . # To construct, see NOTES section for DISKS properties and create a hash table. ${Disks}, diff --git a/src/Azs.Compute.Admin/custom/Set-AzsComputeQuota.ps1 b/src/Azs.Compute.Admin/custom/Set-AzsComputeQuota.ps1 index 3303783e..2bc0dc4f 100644 --- a/src/Azs.Compute.Admin/custom/Set-AzsComputeQuota.ps1 +++ b/src/Azs.Compute.Admin/custom/Set-AzsComputeQuota.ps1 @@ -6,9 +6,9 @@ Creates or Updates a Compute Quota with the provided quota parameters. .Example To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/set-azscomputequota .Inputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota .Outputs -Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota +Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. @@ -25,7 +25,7 @@ NEWQUOTA : Holds Compute quota information used to control resource allo https://docs.microsoft.com/en-us/powershell/module/azs.compute.admin/set-azscomputequota #> function Set-AzsComputeQuota { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota])] [CmdletBinding(DefaultParameterSetName='Update', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter()] @@ -38,7 +38,7 @@ param( [Parameter(Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api20180209.IQuota] + [Microsoft.Azure.PowerShell.Cmdlets.ComputeAdmin.Models.Api202101.IQuota] # Holds Compute quota information used to control resource allocation. # To construct, see NOTES section for NEWQUOTA properties and create a hash table. ${NewQuota},