Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) #13

Closed
MaxTrinidad opened this issue Nov 25, 2014 · 24 comments
Assignees

Comments

@MaxTrinidad
Copy link

(reposted from Azure/azure-sdk-tools#3047 - 11/04/2014)

Get-AzureVM breaks pipeline with Out-Gridview. I have Trevor Sullivan confirmed this issue.

This is PowerShell Azure Cmdlets version 0.8.10.1 in PowerShell 4.0.

PS C:> $vm = Get-AzureVM | Out-Gridview -PassThru
Get-AzureVM : The pipeline has been stopped.
At line:1 char:7
•$vm = Get-AzureVM | Out-Gridview -PassThru
• ~~~~~~~~~~~ ◦CategoryInfo : CloseError: (:) [Get-AzureVM], PipelineStoppedException
◦FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVMCommand Out-Gridview : Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index At line:1 char:21

•$vm = Get-AzureVM | Out-Gridview -PassThru
• ~~~~~~~~~~~~~~~~~~~~~~ ◦CategoryInfo : NotSpecified: (:) [Out-GridView], ArgumentOutOfRangeException
◦FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.OutGridViewCommand

Thanks,
Maximo Trinidad
Microsoft MVP - PowerShell

@micdenny
Copy link

+1

@markcowl
Copy link
Member

markcowl commented Dec 2, 2014

@matt-gibbs Please ensure that Kay is added with permissions to update issues

@azuresdkci azuresdkci changed the title Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) Dec 2, 2014
@doctordns
Copy link
Contributor

I just tried it, using 0.8.9 against December 2014 PowerShell v5 beta. And it works just fine!

@MaxTrinidad
Copy link
Author

Awesome!! Just to confirm that on the December release this issue was corrected.
Microsoft Azure PowerShell download version:
Version : 0.8.12
Title : Microsoft Azure PowerShell with Microsoft Azure SDK
Published : 12/11/2014 7:00:00 AM
Author : Microsoft Corporation

Thank You!

@ruano84
Copy link

ruano84 commented Jan 8, 2015

Hi, i just tested

Get-AzureVM | Out-Gridview -PassThru

with 0.8.13 and gives me the same error:

Get-AzureVM : Se ha detenido la canalización.
En línea: 1 Carácter: 1

  • Get-AzureVM | Out-GridView -Title "Select a VM ." -PassThru
  • - CategoryInfo          : CloseError: (:) [Get-AzureVM], PipelineStoppedException
    - FullyQualifiedErrorId : >Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVMCommand
    

The "(Get-Module Azure).Version" output:

Major Minor Build Revision


0 8 13 -1

@MaxTrinidad
Copy link
Author

Interesting! Azure PowerShell version 0.8.13 has been release yet thru the Microsoft Azure download site which is still 0.8.12 December download. This issue was corrected in 0.8.12.

If you downloads the Azure PowerShell from Github then is possible this error will come back again.

Thx for the email.
Max

@KeithHill
Copy link

I just tested this as well....with 0.8.13 and I have the issues as well. Any updates on this?

@MaxTrinidad
Copy link
Author

It has been fixed on 0.8.14 (2/12/2015)
Version : 0.8.14
Title : Microsoft Azure PowerShell with Microsoft Azure SDK
Published : 2/12/2015 7:00:00 AM
Author : Microsoft Corporation

PS C:>
PS C:>
PS C:> $x = Get-AzureVM | Out-GridView -PassThru;
PS C:> $x.Name
MyTestSQLServer
:)

Max TrinidadMicrosoft MVP – PowerShell (7yrs)SAPIEN Technologies MVP 2015
Florida PowerShell User Group: http://www.flpsug.com/
Blog: http://www.maxtblog.com/Twitter: @MaxTrinidad
Member of: MTC, INETA and PASS.

Date: Thu, 19 Feb 2015 11:09:46 -0800
From: notifications@github.com
To: azure-powershell@noreply.github.com
CC: maxt@putittogether.net
Subject: Re: [azure-powershell] Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) (#13)

I just tested this as well....with 0.8.13 and I have the issues as well. Any updates on this?


Reply to this email directly or view it on GitHub.

@doctordns
Copy link
Contributor

Where do we download 0.8.14?

From: MaxTrinidad [mailto:notifications@github.com]
Sent: 19 February 2015 19:58
To: Azure/azure-powershell
Cc: Thomas Lee
Subject: Re: [azure-powershell] Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) (#13)

It has been fixed on 0.8.14 (2/12/2015)
Version : 0.8.14
Title : Microsoft Azure PowerShell with Microsoft Azure SDK
Published : 2/12/2015 7:00:00 AM
Author : Microsoft Corporation

PS C:>
PS C:>
PS C:> $x = Get-AzureVM | Out-GridView -PassThru;
PS C:> $x.Name
MyTestSQLServer
:)

Max TrinidadMicrosoft MVP – PowerShell (7yrs)SAPIEN Technologies MVP 2015
Florida PowerShell User Group: http://www.flpsug.com/
Blog: http://www.maxtblog.com/Twitter: @MaxTrinidad
Member of: MTC, INETA and PASS.

Date: Thu, 19 Feb 2015 11:09:46 -0800
From: notifications@github.commailto:notifications@github.com
To: azure-powershell@noreply.github.commailto:azure-powershell@noreply.github.com
CC: maxt@putittogether.netmailto:maxt@putittogether.net
Subject: Re: [azure-powershell] Possible breaking change Get-AzureVM breaks pipeline with Out-Gridview (#3047) (#13)

I just tested this as well....with 0.8.13 and I have the issues as well. Any updates on this?


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-75124263.


This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com



This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com


ogail pushed a commit that referenced this issue Feb 25, 2015
E2A Network Mapping & UnMapping tests
avijitgupta pushed a commit to avijitgupta/azure-powershell that referenced this issue Mar 2, 2015
ogail pushed a commit that referenced this issue Mar 13, 2015
pull from dev branch of azure/azure-powershell
markcowl pushed a commit that referenced this issue Mar 23, 2015
@georgiosd
Copy link

Still appears in 0.9.1 :(

Workaround:

$vms = Get-AzureVM | select Name, ServiceName, Status

Then fetch single object using -ServiceName x -Name y

@devigned devigned reopened this May 21, 2015
@devigned
Copy link
Member

@markcowl looks like this is still an issue

@MaxTrinidad
Copy link
Author

Guys!!
I just installed Azure PowerShell version 0.9.1 (Published : 5/4/2015 8:00:00 AM) today. I the following command works:

PS C:\Users\mtrinidad>
PS C:\Users\mtrinidad> $vm = Get-AzureVM | Out-Gridview -PassThru
PS C:\Users\mtrinidad> $vm

ServiceName Name Status


MyMaxPITcloudSvc05 SuperNova01 StoppedDeallocated

Now, I did recently installed WMF5.0 on my Windows 7 SP1 desktop. So, if you still having some issues, it may be something with PowerShell version you're using,

Thanks for the heads up!
Max

@georgiosd
Copy link

Try adding -Title too
On Fri, 22 May 2015 at 16:17 MaxTrinidad notifications@github.com wrote:

Guys!!

I just installed Azure PowerShell version 0.9.1 (Published : 5/4/2015
8:00:00 AM) today. I the following command works:

PS C:\Users\mtrinidad>
PS C:\Users\mtrinidad> $vm = Get-AzureVM | Out-Gridview -PassThru
PS C:\Users\mtrinidad> $vm

ServiceName Name Status

MyMaxPITcloudSvc05 SuperNova01 StoppedDeallocated

Now, I did recently installed WMF5.0 on my Windows 7 SP1 desktop. So, if
you still having some issues, it may be something with PowerShell version
you're using,

Thanks for the heads up!
Max


Reply to this email directly or view it on GitHub
#13 (comment)
.

@MaxTrinidad
Copy link
Author

Sorry! I press the wrong button. :P

@MaxTrinidad
Copy link
Author

I just test Out-Gridview with both -Passthru and -Title. It's working for me. (see image)
azuregridviewnoerror

@georgiosd
Copy link

Very weird. I upgraded and checked version was kosher. What do you
recommend? Reinstall?
On Fri, 22 May 2015 at 18:01 MaxTrinidad notifications@github.com wrote:

I just test Out-Gridview with both -Passthru and -Title. It's working for
me. (see image)
[image: azuregridviewnoerror]
https://cloud.githubusercontent.com/assets/7338470/7773336/df4eb62c-0071-11e5-88e9-c8f9538be3bb.jpg

Reply to this email directly or view it on GitHub
#13 (comment)
.

@MaxTrinidad
Copy link
Author

Just to make sure.

  1. Which version of Windows you are on? 7/8.1/10. Which PowerShell version or WMF? 4.0 or 5.0 May Preview.
  2. Are you sure you're on Azure PowerShell 0.9.1 (May 2015 build)? Older version had the problem.
  3. And, is .NET Framework 4.0 (or >) installed?
  4. What's the system culture? is this a non-US Windows version.

Maybe we can get some direction.
:)

@georgiosd
Copy link

  1. Windows 8.1, Powershell 4! No WMF.
  2. This script tells me I'm on 0.9.1, I upgraded with Web PI last night.
  3. I got all the default .NETs + VS2013 + VS2015 RC
  4. Uhm, keyboard is en-US, culture is I believe en-GB

@osakanataro
Copy link

Same problem occurred.
"$vm = Get-AzureVM | Out-Gridview -PassThru" could not work powershell 3.0 and 4.0.

PS C:\> (Get-Module azure).version

Major  Minor  Build  Revision
-----  -----  -----  --------
0      9      2      -1


PS C:\> $PSversiontable

Name                           Value
----                           -----
PSVersion                      3.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.34209
BuildVersion                   6.2.9200.16398
PSCompatibleVersions           {1.0, 2.0, 3.0}
PSRemotingProtocolVersion      2.2

PS C:\>
PS C:\> $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
Get-AzureVM : パイプラインが停止されています。
発生場所 行:1 文字:7
+ $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
+       ~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzureVM]、PipelineStoppedException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVMCommand

Out-GridView : インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index
発生場所 行:1 文字:21
+ $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Out-GridView], ArgumentOutOfRangeException
    + FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.OutGridViewCommand

PS C:\>

I update to power shell 4.0.

PS C:\>  $PSversiontable

Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.34209
BuildVersion                   6.3.9600.16406
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2


PS C:\> (Get-Module azure).version

Major  Minor  Build  Revision
-----  -----  -----  --------
0      9      2      -1


PS C:\>
PS C:\> $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
Get-AzureVM : パイプラインが停止されています。発生場所 行:1 文字:7
+ $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
+       ~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Get-AzureVM]、PipelineStoppedException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.GetAzureVMCommand

Out-GridView : インデックスが範囲を超えています。負でない値で、コレクションのサイズよりも小さくなければなりません。
パラメーター名:index発生場所 行:1 文字:21
+ $vm = Get-AzureVM | Out-GridView -Title "Select a VM ..." -PassThru
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Out-GridView], ArgumentOutOfRangeException
    + FullyQualifiedErrorId : System.ArgumentOutOfRangeException,Microsoft.PowerShell.Commands.OutGridViewCommand

PS C:\> 

huangpf added a commit that referenced this issue Jun 4, 2015
ogail pushed a commit that referenced this issue Jul 7, 2015
stankovski pushed a commit that referenced this issue Jul 10, 2015
Added Filters ,help message and removed unnecessary fields in response.
@singhkays
Copy link
Contributor

Looks like this breaks only in PowerShell v3.0 or 4.0. @huangpf Can you investigate why that would be the case?

@huangpf
Copy link
Contributor

huangpf commented Jul 21, 2015

It's a bug in PS 3.0 and 4.0 in that it fails to load the object and/or type info, if TableControl is not correctly configured.

This will be patched on our end for 3.0/4.0 in the incoming release. Stay tuned. Thanks.

@singhkays
Copy link
Contributor

Thanks for the update @huangpf! Closing as fixed

@huangpf
Copy link
Contributor

huangpf commented Aug 3, 2015

@singhkay It's only fixed in the new release.

hovsepm pushed a commit that referenced this issue Jan 28, 2016
Disabling passing Parameters value from pipeline per Bug 1731159
markcowl pushed a commit that referenced this issue Jan 24, 2017
bganapa pushed a commit to bganapa/azure-powershell that referenced this issue Mar 22, 2018
2203814 - [Disconnect-AzsPlanFromOffer] Cmdlet returns empty object a…
vladimir-shcherbakov pushed a commit that referenced this issue May 4, 2018
cormacpayne pushed a commit that referenced this issue Apr 16, 2019
* NFSAAS-1707 update from review comments

* NFSAAS-1707 update from review comments

* NFSAAS-1707 updates from review comments
cormacpayne pushed a commit that referenced this issue Jul 31, 2019
romahamu added a commit to romahamu/azure-powershell that referenced this issue May 4, 2020
…zure#527)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets. (Azure#1)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets.

* Adding empty folder layout.

* Update project reference for Test project of HPC Cache (Azure#2)

* Initial commit of clients / first mock cmdlet (Azure#3)

* Initial commit of clients / first mock cmdlet

* Initial commit of clients / first mock cmdlet

* Rename Client, Remove unnecessary files, return skulist in azure cmdlet

* Remove utilities

* Add classes to wrap .NET SDK type object. (Azure#4)

* Create wrapper for SDK management client (Azure#5)

* Fix GetAzSku wrt client changes.

* Restructure base cmdlet and mangement client class.

* Test Framework, Additional Cmdlets, Sku Object, Formatting Fixes (Azure#6)

* More commands and start of test framework

Move all logic out of hpc cache client to the commandlets

More commands and start of test framework

Updated commands using new client

fix rebase

fix spacing

fix comments

remove vars

* Test Framework working, add comments to code

* Help text files

* Updates to cmdlet New-AzHpcCache

* Update cmdlet Get-AzHpcCache

* Update cmdlet Get-AzHpcCacheUsageModels

* Update cmdlet Get-AzHpcCacheSku

* Update cmdlet Remove-AzHpcCache

* Cmdlet Update-AzHpcCache and help file

* Changes made for code review

* Start-AzHpcCache Cmdlet (Azure#8)

* Add support for Start-AzHpcCache.

* Adds resource designer for the project.

* Adds assembly info for the project.

* Remove unused imports

* Remove .keep files as they are no longer required.

* Use resource designer to handle strings in remove hpc cache cmdlet.

* Fix namespace and add project reference to test project.

* Prefix with this for local references for better code readability.

* Fix argument validation.

* Add synopsis for start hpc cache cmdlet help file.

* Update Sku Test

* Fix formatting based on StyleCop

* Change output type of start cmdlet (Azure#12)

* Flush-AzHpcCache cmdlet (Azure#11)

Add FlushAzHpcCache.cs and Flush-AzHpcCache.md
Update Resources files.
Update AzHpcCache.md to include flush markdown file.
Update psd1 file to include new command.

* Add support for stop HPC cache cmdlet. (Azure#13)

* Add support for stop HPC cache cmdlet.

* Fix typos

* Cmdlet: Remove Storage Target

* Cmdlet: Upgrade-AzHpcCache

* Add AsJob parameter option for action commands (Azure#14)

* UpgradeCache and RemoveStorageTarget edits

* Add support for storage target create. (Azure#17)

* Add PS wrapper classes required for storage targets.

* Add help for create storage target.

* Add new storage target cmdlet.

* Update resource designer for storage target.

* Get-AzHpcCacheStorageTarget cmdlet

* Fix help.md files to have correct messages

* PSHpcCache (Azure#16)

* Update how cache is returned

* Update what is sent into PSHpcCache.cs

* Add enumberate Collection

* Update help text and comments (Azure#19)

* Adds support for Set-AzHpcStorageTarget. (Azure#20)

* Add support for storage target update.

* Add help for Set-AzHpcStorageTarget.

* Add hook for update storage target in PSD file.

* Fix typos in help and comments.

* Change UpdateHpcCache to SetHpcCache. (Azure#21)

* Fix UpdateHpcCache to SetHpcCache

* update help

* Use Patch for Update, not Post - createOrUpdate

* Change getST cmdlet to also get individual ST

* Update test framework to use custom context and fixtures. (Azure#24)

* Modify HpcCacheController to use RMTestBase base class and use HpcCacheTestContext.

* Update test class to use HpcCacheCollection and HpcCacheTestFixture.

* Update PS file to test Get-AzHpcCache by resource group and name.

* Add HpcCacheTestContext.

* Add HpcCacheCollection.

* Add HpcCacheTestFixture.

* Add cache helper.

* Add constants.

* Add support to handle ENV vars from constants.

* Add utilities required for fixture and custom context.

* Adds storage account and storage target fixture. (Azure#25)

* Add CLFS storage target and get storage target support.

* Add StorageTargetName constant.

* Add StorageTargetName ENV var.

* Add Retry method and Aggregate exception handler.

* Add storage account fixture.

* Add storage account helper.

* Add example storage target cmdlet test.

* Update help text in SetAzHpcStorageTarget.cs (Azure#26)

Update help text for cmdlet SetAzHpcCacheStorageTarget.

* Fix help.md files and help messages

* Fix for storage target update cmdlet. (Azure#28)

* Add Cache, StorageTarget, and Operations tests

* If incorrect value is entered, return inner exception body message

* For Get and Remove - return inner exception body message

* Fix formatting / Fix Descriptions / Fix Typos  (Azure#32)

* Fix formatting using stylecon

* Flush cmdlet updates

* Get-AzHpcCache cmdlet updates

* Get-AzHpcCacheSku cmdlet updates

* Get-AzHpcCacheStorageTarget cmdlet updates

* Get-AzHpcCacheUsageModels cmdlet updates

* New-AzHpcCache cmdlet updates

* Remove-AzHpcCache cmdlet updates

* Remove-AzHpcCacheStorageCache cmdlet updates

* Set-AzHpcCache cmdlet updates

* Start-AzHpcCache cmdlet updates

* Stop-AzHpcCache cmdlet updates

* Upgrade-AzHpcCache cmdlet updates

* New-AzHpcCacheStorageTarget and Set-AzHpcCacheStorageTarget cmdlet updates

* Fix mockContext for fixtures. (Azure#34)

* Add required packages to test project.

* Add assembly info for test project.

* Fix references for resource manager.

* Remove constructor overloading & fix mockContext, also fix references for resource manager

* Dispose the context in StorageAccountFixture and fix the mockContext.

* Add storage account name constant (Azure#35)

* Add StorageAccountName constant.

* Fix Context calling

* Add recorded tests (Azure#33)

* Add recorded tests

* Rename folder

* Revert "Add storage account name constant (Azure#35)" (Azure#36)

This reverts commit 2ac58a8.

* Revert "Fix mockContext for fixtures. (Azure#34)" (Azure#37)

This reverts commit 768ba77.

* Fix Context (Azure#38)

* Add assebly for tests project. (Azure#39)

* Remove completed TODO check. (Azure#40)

* Add fake help urls to make CI task pass (Azure#41)

* Remove completed TODO check.

* Add fake online documentation URL to make CI task pass.

* Update help files to fix fake URLS. it does not like fake servie & cmdlet name. (Azure#42)

* Fix CI task related issues (Azure#43)

* Remove unused imports

* Fix package references

* Update session records to use correct API versions.

* Package Changes / Resource Name Completer / Change Log and Solution (Azure#44)

* Update ChangeLog

* move packages to test

* Fix solution file, add ResourceGroupCompleter to cmdlets

* move all packages

* Update changelog to preview

* Add inputobj and resourceId params to Start/Stop/Flush/Upgrade. Update CacheName to name (Azure#45)

* Update Flush cmdlet to have InputObj and ResourceId, Update cacheName to Name, update test

* fix flush comments

* Fix StartAzHpcCache to include input obj and resourceId

* Fix StopAzHpcCache to include input obj and resourceId

* Fix UpgradeAzHpcCache to include input obj and resourceId

* test changes

* fix help message for cmdlets

* Add Alias and resource name completer for get cache & get storage target. (Azure#46)

* Add CacheName as an alias & use ResourceNameCompleter.

* Add StorageTargetName as an alias and use ResourceNameCompleter.

* Alias initialization

* Get storage target support pipeline cache input.

* New and Set cmdlets (Azure#47)

* update tests

* update NewAzHpcCache to have should process

* update Set cmdlet to use obj/resource Id and shouldProcess

* remove resourceId from Set

* update resouce designer

* Update help files (Azure#48)

* Fix reference

* Update help files

* Use CheckIn type for tests. (Azure#49)

* Add CacheName and StorageTargetName alias. (Azure#50)

* Update Alias in help

* Add CacheName alias and help text for parameters.

* Add StorageTargetName alias.

* Formatting changes.

* Add description to psd

* Remove whitespaces.

* rename files for linux (Azure#51)

* Add shouldProcess to required cmdlets and update junction parameter. (Azure#52)

* Add shouldProcess parameter

* Modify tests to honor force parameter

* Update help text

* Update usage model cmdlet name.

* Update help for all cmdlets to include whatIf

Co-authored-by: Rebecca Makar <rebeccalmakar@gmail.com>
Co-authored-by: Rebecca Makar <remakar@microsoft.com>
romahamu added a commit to romahamu/azure-powershell that referenced this issue May 4, 2020
* Add support for stop HPC cache cmdlet.

* Fix typos
romahamu added a commit to romahamu/azure-powershell that referenced this issue May 4, 2020
…zure#527)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets. (Azure#1)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets.

* Adding empty folder layout.

* Update project reference for Test project of HPC Cache (Azure#2)

* Initial commit of clients / first mock cmdlet (Azure#3)

* Initial commit of clients / first mock cmdlet

* Initial commit of clients / first mock cmdlet

* Rename Client, Remove unnecessary files, return skulist in azure cmdlet

* Remove utilities

* Add classes to wrap .NET SDK type object. (Azure#4)

* Create wrapper for SDK management client (Azure#5)

* Fix GetAzSku wrt client changes.

* Restructure base cmdlet and mangement client class.

* Test Framework, Additional Cmdlets, Sku Object, Formatting Fixes (Azure#6)

* More commands and start of test framework

Move all logic out of hpc cache client to the commandlets

More commands and start of test framework

Updated commands using new client

fix rebase

fix spacing

fix comments

remove vars

* Test Framework working, add comments to code

* Help text files

* Updates to cmdlet New-AzHpcCache

* Update cmdlet Get-AzHpcCache

* Update cmdlet Get-AzHpcCacheUsageModels

* Update cmdlet Get-AzHpcCacheSku

* Update cmdlet Remove-AzHpcCache

* Cmdlet Update-AzHpcCache and help file

* Changes made for code review

* Start-AzHpcCache Cmdlet (Azure#8)

* Add support for Start-AzHpcCache.

* Adds resource designer for the project.

* Adds assembly info for the project.

* Remove unused imports

* Remove .keep files as they are no longer required.

* Use resource designer to handle strings in remove hpc cache cmdlet.

* Fix namespace and add project reference to test project.

* Prefix with this for local references for better code readability.

* Fix argument validation.

* Add synopsis for start hpc cache cmdlet help file.

* Update Sku Test

* Fix formatting based on StyleCop

* Change output type of start cmdlet (Azure#12)

* Flush-AzHpcCache cmdlet (Azure#11)

Add FlushAzHpcCache.cs and Flush-AzHpcCache.md
Update Resources files.
Update AzHpcCache.md to include flush markdown file.
Update psd1 file to include new command.

* Add support for stop HPC cache cmdlet. (Azure#13)

* Add support for stop HPC cache cmdlet.

* Fix typos

* Cmdlet: Remove Storage Target

* Cmdlet: Upgrade-AzHpcCache

* Add AsJob parameter option for action commands (Azure#14)

* UpgradeCache and RemoveStorageTarget edits

* Add support for storage target create. (Azure#17)

* Add PS wrapper classes required for storage targets.

* Add help for create storage target.

* Add new storage target cmdlet.

* Update resource designer for storage target.

* Get-AzHpcCacheStorageTarget cmdlet

* Fix help.md files to have correct messages

* PSHpcCache (Azure#16)

* Update how cache is returned

* Update what is sent into PSHpcCache.cs

* Add enumberate Collection

* Update help text and comments (Azure#19)

* Adds support for Set-AzHpcStorageTarget. (Azure#20)

* Add support for storage target update.

* Add help for Set-AzHpcStorageTarget.

* Add hook for update storage target in PSD file.

* Fix typos in help and comments.

* Change UpdateHpcCache to SetHpcCache. (Azure#21)

* Fix UpdateHpcCache to SetHpcCache

* update help

* Use Patch for Update, not Post - createOrUpdate

* Change getST cmdlet to also get individual ST

* Update test framework to use custom context and fixtures. (Azure#24)

* Modify HpcCacheController to use RMTestBase base class and use HpcCacheTestContext.

* Update test class to use HpcCacheCollection and HpcCacheTestFixture.

* Update PS file to test Get-AzHpcCache by resource group and name.

* Add HpcCacheTestContext.

* Add HpcCacheCollection.

* Add HpcCacheTestFixture.

* Add cache helper.

* Add constants.

* Add support to handle ENV vars from constants.

* Add utilities required for fixture and custom context.

* Adds storage account and storage target fixture. (Azure#25)

* Add CLFS storage target and get storage target support.

* Add StorageTargetName constant.

* Add StorageTargetName ENV var.

* Add Retry method and Aggregate exception handler.

* Add storage account fixture.

* Add storage account helper.

* Add example storage target cmdlet test.

* Update help text in SetAzHpcStorageTarget.cs (Azure#26)

Update help text for cmdlet SetAzHpcCacheStorageTarget.

* Fix help.md files and help messages

* Fix for storage target update cmdlet. (Azure#28)

* Add Cache, StorageTarget, and Operations tests

* If incorrect value is entered, return inner exception body message

* For Get and Remove - return inner exception body message

* Fix formatting / Fix Descriptions / Fix Typos  (Azure#32)

* Fix formatting using stylecon

* Flush cmdlet updates

* Get-AzHpcCache cmdlet updates

* Get-AzHpcCacheSku cmdlet updates

* Get-AzHpcCacheStorageTarget cmdlet updates

* Get-AzHpcCacheUsageModels cmdlet updates

* New-AzHpcCache cmdlet updates

* Remove-AzHpcCache cmdlet updates

* Remove-AzHpcCacheStorageCache cmdlet updates

* Set-AzHpcCache cmdlet updates

* Start-AzHpcCache cmdlet updates

* Stop-AzHpcCache cmdlet updates

* Upgrade-AzHpcCache cmdlet updates

* New-AzHpcCacheStorageTarget and Set-AzHpcCacheStorageTarget cmdlet updates

* Fix mockContext for fixtures. (Azure#34)

* Add required packages to test project.

* Add assembly info for test project.

* Fix references for resource manager.

* Remove constructor overloading & fix mockContext, also fix references for resource manager

* Dispose the context in StorageAccountFixture and fix the mockContext.

* Add storage account name constant (Azure#35)

* Add StorageAccountName constant.

* Fix Context calling

* Add recorded tests (Azure#33)

* Add recorded tests

* Rename folder

* Revert "Add storage account name constant (Azure#35)" (Azure#36)

This reverts commit 2ac58a8.

* Revert "Fix mockContext for fixtures. (Azure#34)" (Azure#37)

This reverts commit 768ba77.

* Fix Context (Azure#38)

* Add assebly for tests project. (Azure#39)

* Remove completed TODO check. (Azure#40)

* Add fake help urls to make CI task pass (Azure#41)

* Remove completed TODO check.

* Add fake online documentation URL to make CI task pass.

* Update help files to fix fake URLS. it does not like fake servie & cmdlet name. (Azure#42)

* Fix CI task related issues (Azure#43)

* Remove unused imports

* Fix package references

* Update session records to use correct API versions.

* Package Changes / Resource Name Completer / Change Log and Solution (Azure#44)

* Update ChangeLog

* move packages to test

* Fix solution file, add ResourceGroupCompleter to cmdlets

* move all packages

* Update changelog to preview

* Add inputobj and resourceId params to Start/Stop/Flush/Upgrade. Update CacheName to name (Azure#45)

* Update Flush cmdlet to have InputObj and ResourceId, Update cacheName to Name, update test

* fix flush comments

* Fix StartAzHpcCache to include input obj and resourceId

* Fix StopAzHpcCache to include input obj and resourceId

* Fix UpgradeAzHpcCache to include input obj and resourceId

* test changes

* fix help message for cmdlets

* Add Alias and resource name completer for get cache & get storage target. (Azure#46)

* Add CacheName as an alias & use ResourceNameCompleter.

* Add StorageTargetName as an alias and use ResourceNameCompleter.

* Alias initialization

* Get storage target support pipeline cache input.

* New and Set cmdlets (Azure#47)

* update tests

* update NewAzHpcCache to have should process

* update Set cmdlet to use obj/resource Id and shouldProcess

* remove resourceId from Set

* update resouce designer

* Update help files (Azure#48)

* Fix reference

* Update help files

* Use CheckIn type for tests. (Azure#49)

* Add CacheName and StorageTargetName alias. (Azure#50)

* Update Alias in help

* Add CacheName alias and help text for parameters.

* Add StorageTargetName alias.

* Formatting changes.

* Add description to psd

* Remove whitespaces.

* rename files for linux (Azure#51)

* Add shouldProcess to required cmdlets and update junction parameter. (Azure#52)

* Add shouldProcess parameter

* Modify tests to honor force parameter

* Update help text

* Update usage model cmdlet name.

* Update help for all cmdlets to include whatIf

Co-authored-by: Rebecca Makar <rebeccalmakar@gmail.com>
Co-authored-by: Rebecca Makar <remakar@microsoft.com>
romahamu added a commit to romahamu/azure-powershell that referenced this issue May 4, 2020
…zure#527)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets. (Azure#1)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets.

* Adding empty folder layout.

* Update project reference for Test project of HPC Cache (Azure#2)

* Initial commit of clients / first mock cmdlet (Azure#3)

* Initial commit of clients / first mock cmdlet

* Initial commit of clients / first mock cmdlet

* Rename Client, Remove unnecessary files, return skulist in azure cmdlet

* Remove utilities

* Add classes to wrap .NET SDK type object. (Azure#4)

* Create wrapper for SDK management client (Azure#5)

* Fix GetAzSku wrt client changes.

* Restructure base cmdlet and mangement client class.

* Test Framework, Additional Cmdlets, Sku Object, Formatting Fixes (Azure#6)

* More commands and start of test framework

Move all logic out of hpc cache client to the commandlets

More commands and start of test framework

Updated commands using new client

fix rebase

fix spacing

fix comments

remove vars

* Test Framework working, add comments to code

* Help text files

* Updates to cmdlet New-AzHpcCache

* Update cmdlet Get-AzHpcCache

* Update cmdlet Get-AzHpcCacheUsageModels

* Update cmdlet Get-AzHpcCacheSku

* Update cmdlet Remove-AzHpcCache

* Cmdlet Update-AzHpcCache and help file

* Changes made for code review

* Start-AzHpcCache Cmdlet (Azure#8)

* Add support for Start-AzHpcCache.

* Adds resource designer for the project.

* Adds assembly info for the project.

* Remove unused imports

* Remove .keep files as they are no longer required.

* Use resource designer to handle strings in remove hpc cache cmdlet.

* Fix namespace and add project reference to test project.

* Prefix with this for local references for better code readability.

* Fix argument validation.

* Add synopsis for start hpc cache cmdlet help file.

* Update Sku Test

* Fix formatting based on StyleCop

* Change output type of start cmdlet (Azure#12)

* Flush-AzHpcCache cmdlet (Azure#11)

Add FlushAzHpcCache.cs and Flush-AzHpcCache.md
Update Resources files.
Update AzHpcCache.md to include flush markdown file.
Update psd1 file to include new command.

* Add support for stop HPC cache cmdlet. (Azure#13)

* Add support for stop HPC cache cmdlet.

* Fix typos

* Cmdlet: Remove Storage Target

* Cmdlet: Upgrade-AzHpcCache

* Add AsJob parameter option for action commands (Azure#14)

* UpgradeCache and RemoveStorageTarget edits

* Add support for storage target create. (Azure#17)

* Add PS wrapper classes required for storage targets.

* Add help for create storage target.

* Add new storage target cmdlet.

* Update resource designer for storage target.

* Get-AzHpcCacheStorageTarget cmdlet

* Fix help.md files to have correct messages

* PSHpcCache (Azure#16)

* Update how cache is returned

* Update what is sent into PSHpcCache.cs

* Add enumberate Collection

* Update help text and comments (Azure#19)

* Adds support for Set-AzHpcStorageTarget. (Azure#20)

* Add support for storage target update.

* Add help for Set-AzHpcStorageTarget.

* Add hook for update storage target in PSD file.

* Fix typos in help and comments.

* Change UpdateHpcCache to SetHpcCache. (Azure#21)

* Fix UpdateHpcCache to SetHpcCache

* update help

* Use Patch for Update, not Post - createOrUpdate

* Change getST cmdlet to also get individual ST

* Update test framework to use custom context and fixtures. (Azure#24)

* Modify HpcCacheController to use RMTestBase base class and use HpcCacheTestContext.

* Update test class to use HpcCacheCollection and HpcCacheTestFixture.

* Update PS file to test Get-AzHpcCache by resource group and name.

* Add HpcCacheTestContext.

* Add HpcCacheCollection.

* Add HpcCacheTestFixture.

* Add cache helper.

* Add constants.

* Add support to handle ENV vars from constants.

* Add utilities required for fixture and custom context.

* Adds storage account and storage target fixture. (Azure#25)

* Add CLFS storage target and get storage target support.

* Add StorageTargetName constant.

* Add StorageTargetName ENV var.

* Add Retry method and Aggregate exception handler.

* Add storage account fixture.

* Add storage account helper.

* Add example storage target cmdlet test.

* Update help text in SetAzHpcStorageTarget.cs (Azure#26)

Update help text for cmdlet SetAzHpcCacheStorageTarget.

* Fix help.md files and help messages

* Fix for storage target update cmdlet. (Azure#28)

* Add Cache, StorageTarget, and Operations tests

* If incorrect value is entered, return inner exception body message

* For Get and Remove - return inner exception body message

* Fix formatting / Fix Descriptions / Fix Typos  (Azure#32)

* Fix formatting using stylecon

* Flush cmdlet updates

* Get-AzHpcCache cmdlet updates

* Get-AzHpcCacheSku cmdlet updates

* Get-AzHpcCacheStorageTarget cmdlet updates

* Get-AzHpcCacheUsageModels cmdlet updates

* New-AzHpcCache cmdlet updates

* Remove-AzHpcCache cmdlet updates

* Remove-AzHpcCacheStorageCache cmdlet updates

* Set-AzHpcCache cmdlet updates

* Start-AzHpcCache cmdlet updates

* Stop-AzHpcCache cmdlet updates

* Upgrade-AzHpcCache cmdlet updates

* New-AzHpcCacheStorageTarget and Set-AzHpcCacheStorageTarget cmdlet updates

* Fix mockContext for fixtures. (Azure#34)

* Add required packages to test project.

* Add assembly info for test project.

* Fix references for resource manager.

* Remove constructor overloading & fix mockContext, also fix references for resource manager

* Dispose the context in StorageAccountFixture and fix the mockContext.

* Add storage account name constant (Azure#35)

* Add StorageAccountName constant.

* Fix Context calling

* Add recorded tests (Azure#33)

* Add recorded tests

* Rename folder

* Revert "Add storage account name constant (Azure#35)" (Azure#36)

This reverts commit 2ac58a8.

* Revert "Fix mockContext for fixtures. (Azure#34)" (Azure#37)

This reverts commit 768ba77.

* Fix Context (Azure#38)

* Add assebly for tests project. (Azure#39)

* Remove completed TODO check. (Azure#40)

* Add fake help urls to make CI task pass (Azure#41)

* Remove completed TODO check.

* Add fake online documentation URL to make CI task pass.

* Update help files to fix fake URLS. it does not like fake servie & cmdlet name. (Azure#42)

* Fix CI task related issues (Azure#43)

* Remove unused imports

* Fix package references

* Update session records to use correct API versions.

* Package Changes / Resource Name Completer / Change Log and Solution (Azure#44)

* Update ChangeLog

* move packages to test

* Fix solution file, add ResourceGroupCompleter to cmdlets

* move all packages

* Update changelog to preview

* Add inputobj and resourceId params to Start/Stop/Flush/Upgrade. Update CacheName to name (Azure#45)

* Update Flush cmdlet to have InputObj and ResourceId, Update cacheName to Name, update test

* fix flush comments

* Fix StartAzHpcCache to include input obj and resourceId

* Fix StopAzHpcCache to include input obj and resourceId

* Fix UpgradeAzHpcCache to include input obj and resourceId

* test changes

* fix help message for cmdlets

* Add Alias and resource name completer for get cache & get storage target. (Azure#46)

* Add CacheName as an alias & use ResourceNameCompleter.

* Add StorageTargetName as an alias and use ResourceNameCompleter.

* Alias initialization

* Get storage target support pipeline cache input.

* New and Set cmdlets (Azure#47)

* update tests

* update NewAzHpcCache to have should process

* update Set cmdlet to use obj/resource Id and shouldProcess

* remove resourceId from Set

* update resouce designer

* Update help files (Azure#48)

* Fix reference

* Update help files

* Use CheckIn type for tests. (Azure#49)

* Add CacheName and StorageTargetName alias. (Azure#50)

* Update Alias in help

* Add CacheName alias and help text for parameters.

* Add StorageTargetName alias.

* Formatting changes.

* Add description to psd

* Remove whitespaces.

* rename files for linux (Azure#51)

* Add shouldProcess to required cmdlets and update junction parameter. (Azure#52)

* Add shouldProcess parameter

* Modify tests to honor force parameter

* Update help text

* Update usage model cmdlet name.

* Update help for all cmdlets to include whatIf

Co-authored-by: Rebecca Makar <rebeccalmakar@gmail.com>
Co-authored-by: Rebecca Makar <remakar@microsoft.com>
isra-fel pushed a commit that referenced this issue May 7, 2020
…01 (#11790)

* [HPC-Cache] On-boarding of PowerShell Cmdlets for HPC Cache service. (#527)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets. (#1)

* Add initial structure for AZ HPC Cache PowerShell Cmdlets.

* Adding empty folder layout.

* Update project reference for Test project of HPC Cache (#2)

* Initial commit of clients / first mock cmdlet (#3)

* Initial commit of clients / first mock cmdlet

* Initial commit of clients / first mock cmdlet

* Rename Client, Remove unnecessary files, return skulist in azure cmdlet

* Remove utilities

* Add classes to wrap .NET SDK type object. (#4)

* Create wrapper for SDK management client (#5)

* Fix GetAzSku wrt client changes.

* Restructure base cmdlet and mangement client class.

* Test Framework, Additional Cmdlets, Sku Object, Formatting Fixes (#6)

* More commands and start of test framework

Move all logic out of hpc cache client to the commandlets

More commands and start of test framework

Updated commands using new client

fix rebase

fix spacing

fix comments

remove vars

* Test Framework working, add comments to code

* Help text files

* Updates to cmdlet New-AzHpcCache

* Update cmdlet Get-AzHpcCache

* Update cmdlet Get-AzHpcCacheUsageModels

* Update cmdlet Get-AzHpcCacheSku

* Update cmdlet Remove-AzHpcCache

* Cmdlet Update-AzHpcCache and help file

* Changes made for code review

* Start-AzHpcCache Cmdlet (#8)

* Add support for Start-AzHpcCache.

* Adds resource designer for the project.

* Adds assembly info for the project.

* Remove unused imports

* Remove .keep files as they are no longer required.

* Use resource designer to handle strings in remove hpc cache cmdlet.

* Fix namespace and add project reference to test project.

* Prefix with this for local references for better code readability.

* Fix argument validation.

* Add synopsis for start hpc cache cmdlet help file.

* Update Sku Test

* Fix formatting based on StyleCop

* Change output type of start cmdlet (#12)

* Flush-AzHpcCache cmdlet (#11)

Add FlushAzHpcCache.cs and Flush-AzHpcCache.md
Update Resources files.
Update AzHpcCache.md to include flush markdown file.
Update psd1 file to include new command.

* Add support for stop HPC cache cmdlet. (#13)

* Add support for stop HPC cache cmdlet.

* Fix typos

* Cmdlet: Remove Storage Target

* Cmdlet: Upgrade-AzHpcCache

* Add AsJob parameter option for action commands (#14)

* UpgradeCache and RemoveStorageTarget edits

* Add support for storage target create. (#17)

* Add PS wrapper classes required for storage targets.

* Add help for create storage target.

* Add new storage target cmdlet.

* Update resource designer for storage target.

* Get-AzHpcCacheStorageTarget cmdlet

* Fix help.md files to have correct messages

* PSHpcCache (#16)

* Update how cache is returned

* Update what is sent into PSHpcCache.cs

* Add enumberate Collection

* Update help text and comments (#19)

* Adds support for Set-AzHpcStorageTarget. (#20)

* Add support for storage target update.

* Add help for Set-AzHpcStorageTarget.

* Add hook for update storage target in PSD file.

* Fix typos in help and comments.

* Change UpdateHpcCache to SetHpcCache. (#21)

* Fix UpdateHpcCache to SetHpcCache

* update help

* Use Patch for Update, not Post - createOrUpdate

* Change getST cmdlet to also get individual ST

* Update test framework to use custom context and fixtures. (#24)

* Modify HpcCacheController to use RMTestBase base class and use HpcCacheTestContext.

* Update test class to use HpcCacheCollection and HpcCacheTestFixture.

* Update PS file to test Get-AzHpcCache by resource group and name.

* Add HpcCacheTestContext.

* Add HpcCacheCollection.

* Add HpcCacheTestFixture.

* Add cache helper.

* Add constants.

* Add support to handle ENV vars from constants.

* Add utilities required for fixture and custom context.

* Adds storage account and storage target fixture. (#25)

* Add CLFS storage target and get storage target support.

* Add StorageTargetName constant.

* Add StorageTargetName ENV var.

* Add Retry method and Aggregate exception handler.

* Add storage account fixture.

* Add storage account helper.

* Add example storage target cmdlet test.

* Update help text in SetAzHpcStorageTarget.cs (#26)

Update help text for cmdlet SetAzHpcCacheStorageTarget.

* Fix help.md files and help messages

* Fix for storage target update cmdlet. (#28)

* Add Cache, StorageTarget, and Operations tests

* If incorrect value is entered, return inner exception body message

* For Get and Remove - return inner exception body message

* Fix formatting / Fix Descriptions / Fix Typos  (#32)

* Fix formatting using stylecon

* Flush cmdlet updates

* Get-AzHpcCache cmdlet updates

* Get-AzHpcCacheSku cmdlet updates

* Get-AzHpcCacheStorageTarget cmdlet updates

* Get-AzHpcCacheUsageModels cmdlet updates

* New-AzHpcCache cmdlet updates

* Remove-AzHpcCache cmdlet updates

* Remove-AzHpcCacheStorageCache cmdlet updates

* Set-AzHpcCache cmdlet updates

* Start-AzHpcCache cmdlet updates

* Stop-AzHpcCache cmdlet updates

* Upgrade-AzHpcCache cmdlet updates

* New-AzHpcCacheStorageTarget and Set-AzHpcCacheStorageTarget cmdlet updates

* Fix mockContext for fixtures. (#34)

* Add required packages to test project.

* Add assembly info for test project.

* Fix references for resource manager.

* Remove constructor overloading & fix mockContext, also fix references for resource manager

* Dispose the context in StorageAccountFixture and fix the mockContext.

* Add storage account name constant (#35)

* Add StorageAccountName constant.

* Fix Context calling

* Add recorded tests (#33)

* Add recorded tests

* Rename folder

* Revert "Add storage account name constant (#35)" (#36)

This reverts commit 2ac58a8.

* Revert "Fix mockContext for fixtures. (#34)" (#37)

This reverts commit 768ba77.

* Fix Context (#38)

* Add assebly for tests project. (#39)

* Remove completed TODO check. (#40)

* Add fake help urls to make CI task pass (#41)

* Remove completed TODO check.

* Add fake online documentation URL to make CI task pass.

* Update help files to fix fake URLS. it does not like fake servie & cmdlet name. (#42)

* Fix CI task related issues (#43)

* Remove unused imports

* Fix package references

* Update session records to use correct API versions.

* Package Changes / Resource Name Completer / Change Log and Solution (#44)

* Update ChangeLog

* move packages to test

* Fix solution file, add ResourceGroupCompleter to cmdlets

* move all packages

* Update changelog to preview

* Add inputobj and resourceId params to Start/Stop/Flush/Upgrade. Update CacheName to name (#45)

* Update Flush cmdlet to have InputObj and ResourceId, Update cacheName to Name, update test

* fix flush comments

* Fix StartAzHpcCache to include input obj and resourceId

* Fix StopAzHpcCache to include input obj and resourceId

* Fix UpgradeAzHpcCache to include input obj and resourceId

* test changes

* fix help message for cmdlets

* Add Alias and resource name completer for get cache & get storage target. (#46)

* Add CacheName as an alias & use ResourceNameCompleter.

* Add StorageTargetName as an alias and use ResourceNameCompleter.

* Alias initialization

* Get storage target support pipeline cache input.

* New and Set cmdlets (#47)

* update tests

* update NewAzHpcCache to have should process

* update Set cmdlet to use obj/resource Id and shouldProcess

* remove resourceId from Set

* update resouce designer

* Update help files (#48)

* Fix reference

* Update help files

* Use CheckIn type for tests. (#49)

* Add CacheName and StorageTargetName alias. (#50)

* Update Alias in help

* Add CacheName alias and help text for parameters.

* Add StorageTargetName alias.

* Formatting changes.

* Add description to psd

* Remove whitespaces.

* rename files for linux (#51)

* Add shouldProcess to required cmdlets and update junction parameter. (#52)

* Add shouldProcess parameter

* Modify tests to honor force parameter

* Update help text

* Update usage model cmdlet name.

* Update help for all cmdlets to include whatIf

Co-authored-by: Rebecca Makar <rebeccalmakar@gmail.com>
Co-authored-by: Rebecca Makar <remakar@microsoft.com>

* Change StorageCache folder name to HPCCache and modify Upgrade cache cmdlet … (#539)

* Change StorageCache folder name to HPCCache and modify Upgrade cache cmdlet.

* Update Az.HPCCache.psd1

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Release-2020-04-28-HPCCache

* Add mapping rule for HPCCache

* Remove Flush-AzHpcCache as Flush is not approved PS verb.

* Add default parameter set for storage target cmdlets and output type for get usage model cmdlet.

* Use parameter sets for Update-AzHpcCache

* Remove prerelease string from .psd file.

Co-authored-by: Rebecca Makar <rebeccalmakar@gmail.com>
Co-authored-by: Rebecca Makar <remakar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: msJinLei <lei.jin@microsoft.com>
isra-fel pushed a commit that referenced this issue Apr 25, 2022
Add tests for customdomain,route,secret,policy
yifanz0 added a commit to yifanz0/azure-powershell that referenced this issue May 30, 2022
* track2 initial setup and StorageAccount related cmdlets

* fix bugs and formatting per comments

* Fix AccountIdentityType
BethanyZhou pushed a commit that referenced this issue May 8, 2024
* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

* Add argument completer (#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (#13)

* Rerecord tests using GA version (#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
NoriZC added a commit that referenced this issue May 16, 2024
* [MSGraph] Enable app roleassignment commands for Service Principal (#23732)

* add approle api in local yaml

* add approle api in local yaml

* customize New-AzAdServiceprincipalAppRoleAssignment

* app role

* Delete src/Resources/MSGraph.Autorest/test/Get-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Remove-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Update-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* add examples

* remove useless parameters

* Update New-AzADServicePrincipalAppRoleAssignment.Tests.ps1

* update

* Update Get-AzADApplication.ps1

* Update Get-AzADApplication.ps1

* change output ux, resolve comments

* fix bug (#23737)

* [StorageMover] Rename SmbFileShare endpoint cmdlets  (#23738)

* Rename SmbFileShare endpoint cmdlets

* update remaining

* Remove old test file

* Sync tools folder from main branch to generation branch (#23755)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Kubernetes Fleet manager generated by autorest (#23631)

* generate Fleet by autorest, code design, example, test

* update examples

* update doc

* Update README.md

* fix typo

* Sync tools folder from main branch to generation branch (#23776)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Update the folder structure of Workloads (#23781)

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Remove the useless files (#23783)

* Sync tools folder from main branch to generation branch (#23795)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23801)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23807)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Alecb/rollback generation to 2023 09 05 (#23810)

* Removed Directives, ran autorest, deleted 3 custom appAttach cmdlets

* ran first test with failures on user session, remove

* Added successful remove session host recording

* All tests pass

* fixed removed session host test

* Removed changes to json file in Tools Common

* Removed extra space

* Find all missed one somehow

* Added additional breaking change suppression

* New Version 0.2.0 for Azure Workloads Module (#23786)

* New Version 1.0.0 for Azure Workloads Module

New Version 1.0.0 for Azure Workloads Module

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

Added to run the checks again

* Update README.md

* Updating Docs and Test cases

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

* Fixing Stop Database test

* correcting error for Remove SVI

* Fixing the issue with New SVI

* Sync tools folder from main branch to generation branch (#23820)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Added support for Cross region restore for Backup vaults (#23818)

* Added support for Cross region restore for Backup vaults

* fixed Analyse issues

* re-recorded failed tests

* resolved issue with HttpPipelinePrepend

* added no-inline

* Sync tools folder from main branch to generation branch (#23824)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23837)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23843)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Azure Monitor] Metrics Data Plane API 2023-10-01 (#23695)

* Azure Monitor Metrics Data Plane API 2023-05-01-Preview Client tools

* [MetricBatch] change the module name

Make module name the same as folder name

* Update README.md

* Update to stable version

* CI failure Test

* Remove Metric manage plane

---------

Co-authored-by: Xiaogang <xidi@microsoft.com>

* Update SpringCloud message (#23854)

* Sync tools folder from main branch to generation branch (#23868)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove Set-AzNginxCertificate and Set-AzNginxDeployment (#23881)

* Sync tools folder from main branch to generation branch (#23883)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23895)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Rename Metrics Data plane to MetricsData (#23896)

* [Az.SqlVirtualMachine] Fix a bug of parameter 'VirtualMachineResourceId' (#23903)

* Sync tools folder from main branch to generation branch (#23899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23922)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23932)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23936)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Onboarding ManagedNetworkFabric service powershell module (#23862)

* Onboarding ManagedNetworkFabric service powershell module

* Corrected path for azure.noprofile.md

* updated key Branch to commit

* Updated subcription id in config.json

* Added subcription Id to the command

* Corrected test cases to include subscription id

* Updated network tap name value

* Updated readme file to avoid flattening

* Removed file as it is not implemented

* Corrected example and doc file for new L3 Isolation domain

* Corrected formats in md files

* Corrected indentation

* Updated recording for networkfabriccontoller

* Updated recording file

* Updated readme file

* COming back to old changes due to build failure

* Changes for test case failures

* Adding versioning to Login migration console app (#23988)

* Sync tools folder from main branch to generation branch (#23993)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix custom location enable flag issue (#24005)

* Sync tools folder from main branch to generation branch (#24010)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* removing interface remove option (#24019)

* removing interface remove option

* Update the examples and docs

---------

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24016)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24031)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fixed the resolve path issue in Install-AzAksCliTool. [#22853] (#24032)

* Az.Migrate support new Data.Replication (#23615)

* Support new scenario in Az.Migrate

* Added retry on get machine site.

* Add READMEs

* Revert changes

---------

Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>

* Az.StackHCI OOB Release - Jan 25 (#24026)

* changes to ps1

* build changes

* Sync tools folder from main branch to generation branch (#24046)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Kdonga/vmware ps 2023 (#23928)

* updated the vmware ps commands to 2023 version

* Added Test Recordings

* additional testing for ps vmware modules

* updated files according to autorest v4 spec

* Removed packages lock file

* new recordings

* additional recording files

* cmdlet workload network is hidden

* removed the test files for workload network

* New Recordings for additional cmdlts

* replace localhost to management.azure.com

* Add missing examples

* added tests for the missing examples

* made updates to AzVMwareGlobalReachConnection test case

---------

Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>

* Sync tools folder from main branch to generation branch (#24059)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24078)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24101)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* update monitor test and design by autorest change (#24099)

* Private Marketplace - Sync APIs with swagger 2023-01-01 and adds tests (#24114)

* upgrade API version, use autorest.powershell v4

* upgrade API version

* fix POST operations

* phase 1 - tests till user offers

* tmp1

* fix2

* clean tests

* run

* Update src/Marketplace/Marketplace.Autorest/README.md

* env

* skip and fix

* examples

* test record & playback

* remove two APIs

* remove stopsell & setrules

* docs with examples

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24125)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24151)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24155)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Updated `Set-AzStackHCI` to use PATCH for updating cluster resource instead of PUT and to only send changed properties (#24158)

* update connectedmachine (#24064)

* update connectedmachine

* Update src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* rename to tags

* fix tests

---------

Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Feature firmwareanalysis ps (#24138)

* Onboard firmwareanalysis commands to powwershell

* add test cases and doc

* add docs

* add outputs

* update command

* fix test

* update doc

* update doc

* fix errors

* add recording

* remove command

* update tests

* Feature firmwareanalysis fix (#24188)

* Fix documentation for firmwareanalysis ps

* Regenerate FirmwareAnalysis

* remove commands and some variants

* update doc

---------

Co-authored-by: Lei Jin <leijin@microsoft.com>

* Sync tools folder from main branch to generation branch (#24228)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove command for dowmload url (#24220)

* Sync tools folder from main branch to generation branch (#24240)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24241)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Security] Initialize  Security Autogenerated Modules (#24162)

* Generate SecurityConnectors and ApiCollections cmdlets

* Add Get-* integration tests

* Regenerate tests

* Update docs and examples. Rename subject *Repos to *Repo.

* Remove depricated offering

* Fix static analysis errors

* Fix one more static analysis issue

* Sync tools folder from main branch to generation branch (#24247)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24255)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Report Image Download Progress  (#24180)

* working image download progress

* adding reporting download progress logic

* adding image recording test

* adding marketplace test

* Use fixed autorest.powershell version to generate

* updating env and recording files

* Revert change to README.md

* updatig variables and image recording

* image test

* storage path test

* disk recording

* updating env variables

* logical network test

* nic test

* fixing networkinterface test

* vm test

* fixing image test

* image recording

* fixing image

* fix

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* PowerShell Support for Email Services Control Plane CRUD operations (#24230)

* Powershell Support for Email Services Control Plane CRUD operations - # 3442118

* Powershell Support for Email Services Control Plane CRUD operations - test recordings- #3442118

* Removed  .gitignore

* Updated test recordings

* readme.md file root-module-name changes

* Updated examples

* Remove use autorest.powershell 4.x

---------

Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* Fix the case sensitive issue when preparing migration (#24272)

* Sync tools folder from main branch to generation branch (#24296)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24309)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24315)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24328)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24346)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24351)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24377)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Change Login Migration Console App source to NuGet.org and Versioning support. (#24330)

* Adding versioning to Login migration console app

* Login migration Powershell script changes to change console app source change to Nuget.org and versioning support

* Modularity changes

* Removing try catch from the helper methods

* [EventHub/ServiceBus] Breaking change Alert for EventHub ServiceBus (#24354)

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* updates

* updates

* updates

* updates

* Updates

* Updates

* updates version number

* Update New-AzServiceBusIPRuleConfig.ps1

* [Application insight] Fix update component (#24405)

* fix application insight update cmdlet

* revert group logic in Application insights test utils

* Sync tools folder from main branch to generation branch (#24441)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Revert MI breaking changes for Fleet (#24448)

* [HDInsight on AKS] New Api version 2023-11-01-preview (#24375)

* Update readme.md

* Revert module version in files

* Add a custom command.

* Update readme.md and re generate.

* Update all docs and examples.

* Update test cases and session records.

* Add a command.

* Remove generated UX folder.

* Remove local input-file value from readme.md

* Update a command params.

* Add synopsis  and des for two new custom commands.

* Add exception for signature issues.

* Fix a error for custom command.

* Fix examples errors.

* Fix an example error.

* Update examples.

* Remove "SupportsShouldProcess"

---------

Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>

* StackHCIVM 2024-01-01 api version  (#24422)

* post autogeneration

* delete

* removing alb changes?

* removing alb changes

* fixing readme file to match folder structure of central repo

* removing example changes

* fix

* fixes for examples

* fix

* fix

* fix

* vm agent fixes

* removing module versin change

* adding storage path recording

* adding disk recording

* adding networking recoridng

* adding image and nic recordings

* vm recording

* image recording

* merge

* report api error

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>

* Replace Start-Sleep with Start-TestSleep to avoid waiting during playback (#24463)

* fix tests (#24475)

* Sync tools folder from main branch to generation branch (#24481)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Onboarded new workloads - PGFlex and MySQL (#24443)

* Onboarded PGFlex and MySQL workloads.
Added end to end support for these workloads.

* re-recorded all test cases

* reverted breaking change by modifying default parameter set name

* Mitigate MI breaking changes (#24483)

* Mitigate MI breaking changes

* Update README.md

* Update README.md

* Update examples for New-AzApplicationInsightsWebTest (#24508)

* Fix typo in example Get-AzApplicationInsightsWorkbookRevision (#24511)

* Sync tools folder from main branch to generation branch (#24504)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24550)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Adding PowerShell module for the EdgeZones service (#24450)

* Adding initial README.md

* After running autorest step5 here Step 5 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%205.%20In%20Azure%20PowerShell%2C%20execute%20command%20autorest%20in%20the%20module%20folder%20to%20generate%20the%20code.

* After performin pswh build-module.ps1 in step 6 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%206.%20In%20Azure%20PowerShell%2C%20execute%20build%2Dmodule.ps1%20build%20module%20in%20the%20module%20folder.

* Add preview message

* Update examples

* Update examples under docs folder besides under examples

* Updated examples under docs folder

* Test cases for AzEdgeZonesExtendedZone

* Added validation for circuit bandwidth in New/Update collector policy cmdlet for ATC (#24571)

* Modified custom cmdlet

* minor fix

* Added custom new cmdlet

* Added shouldprocess

* Add UT

* fix

* Update

* revert

* revert

* Add UT

* Add UT

* Address comment

* Added UT

* test

* Testing

* Testing

* Tests

* Tests

* [Sphere] Feature generated by auto rest (#24568)

* feature Sphere stable 20240401

* sphere directive redesign

* test

* Update Sphere test cases

* Update message in readme

* Fix count parameter set for analyze test coverage

* Sync tools folder from main branch to generation branch (#24570)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Add log scrub for AzureFrontDoor profile (#24534)

* Use autorest to generate new property in exsiting cmdlets

* Add memory objects for AFDX profile LogSrubbing

* Customize memory ojbects for profile Logscrub

* Add examples when using the profileScrubbing'

* Add new testcases for new property and record all the testcases

* Add testcases and examples for New-AzFrontDoorCdnProfile using ProfileLogSrubbing parameter

* Feature standbypool powershell init (#24604)

* new standby pool cmdlets.

* change cmdlets and fix ci issue.

* fix ci.

* documentation.

* [SelfHelp] Add new API version 2024-03-01-preview support for AzSelfHelp cmdlets for Help Resource Provider (#24547)

* initial commit for SelfHelp new version

* Adding files generated by build-module powershell file

* Updating Test files

* Added unit tests

* Adding examples

* Updating DiscoverySolutions examples

* Updating examples

* Added LiveOnly tag to tests

* Adding SpotPlacementRecommender API cmdlets - version 2024-03-01-preview (#24352)

* Initial commit

* Update files after setting directives to add remove cmdlets

* Add initial tests for Invoke-SpotPlacementRecommender cmdlet and some examples in the doc

* Add examples to Invoke-Spot examples md file

* Remove unnecessary test.ps1 files

* Readding some removed files that should not be deleted (1)

* Readding some removed files that should not be deleted (2)

* Readding some removed files that should not be deleted (3)

* Adding older deleted cmds to FunctionsToExport

* Removing Get SpotPlacementRecommender files

* Remove Get-AzSpotPlacementRecommender.Tests.ps1, update failing test and doc

* Rever changes to docs/Az.Compute.md

* Only remove new functions from diagnostic.json

* Reverting changes to docs of other cmdlets

* Update README.md to point to remote swagger

* Readd removed Get-AzGalleryApplication Get-AzGalleryApplicationVersion descriptions from Az.Compute.md

* Update README.md commit to the commit version that includes Spot Placement Recommender merge

* Update Az.Compute.psd1 to remove Get-AzSpotPlacementRecommender function to export, add additional examples for SpotPlacementRecommenderInput parameter, update test to include SpotPlacementRecommenderInput example

* Update test cases, response should not be null or empty, update env.json, localEnv.json values

* Add recording file and fix invalid input desired size

* Sync tools folder from main branch to generation branch (#24630)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.Monitor] Change the name of sub-module (#24613)

* Change the name of sub-module

* Change the name of sub-module

* Rename Metric.Autorest to MetricData.Autorest

* Suppress the exceptions

* Suppress the exceptions

* Added vault tier restore and update backup instance for blobs (#24557)

* Added support for vaulted blobs restore and Update-backupInstance.

* added update BI test case
added ILR test case
added deep validate
added examples

* re-recorded failed tests

* re-recorded failed test

* Sync tools folder from main branch to generation branch (#24641)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* fixed in generation branch (#24668)

* [Functions] Update the logic to populate the function app creation stacks cache and tab completers. (#24656)

* Update Stacks API parser logic

* Update Functions Stack definitions

* Update the logic to populate tab completers only when the Az.Functions cmdlets are invoked

* Update test

* [Az.DataProtection] Adding CmkEnryption parameters to Get-AzDataProtectionBackupVault, New-AzDataProtectionBackupVault and Update-AzDataProtectionBackupVault cmdlets (#24654)

* cmk ps changes added

CmkEncryption tests added

CmkEncryption added to only UpdateExpanded variant

Updated help text for Update-AzDataProtectionBackupVault cmdlet

* output type and examples update

* Updated API version to 04-01
Added MUA changes for update-vault, stop-protection, suspend-backup, restore commands
re-recorded failed tests

* api version upgrade

* New-AzDataProtectionBackupVault example fix

* fixed CI issues

---------

Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>

* cmk encryption examples update (#24692)

added quotes

* Sync tools folder from main branch to generation branch (#24691)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Managed Identity upgrade (#24643)

* Upgrade Fleet managed Identity design Add example and test

* Fix update description

* Sync tools folder from main branch to generation branch (#24719)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24736)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24739)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [EventHub/ServiceBus] Moved cmdlets to V4 (#24070)

* R2D tesing

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Docs update

* Updates

* updates

* Revert "updates"

* Revert "Updates22"

This reverts commit d247880.

* Revert "Docs update2"

This reverts commit 66fa1e4.

* fixing the test failure

* updates

* Revert "updates"

This reverts commit 3f1bcd8.

* Final updatees

* Docs update

* Updates with test

* updates

* Suppressing the breaking change exceptions

* Breaking changes csv update

* Deleted the tring[] file

* Sync tools folder from main branch to generation branch (#24805)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24814)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24832)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24842)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Chaos] Create new module: Az.Chaos (#24444)

* create new module: chaos

* update

* Update

* create new module Az.Chaos

* create ExampleIssues.csv

* [EventGrid] Create new module EventGrid (#24307)

* Create new module: EventGrid

* update

* update

* update

* update

* update breaking change readme directive

* added alias MaxDeliveryAttempt in New-AzEventGridPartnerTopicEventSubscription

* update

* update

* create BreakingChangeIssues.csv

* [Az.Support] generate Az.Support with autorest (#24843)

* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

* Add argument completer (#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (#13)

* Rerecord tests using GA version (#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518) (#24221)

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518)

* Set all tests to -LiveOnly
Add back some test infrastructure fixes that were lost
Improve parameter handling for Remove-AzPolicySetDefinition

* Move to supported way of sharing Helpers.psm1 file

* Switch to recommended approach for shared functions

* Update to autorest 4.x (#24319)

Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Update Policy CRUD cmdlets (#24361)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix calculation for $testFilesFolder on macOS/linux (#24408)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-* (#24507)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe (#24540)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Apply changes to support -Playback mode (#24555)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* move creation of resource group to utils.ps1

* Test tweaks (#24566)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* fix test cases

* Correct location handling, fix tests and consistency (#24573)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* remove unnecessary script

* change cached location with a more unique name

* update execution of util script

* fix positional parameters generated when only default parameter set

* fix erroraction for Get-AzPolicyDefinition

* Apply feedback (#24757)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* Implement feedback:
 - Add ResourceId to Get-AzPolicy[Set]Definition
 - Change -BuiltIn to -Builtin
 - Add -InputObject parameter to Update-* cmdlets
 - Control ErrorAction behavior for Get-AzPolicy[Set]Definition
Deprecate the -BackwardCompatible switch

* sync static analysis exceptions

* remove redundant

* added file accidentally removed

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>

* Change parsing logic in ATC custom cmdlet (#24828)

* Change parsing logic in ATC custom cmdlet

* Add if check

* add if check

* Minor change

* Add UT

* Sync tools folder from main branch to generation branch (#24849)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24852)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24860)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24864)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24867)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [StorageAction] onboard StorageAction with autorest (#24841)

* feature storage action 20240131

* Storage Action feature test cases and examples

* Storage Action test added

* Added swagger fix

* Update commit id from swagger main

* Update commit

* Update example

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update example

---------

Co-authored-by: Yan Xu <yanxu1@microsoft.com>

* [custom location] Upgrade managed identity (#24770)

* Upgrade managed identity for Custom Location module

* Fix and remove custom cmdlets

* Add New custom location example exception

* Update CustomLocation examples

* Sync tools folder from main branch to generation branch (#24888)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24890)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24892)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix issue for KubernetesConfigutation (#24900)

* Sync tools folder from main branch to generation branch (#24919)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

---------

Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Co-authored-by: yifanz7 <131133995+yifanz7@users.noreply.github.com>
Co-authored-by: Azure PowerShell <65331932+azure-powershell-bot@users.noreply.github.com>
Co-authored-by: azurepowershell <azurepowershell@ms.com>
Co-authored-by: JoyerJin <116236375+JoyerJin@users.noreply.github.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: Alec Baird <100880612+alec-baird@users.noreply.github.com>
Co-authored-by: Jaskirat Singh <108129510+jaskisin@users.noreply.github.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
Co-authored-by: Xiaogang <xidi@microsoft.com>
Co-authored-by: lijinpei2008 <31384087+lijinpei2008@users.noreply.github.com>
Co-authored-by: Yan Xu <yanxu1@microsoft.com>
Co-authored-by: aytripathi <119933278+aytripathi@users.noreply.github.com>
Co-authored-by: Bhavikshah123 <126583651+Bhavikshah123@users.noreply.github.com>
Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com>
Co-authored-by: Sam Lee <32776898+minhsuanlee@users.noreply.github.com>
Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>
Co-authored-by: Priyanshi Jain <87351063+priyjain358@users.noreply.github.com>
Co-authored-by: keyurdonga-msft <114703124+keyurdonga-msft@users.noreply.github.com>
Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>
Co-authored-by: saviesacov <96383178+saviesacov@users.noreply.github.com>
Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: PRATEEK PRASHER <prateekprshr@gmail.com>
Co-authored-by: Ved Kale <vedpkale@outlook.com>
Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: kalpeshbhatia000 <108032504+kalpeshbhatia000@users.noreply.github.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: ivadim <iva9im@gmail.com>
Co-authored-by: hvedati <43424696+hvedati@users.noreply.github.com>
Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>
Co-authored-by: v-vprasannak <146808120+v-vprasannak@users.noreply.github.com>
Co-authored-by: TracyYaoYao <40618305+TracyYaoYao@users.noreply.github.com>
Co-authored-by: schaudhari6254888 <111409694+schaudhari6254888@users.noreply.github.com>
Co-authored-by: yuc-Li <58678302+yuc-Li@users.noreply.github.com>
Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
Co-authored-by: Jason Urban <jurban@microsoft.com>
Co-authored-by: kukulkarni1 <101899571+kukulkarni1@users.noreply.github.com>
Co-authored-by: fangru2023 <138832097+fangru2023@users.noreply.github.com>
Co-authored-by: siddiavinashmsft <117774802+siddiavinashmsft@users.noreply.github.com>
Co-authored-by: Elina Liu <wenxliu@microsoft.com>
Co-authored-by: Danny Furnivall <danielfurnivall@gmail.com>
Co-authored-by: Francisco Gamino <Francisco-Gamino@users.noreply.github.com>
Co-authored-by: Kartik Mahajan <66360449+Karmah24@users.noreply.github.com>
Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Chris Stackhouse <cstack@microsoft.com>
NoriZC added a commit that referenced this issue May 29, 2024
* [MSGraph] Enable app roleassignment commands for Service Principal (#23732)

* add approle api in local yaml

* add approle api in local yaml

* customize New-AzAdServiceprincipalAppRoleAssignment

* app role

* Delete src/Resources/MSGraph.Autorest/test/Get-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Remove-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Update-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* add examples

* remove useless parameters

* Update New-AzADServicePrincipalAppRoleAssignment.Tests.ps1

* update

* Update Get-AzADApplication.ps1

* Update Get-AzADApplication.ps1

* change output ux, resolve comments

* fix bug (#23737)

* [StorageMover] Rename SmbFileShare endpoint cmdlets  (#23738)

* Rename SmbFileShare endpoint cmdlets

* update remaining

* Remove old test file

* Sync tools folder from main branch to generation branch (#23755)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Kubernetes Fleet manager generated by autorest (#23631)

* generate Fleet by autorest, code design, example, test

* update examples

* update doc

* Update README.md

* fix typo

* Sync tools folder from main branch to generation branch (#23776)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Update the folder structure of Workloads (#23781)

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Remove the useless files (#23783)

* Sync tools folder from main branch to generation branch (#23795)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23801)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23807)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Alecb/rollback generation to 2023 09 05 (#23810)

* Removed Directives, ran autorest, deleted 3 custom appAttach cmdlets

* ran first test with failures on user session, remove

* Added successful remove session host recording

* All tests pass

* fixed removed session host test

* Removed changes to json file in Tools Common

* Removed extra space

* Find all missed one somehow

* Added additional breaking change suppression

* New Version 0.2.0 for Azure Workloads Module (#23786)

* New Version 1.0.0 for Azure Workloads Module

New Version 1.0.0 for Azure Workloads Module

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

Added to run the checks again

* Update README.md

* Updating Docs and Test cases

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

* Fixing Stop Database test

* correcting error for Remove SVI

* Fixing the issue with New SVI

* Sync tools folder from main branch to generation branch (#23820)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Added support for Cross region restore for Backup vaults (#23818)

* Added support for Cross region restore for Backup vaults

* fixed Analyse issues

* re-recorded failed tests

* resolved issue with HttpPipelinePrepend

* added no-inline

* Sync tools folder from main branch to generation branch (#23824)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23837)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23843)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Azure Monitor] Metrics Data Plane API 2023-10-01 (#23695)

* Azure Monitor Metrics Data Plane API 2023-05-01-Preview Client tools

* [MetricBatch] change the module name

Make module name the same as folder name

* Update README.md

* Update to stable version

* CI failure Test

* Remove Metric manage plane

---------

Co-authored-by: Xiaogang <xidi@microsoft.com>

* Update SpringCloud message (#23854)

* Sync tools folder from main branch to generation branch (#23868)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove Set-AzNginxCertificate and Set-AzNginxDeployment (#23881)

* Sync tools folder from main branch to generation branch (#23883)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23895)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Rename Metrics Data plane to MetricsData (#23896)

* [Az.SqlVirtualMachine] Fix a bug of parameter 'VirtualMachineResourceId' (#23903)

* Sync tools folder from main branch to generation branch (#23899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23922)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23932)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23936)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Onboarding ManagedNetworkFabric service powershell module (#23862)

* Onboarding ManagedNetworkFabric service powershell module

* Corrected path for azure.noprofile.md

* updated key Branch to commit

* Updated subcription id in config.json

* Added subcription Id to the command

* Corrected test cases to include subscription id

* Updated network tap name value

* Updated readme file to avoid flattening

* Removed file as it is not implemented

* Corrected example and doc file for new L3 Isolation domain

* Corrected formats in md files

* Corrected indentation

* Updated recording for networkfabriccontoller

* Updated recording file

* Updated readme file

* COming back to old changes due to build failure

* Changes for test case failures

* Adding versioning to Login migration console app (#23988)

* Sync tools folder from main branch to generation branch (#23993)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix custom location enable flag issue (#24005)

* Sync tools folder from main branch to generation branch (#24010)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* removing interface remove option (#24019)

* removing interface remove option

* Update the examples and docs

---------

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24016)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24031)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fixed the resolve path issue in Install-AzAksCliTool. [#22853] (#24032)

* Az.Migrate support new Data.Replication (#23615)

* Support new scenario in Az.Migrate

* Added retry on get machine site.

* Add READMEs

* Revert changes

---------

Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>

* Az.StackHCI OOB Release - Jan 25 (#24026)

* changes to ps1

* build changes

* Sync tools folder from main branch to generation branch (#24046)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Kdonga/vmware ps 2023 (#23928)

* updated the vmware ps commands to 2023 version

* Added Test Recordings

* additional testing for ps vmware modules

* updated files according to autorest v4 spec

* Removed packages lock file

* new recordings

* additional recording files

* cmdlet workload network is hidden

* removed the test files for workload network

* New Recordings for additional cmdlts

* replace localhost to management.azure.com

* Add missing examples

* added tests for the missing examples

* made updates to AzVMwareGlobalReachConnection test case

---------

Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>

* Sync tools folder from main branch to generation branch (#24059)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24078)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24101)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* update monitor test and design by autorest change (#24099)

* Private Marketplace - Sync APIs with swagger 2023-01-01 and adds tests (#24114)

* upgrade API version, use autorest.powershell v4

* upgrade API version

* fix POST operations

* phase 1 - tests till user offers

* tmp1

* fix2

* clean tests

* run

* Update src/Marketplace/Marketplace.Autorest/README.md

* env

* skip and fix

* examples

* test record & playback

* remove two APIs

* remove stopsell & setrules

* docs with examples

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24125)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24151)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24155)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Updated `Set-AzStackHCI` to use PATCH for updating cluster resource instead of PUT and to only send changed properties (#24158)

* update connectedmachine (#24064)

* update connectedmachine

* Update src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* rename to tags

* fix tests

---------

Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Feature firmwareanalysis ps (#24138)

* Onboard firmwareanalysis commands to powwershell

* add test cases and doc

* add docs

* add outputs

* update command

* fix test

* update doc

* update doc

* fix errors

* add recording

* remove command

* update tests

* Feature firmwareanalysis fix (#24188)

* Fix documentation for firmwareanalysis ps

* Regenerate FirmwareAnalysis

* remove commands and some variants

* update doc

---------

Co-authored-by: Lei Jin <leijin@microsoft.com>

* Sync tools folder from main branch to generation branch (#24228)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove command for dowmload url (#24220)

* Sync tools folder from main branch to generation branch (#24240)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24241)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Security] Initialize  Security Autogenerated Modules (#24162)

* Generate SecurityConnectors and ApiCollections cmdlets

* Add Get-* integration tests

* Regenerate tests

* Update docs and examples. Rename subject *Repos to *Repo.

* Remove depricated offering

* Fix static analysis errors

* Fix one more static analysis issue

* Sync tools folder from main branch to generation branch (#24247)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24255)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Report Image Download Progress  (#24180)

* working image download progress

* adding reporting download progress logic

* adding image recording test

* adding marketplace test

* Use fixed autorest.powershell version to generate

* updating env and recording files

* Revert change to README.md

* updatig variables and image recording

* image test

* storage path test

* disk recording

* updating env variables

* logical network test

* nic test

* fixing networkinterface test

* vm test

* fixing image test

* image recording

* fixing image

* fix

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* PowerShell Support for Email Services Control Plane CRUD operations (#24230)

* Powershell Support for Email Services Control Plane CRUD operations - # 3442118

* Powershell Support for Email Services Control Plane CRUD operations - test recordings- #3442118

* Removed  .gitignore

* Updated test recordings

* readme.md file root-module-name changes

* Updated examples

* Remove use autorest.powershell 4.x

---------

Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* Fix the case sensitive issue when preparing migration (#24272)

* Sync tools folder from main branch to generation branch (#24296)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24309)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24315)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24328)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24346)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24351)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24377)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Change Login Migration Console App source to NuGet.org and Versioning support. (#24330)

* Adding versioning to Login migration console app

* Login migration Powershell script changes to change console app source change to Nuget.org and versioning support

* Modularity changes

* Removing try catch from the helper methods

* [EventHub/ServiceBus] Breaking change Alert for EventHub ServiceBus (#24354)

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* updates

* updates

* updates

* updates

* Updates

* Updates

* updates version number

* Update New-AzServiceBusIPRuleConfig.ps1

* [Application insight] Fix update component (#24405)

* fix application insight update cmdlet

* revert group logic in Application insights test utils

* Sync tools folder from main branch to generation branch (#24441)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Revert MI breaking changes for Fleet (#24448)

* [HDInsight on AKS] New Api version 2023-11-01-preview (#24375)

* Update readme.md

* Revert module version in files

* Add a custom command.

* Update readme.md and re generate.

* Update all docs and examples.

* Update test cases and session records.

* Add a command.

* Remove generated UX folder.

* Remove local input-file value from readme.md

* Update a command params.

* Add synopsis  and des for two new custom commands.

* Add exception for signature issues.

* Fix a error for custom command.

* Fix examples errors.

* Fix an example error.

* Update examples.

* Remove "SupportsShouldProcess"

---------

Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>

* StackHCIVM 2024-01-01 api version  (#24422)

* post autogeneration

* delete

* removing alb changes?

* removing alb changes

* fixing readme file to match folder structure of central repo

* removing example changes

* fix

* fixes for examples

* fix

* fix

* fix

* vm agent fixes

* removing module versin change

* adding storage path recording

* adding disk recording

* adding networking recoridng

* adding image and nic recordings

* vm recording

* image recording

* merge

* report api error

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>

* Replace Start-Sleep with Start-TestSleep to avoid waiting during playback (#24463)

* fix tests (#24475)

* Sync tools folder from main branch to generation branch (#24481)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Onboarded new workloads - PGFlex and MySQL (#24443)

* Onboarded PGFlex and MySQL workloads.
Added end to end support for these workloads.

* re-recorded all test cases

* reverted breaking change by modifying default parameter set name

* Mitigate MI breaking changes (#24483)

* Mitigate MI breaking changes

* Update README.md

* Update README.md

* Update examples for New-AzApplicationInsightsWebTest (#24508)

* Fix typo in example Get-AzApplicationInsightsWorkbookRevision (#24511)

* Sync tools folder from main branch to generation branch (#24504)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24550)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Adding PowerShell module for the EdgeZones service (#24450)

* Adding initial README.md

* After running autorest step5 here Step 5 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%205.%20In%20Azure%20PowerShell%2C%20execute%20command%20autorest%20in%20the%20module%20folder%20to%20generate%20the%20code.

* After performin pswh build-module.ps1 in step 6 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%206.%20In%20Azure%20PowerShell%2C%20execute%20build%2Dmodule.ps1%20build%20module%20in%20the%20module%20folder.

* Add preview message

* Update examples

* Update examples under docs folder besides under examples

* Updated examples under docs folder

* Test cases for AzEdgeZonesExtendedZone

* Added validation for circuit bandwidth in New/Update collector policy cmdlet for ATC (#24571)

* Modified custom cmdlet

* minor fix

* Added custom new cmdlet

* Added shouldprocess

* Add UT

* fix

* Update

* revert

* revert

* Add UT

* Add UT

* Address comment

* Added UT

* test

* Testing

* Testing

* Tests

* Tests

* [Sphere] Feature generated by auto rest (#24568)

* feature Sphere stable 20240401

* sphere directive redesign

* test

* Update Sphere test cases

* Update message in readme

* Fix count parameter set for analyze test coverage

* Sync tools folder from main branch to generation branch (#24570)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Add log scrub for AzureFrontDoor profile (#24534)

* Use autorest to generate new property in exsiting cmdlets

* Add memory objects for AFDX profile LogSrubbing

* Customize memory ojbects for profile Logscrub

* Add examples when using the profileScrubbing'

* Add new testcases for new property and record all the testcases

* Add testcases and examples for New-AzFrontDoorCdnProfile using ProfileLogSrubbing parameter

* Feature standbypool powershell init (#24604)

* new standby pool cmdlets.

* change cmdlets and fix ci issue.

* fix ci.

* documentation.

* [SelfHelp] Add new API version 2024-03-01-preview support for AzSelfHelp cmdlets for Help Resource Provider (#24547)

* initial commit for SelfHelp new version

* Adding files generated by build-module powershell file

* Updating Test files

* Added unit tests

* Adding examples

* Updating DiscoverySolutions examples

* Updating examples

* Added LiveOnly tag to tests

* Adding SpotPlacementRecommender API cmdlets - version 2024-03-01-preview (#24352)

* Initial commit

* Update files after setting directives to add remove cmdlets

* Add initial tests for Invoke-SpotPlacementRecommender cmdlet and some examples in the doc

* Add examples to Invoke-Spot examples md file

* Remove unnecessary test.ps1 files

* Readding some removed files that should not be deleted (1)

* Readding some removed files that should not be deleted (2)

* Readding some removed files that should not be deleted (3)

* Adding older deleted cmds to FunctionsToExport

* Removing Get SpotPlacementRecommender files

* Remove Get-AzSpotPlacementRecommender.Tests.ps1, update failing test and doc

* Rever changes to docs/Az.Compute.md

* Only remove new functions from diagnostic.json

* Reverting changes to docs of other cmdlets

* Update README.md to point to remote swagger

* Readd removed Get-AzGalleryApplication Get-AzGalleryApplicationVersion descriptions from Az.Compute.md

* Update README.md commit to the commit version that includes Spot Placement Recommender merge

* Update Az.Compute.psd1 to remove Get-AzSpotPlacementRecommender function to export, add additional examples for SpotPlacementRecommenderInput parameter, update test to include SpotPlacementRecommenderInput example

* Update test cases, response should not be null or empty, update env.json, localEnv.json values

* Add recording file and fix invalid input desired size

* Sync tools folder from main branch to generation branch (#24630)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.Monitor] Change the name of sub-module (#24613)

* Change the name of sub-module

* Change the name of sub-module

* Rename Metric.Autorest to MetricData.Autorest

* Suppress the exceptions

* Suppress the exceptions

* Added vault tier restore and update backup instance for blobs (#24557)

* Added support for vaulted blobs restore and Update-backupInstance.

* added update BI test case
added ILR test case
added deep validate
added examples

* re-recorded failed tests

* re-recorded failed test

* Sync tools folder from main branch to generation branch (#24641)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* fixed in generation branch (#24668)

* [Functions] Update the logic to populate the function app creation stacks cache and tab completers. (#24656)

* Update Stacks API parser logic

* Update Functions Stack definitions

* Update the logic to populate tab completers only when the Az.Functions cmdlets are invoked

* Update test

* [Az.DataProtection] Adding CmkEnryption parameters to Get-AzDataProtectionBackupVault, New-AzDataProtectionBackupVault and Update-AzDataProtectionBackupVault cmdlets (#24654)

* cmk ps changes added

CmkEncryption tests added

CmkEncryption added to only UpdateExpanded variant

Updated help text for Update-AzDataProtectionBackupVault cmdlet

* output type and examples update

* Updated API version to 04-01
Added MUA changes for update-vault, stop-protection, suspend-backup, restore commands
re-recorded failed tests

* api version upgrade

* New-AzDataProtectionBackupVault example fix

* fixed CI issues

---------

Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>

* cmk encryption examples update (#24692)

added quotes

* Sync tools folder from main branch to generation branch (#24691)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Managed Identity upgrade (#24643)

* Upgrade Fleet managed Identity design Add example and test

* Fix update description

* Sync tools folder from main branch to generation branch (#24719)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24736)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24739)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [EventHub/ServiceBus] Moved cmdlets to V4 (#24070)

* R2D tesing

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Docs update

* Updates

* updates

* Revert "updates"

* Revert "Updates22"

This reverts commit d247880.

* Revert "Docs update2"

This reverts commit 66fa1e4.

* fixing the test failure

* updates

* Revert "updates"

This reverts commit 3f1bcd8.

* Final updatees

* Docs update

* Updates with test

* updates

* Suppressing the breaking change exceptions

* Breaking changes csv update

* Deleted the tring[] file

* Sync tools folder from main branch to generation branch (#24805)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24814)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24832)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24842)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Chaos] Create new module: Az.Chaos (#24444)

* create new module: chaos

* update

* Update

* create new module Az.Chaos

* create ExampleIssues.csv

* [EventGrid] Create new module EventGrid (#24307)

* Create new module: EventGrid

* update

* update

* update

* update

* update breaking change readme directive

* added alias MaxDeliveryAttempt in New-AzEventGridPartnerTopicEventSubscription

* update

* update

* create BreakingChangeIssues.csv

* [Az.Support] generate Az.Support with autorest (#24843)

* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

* Add argument completer (#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (#13)

* Rerecord tests using GA version (#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518) (#24221)

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518)

* Set all tests to -LiveOnly
Add back some test infrastructure fixes that were lost
Improve parameter handling for Remove-AzPolicySetDefinition

* Move to supported way of sharing Helpers.psm1 file

* Switch to recommended approach for shared functions

* Update to autorest 4.x (#24319)

Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Update Policy CRUD cmdlets (#24361)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix calculation for $testFilesFolder on macOS/linux (#24408)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-* (#24507)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe (#24540)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Apply changes to support -Playback mode (#24555)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* move creation of resource group to utils.ps1

* Test tweaks (#24566)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* fix test cases

* Correct location handling, fix tests and consistency (#24573)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* remove unnecessary script

* change cached location with a more unique name

* update execution of util script

* fix positional parameters generated when only default parameter set

* fix erroraction for Get-AzPolicyDefinition

* Apply feedback (#24757)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* Implement feedback:
 - Add ResourceId to Get-AzPolicy[Set]Definition
 - Change -BuiltIn to -Builtin
 - Add -InputObject parameter to Update-* cmdlets
 - Control ErrorAction behavior for Get-AzPolicy[Set]Definition
Deprecate the -BackwardCompatible switch

* sync static analysis exceptions

* remove redundant

* added file accidentally removed

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>

* Change parsing logic in ATC custom cmdlet (#24828)

* Change parsing logic in ATC custom cmdlet

* Add if check

* add if check

* Minor change

* Add UT

* Sync tools folder from main branch to generation branch (#24849)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24852)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24860)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24864)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24867)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [StorageAction] onboard StorageAction with autorest (#24841)

* feature storage action 20240131

* Storage Action feature test cases and examples

* Storage Action test added

* Added swagger fix

* Update commit id from swagger main

* Update commit

* Update example

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update example

---------

Co-authored-by: Yan Xu <yanxu1@microsoft.com>

* [custom location] Upgrade managed identity (#24770)

* Upgrade managed identity for Custom Location module

* Fix and remove custom cmdlets

* Add New custom location example exception

* Update CustomLocation examples

* Sync tools folder from main branch to generation branch (#24888)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24890)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24892)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix issue for KubernetesConfigutation (#24900)

* Sync tools folder from main branch to generation branch (#24919)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24931)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* updated api version from 2023-07-01 to 2023-08-01
Service Tag as new access rule
Reconcile APIs

* Sync tools folder from main branch to generation branch (#24947)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24955)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24959)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Az VMware Powershell Version 2023-09-01 (#24927)

* Ran autorest

* update repo path in README.md file (input-file property)

* add/fix examples

* update docs

* added test recordings and updates from custom files

* fix example and docs errors and re-ran all recordings

* fix some examples and docs

* Sync tools folder from main branch to generation branch (#24990)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fixed the build failure

* removed the invoke apis

---------

Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Co-authored-by: yifanz7 <131133995+yifanz7@users.noreply.github.com>
Co-authored-by: Azure PowerShell <65331932+azure-powershell-bot@users.noreply.github.com>
Co-authored-by: azurepowershell <azurepowershell@ms.com>
Co-authored-by: JoyerJin <116236375+JoyerJin@users.noreply.github.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: Alec Baird <100880612+alec-baird@users.noreply.github.com>
Co-authored-by: Jaskirat Singh <108129510+jaskisin@users.noreply.github.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
Co-authored-by: Xiaogang <xidi@microsoft.com>
Co-authored-by: lijinpei2008 <31384087+lijinpei2008@users.noreply.github.com>
Co-authored-by: Yan Xu <yanxu1@microsoft.com>
Co-authored-by: aytripathi <119933278+aytripathi@users.noreply.github.com>
Co-authored-by: Bhavikshah123 <126583651+Bhavikshah123@users.noreply.github.com>
Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com>
Co-authored-by: Sam Lee <32776898+minhsuanlee@users.noreply.github.com>
Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>
Co-authored-by: Priyanshi Jain <87351063+priyjain358@users.noreply.github.com>
Co-authored-by: keyurdonga-msft <114703124+keyurdonga-msft@users.noreply.github.com>
Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>
Co-authored-by: saviesacov <96383178+saviesacov@users.noreply.github.com>
Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: PRATEEK PRASHER <prateekprshr@gmail.com>
Co-authored-by: Ved Kale <vedpkale@outlook.com>
Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: kalpeshbhatia000 <108032504+kalpeshbhatia000@users.noreply.github.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: ivadim <iva9im@gmail.com>
Co-authored-by: hvedati <43424696+hvedati@users.noreply.github.com>
Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>
Co-authored-by: v-vprasannak <146808120+v-vprasannak@users.noreply.github.com>
Co-authored-by: TracyYaoYao <40618305+TracyYaoYao@users.noreply.github.com>
Co-authored-by: schaudhari6254888 <111409694+schaudhari6254888@users.noreply.github.com>
Co-authored-by: yuc-Li <58678302+yuc-Li@users.noreply.github.com>
Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
Co-authored-by: Jason Urban <jurban@microsoft.com>
Co-authored-by: kukulkarni1 <101899571+kukulkarni1@users.noreply.github.com>
Co-authored-by: fangru2023 <138832097+fangru2023@users.noreply.github.com>
Co-authored-by: siddiavinashmsft <117774802+siddiavinashmsft@users.noreply.github.com>
Co-authored-by: Elina Liu <wenxliu@microsoft.com>
Co-authored-by: Danny Furnivall <danielfurnivall@gmail.com>
Co-authored-by: Francisco Gamino <Francisco-Gamino@users.noreply.github.com>
Co-authored-by: Kartik Mahajan <66360449+Karmah24@users.noreply.github.com>
Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Chris Stackhouse <cstack@microsoft.com>
Co-authored-by: Bhupesh Bhatt <bhupeshbhatt@microsoft.com>
Co-authored-by: Ana Arias Rosales <147624519+anaarias-msft@users.noreply.github.com>
NoriZC added a commit that referenced this issue Jun 4, 2024
* [MSGraph] Enable app roleassignment commands for Service Principal (#23732)

* add approle api in local yaml

* add approle api in local yaml

* customize New-AzAdServiceprincipalAppRoleAssignment

* app role

* Delete src/Resources/MSGraph.Autorest/test/Get-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Remove-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* Delete src/Resources/MSGraph.Autorest/test/Update-AzADServicePrincipalAppRoleAssignedTo.Tests.ps1

* add examples

* remove useless parameters

* Update New-AzADServicePrincipalAppRoleAssignment.Tests.ps1

* update

* Update Get-AzADApplication.ps1

* Update Get-AzADApplication.ps1

* change output ux, resolve comments

* fix bug (#23737)

* [StorageMover] Rename SmbFileShare endpoint cmdlets  (#23738)

* Rename SmbFileShare endpoint cmdlets

* update remaining

* Remove old test file

* Sync tools folder from main branch to generation branch (#23755)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Kubernetes Fleet manager generated by autorest (#23631)

* generate Fleet by autorest, code design, example, test

* update examples

* update doc

* Update README.md

* fix typo

* Sync tools folder from main branch to generation branch (#23776)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Update the folder structure of Workloads (#23781)

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Update the folder structure of Workloads

* Remove the useless files (#23783)

* Sync tools folder from main branch to generation branch (#23795)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23801)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23807)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Alecb/rollback generation to 2023 09 05 (#23810)

* Removed Directives, ran autorest, deleted 3 custom appAttach cmdlets

* ran first test with failures on user session, remove

* Added successful remove session host recording

* All tests pass

* fixed removed session host test

* Removed changes to json file in Tools Common

* Removed extra space

* Find all missed one somehow

* Added additional breaking change suppression

* New Version 0.2.0 for Azure Workloads Module (#23786)

* New Version 1.0.0 for Azure Workloads Module

New Version 1.0.0 for Azure Workloads Module

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

Added to run the checks again

* Update README.md

* Updating Docs and Test cases

* Update New-AzWorkloadsSapVirtualInstance.Tests.ps1

* Fixing Stop Database test

* correcting error for Remove SVI

* Fixing the issue with New SVI

* Sync tools folder from main branch to generation branch (#23820)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Added support for Cross region restore for Backup vaults (#23818)

* Added support for Cross region restore for Backup vaults

* fixed Analyse issues

* re-recorded failed tests

* resolved issue with HttpPipelinePrepend

* added no-inline

* Sync tools folder from main branch to generation branch (#23824)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23837)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23843)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Azure Monitor] Metrics Data Plane API 2023-10-01 (#23695)

* Azure Monitor Metrics Data Plane API 2023-05-01-Preview Client tools

* [MetricBatch] change the module name

Make module name the same as folder name

* Update README.md

* Update to stable version

* CI failure Test

* Remove Metric manage plane

---------

Co-authored-by: Xiaogang <xidi@microsoft.com>

* Update SpringCloud message (#23854)

* Sync tools folder from main branch to generation branch (#23868)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove Set-AzNginxCertificate and Set-AzNginxDeployment (#23881)

* Sync tools folder from main branch to generation branch (#23883)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23895)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Rename Metrics Data plane to MetricsData (#23896)

* [Az.SqlVirtualMachine] Fix a bug of parameter 'VirtualMachineResourceId' (#23903)

* Sync tools folder from main branch to generation branch (#23899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23922)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23932)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#23936)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Onboarding ManagedNetworkFabric service powershell module (#23862)

* Onboarding ManagedNetworkFabric service powershell module

* Corrected path for azure.noprofile.md

* updated key Branch to commit

* Updated subcription id in config.json

* Added subcription Id to the command

* Corrected test cases to include subscription id

* Updated network tap name value

* Updated readme file to avoid flattening

* Removed file as it is not implemented

* Corrected example and doc file for new L3 Isolation domain

* Corrected formats in md files

* Corrected indentation

* Updated recording for networkfabriccontoller

* Updated recording file

* Updated readme file

* COming back to old changes due to build failure

* Changes for test case failures

* Adding versioning to Login migration console app (#23988)

* Sync tools folder from main branch to generation branch (#23993)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix custom location enable flag issue (#24005)

* Sync tools folder from main branch to generation branch (#24010)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* removing interface remove option (#24019)

* removing interface remove option

* Update the examples and docs

---------

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24016)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24031)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fixed the resolve path issue in Install-AzAksCliTool. [#22853] (#24032)

* Az.Migrate support new Data.Replication (#23615)

* Support new scenario in Az.Migrate

* Added retry on get machine site.

* Add READMEs

* Revert changes

---------

Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>

* Az.StackHCI OOB Release - Jan 25 (#24026)

* changes to ps1

* build changes

* Sync tools folder from main branch to generation branch (#24046)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Kdonga/vmware ps 2023 (#23928)

* updated the vmware ps commands to 2023 version

* Added Test Recordings

* additional testing for ps vmware modules

* updated files according to autorest v4 spec

* Removed packages lock file

* new recordings

* additional recording files

* cmdlet workload network is hidden

* removed the test files for workload network

* New Recordings for additional cmdlts

* replace localhost to management.azure.com

* Add missing examples

* added tests for the missing examples

* made updates to AzVMwareGlobalReachConnection test case

---------

Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>

* Sync tools folder from main branch to generation branch (#24059)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24078)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24101)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* update monitor test and design by autorest change (#24099)

* Private Marketplace - Sync APIs with swagger 2023-01-01 and adds tests (#24114)

* upgrade API version, use autorest.powershell v4

* upgrade API version

* fix POST operations

* phase 1 - tests till user offers

* tmp1

* fix2

* clean tests

* run

* Update src/Marketplace/Marketplace.Autorest/README.md

* env

* skip and fix

* examples

* test record & playback

* remove two APIs

* remove stopsell & setrules

* docs with examples

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Sync tools folder from main branch to generation branch (#24125)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24151)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24155)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Updated `Set-AzStackHCI` to use PATCH for updating cluster resource instead of PUT and to only send changed properties (#24158)

* update connectedmachine (#24064)

* update connectedmachine

* Update src/ConnectedMachine/ConnectedMachine.Autorest/custom/New-AzConnectedMachineRunCommand_ScriptLocalPath.ps1

Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* rename to tags

* fix tests

---------

Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Feature firmwareanalysis ps (#24138)

* Onboard firmwareanalysis commands to powwershell

* add test cases and doc

* add docs

* add outputs

* update command

* fix test

* update doc

* update doc

* fix errors

* add recording

* remove command

* update tests

* Feature firmwareanalysis fix (#24188)

* Fix documentation for firmwareanalysis ps

* Regenerate FirmwareAnalysis

* remove commands and some variants

* update doc

---------

Co-authored-by: Lei Jin <leijin@microsoft.com>

* Sync tools folder from main branch to generation branch (#24228)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Remove command for dowmload url (#24220)

* Sync tools folder from main branch to generation branch (#24240)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24241)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Security] Initialize  Security Autogenerated Modules (#24162)

* Generate SecurityConnectors and ApiCollections cmdlets

* Add Get-* integration tests

* Regenerate tests

* Update docs and examples. Rename subject *Repos to *Repo.

* Remove depricated offering

* Fix static analysis errors

* Fix one more static analysis issue

* Sync tools folder from main branch to generation branch (#24247)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24255)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Report Image Download Progress  (#24180)

* working image download progress

* adding reporting download progress logic

* adding image recording test

* adding marketplace test

* Use fixed autorest.powershell version to generate

* updating env and recording files

* Revert change to README.md

* updatig variables and image recording

* image test

* storage path test

* disk recording

* updating env variables

* logical network test

* nic test

* fixing networkinterface test

* vm test

* fixing image test

* image recording

* fixing image

* fix

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* PowerShell Support for Email Services Control Plane CRUD operations (#24230)

* Powershell Support for Email Services Control Plane CRUD operations - # 3442118

* Powershell Support for Email Services Control Plane CRUD operations - test recordings- #3442118

* Removed  .gitignore

* Updated test recordings

* readme.md file root-module-name changes

* Updated examples

* Remove use autorest.powershell 4.x

---------

Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>

* Fix the case sensitive issue when preparing migration (#24272)

* Sync tools folder from main branch to generation branch (#24296)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24309)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24315)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24328)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24346)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24351)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24377)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Change Login Migration Console App source to NuGet.org and Versioning support. (#24330)

* Adding versioning to Login migration console app

* Login migration Powershell script changes to change console app source change to Nuget.org and versioning support

* Modularity changes

* Removing try catch from the helper methods

* [EventHub/ServiceBus] Breaking change Alert for EventHub ServiceBus (#24354)

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* updates

* updates

* updates

* updates

* Updates

* Updates

* updates version number

* Update New-AzServiceBusIPRuleConfig.ps1

* [Application insight] Fix update component (#24405)

* fix application insight update cmdlet

* revert group logic in Application insights test utils

* Sync tools folder from main branch to generation branch (#24441)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Revert MI breaking changes for Fleet (#24448)

* [HDInsight on AKS] New Api version 2023-11-01-preview (#24375)

* Update readme.md

* Revert module version in files

* Add a custom command.

* Update readme.md and re generate.

* Update all docs and examples.

* Update test cases and session records.

* Add a command.

* Remove generated UX folder.

* Remove local input-file value from readme.md

* Update a command params.

* Add synopsis  and des for two new custom commands.

* Add exception for signature issues.

* Fix a error for custom command.

* Fix examples errors.

* Fix an example error.

* Update examples.

* Remove "SupportsShouldProcess"

---------

Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>

* StackHCIVM 2024-01-01 api version  (#24422)

* post autogeneration

* delete

* removing alb changes?

* removing alb changes

* fixing readme file to match folder structure of central repo

* removing example changes

* fix

* fixes for examples

* fix

* fix

* fix

* vm agent fixes

* removing module versin change

* adding storage path recording

* adding disk recording

* adding networking recoridng

* adding image and nic recordings

* vm recording

* image recording

* merge

* report api error

---------

Co-authored-by: Harika Vedati <havedati@microsoft.com>

* Replace Start-Sleep with Start-TestSleep to avoid waiting during playback (#24463)

* fix tests (#24475)

* Sync tools folder from main branch to generation branch (#24481)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.DataProtection] Onboarded new workloads - PGFlex and MySQL (#24443)

* Onboarded PGFlex and MySQL workloads.
Added end to end support for these workloads.

* re-recorded all test cases

* reverted breaking change by modifying default parameter set name

* Mitigate MI breaking changes (#24483)

* Mitigate MI breaking changes

* Update README.md

* Update README.md

* Update examples for New-AzApplicationInsightsWebTest (#24508)

* Fix typo in example Get-AzApplicationInsightsWorkbookRevision (#24511)

* Sync tools folder from main branch to generation branch (#24504)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24550)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Adding PowerShell module for the EdgeZones service (#24450)

* Adding initial README.md

* After running autorest step5 here Step 5 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%205.%20In%20Azure%20PowerShell%2C%20execute%20command%20autorest%20in%20the%20module%20folder%20to%20generate%20the%20code.

* After performin pswh build-module.ps1 in step 6 https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/onboarding/azurepowershell/dev_guidance_codegen#:~:text=Step%206.%20In%20Azure%20PowerShell%2C%20execute%20build%2Dmodule.ps1%20build%20module%20in%20the%20module%20folder.

* Add preview message

* Update examples

* Update examples under docs folder besides under examples

* Updated examples under docs folder

* Test cases for AzEdgeZonesExtendedZone

* Added validation for circuit bandwidth in New/Update collector policy cmdlet for ATC (#24571)

* Modified custom cmdlet

* minor fix

* Added custom new cmdlet

* Added shouldprocess

* Add UT

* fix

* Update

* revert

* revert

* Add UT

* Add UT

* Address comment

* Added UT

* test

* Testing

* Testing

* Tests

* Tests

* [Sphere] Feature generated by auto rest (#24568)

* feature Sphere stable 20240401

* sphere directive redesign

* test

* Update Sphere test cases

* Update message in readme

* Fix count parameter set for analyze test coverage

* Sync tools folder from main branch to generation branch (#24570)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Add log scrub for AzureFrontDoor profile (#24534)

* Use autorest to generate new property in exsiting cmdlets

* Add memory objects for AFDX profile LogSrubbing

* Customize memory ojbects for profile Logscrub

* Add examples when using the profileScrubbing'

* Add new testcases for new property and record all the testcases

* Add testcases and examples for New-AzFrontDoorCdnProfile using ProfileLogSrubbing parameter

* Feature standbypool powershell init (#24604)

* new standby pool cmdlets.

* change cmdlets and fix ci issue.

* fix ci.

* documentation.

* [SelfHelp] Add new API version 2024-03-01-preview support for AzSelfHelp cmdlets for Help Resource Provider (#24547)

* initial commit for SelfHelp new version

* Adding files generated by build-module powershell file

* Updating Test files

* Added unit tests

* Adding examples

* Updating DiscoverySolutions examples

* Updating examples

* Added LiveOnly tag to tests

* Adding SpotPlacementRecommender API cmdlets - version 2024-03-01-preview (#24352)

* Initial commit

* Update files after setting directives to add remove cmdlets

* Add initial tests for Invoke-SpotPlacementRecommender cmdlet and some examples in the doc

* Add examples to Invoke-Spot examples md file

* Remove unnecessary test.ps1 files

* Readding some removed files that should not be deleted (1)

* Readding some removed files that should not be deleted (2)

* Readding some removed files that should not be deleted (3)

* Adding older deleted cmds to FunctionsToExport

* Removing Get SpotPlacementRecommender files

* Remove Get-AzSpotPlacementRecommender.Tests.ps1, update failing test and doc

* Rever changes to docs/Az.Compute.md

* Only remove new functions from diagnostic.json

* Reverting changes to docs of other cmdlets

* Update README.md to point to remote swagger

* Readd removed Get-AzGalleryApplication Get-AzGalleryApplicationVersion descriptions from Az.Compute.md

* Update README.md commit to the commit version that includes Spot Placement Recommender merge

* Update Az.Compute.psd1 to remove Get-AzSpotPlacementRecommender function to export, add additional examples for SpotPlacementRecommenderInput parameter, update test to include SpotPlacementRecommenderInput example

* Update test cases, response should not be null or empty, update env.json, localEnv.json values

* Add recording file and fix invalid input desired size

* Sync tools folder from main branch to generation branch (#24630)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Az.Monitor] Change the name of sub-module (#24613)

* Change the name of sub-module

* Change the name of sub-module

* Rename Metric.Autorest to MetricData.Autorest

* Suppress the exceptions

* Suppress the exceptions

* Added vault tier restore and update backup instance for blobs (#24557)

* Added support for vaulted blobs restore and Update-backupInstance.

* added update BI test case
added ILR test case
added deep validate
added examples

* re-recorded failed tests

* re-recorded failed test

* Sync tools folder from main branch to generation branch (#24641)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* fixed in generation branch (#24668)

* [Functions] Update the logic to populate the function app creation stacks cache and tab completers. (#24656)

* Update Stacks API parser logic

* Update Functions Stack definitions

* Update the logic to populate tab completers only when the Az.Functions cmdlets are invoked

* Update test

* [Az.DataProtection] Adding CmkEnryption parameters to Get-AzDataProtectionBackupVault, New-AzDataProtectionBackupVault and Update-AzDataProtectionBackupVault cmdlets (#24654)

* cmk ps changes added

CmkEncryption tests added

CmkEncryption added to only UpdateExpanded variant

Updated help text for Update-AzDataProtectionBackupVault cmdlet

* output type and examples update

* Updated API version to 04-01
Added MUA changes for update-vault, stop-protection, suspend-backup, restore commands
re-recorded failed tests

* api version upgrade

* New-AzDataProtectionBackupVault example fix

* fixed CI issues

---------

Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>

* cmk encryption examples update (#24692)

added quotes

* Sync tools folder from main branch to generation branch (#24691)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Fleet] Managed Identity upgrade (#24643)

* Upgrade Fleet managed Identity design Add example and test

* Fix update description

* Sync tools folder from main branch to generation branch (#24719)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24736)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24739)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [EventHub/ServiceBus] Moved cmdlets to V4 (#24070)

* R2D tesing

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Updates

* Docs update

* Updates

* updates

* Revert "updates"

* Revert "Updates22"

This reverts commit d247880.

* Revert "Docs update2"

This reverts commit 66fa1e4.

* fixing the test failure

* updates

* Revert "updates"

This reverts commit 3f1bcd8.

* Final updatees

* Docs update

* Updates with test

* updates

* Suppressing the breaking change exceptions

* Breaking changes csv update

* Deleted the tring[] file

* Sync tools folder from main branch to generation branch (#24805)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24814)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24832)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24842)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [Chaos] Create new module: Az.Chaos (#24444)

* create new module: chaos

* update

* Update

* create new module Az.Chaos

* create ExampleIssues.csv

* [EventGrid] Create new module EventGrid (#24307)

* Create new module: EventGrid

* update

* update

* update

* update

* update breaking change readme directive

* added alias MaxDeliveryAttempt in New-AzEventGridPartnerTopicEventSubscription

* update

* update

* create BreakingChangeIssues.csv

* [Az.Support] generate Az.Support with autorest (#24843)

* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (#11)

* Add argument completer (#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (#13)

* Rerecord tests using GA version (#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518) (#24221)

* Move Policy CRUD cmdlets to autorest generation: fixes (#23518)

* Set all tests to -LiveOnly
Add back some test infrastructure fixes that were lost
Improve parameter handling for Remove-AzPolicySetDefinition

* Move to supported way of sharing Helpers.psm1 file

* Switch to recommended approach for shared functions

* Update to autorest 4.x (#24319)

Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Update Policy CRUD cmdlets (#24361)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix calculation for $testFilesFolder on macOS/linux (#24408)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-* (#24507)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe (#24540)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Apply changes to support -Playback mode (#24555)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* move creation of resource group to utils.ps1

* Test tweaks (#24566)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* fix test cases

* Correct location handling, fix tests and consistency (#24573)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* remove unnecessary script

* change cached location with a more unique name

* update execution of util script

* fix positional parameters generated when only default parameter set

* fix erroraction for Get-AzPolicyDefinition

* Apply feedback (#24757)

* Update to autorest 4.x
Update to Azure Policy 2023-04-01
Move to non-versioned interface types
Complete full test suite for existing cmdlets
Few bug fixes
Add completer for Location parameter
Fix record/playback, remove -LiveOnly tags
Make test names repeatable to work with record/playback
Implement resource group functions that became inaccessible
Fix test failures due to default parameter injection

* Clean up some transforms in README
Remove unsupported (for now) parameters
Streamline common test code
Move common test code to utils.ps1
Add serialization of test variables to env.json

* Remove extra parameters from Get-AzPolicyAssignment
Rerecord the tests

* Fix $testFilesFolder calculation to work on macOS/linux.

* Hide generated parameter sets for New-*
Correct definitions, validation, and tests for New-AzPolicyAssignment parameters
Re-record all tests

* Replace Get-AzContext with Utils\Get-SubscriptionIdTestSafe
Move to autorest 4.0.690
Update managed identity properties to match generation changes
Remove several parameter transforms no longer needed
Rerecord all tests
91 tests still failing on -Playback with the same signature

* Remove location completer from exports/docs/examples/help

* Improve location completer tests

* Remove transforms for Scope and Id parameters no longer needed
Update cmdlets to use Scope and Id directly
Rerecord all tests
All tests pass in -Record mode
Failures in -Playback mode unchanged

* Change location completer to lazy load (vs. module load)
Preserve "extra" input parameters in Update-* calls to Get-* in order to support -Playback test mode
Tag test files that don't support -Playback mode as LiveOnly
Rerecord all recording files

* Minor updates for consistency
Rerecord all tests
Move 4 test files back to LiveOnly

* Updates for consistency and to fix tests
Make changes to ensure consistent and valid handling of $location
Rerecord tests

* Fix bad merge
Rerecord two test files

* Re-record tests

* Implement feedback:
 - Add ResourceId to Get-AzPolicy[Set]Definition
 - Change -BuiltIn to -Builtin
 - Add -InputObject parameter to Update-* cmdlets
 - Control ErrorAction behavior for Get-AzPolicy[Set]Definition
Deprecate the -BackwardCompatible switch

* sync static analysis exceptions

* remove redundant

* added file accidentally removed

---------

Co-authored-by: Yabo Hu <yabhu@microsoft.com>

* Change parsing logic in ATC custom cmdlet (#24828)

* Change parsing logic in ATC custom cmdlet

* Add if check

* add if check

* Minor change

* Add UT

* Sync tools folder from main branch to generation branch (#24849)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24852)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24860)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24864)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24867)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* [StorageAction] onboard StorageAction with autorest (#24841)

* feature storage action 20240131

* Storage Action feature test cases and examples

* Storage Action test added

* Added swagger fix

* Update commit id from swagger main

* Update commit

* Update example

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update src/StorageAction/StorageAction.Autorest/docs/New-AzStorageActionTask.md

* Update example

---------

Co-authored-by: Yan Xu <yanxu1@microsoft.com>

* [custom location] Upgrade managed identity (#24770)

* Upgrade managed identity for Custom Location module

* Fix and remove custom cmdlets

* Add New custom location example exception

* Update CustomLocation examples

* Sync tools folder from main branch to generation branch (#24888)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24890)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24892)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24899)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Fix issue for KubernetesConfigutation (#24900)

* Sync tools folder from main branch to generation branch (#24919)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24931)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24947)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24955)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Sync tools folder from main branch to generation branch (#24959)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* Az VMware Powershell Version 2023-09-01 (#24927)

* Ran autorest

* update repo path in README.md file (input-file property)

* add/fix examples

* update docs

* added test recordings and updates from custom files

* fix example and docs errors and re-ran all recordings

* fix some examples and docs

* Sync tools folder from main branch to generation branch (#24990)

Co-authored-by: azurepowershell <azurepowershell@ms.com>

* added reconcile apis

* updated docs and examples

* fixed build errors

---------

Co-authored-by: NoriZC <110961157+NoriZC@users.noreply.github.com>
Co-authored-by: yifanz7 <131133995+yifanz7@users.noreply.github.com>
Co-authored-by: Azure PowerShell <65331932+azure-powershell-bot@users.noreply.github.com>
Co-authored-by: azurepowershell <azurepowershell@ms.com>
Co-authored-by: JoyerJin <116236375+JoyerJin@users.noreply.github.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Co-authored-by: Alec Baird <100880612+alec-baird@users.noreply.github.com>
Co-authored-by: Jaskirat Singh <108129510+jaskisin@users.noreply.github.com>
Co-authored-by: Himanshu Agarwal <hiaga@microsoft.com>
Co-authored-by: Xiaogang <xidi@microsoft.com>
Co-authored-by: lijinpei2008 <31384087+lijinpei2008@users.noreply.github.com>
Co-authored-by: Yan Xu <yanxu1@microsoft.com>
Co-authored-by: aytripathi <119933278+aytripathi@users.noreply.github.com>
Co-authored-by: Bhavikshah123 <126583651+Bhavikshah123@users.noreply.github.com>
Co-authored-by: NanxiangLiu <33285578+Nickcandy@users.noreply.github.com>
Co-authored-by: Sam Lee <32776898+minhsuanlee@users.noreply.github.com>
Co-authored-by: Sam Lee <samlee3@microsoft.com>
Co-authored-by: Helen Afework <helenafework@microsoft.com>
Co-authored-by: Priyanshi Jain <87351063+priyjain358@users.noreply.github.com>
Co-authored-by: keyurdonga-msft <114703124+keyurdonga-msft@users.noreply.github.com>
Co-authored-by: Ana Arias Rosales <anaarias@microsoft.com>
Co-authored-by: saviesacov <96383178+saviesacov@users.noreply.github.com>
Co-authored-by: Yabo Hu <yabhu@microsoft.com>
Co-authored-by: PRATEEK PRASHER <prateekprshr@gmail.com>
Co-authored-by: Ved Kale <vedpkale@outlook.com>
Co-authored-by: Ved Kale <vedkale@microsoft.com>
Co-authored-by: kalpeshbhatia000 <108032504+kalpeshbhatia000@users.noreply.github.com>
Co-authored-by: Lei Jin <leijin@microsoft.com>
Co-authored-by: ivadim <iva9im@gmail.com>
Co-authored-by: hvedati <43424696+hvedati@users.noreply.github.com>
Co-authored-by: Harika Vedati <havedati@microsoft.com>
Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>
Co-authored-by: v-vprasannak <146808120+v-vprasannak@users.noreply.github.com>
Co-authored-by: TracyYaoYao <40618305+TracyYaoYao@users.noreply.github.com>
Co-authored-by: schaudhari6254888 <111409694+schaudhari6254888@users.noreply.github.com>
Co-authored-by: yuc-Li <58678302+yuc-Li@users.noreply.github.com>
Co-authored-by: v-yuchenli <v-yuchenli@microsoft.com>
Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
Co-authored-by: Jason Urban <jurban@microsoft.com>
Co-authored-by: kukulkarni1 <101899571+kukulkarni1@users.noreply.github.com>
Co-authored-by: fangru2023 <138832097+fangru2023@users.noreply.github.com>
Co-authored-by: siddiavinashmsft <117774802+siddiavinashmsft@users.noreply.github.com>
Co-authored-by: Elina Liu <wenxliu@microsoft.com>
Co-authored-by: Danny Furnivall <danielfurnivall@gmail.com>
Co-authored-by: Francisco Gamino <Francisco-Gamino@users.noreply.github.com>
Co-authored-by: Kartik Mahajan <66360449+Karmah24@users.noreply.github.com>
Co-authored-by: Kartik Mahajan (from Dev Box) <karmahajan@microsoft.com>
Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Chris Stackhouse <cstack@microsoft.com>
Co-authored-by: Bhupesh Bhatt <bhupeshbhatt@microsoft.com>
Co-authored-by: Ana Arias Rosales <147624519+anaarias-msft@users.noreply.github.com>
qinzhouxu pushed a commit to qinzhouxu/azure-powershell that referenced this issue Jun 5, 2024
* init add powershell cmdlet

* add customization for filedetails

* correct readme to include file workspace create

* add custom cmdlet for creating and uploading the file

* chunking logic for larger files

* add error for custom cmdlet when file too big

* combined cmdlets

* edit custom file upload command to not use default subscriptionid

* no default value for subid in custom file upload

* separate subscription and no subscription commands

* remove comments from combined cmd for file

* fix cmd

* custom no subscription file upload commands

* autogen docs for no sub file upload

* hide individual file commands

* add back workspace commands

* add name as alias for fileworkspacename fileworkspacesnosubscription

* remove update files and add alias for nosubscription file commands

* tests for get service

* tests for problem classification

* try adding erroractionpreference = stop

* tests for new file workspace

* tests for get file workspace

* more tests

* add tests for new file and upload, removefile name as a parameter

* remove new files no subscription

* tests for get file

* erroraction stop

* remove unnecessary comments and print statements

* docs for get support service

* problem classification docs

* add titles

* documentation for file workspace commands

* documentation for file/file workspace cmdlets

* documentation for checkNameAvailability

* added tests and documentation for operations, support ticket, communication and chat transcript cmdlets

* added examples for operations, support ticket, communication and chat transcript cmdlets

* resolve merge conflicts

* resolved PR comments

* get conflict file changes from grhuang/azsupport-autorest

* resolved merge conflict

* removed update communication sub and no sub scenarios

* Revert "removed update communication sub and no sub scenarios"

This reverts commit ccbfdee.

* removed update communication sub and no sub scenarios , updated readme

* make communiation and support ticket properties required in readme, edit get operation file name, edit calling internal cmdlets for file upload

* fix documentation

* fix top query

* add custom error handler

* consolidate list and get communicationsnosubscription and chattranscriptsnosubscription

* init changes to allow no subscription recording tests-need to use csp partner account in tenant 2e6a0c9f-986d-480e-ad4b-bdfddc047aba

* changes to not create new resources in playback

* remove custom error handler csharp

* init add changes to split subscription and no subscription tests

* update skip

* Update recordings

* update recordings

* add more examples to new-azsupportticket documentation

* update documentation and readme

* add directive back in

* make advanced diagnostic consent required

* Add custom error handling for New- and Update- cmdlets to print full details of error (Azure#9)

* Add custom error handler

* Add default filter to retrieve tickets from the past week for Get-AzSupportTickets and Get-AzSupportTicketsNoSubscription (Azure#10)

* add custom filtering for list support ticket if no filter is applied

* make transformations in swagger in readme to make enrollment id not readonly and show isTempTicket (Azure#11)

* Add argument completer (Azure#12)

* add argument completers

* add quotes to argument completers

* remove repeated time zone

* Regenerate powershell module with GA swagger (Azure#13)

* Rerecord tests using GA version (Azure#14)

* add tests for file size (will add recordings once Ga swagger available)

* Regenerate powershell module with GA swagger

* Rerecord tests with GA version

* Fix documentation

* fix url for file upload

---------

Co-authored-by: Grace Huang (from Dev Box) <grhuang@microsoft.com>
Co-authored-by: grhuangmsft <103289214+grhuangmsft@users.noreply.github.com>
Co-authored-by: Shreya Kumar <shreyakumar@microsoft.com>
Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests