Skip to content

Commit

Permalink
release-2021-05-25 (#15069)
Browse files Browse the repository at this point in the history
Suppresses the issue of static analysis
  • Loading branch information
dingmeng-xue committed May 21, 2021
1 parent 5f200b2 commit b2e4e07
Show file tree
Hide file tree
Showing 142 changed files with 360,538 additions and 250,668 deletions.
168 changes: 168 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,171 @@
## 6.0.0 - May 2021
#### Az.Accounts
* Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
* Removed obsolete parameters 'ManagedServiceHostName', 'ManagedServicePort' and 'ManagedServiceSecret' of cmdlet 'Connect-AzAccount', environment variables 'MSI_ENDPOINT' and 'MSI_SECRET' could be used instead
* Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
* Added optional parameter 'AuthScope' to 'Connect-AzAccount' to support enhanced authentication of data plane features
* Set retry times by environment variable [#14748]
* Supported subject name issuer authentication

#### Az.Compute
* Added 'Invoke-AzVmInstallPatch' to support patch installation in VMs using PowerShell.
* Updated Compute module to use the latest .Net SDK version 46.0.0.
* Added optional parameter '-EdgeZone' to the following cmdlets:
- 'Get-AzVMImage
- 'Get-AzVMImageOffer'
- 'Get-AzVMImageSku'
- 'New-AzDiskConfig'
- 'New-AzImageConfig'
- 'New-AzSnapshotConfig'
- 'New-AzVM'
- 'New-AzVmssConfig'
- 'New-AzVMSS'

#### Az.ContainerInstance
* Added new cmdlets: 'Start-AzContainerGroup', 'Stop-AzContainerGroup' [#10773], 'Invoke-AzContainerInstanceCommand' [#7648], 'Update-AzContainerGroup', 'Add-AzContainerInstanceOutput', 'Get-AzContainerInstanceCachedImage', 'Get-AzContainerInstanceCapability', 'Get-AzContainerInstanceUsage', 'New-AzContainerGroupImageRegistryCredentialObject', 'New-AzContainerGroupPortObject', 'New-AzContainerGroupVolumeObject', 'New-AzContainerInstanceEnvironmentVariableObject', 'New-AzContainerInstanceInitDefinitionObject', 'New-AzContainerInstanceObject', 'New-AzContainerInstancePortObject' and 'New-AzContainerInstanceVolumeMountObject'
* Supported Log Analytics parameters in 'New-AzContainerGroup' [#11117]
* Added support to specify network profile and the name of Azure File Share in 'New-AzContainerGroup' [#9993] [#12218]
* Added support to specify environment variables as SecureValue [#10110] [#10640]

#### Az.ContainerRegistry
* Fixed username and password issue in 'Import-AzContainerRegistryImage' [#14971]
* Fixed data plane operations (repository, tag, manifest) failed cross registry in single Powershell session [#14849]

#### Az.CosmosDB
* Introduced support for Sql data plane RBAC, allowing the creation, updating, removal, and retrieval of Role Definitions and Role Assignments
- The following cmdlets are added:
- Get-AzCosmosDBSqlRoleDefinition, Get-AzCosmosDBSqlRoleAssignment,
- New-AzCosmosDBSqlRoleDefinition, New-AzCosmosDBSqlRoleAssignment,
- Remove-AzCosmosDBSqlRoleDefinition, Remove-AzCosmosDBSqlRoleAssignment,
- Update-AzCosmosDBSqlRoleDefinition, Update-AzCosmosDBSqlRoleAssignment,
- New-AzCosmosDBSqlPermission

#### Az.DesktopVirtualization
* Upgraded api version to 2021-02-01-preview.

#### Az.Functions
* Added support in function app creation for Python 3.9 and Node 14 function apps
* Removed support in function app creation for V2, Python 3.6, Node 8, and Node 10 function apps
* Updated IdentityID parameter from string to string array in Update-AzFunctionApp. This is to be consistent with New-AzFunctionApp which has the same parameter as a string array
* Updated FullyQualifiedErrorId for an invalid Functions version from FunctionsVersionIsInvalid to FunctionsVersionNotSupported
* When creating a Node.js function app, if no runtime version is specified, the default runtime version is set to 14 instead of 12

#### Az.KeyVault
* Provided key size for RSA key [#14819]

#### Az.Kusto
* Bumped API version to stable 2021-01-01

#### Az.Maintenance
* Bumped API version to stable 2021-05-01

#### Az.Migrate
* Fixed an issue in Initialize-AzMigrateReplicationInfrastructure.ps1

#### Az.Network
* Updated validation to allow passing zero value for saDataSizeKilobytes parameter
- 'New-AzureRmIpsecPolicy'
* Added optional parameter '-EdgeZone' to the following cmdlets:
- 'New-AzNetworkInterface'
- 'New-AzPublicIpAddress'
- 'New-AzVirtualNetwork'

#### Az.RecoveryServices
* Fixed security issue with SQL restore, this is a necessary breaking change. TargetContainer becomes mandatory for Alternate Location Restore.
* Removed Set-AzRecoveryServicesBackupProperties cmdlet alias, Set-AzRecoveryServicesBackupProperty is supported.
* Removed Get-AzRecoveryServicesBackupJobDetails cmdlet alias, Get-AzRecoveryServicesBackupJobDetail is supported.
* Added support for cross subscription DS Move.
* Azure Site Recovery support for VMware to Azure disaster recovery scenarios using RCM as the control plane.

#### Az.Resources
* Changed '-IdentifierUris' in 'New-AzADApplication' to optional parameter
* Removed generated 'DisplayName' of ADApplication created by 'New-AzADServicePrincipal'
* Updated SDK to 3.13.1-preview to use GA TemplateSpecs API version
* Added 'AdditionalProperties' to PSADUser and PSADGroup [#14568]
* Supported 'CustomKeyIdentifier' in 'New-AzADAppCredential' and 'Get-AzADAppCredential' [#11457], [#13723]
* Changed 'MainTemplate' to be shown by the default formatter for Template Spec Versions

#### Az.SecurityInsights
* GA release for `Az.SecurityInsights`

#### Az.ServiceFabric
* Removed deprecated cluster certificate commands:
- 'Add-AzServiceFabricClusterCertificate'
- 'Remove-AzServiceFabricClusterCertificate'
* Changed PSManagedService model to avoid using the properties parameter directly from sdk.
* Removed deprecated parameters for managed cmdlets:
- 'ReverseProxyEndpointPort'
- 'InstanceCloseDelayDuration'
- 'ServiceDnsName'
- 'InstanceCloseDelayDuration'
- 'DropSourceReplicaOnMove'
* Fixed 'Update-AzServiceFabricReliability' to update correctly the vm instance count of the primary node type on the cluster resource.

#### Az.Sql
* Updated 'Set-AzSqlDatabaseVulnerabilityAssessmentRuleBaseline' documentation to include example of define array of array with one inner array.
* Added cmdlet 'Copy-AzSqlDatabaseLongTermRetentionBackup'
- Copy LTR backups to different servers
* Added cmdlet 'Update-AzSqlDatabaseLongTermRetentionBackup'
- Update Backup Storage Redundancy values for LTR backups
* Added CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to 'Get-AzSqlDatabase', 'New-AzSqlDatabase', 'Set-AzSqlDatabase', 'New-AzSqlDatabaseSecondary', 'Set-AzSqlDatabaseSecondary', 'New-AzSqlDatabaseCopy'
- Changed BackupStorageRedundancy value to CurrentBackupStorageRedundancy, RequestedBackupStorageRedundancy to reflect both the current value and what has been requested if a change was made

#### Az.Storage
* Supported file share snapshot
- 'New-AzRmStorageShare'
- 'Get-AzRmStorageShare'
- 'Remove-AzRmStorageShare'
* Supported remove file share with it's snapshot (leased and not leased), by default remove file share will fail when share has snapshot
- 'Remove-AzRmStorageShare'
* Supported Set/Get/Remove blob inventory policy
- 'New-AzStorageBlobInventoryPolicyRule'
- 'Set-AzStorageBlobInventoryPolicy'
- 'Get-AzStorageBlobInventoryPolicy'
- 'Remove-AzStorageBlobInventoryPolicy'
* Supported DefaultSharePermission in create/update storage account
- 'New-AzStorageAccount'
- 'Set-AzStorageAccount'
* Supported AllowCrossTenantReplication in create/update storage account
- 'New-AzStorageAccount'
- 'Set-AzStorageAccount'
* Supported Set Object Replication Policy with SourceAccount/DestinationAccount as Storage account resource Id
- 'Set-AzStorageObjectReplicationPolicy'
* Supported set SasExpirationPeriod as TimeSpan.Zero
- 'New-AzStorageAccount'
- 'Set-AzStorageAccount
* Make sure the correct account name is used when create account credential
- 'New-AzStorageContext'

#### Az.StorageSync
* Deprecated 'Invoke-AzStorageSyncFileRecall'
- Customers should instead use 'Invoke-StorageSyncFileRecall', a cmdlet that is shipped with the Azure File Sync agent.
* Removed offline data transfer feature in 'New-AzStorageSyncServerEndpoint'.

#### Az.StreamAnalytics
* Bumped API version to 2017-04-01-preview
* Added StreamAnalytics Cluster support

#### Az.Websites
* updated 'Set-AzAppServicePlan' to keep existing Tags when adding new Tags
* Fixed 'Set-AzWebApp' to set the AppSettings
* updated 'Set-AzWebAppSlot' to set FtpsState
* Added support for StaticSites.

### Thanks to our community contributors
* @corichte, Update New-AzVirutalNetworkGatewayConnection Ex 1 (#14858)
* Hiroshi Yoshioka (@hyoshioka0128)
* Typo "Azure SQL database"→"Azure SQL Database" (#14883)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14891)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14892)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14902)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14901)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14900)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14898)
* Typo "Azure SQL managed instance"→"Azure SQL Managed Instance" (#14899)
* Jay Zelos (@jzelos), Updated example 3 to use correct parameter (#14852)
* @StevePantol, Update New-AzVMwarePrivateCloud.md (#14996)


## 5.9.0 - May 2021
#### Az.Aks
* Added support 'AcrNameToAttach' in 'Set-AzAksCluster'. [#14692]
Expand Down
11 changes: 8 additions & 3 deletions src/Accounts/Accounts/Az.Accounts.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 4/8/2021
# Generated on: 5/20/2021
#

@{
Expand All @@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '2.2.8'
ModuleVersion = '2.3.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -143,7 +143,12 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Fallback to first valid context if current default context key is ''Default'' which is invalid'
ReleaseNotes = '* Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
* Removed obsolete parameters ''ManagedServiceHostName'', ''ManagedServicePort'' and ''ManagedServiceSecret'' of cmdlet ''Connect-AzAccount'', environment variables ''MSI_ENDPOINT'' and ''MSI_SECRET'' could be used instead
* Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
* Added optional parameter ''AuthScope'' to ''Connect-AzAccount'' to support enhanced authentication of data plane features
* Set retry times by environment variable [#14748]
* Supported subject name issuer authentication'

# Prerelease string of this module
# Prerelease = ''
Expand Down
2 changes: 2 additions & 0 deletions src/Accounts/Accounts/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-->

## Upcoming Release

## Version 2.3.0
* Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
* Removed obsolete parameters `ManagedServiceHostName`, `ManagedServicePort` and `ManagedServiceSecret` of cmdlet `Connect-AzAccount`, environment variables `MSI_ENDPOINT` and `MSI_SECRET` could be used instead
* Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
Expand Down
4 changes: 2 additions & 2 deletions src/Accounts/Accounts/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("2.2.8")]
[assembly: AssemblyFileVersion("2.2.8")]
[assembly: AssemblyVersion("2.3.0")]
[assembly: AssemblyFileVersion("2.3.0")]
#if !SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/Accounts/Authentication/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.8")]
[assembly: AssemblyFileVersion("2.2.8")]
[assembly: AssemblyVersion("2.3.0")]
[assembly: AssemblyFileVersion("2.3.0")]
4 changes: 2 additions & 2 deletions src/Accounts/Authenticators/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.2.8")]
[assembly: AssemblyFileVersion("2.2.8")]
[assembly: AssemblyVersion("2.3.0")]
[assembly: AssemblyFileVersion("2.3.0")]
4 changes: 2 additions & 2 deletions src/Compute/Compute.Helpers/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
[assembly: CLSCompliant(false)]
[assembly: Guid("ba0d06e0-118c-4f34-b01c-7f6335577747")]

[assembly: AssemblyVersion("4.11.0")]
[assembly: AssemblyFileVersion("4.11.0")]
[assembly: AssemblyVersion("4.13.0")]
[assembly: AssemblyFileVersion("4.13.0")]
22 changes: 16 additions & 6 deletions src/Compute/Compute/Az.Compute.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 4/29/2021
# Generated on: 5/20/2021
#

@{
Expand All @@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '4.12.0'
ModuleVersion = '4.13.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -58,7 +58,8 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.8'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = 'AutoMapper.dll', 'Microsoft.Azure.Management.Compute.dll',
'Microsoft.WindowsAzure.Storage.dll', 'Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.dll'
'Microsoft.WindowsAzure.Storage.dll',
'Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()
Expand Down Expand Up @@ -205,9 +206,18 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Updated the ''Set-AzVMDiskEncryptionExtension'' cmdlet to support ADE extension migration from two pass (version with AAD input parameters) to single pass (version without AAD input parameters).
- Added a switch parameter ''-Migrate'' to trigger migration workflow.
- Added a switch parameter ''-MigrationRecovery'' to trigger recovery workflow for VMs experiencing failures after migration from two pass ADE.'
ReleaseNotes = '* Added ''Invoke-AzVmInstallPatch'' to support patch installation in VMs using PowerShell.
* Updated Compute module to use the latest .Net SDK version 46.0.0.
* Added optional parameter ''-EdgeZone'' to the following cmdlets:
- ''Get-AzVMImage
- ''Get-AzVMImageOffer''
- ''Get-AzVMImageSku''
- ''New-AzDiskConfig''
- ''New-AzImageConfig''
- ''New-AzSnapshotConfig''
- ''New-AzVM''
- ''New-AzVmssConfig''
- ''New-AzVMSS'''

# Prerelease string of this module
# Prerelease = ''
Expand Down
2 changes: 2 additions & 0 deletions src/Compute/Compute/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
-->
## Upcoming Release

## Version 4.13.0
* Added `Invoke-AzVmInstallPatch` to support patch installation in VMs using PowerShell.
* Updated Compute module to use the latest .Net SDK version 46.0.0.
* Added optional parameter `-EdgeZone` to the following cmdlets:
Expand Down
4 changes: 2 additions & 2 deletions src/Compute/Compute/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("91792853-487B-4DC2-BE6C-DD09A0A1BC10")]
[assembly: AssemblyVersion("4.12.0")]
[assembly: AssemblyFileVersion("4.12.0")]
[assembly: AssemblyVersion("4.13.0")]
[assembly: AssemblyFileVersion("4.13.0")]
#if !SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Compute.Test")]
#endif
11 changes: 7 additions & 4 deletions src/ContainerInstance/Az.ContainerInstance.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 5/14/2021
# Generated on: 5/20/2021
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = './Az.ContainerInstance.psm1'

# Version number of this module.
ModuleVersion = '1.0.3'
ModuleVersion = '2.0.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -45,7 +45,7 @@ PowerShellVersion = '5.1'
DotNetFrameworkVersion = '4.7.2'

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''
# CLRVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''
Expand Down Expand Up @@ -121,7 +121,10 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
# ReleaseNotes = ''
ReleaseNotes = '* Added new cmdlets: ''Start-AzContainerGroup'', ''Stop-AzContainerGroup'' [#10773], ''Invoke-AzContainerInstanceCommand'' [#7648], ''Update-AzContainerGroup'', ''Add-AzContainerInstanceOutput'', ''Get-AzContainerInstanceCachedImage'', ''Get-AzContainerInstanceCapability'', ''Get-AzContainerInstanceUsage'', ''New-AzContainerGroupImageRegistryCredentialObject'', ''New-AzContainerGroupPortObject'', ''New-AzContainerGroupVolumeObject'', ''New-AzContainerInstanceEnvironmentVariableObject'', ''New-AzContainerInstanceInitDefinitionObject'', ''New-AzContainerInstanceObject'', ''New-AzContainerInstancePortObject'' and ''New-AzContainerInstanceVolumeMountObject''
* Supported Log Analytics parameters in ''New-AzContainerGroup'' [#11117]
* Added support to specify network profile and the name of Azure File Share in ''New-AzContainerGroup'' [#9993] [#12218]
* Added support to specify environment variables as SecureValue [#10110] [#10640]'

# Prerelease string of this module
# Prerelease = ''
Expand Down
4 changes: 3 additions & 1 deletion src/ContainerInstance/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
-->

## Upcoming Release

## Version 2.0.0
* Added new cmdlets: `Start-AzContainerGroup`, `Stop-AzContainerGroup` [#10773], `Invoke-AzContainerInstanceCommand` [#7648], `Update-AzContainerGroup`, `Add-AzContainerInstanceOutput`, `Get-AzContainerInstanceCachedImage`, `Get-AzContainerInstanceCapability`, `Get-AzContainerInstanceUsage`, `New-AzContainerGroupImageRegistryCredentialObject`, `New-AzContainerGroupPortObject`, `New-AzContainerGroupVolumeObject`, `New-AzContainerInstanceEnvironmentVariableObject`, `New-AzContainerInstanceInitDefinitionObject`, `New-AzContainerInstanceObject`, `New-AzContainerInstancePortObject` and `New-AzContainerInstanceVolumeMountObject`
* Supported Log Analytics parameters in `New-AzContainerGroup` [#11117]
* Added support to specify network profile and the name of Azure File Share in `New-AzContainerGroup` [#9993] [#12218]
Expand All @@ -35,4 +37,4 @@

## Version 1.0.0
* General availability of `Az.ContainerInstance` module
* Added managed identity support
* Added managed identity support
4 changes: 2 additions & 2 deletions src/ContainerInstance/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("b6ea5cfe-1c66-471e-87ca-50a5280267d7")]
[assembly: AssemblyVersion("0.1.0")]
[assembly: AssemblyFileVersion("0.1.0")]
[assembly: AssemblyVersion("2.0.0")]
[assembly: AssemblyFileVersion("2.0.0")]
Loading

0 comments on commit b2e4e07

Please sign in to comment.