Skip to content

Commit

Permalink
dwda (#15275)
Browse files Browse the repository at this point in the history
* Onboard DigitalTwins to Private Link Common Cmdlets (#14613)

* Onboard DigitalTwins to Private Link Common Cmdlets

* Removed the change log

* Added DigitalTwins in lexicographical order

* Adding Private Range (No SNAT) Support to Firewall Policies (#14577)

* Add Azure Route Server CRUD cmdlets to deprecate Virtual Router cmdlets (#14036)

* change name from virtual router to route server

* add test records

* fix warning

* delete unused import

* no snat private ranges

* adding private range in firewall policies

* using AzPSArgumentException instead of PSArgumentException

* using Resources.resx for AzPSArgumentException

* reverting changes in Resources.Designer.cs that is not related to my code

* adding help instruction for set-AzFirewallPolicy

* updated changeLog

Co-authored-by: litchiyangMSFT <[email protected]>

* Added a new property "FlowTimeout" to Virtual Network (#14665)

* Adding new property to Virtual Network FlowTimeoutInMinutes

* Reverting local SDK changes

* Added recorded test and updated help files, changed FlowTimeoutInMinutes to FlowTimeout

* Update src/Network/Network/VirtualNetwork/NewAzureVirtualNetworkCommand.cs

Removing Abbreviation of mins and expanding to minutes

Co-authored-by: Beisi Zhou <[email protected]>

* Updated FlowTimeout Description

* Generated New Test Recording and updated PS Test script

* Adding local SDK for FlowTimeout

* Update the Network sdk version in test projects

* Update the Network sdk version in test projects

* Updated FlowTimeout Description

* Update the Network sdk version in test projects

Co-authored-by: Beisi Zhou <[email protected]>
Co-authored-by: wyunchi-ms <[email protected]>

* Virtual Network Gateway NAT feature changes (#14685)

* workingCode

* VNGCommands

* ConnChanges

* Format

* helpFiles

* tests

* changeLog

* Revert "changeLog"

This reverts commit 8dbb8a2.

* ChangeLogMd

* fixing csProj

* Revert "Revert "changeLog""

This reverts commit 7f69613.

* Fixing nupkg

* TestCsProj

* testRecords

* fixing comments

* Fixing Comments

Co-authored-by: Khushboo Baheti <[email protected]>

* Support for Preferred Routing Gateway for Virtual Hub (#14761)

* Fixed Azure Vnet peering build fix for new SDK

* Added support for VPN or ER selection

* Added default display

* Bug fixes

* Updated change log

* Reverting VNET Peering change mismatch with SDK

* Fixed help file

* correcting document example 1 of New-AzFirewallPolicyRuleCollectionGroup (#14777)

* Added more detailed description about GroupId in New-AzPrivateLinkServiceConnection (#14786)

Co-authored-by: Beisi Zhou <[email protected]>

* Fix (#14791)

Co-authored-by: Khushboo Baheti <[email protected]>

* Added support for getting a single private link resource (#14785)

* Added support for getting a single private link resource

* update help file

* Update src/Network/Network/help/Get-AzPrivateLinkResource.md

* Update src/Network/Network/help/Get-AzPrivateLinkResource.md

Co-authored-by: Beisi Zhou <[email protected]>

* Exposing two  read-only properties of Application Gateway client certificate (#14784)

* expose two read-only client cert properties

* update appgw senario test to cover two new read-only properties of client cert

* create zonal public ip referred by appgw with zone redundancy

* update session record

* update ChangeLog

* use cert chain name from appgw

* check client cert properties from appgw output

* update test case and record

* Gateway Loadbalancer (#14683)

* new branch

* fix

* fix

* fix

* fix

* fix

* try restart json

* replace file

Co-authored-by: matyang222 <[email protected]>

* Add new properties a new commandlet to support the address space update in peered vNets  (#14730)

* Changes for adding new commandlet for sync operation

* Reverting the unintended change related to flow timeout

* Updating with the SDK that has the newer fields

Updating with the SDK that has the newer fields

* Updating the networking SDK for all references

Updating the networking SDK for all references

* Added Parameter Set & Updated Changelog.md & Recorded PS Test

* Minor update to changelog.md file and removed comment from VirtualNetworkTests.cs

* Added default parameter set and ShouldSupportProcess=false

* Added default parameter set and ShouldSupportProcess=false

* Sync-AzVirtualNetworkPeering.md Help file

* Updated links in help files

* Minor spacing issue in help files hyperlink

* Changed synopsis and description from comment to actual string

* Added Sync-AzVirtualNetworkPeering to StaticAnalysis exception to ignore the shouldProcess error

* Updating build steps

* Setting supportsshouldprocess = true in sync-azvnetpeering

* Reverting the Signature Issues

Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Satya-anshu <[email protected]>

* [Az.RecoveryServices.Backup] fixed sql CRR and security issue with SQL restore (#14599)

* fixing sql restore, breaking change

* Fixed TestCases

* Move migrate to release-2021-05-25 (#15050)

* Move Migrate to release-2021-05-25

* Update Changelog.md

Co-authored-by: azurepowershell <[email protected]>

* Move kusto to release-2021-05-25 (#15046)

* Move Kusto to release-2021-05-25

* Add change log for kusto

* Clean en-us from kusto help (#15048)

* Suppress breaking change warnings for kusto (#15051)

Co-authored-by: azurepowershell <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>

* Correct the version (#15053)

Co-authored-by: wyunchi-ms <[email protected]>

* Fixes: #14884: `Set-AzWebAppSlot` to set FtpsState, #14998:`Set-AzWeb… (#15011) (#15055)

* Fixes: #14884: `Set-AzWebAppSlot` to set FtpsState, #14998:`Set-AzWebApp` to set the AppSettings, #15005: `Set-AzAppServicePlan` to keep existing Tags when adding new Tags

* Build issue fixed

* Update ChangeLog.md

* Build fix

Co-authored-by: Yunchi Wang <[email protected]>

Co-authored-by: Kota Sudhakar Reddy <[email protected]>

* Fix issues for AzPreview and update description of Az.psd1 (#15052)

* Fix link typo in warning message (#15045)

Co-authored-by: Dingmeng Xue <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>

* Remove the logic to update psd1 in artifacts. (#15057)

Co-authored-by: wyunchi-ms <[email protected]>

* Application Gateway AutoScale Example (#15071)

* Add Example # 2

Example to convert an Application Gateway from Manual Scaling to AutoScale.

* Added Example

Added an additional example to the New-AzApplicationGatewayAutoscaleConfiguration cmdlet.

* Update ChangeLog.md

Co-authored-by: Jin Lei <[email protected]>

* Remove the reference to container instance project in network solution (#15073)

* release-2021-05-25 (#15069)

Suppresses the issue of static analysis

* [DataFactroy] Updated ADF .Net SDK version to 4.19.0 (#15074)

* [DataFactroy] Updated ADF .Net SDK version to 4.18.0

* [DataFactroy] Updated ADF .Net SDK version to 4.19.0

Co-authored-by: Yabo Hu <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>

* [App Service] Set-AzWebAppSlot defaults AlwaysOn to false [#15066] (#15077)

* Add HighAvailabilityReplicaCount to New-AzSqlDatabaseSecondary (#15079)

* Add HA replica param

* Update ChangeLog.md

Co-authored-by: Jin Lei <[email protected]>

* Update SignalR module (#15085)

* Update SignalR SDK to 1.1.2-preview

* Add "Trace" to networkAcl and allow empty list

* Add resource group name and resource name completers

* Obsolete PSSignalRResource.HostNamePrefix

* Add test

* update help files

* Update change log

* Update ChangeLog.md

Co-authored-by: Jin Lei <[email protected]>

* Fix the breaking change issues. (#15090)

Co-authored-by: wyunchi-ms <[email protected]>

* Update doc around supportability (#15075)

Force merge it due to timeout of macOS

* release-2021-05-25

* Update changelog

* update changelog

* Updated document to remove unsupported platform PowerShell Core 6

* Refined document

* Added support for PowerShell 7.1.3

Co-authored-by: Erich(Renyong) Wang <[email protected]>
Co-authored-by: Damien Caro <[email protected]>

* Add migration guide for Az.6.0 (#15088)

* Add migration guide for Az.6.0

* Update Az.6.0.0-migration-guide.md

* Hide subscription id

* Fix migration guide

Co-authored-by: wyunchi-ms <[email protected]>
Co-authored-by: Dingmeng Xue <[email protected]>

* [Az.EventHub] Get-AzEventHub accepts pipeline input from Get-AzEventHubNamespace. (#13732)

* Modified to accept pipeline input from Get-AzEventHubNamespace

* Successful Test Records

* Updating Help markdown files and changelog.md

* Added Static Analyser exception

* Correcting breaking change

* [Aks]Fix the issue Aks cannot be update in Automation Runbook. (#15109)

* Fix the issue Aks cannot be update in Automation Runbook.

* Fix the issue Aks cannot be update in Automation Runbook.

Co-authored-by: wyunchi-ms <[email protected]>

* Update Set-AzNotificationHubsNamespace.md (#15103)

Hi team,

Proposing to add the -SkuTier parameter to the examples, since the command fails with
"Set-AzNotificationHubsNamespace: The request content was invalid and could not be deserialized: Required property 'name' not found in 'sku'."
if it is not provided.

* SQL Ledger Cmdlets (#14997)

* ledger changes + changes for new SDK version

* adding tests, updating cmdlets

* adding tests, fixing cmdlets

* adding comments to locations model

* adding to changelog.md

* adding markdowe help files

* fixing merge problems with backup restore resources

* updating help file for new-azsqldatabase

* rerecording tests

* removing EnableLedger from Set-AzureSqlDatabase

* removing extra parameter

* adding whatif text

* upgrading Microsoft.Azure.Management.Sql to 1.52

* fixing online version link

* adding audit action group for ledger

* adding default parameter set

* adding default parameter set

* adding -EnableLedger description to new-azsqldatabase help file

* adding ResourceIdentityWithUserAssignedIdentities to breaking changes ignore list

* adding breaking change message

* fixing type name

* adding using directive

* updating breaking changes message

* testing updating TestDatabaseDataMaskingPrivilegedUsersChanges test

* adding first batch of test re-records

* adding more re-recordings

* more changes for re-recording

* adding re-recordings, adding ignore api version to some tests

* adding ignore API version to instance pools test

* removing ignore API version from Auditing

* adding auditing tests, removing database override from vulnerability assessment test

* addding test re-recordings

* updating version to newest SDK, removing breaking change warnings

* adding server crud test re-records, instance pool crud tests to ignore managed instance changes

* adding skip to managed instance tests

* Commenting out instance pool, adding vulnerability assessment tests

* Adding more test rescordings, skipping tests

* reverting unneeded file changes

* Update ChangeLog.md

* rerecording test

* update changelog

* ledger changes + changes for new SDK version

* adding tests, updating cmdlets

* adding tests, fixing cmdlets

* adding comments to locations model

* adding to changelog.md

* adding markdowe help files

* fixing merge problems with backup restore resources

* updating help file for new-azsqldatabase

* rerecording tests

* removing EnableLedger from Set-AzureSqlDatabase

* removing extra parameter

* adding whatif text

* upgrading Microsoft.Azure.Management.Sql to 1.52

* fixing online version link

* adding audit action group for ledger

* adding default parameter set

* adding default parameter set

* adding -EnableLedger description to new-azsqldatabase help file

* adding ResourceIdentityWithUserAssignedIdentities to breaking changes ignore list

* adding breaking change message

* fixing type name

* adding using directive

* updating breaking changes message

* testing updating TestDatabaseDataMaskingPrivilegedUsersChanges test

* adding first batch of test re-records

* adding more re-recordings

* more changes for re-recording

* adding re-recordings, adding ignore api version to some tests

* adding ignore API version to instance pools test

* removing ignore API version from Auditing

* adding auditing tests, removing database override from vulnerability assessment test

* addding test re-recordings

* updating version to newest SDK, removing breaking change warnings

* adding server crud test re-records, instance pool crud tests to ignore managed instance changes

* adding skip to managed instance tests

* Commenting out instance pool, adding vulnerability assessment tests

* Adding more test rescordings, skipping tests

* reverting unneeded file changes

* rerecording test

* Update ChangeLog.md

* update changelog

* re-recording named secondary test after rebase

Co-authored-by: Yunchi Wang <[email protected]>

* Update Set-AzNetworkInterface.md (#15112)

fix spelling of fourth in three places.

* AzPreview use latest Az.Accounts version (#15111)

* AzPreview use latest Az.Accounts version

* Update RunVersionController.ps1

Co-authored-by: Dingmeng Xue <[email protected]>

* [NetAppFiles] Update to api-version 2021-02-01 updates (#15104)

* Apply 2021-02-01 updates

* Remove accidental comment

Co-authored-by: Audunn Baldvinsson <[email protected]>

* Enable short policy names for mi mw (#15105)

* Allow short policy names for MI update/create

* Update test

* Record test

* Remove unnecessary ;

* Update changelog

* Update Test Deployments to allow the user to specify a deployment name (#15082)

* Update TestAzureSubscriptionDeploymentCmdlet.cs

* For TestAzureSubscriptionDeployment - If deployment name is null, then generate the name, otherwise, pass the deployment name

* Allow to specify deployment name for validate on management group, subscription, and tenant deployments

* changelog Allow naming the deployment when testing deployments [#11497]

* change help message

* Update-MarkdownHelpModule

Co-authored-by: Jonathan Reynes <[email protected]>

* [Storage] Support NFS and SmbMultichannel (#15130)

* [Storage] Support NFS

* [Storage] Support EnableSmbMultichannel

* fix PR review comments

* [Az.Resources Policy] Add -NonComplianceMessage to Set/New-AzPolicyAssignment (#15060)

* Model changes

* Update help docs

* Re-record tests

* Fix examples

* Addressing mentat9 comments

* Gateway LoadBalancer property ParameterSetName requirement removal (#15108)

* fix

* fix

Co-authored-by: matyang222 <[email protected]>

* [Resource] Fixed issue that property  is cleaned by  [#15134]. (#15136)

* Add validation trigger setting to pipelines (#15143)

* add configuration in yarm file for test.

* Updated yml file for CI.

* Upgrade PowerShell to 7.0.6 (#15113)

Upgrade Linux Image of CI pipeline to Ubuntu 20.04

Co-authored-by: wyunchi-ms <[email protected]>

* Fix the random failure in CI pipeline (#15153)

Co-authored-by: wyunchi-ms <[email protected]>

* Release Az 4.1.1 (#15150)

* Release Az.Resources 4.1.1 (#15149)

* [Resource] Fixed issue that property  is cleaned by  [#15134]. (#15136)

* Az.Resources 4.1.1 release

* Update version of Az.Accounts in psd1

Co-authored-by: LucasYao93 <[email protected]>

* Update ChangeLog.md

Co-authored-by: LucasYao93 <[email protected]>

* [Storage] Fix oauthCopySameAccount (#15152)

* Update Az.SecurityInsights help files (#15144)

* Updating Az.SecurityInsights help files

* Update Get-AzSentinelAlertRule.md

* typo in examples resourcegroup parameter (#15146)

* Update the dependencies for Az.Accounts (#15154)

* Fix the issue that static analysis cannot find SupportsShouldProcess in cmdlet (#15155)

Co-authored-by: wyunchi-ms <[email protected]>

* [Az.DiskPool] First preview availability of Az.DiskPool (#15128)

* First availability of Az.DiskPool

* supress error

* remove unnecessary suppress

* Code changes for provisioning Server & ManagedInstance with AD Only Authentication & External Administrator Properties (#15151)

* Rebase master

* Update Changelog

* Switch to singular noun

* Fix bug

* Check for administrator object

* Fix test

* Release notes of Az.DiskPool v0.1.0 (#15160)

* correct the way to download keyvault certificate (#15163)

* Remove duplicate list item in Get-AzKeyVault (#15167)

* cmdlets for new compute resource: SSH Public Key  (#15120)

* four cmdlets

* location to follow resource group

* add supportshouldprocess

* update test

* update key save location

* capitalization

* change

* change

* add two new parameter sets

* ReadScale default to null on Set-AzSqlDatabase (#15168)

* Updated api version (#15169)

* [**URGENT**] Fix for Set-AzSqlServer and Set-AzSqlInstance cmdlets (#15176)

* Fix for Set cmdlets

* comma

* update changelog.md

* Update ChangeLog.md

Co-authored-by: Dingmeng Xue <[email protected]>

* Using FQDN when connecting to nodes and enabling Arc (#15174)

-Using fqdn while connecting to cluster and nodes.
-Using AAD retries in Arc AAD application setup.
-Returning ErrorDetails in PS output stream for WAC to handle incase of RegisteredButArcFailed.

* Adding Cross Tenant DS move (#15185)

updated help text
added new CRR regions

Co-authored-by: Dingmeng Xue <[email protected]>

* Add SecretManagement tag to module (#15187)

* [HDInsight] Support new azure monitor feature (#15068)

* Support new azure monitor feature

* Change the cmdlet name Get/Enable/Disable-AzHDInsightMonitor to Get/Enable/Disable-AzHDInsightAzureMonitor

* Update the help doc and sdk version and add tests

* Add online version link

* Add related test

* Change setbynameparameterset to bynameparameterset

* Change the parameter set names to verb+ByName|ResourceId|InputObject style

Co-authored-by: Zhenyu Zhou <[email protected]>

* Hotfix for the issue on windows powershell (#15189)

* Hotfix for the issue on windows powershell

* Bump version for Az.DiskPool OOB

* Adding CMK changes for PS cmdlets (#15122)

* Adding CMK changes for PS cmdlets

* Add UMI. Address comments

* Added UMI related config

* Fix build error

* Fix static analysis errors

* UMI related fix.

* Fix test and build issues

* Update with UMI scenarios

* Fix generated files

* Fix identity issue

* Fix failing test

* Modified help files. Modified changelog.md

* Update AzureSqlDatabaseTransparentDataEncryptionCommunicator.cs

Remove legacy codes

Co-authored-by: Jin Lei <[email protected]>

* Polish changelog for upcoming release (#15191)

* Provide certificate file login method (#14738)

* Use certificate file as input

* Address review comments

* Change underline behavior of adding IP configuration to route server  (#15194)

* fix day 1 behavior for route server

* record and log

* Az.StackHCI - Pass GraphAccessToken to Connect-AzAccount (#15193)

New-AzRoleAssignment Cmdlet needs graph token, so during Connect-AzAccount pass GraphAccessToken

* [Storage] Removed StorageFileDataSmbShareOwner from value set of DefaultSharePermission (#15190)

* Revert "Az.StackHCI - Pass GraphAccessToken to Connect-AzAccount (#15193)" (#15201)

This reverts commit e1f82c9.

* 47 update version (#15172)

* Add Deep delete options for Disks and NICs (#15177)

* DeleteOptions for Disks and NetworkInterfaces

* DeleteOption fixes

* Upgrade to Microsoft.Azure.Management.Compute Version 47.0.0

* Updated help files

* temporyr change to move Compute package to version 47

Co-authored-by: Bashar Gharaibeh <[email protected]>

* fix blank space issue (#15206)

* [ApplicationInsights] Fixed ApplicationInsightsLinkedStorageAccount CRUD command that complain missing resourcegroupName when using InputObject (#15166)

* [ApplicationInsights] ApplicationInsightsLinkedStorageAccount CRUD command that complain missing resourcegroupName when using InputObject [#14848].

* Update ChangeLog.md

* [ApplicationInsights] Add CRUD test cases of the LinkedStorageAccount for pipeline.

Co-authored-by: Dingmeng Xue <[email protected]>

* Az.StackHCI - Pass GraphAccessToken to Connect-AzAccount (#15193) (#15203)

New-AzRoleAssignment Cmdlet needs graph token, so during Connect-AzAccount pass GraphAccessToken

Co-authored-by: digot007 <[email protected]>

* should not try to use existed module version for new modules (#15217)

* Delete obsoleted libs from local feed (#15215)

* fix issue caused by blank (#15210)

* Add edge zone parameter to virtual network cmdlet (#15196)

* Update virtual network cmdlet

* Create PSExtendedLocation.cs

* Unit test is working

* Add session record

* Fix help message and change formatting

* Update test session record

* Add catch block to test

* Fix build error introduced during rebase

* UT metadata

* Run commands synchronously and upload new test session record

* Fix static analysis issue

Co-authored-by: Will Ehrich <[email protected]>

* Add retirement notice (#15227)

* Add retirement notice

* Added a note on module retirement

Co-authored-by: Damien Caro <[email protected]>

* [Synapse] - new cmdlets for Spark job definition (#15156)

* Save current status

* Save current status

* Upgrade artfacts to 1.0.0-preview.9

* Save current status

* Remvoe SQL script

* Add example files

* Update examples

* Update changelog

* Remove rename parameter set

* Fix changelog

* Fix online version

* Suppresses breaking change issues

* Remove serialized cmdlets config files for Synapse

Co-authored-by: Dongwei Wang <[email protected]>

* add cmdlet open-azsurveylink (#15205)

* add cmdlet open-azsurveylink

* move new cmdlet under feedback folder

* remove white space

* add help markdown for new cmdlet

* update common version

* suppress signature issue

* update parent class

* update namespace for share assembly

* upgrade common version

* add example

* fix help markdown

* add required assembly

* Remove Write-Host leaking file share credentials (#15225)

* Remove Write-Host leaking file share credentials

Removed a Write-Host command that printed the Azure file share
credentials when calling `New-AzContainerGroupVolumeObject` as reported
in #15224.

* Update Changelog.md

Co-authored-by: Dingmeng Xue <[email protected]>

* First version of DataDog  (#15218)

* Fix for output type and null subscriptions collection in ResourceGraph (#15135)

* Fixed null subscriptions exception, added change log

* Added output type fix and updated tests
Changes from PR #15125

* regenerated ps1xml, updated examples

* Updated md file for the output type and changelog

* added breaking change issues csv after rebasing with master

* added parenthesses to csv to fix parsing issue

Co-authored-by: makharch <[email protected]>

* Move DataDog to master

* Add DataDog to documentation/azure-powershell-modules.md

* Add SignatureIssues.csv for skip static analysis pipeline.

Co-authored-by: fenwickt <[email protected]>
Co-authored-by: makharch <[email protected]>
Co-authored-by: azurepowershell <[email protected]>
Co-authored-by: wyunchi-ms <[email protected]>

* Add edge zone parameter to create network interface cmdlet (#15184)

* Add edge zone parameter to create network interface cmdlet

* Regenerate new network interface help file

Co-authored-by: Will Ehrich <[email protected]>

* Gateway Load Balancer Cross tenant issue fix (#15195)

* fix

* name fix

* put await next to create update

Co-authored-by: matyang222 <[email protected]>

* Update Get-AzRecoveryServicesAsrRecoveryPoint Description (#15222)

Added information about the order of recovery points in the array.

* Updating the description of parameter RecoveryPoint in Start-AzRecoveryServicesAsrUnplannedFailoverJob (#15223)

Updating Description of RecoveryPoint parameter - to let customers know what would happen if it is not specified.

* Update Get-AzSynapseTriggerRun.md (#15231)

The current example throws an errors

```
Cannot bind parameter 'RunStartedAfter'. Cannot convert value "[DateTimeOffset]2018-09-01T21:00" to 
type "System.DateTimeOffset". Error: "String was not recognized as a valid DateTime."
```

* fixed Disable SQL AG AutoProtection (#15241)

* Add edge zone parameter to public ip prefix cmdlet (#15240)

* Add edge zone parameter to public ip prefix cmdlet

* Update documentation

* Add test session record

* Update change log

* Fix changelog

Co-authored-by: Will Ehrich <[email protected]>

* Enable viewing of Public IP address extended location (#15230)

* Add edge zone parameter to public ip address cmdlet

* Style issue

* Simple change to retrigger CI

* Fix indentation issue

* Updated change log

Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Beisi Zhou <[email protected]>

* change the branch name from master to main (#15238)

* Fix typo in changelog (#15252)

* Release-2021-06-15 (#15255)

* Release 2021-06-15 RC3 (#15253)

* Update change log of Blockchain

* Polish change log of Blockchain

* Update Get-AzSynapsePipelineRun.md by adding more examples covering more scenarios (#15232)

* Update Get-AzSynapsePipelineRun.md

* Update Get-AzSynapsePipelineRun.md

* [Storage] Support secure SMB  and NFSV3  (#15209)

* [Storage] Support NFSV3 in create account

* [Storage] Support secure SMB

Co-authored-by: anakarparida <[email protected]>
Co-authored-by: kenchenMicrosoft <[email protected]>
Co-authored-by: litchiyangMSFT <[email protected]>
Co-authored-by: Satya-anshu <[email protected]>
Co-authored-by: Beisi Zhou <[email protected]>
Co-authored-by: wyunchi-ms <[email protected]>
Co-authored-by: Khushboo Baheti <[email protected]>
Co-authored-by: Khushboo Baheti <[email protected]>
Co-authored-by: arvenka <[email protected]>
Co-authored-by: Beisi Zhou <[email protected]>
Co-authored-by: biaogao <[email protected]>
Co-authored-by: Matthew Yang <[email protected]>
Co-authored-by: matyang222 <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Himanshu Agarwal <[email protected]>
Co-authored-by: Xiaogang <[email protected]>
Co-authored-by: azurepowershell <[email protected]>
Co-authored-by: Yunchi Wang <[email protected]>
Co-authored-by: Kota Sudhakar Reddy <[email protected]>
Co-authored-by: erich-wang <[email protected]>
Co-authored-by: Dingmeng Xue <[email protected]>
Co-authored-by: sohaibMSFT <[email protected]>
Co-authored-by: Jin Lei <[email protected]>
Co-authored-by: Jingshu923 <[email protected]>
Co-authored-by: Yabo Hu <[email protected]>
Co-authored-by: bradrich-msft <[email protected]>
Co-authored-by: yzt <[email protected]>
Co-authored-by: Damien Caro <[email protected]>
Co-authored-by: B Harsha Kashyap <[email protected]>
Co-authored-by: Tiago Antunes <[email protected]>
Co-authored-by: rewongmicrosoft <[email protected]>
Co-authored-by: Scott <[email protected]>
Co-authored-by: Auðunn <[email protected]>
Co-authored-by: Audunn Baldvinsson <[email protected]>
Co-authored-by: Ivan Kulezic <[email protected]>
Co-authored-by: Jonathan Reynes <[email protected]>
Co-authored-by: Jonathan Reynes <[email protected]>
Co-authored-by: Wei Wei <[email protected]>
Co-authored-by: Chris Eggert <[email protected]>
Co-authored-by: LucasYao93 <[email protected]>
Co-authored-by: Tiander Turpijn <[email protected]>
Co-authored-by: srozemuller <[email protected]>
Co-authored-by: strehan1993 <[email protected]>
Co-authored-by: Mikhail <[email protected]>
Co-authored-by: digot007 <[email protected]>
Co-authored-by: aim-for-better <[email protected]>
Co-authored-by: Zhenyu Zhou <[email protected]>
Co-authored-by: viparek <[email protected]>
Co-authored-by: Adam Sandor <[email protected]>
Co-authored-by: basharg <[email protected]>
Co-authored-by: Bashar Gharaibeh <[email protected]>
Co-authored-by: William Ehrich <[email protected]>
Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Dongwei Wang <[email protected]>
Co-authored-by: Dongwei Wang <[email protected]>
Co-authored-by: Ashley Roll <[email protected]>
Co-authored-by: fenwickt <[email protected]>
Co-authored-by: makharch <[email protected]>
Co-authored-by: Rishabh Jain <[email protected]>
Co-authored-by: Mikey Bronowski <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 2,683 changed files with 823,787 additions and 738,820 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ schedules:
displayName: Daily Midnight Build
branches:
include:
- master
- main

pr: none

Expand Down
11 changes: 10 additions & 1 deletion .azure-pipelines/powershell-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@ variables:
WindowsName: windows
WindowsImage: vs2017-win2016
LinuxName: linux
LinuxImage: ubuntu-18.04
LinuxImage: ubuntu-20.04
MacOSName: macOS
MacOSImage: macOS-10.14
TestFramework: netcoreapp2.1
TestTarget: Test
Configuration: Debug
DebugLocalBuildTasks: true

trigger: none

pr:
branches:
include:
- '*'
exclude:
- Azs-tzl

jobs:
- job: Build
displayName: Build
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/util/analyze-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
version: 2.1.x
version: 3.1.x

- pwsh: 'Install-Module platyPS -Force -Confirm:$false -Scope CurrentUser'
displayName: 'Install platyPS'
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/util/build-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ steps:
displayName: 'Use .NET Core sdk'
inputs:
packageType: sdk
version: 2.1.x
version: 3.1.x

- task: DotNetCoreCLI@2
displayName: Build
Expand Down
9 changes: 9 additions & 0 deletions .azure-pipelines/windows-powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ variables:
Configuration: Debug
DebugLocalBuildTasks: true

trigger: none

pr:
branches:
include:
- '*'
exclude:
- Azs-tzl

jobs:
- job: Build
displayName: Build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ launchSettings.json
/ModuleMappings.json
/tools/Modules/tmp
/tools/Az/Az.psm1
/tools/AzPreview/AzPreview.psm1
/Azure.PowerShell.sln

# Added due to scan
Expand Down
300 changes: 300 additions & 0 deletions ChangeLog.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Run the following command in an elevated PowerShell session to install the rollu
Install-Module -Name Az
```

This module runs on Windows PowerShell with [.NET Framework 4.7.2][DotNetFramework] or greater, or [PowerShell Core][PowerShellCore]. The `Az` module replaces `AzureRM`. You should not install `Az` side-by-side with `AzureRM`.
This module runs on Windows PowerShell with [.NET Framework 4.7.2][DotNetFramework] or greater, or [the latest version of PowerShell 7][PowerShellCore]. The `Az` module replaces `AzureRM`. You should not install `Az` side-by-side with `AzureRM`.

If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:

Expand Down
8 changes: 4 additions & 4 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@
</Target>

<Target Name="BuildTools">
<Exec Command="dotnet publish $(RepoTools)StaticAnalysis/StaticAnalysis.Netcore.csproj -c $(Configuration) -f netcoreapp2.1" />
<Exec Command="dotnet publish $(RepoTools)StaticAnalysis/StaticAnalysis.Netcore.csproj -c $(Configuration)" />
</Target>

<Target Name="FilterBuild" Condition="$(PullRequestNumber) != '' OR $(TargetModule) != ''" DependsOnTargets="BuildTools">
<Message Importance="high" Text="Filtering projects and modules..." />
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/CreateFilterMappings.ps1&quot;" />

<!-- Build the Microsoft.Azure.Build.Tasks project -->
<Exec Command="dotnet publish $(RepoTools)BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj -c $(Configuration) -f netstandard2.0" />
<Exec Command="dotnet publish $(RepoTools)BuildPackagesTask/Microsoft.Azure.Build.Tasks/Microsoft.Azure.Build.Tasks.csproj -c $(Configuration)" />

<!-- Get all of the files changed in the given pull request -->
<FilesChangedTask RepositoryOwner="Azure" RepositoryName="azure-powershell" PullRequestNumber="$(PullRequestNumber)" TargetModule="$(TargetModule)">
Expand Down Expand Up @@ -268,11 +268,11 @@
</Target>

<Target Name="AzToolsInstaller">
<Exec Command="dotnet msbuild $(RepoTools)/Az.Tools.Installer/build.proj /t:'clean;build;test'" />
<Exec Command='dotnet msbuild $(RepoTools)/Az.Tools.Installer/build.proj /t:"clean;build;test"' />
</Target>

<Target Name="AzToolsPredictor">
<Exec Command="dotnet msbuild $(RepoTools)/Az.Tools.Predictor/build.proj /t:'clean;build;test'" />
<Exec Command='dotnet msbuild $(RepoTools)/Az.Tools.Predictor/build.proj /t:"clean;build;test"' />
</Target>

<Target Name="ChangeLogErrorMessage">
Expand Down
4 changes: 2 additions & 2 deletions documentation/Debugging-StaticAnalysis-Errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _Note_: Sometimes the error listed in the .csv file can be a false positive (for
We take breaking changes very seriously, so please be mindful about the violations that you suppress in our repo.

### Signature Issues
Signature issues occur when your cmdlets do not follow PowerShell standards. Please check the [_Cmdlet Best Practices_](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/design-guidelines/cmdlet-best-practices.md) and the [_Parameter Best Practices_](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/design-guidelines/parameter-best-practices.md) documents to ensure you are following PowerShell guidelines. Issues with severity 0 or 1 must be addressed, while issues with severity 2 are advisory. If you have an issue with severity 0 or 1 that has been approved by the Azure PowerShell team, you can suppress them following these steps:
Signature issues occur when your cmdlets do not follow PowerShell standards. Please check the [_Cmdlet Best Practices_](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/design-guidelines/cmdlet-best-practices.md) and the [_Parameter Best Practices_](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/design-guidelines/parameter-best-practices.md) documents to ensure you are following PowerShell guidelines. Issues with severity 0 or 1 must be addressed, while issues with severity 2 are advisory. If you have an issue with severity 0 or 1 that has been approved by the Azure PowerShell team, you can suppress them following these steps:

- Download the `SignatureIssues.csv` file from the Jenkins build
- Open the file using a text editor (such as VS Code) and copy each of the errors you'd like to suppress
Expand All @@ -51,4 +51,4 @@ Signature issues occur when your cmdlets do not follow PowerShell standards. Pl
- Push the changes to the .csv file and ensure the errors no longer show up in the `SignatureIssues.csv` file output from the Jenkins build.

### Help Issues
Most help issues that cause StaticAnalysis to fail occur when help has not been added for a particular cmdlet. If you have not generated help for your new cmdlets, please follow the instructions [here](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/help-generation.md). If this is not the issue, follow the steps listed under "Remediation" for each violation listed in HelpIssues.csv.
Most help issues that cause StaticAnalysis to fail occur when help has not been added for a particular cmdlet. If you have not generated help for your new cmdlets, please follow the instructions [here](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/help-generation.md). If this is not the issue, follow the steps listed under "Remediation" for each violation listed in HelpIssues.csv.
17 changes: 8 additions & 9 deletions documentation/announcing-az-module.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Announcing New Module 'Az'
In August 2018 we released a new module, 'Az' which combines the functionality of the AzureRM and AzureRM.Netcore modules. Az will go to version 1.0 on 12/18/2018. Az runs on both Windows PowerShell 5.1 and PowerShell Core. 'Az' ensures that the Windows PowerShell and PowerShell Core cmdlets for managing Azure resources will always be in sync and up to date. In addition, Az will simplify and regularize the naming of Azure cmdlets, and the organization of Azure modules. Az is intended as a replacement for the AzureRM.Netcore and AzureRM modules.
In August 2018 we released a new module, 'Az' which combines the functionality of the AzureRM and AzureRM.Netcore modules. Az goes to version 1.0 on 12/18/2018. Az runs on both Windows PowerShell 5.1 and PowerShell 7. 'Az' ensures that the Windows PowerShell and PowerShell 7 cmdlets for managing Azure resources will always be in sync and up to date. In addition, Az will simplify and regularize the naming of Azure cmdlets, and the organization of Azure modules. Az is intended as a replacement for the AzureRM.Netcore and AzureRM modules.

Az currently ships in Cloud Shell, and can be found on the PowerShell Gallery [here](https://www.powershellgallery.com/packages/Az/)

Az is a new module, and reorganizing and simplifying cmdlet names involves breaking changes, so we have [added features to Az to make it easier to transition to the simplified, normalized names in your existing scripts](#migrating-from-azurerm).

## New Features
- Windows PowerShell 5.1 and PowerShell Core support in the same module
- PowerShell Core and Windows PowerShell cmdlets are always in sync and up to date with latest Azure capabilities
- Windows PowerShell 5.1 and PowerShell 7 support in the same module
- PowerShell 7 and Windows PowerShell cmdlets are always in sync and up to date with latest Azure capabilities
- Shortened and normalized cmdlet names - all cmdlets use the noun prefix 'Az'
- Simplified and normalized module organization - data plane and management plane cmdlets in the same module for each service
- Enhanced authentication for Netcore
Expand All @@ -17,8 +17,7 @@ Az is a new module, and reorganizing and simplifying cmdlet names involves break

## Supported Platforms
- PowerShell 5.1 with .Net Framework 4.7.2 or later [Windows only]
- PowerShell Core 6.0 - Windows, Linux, macOS
- PowerShell Core 6.1 - Windows, Linux, macOS
- PowerShell 7 - Windows, Linux, macOS

## Timeline

Expand Down Expand Up @@ -170,12 +169,12 @@ For scripts that import modules directly, or use ```#Requires``` statements to s
### Installing Az and AzureRM Side-by-Side

Az and AzureRM cannot be imported side-by-side into the same PowerShell session. If you do not want to migrate your scripts from AzureRM to Az right away, there are two main options:
- Install Az in PowerShell Core, and leave AzureRM in Windows PowerShell
- Install Az in PowerShell 7, and leave AzureRM in Windows PowerShell
- Install Az and AzureRM side-by-side in Windows PowerShell and ensure scripts do not mix the modules

#### Install Az in PowerShell Core
You can follow the instructions in [Installing PowerShell Core on Windows](https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-6
) to install PowerShell Core, then use ```Install-Module Az``` in PowerShell Core to acquire the Az module. Since Windows PowerShell and PowerShell Core can exist side-by-side and do not share module directories, this will effectively isolate the two modules.
#### Install Az in PowerShell 7
You can follow the instructions in [Installing PowerShell 7 on Windows](https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-windows
) to install PowerShell 7, then use ```Install-Module Az``` in PowerShell 7 to acquire the Az module. Since Windows PowerShell and PowerShell 7 can exist side-by-side and do not share module directories, this will effectively isolate the two modules.

#### Install Az and AzureRM Side-by-Side
If you need to have both modules installed:
Expand Down
1 change: 1 addition & 0 deletions documentation/azure-powershell-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Custom Resource Providers | `Az.CustomProviders`
Data Box | `Az.DataBox` | [![DataBox]][DataBoxGallery]
Data Box Edge (Stack Edge) | `Az.DataBoxEdge` | [![DataBoxEdge]][DataBoxEdgeGallery]
Databricks | `Az.Databricks` | [![Databricks]][DatabricksGallery]
DataDog | `Az.DataDog` | [![DataDog]][DataDogGallery]
Data Factory | `Az.DataFactory` | [![DataFactory]][DataFactoryGallery]
Data Lake Analytics | `Az.DataLakeAnalytics` | [![DataLakeAnalytics]][DataLakeAnalyticsGallery]
Data Lake Store | `Az.DataLakeStore` | [![DataLakeStore]][DataLakeStoreGallery]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The following prerequisites should be completed before contributing to the Azure
- Install the latest version of [Git](https://git-scm.com/downloads)
- Install the [`platyPS` module](help-generation.md#Installing-platyPS)
- Install the latest [**.NET Core SDK** and **.NET Framework Dev Pack 4.7.2**](https://dotnet.microsoft.com/download) or greater
- Install [PowerShell Core](https://github.com/PowerShell/PowerShell/releases/latest)
- Install [PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest)
- Set the PowerShell [execution policy](https://technet.microsoft.com/en-us/library/ee176961.aspx) to **Unrestricted** for the following versions of PowerShell:
- `C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe`
- `C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe`
Expand Down Expand Up @@ -76,10 +76,10 @@ You now be able to create your own branches, commit changes, and push commits to
git remote add upstream https://github.com/Azure/azure-powershell.git
```

Then, to pull changes from the **master** branch in _Azure/azure-powershell_ into your local working branch, run the following command:
Then, to pull changes from the **main** branch in _Azure/azure-powershell_ into your local working branch, run the following command:

```
git pull upstream master
git pull upstream main
```

## Building the Environment
Expand All @@ -92,7 +92,7 @@ After cloning the repository to your local machine, you want to ensure that you
msbuild build.proj
```

Alternatively, you can open any command prompt (Command Prompt, Windows PowerShell, or PowerShell Core), navigate to the root of the repository, and run:
Alternatively, you can open any command prompt (Command Prompt, Windows PowerShell, or PowerShell 7), navigate to the root of the repository, and run:

```powershell
PS C:\azure-powershell> dotnet msbuild build.proj
Expand Down Expand Up @@ -124,7 +124,7 @@ Launch `VS Developer Command Prompt` and run the following command (from the roo
msbuild build.proj /t:Test
```

Alternatively, you can open any command prompt (Command Prompt, Windows PowerShell, or PowerShell Core), navigate to the root of the repository, and run:
Alternatively, you can open any command prompt (Command Prompt, Windows PowerShell, or PowerShell 7), navigate to the root of the repository, and run:

```powershell
PS C:\azure-powershell> dotnet msbuild build.proj /t:Test
Expand Down
6 changes: 3 additions & 3 deletions documentation/development-docs/cleaning-up-commits.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ For more information on squashing, click [here](https://git-scm.com/book/en/v2/G

If you want to merge specific commits from another branch into the current one you are working from, use **cherry-picking**.

For example, if you're working on the **master** branch and want to pull commit X (the commit-hash) from the **feature** branch, you may run the following commands:
For example, if you're working on the **main** branch and want to pull commit X (the commit-hash) from the **feature** branch, you may run the following commands:

```
git checkout master
git checkout main
git cherry-pick X -n
```

Expand All @@ -73,7 +73,7 @@ Now, if you want to cherry-pick a range of commits, say X through Y, from the **

```
git checkout -b temp-branch X
git rebase --onto master Y^
git rebase --onto main Y^
```

For more information on cherry-picking, click [here](https://git-scm.com/docs/git-cherry-pick).
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ $job | Wait-Job
$subscriptions = $job | Receive-Job
````

To set a custom job name, please use [`SetBackgroupJobDescription`](https://github.com/Azure/azure-powershell-common/blob/master/src/Common/AzurePSCmdlet.cs#L810). The default job description is: "Long Running Operation for '{cmdlet name}' on resource '{resource name}'"
To set a custom job name, please use [`SetBackgroupJobDescription`](https://github.com/Azure/azure-powershell-common/blob/main/src/Common/AzurePSCmdlet.cs#L810). The default job description is: "Long Running Operation for '{cmdlet name}' on resource '{resource name}'"

### Required Parameter Sets

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ if "List Private Endpoint Connection API" is not available, `Private Endpoint Co
`privateEndpointConnections` need to be defined under this API

## Code Changes Needed
Add corresponding {Provider}, {Top-Level-Resource} and {API-Version} into [ProviderConfiguration.cs](https://github.com/Azure/azure-powershell/blob/master/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/ProviderConfiguration.cs#L12)
Add corresponding {Provider}, {Top-Level-Resource} and {API-Version} into [ProviderConfiguration.cs](https://github.com/Azure/azure-powershell/blob/main/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/ProviderConfiguration.cs#L12)
in following pattern:
```
RegisterConfiguration("{Provider}/{Top-Level-Resource}", "{API-Version}")
```
For example:

if "List Private Endpoint Connection API" is [available](https://github.com/Azure/azure-powershell/blob/master/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/GenericProvider.cs#L74),
if "List Private Endpoint Connection API" is [available](https://github.com/Azure/azure-powershell/blob/main/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/GenericProvider.cs#L74),
```
RegisterConfiguration("Microsoft.Sql/servers", "2018-06-01-preview")
```
if "List Private Endpoint Connection API" is [not available](https://github.com/Azure/azure-powershell/blob/master/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/GenericProvider.cs#L93), provide extra bool parameter 'false'
if "List Private Endpoint Connection API" is [not available](https://github.com/Azure/azure-powershell/blob/main/src/Network/Network/PrivateLinkService/PrivateLinkServiceProvider/GenericProvider.cs#L93), provide extra bool parameter 'false'
```
RegisterConfiguration("Microsoft.Storage/storageAccounts", "2019-06-01", false)
```
Expand Down
Loading

0 comments on commit 5923b3c

Please sign in to comment.