Skip to content

Commit 44b3c4a

Browse files
authored
Merge branch 'main' into network-2021-08-01
2 parents 0bd349f + 8bd9506 commit 44b3c4a

File tree

3,065 files changed

+547139
-358992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,065 files changed

+547139
-358992
lines changed

ChangeLog.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,93 @@
1+
## 7.2.0 - February 2022
2+
#### Az.Accounts
3+
* Removed legacy assembly System.Private.ServiceModel and System.ServiceModel.Primitives [#16063]
4+
5+
#### Az.Aks
6+
* Fixed the typo in 'New-AzAksCluster' [#16733]
7+
8+
#### Az.Compute
9+
* Remove ProvisioningDetails property from PSRestorePoint object.
10+
* Updated 'Set-AzVmExtension' cmdlet to properly display '-Name' and '-Location' parameters as mandatory.
11+
* Edited 'New-AzVmssConfig' second example so it runs successfully by changing the Tag input to the correct format.
12+
* Added 'Hibernate' parameter to 'Stop-AzVm' cmdlet.
13+
* Added 'HibernationEnabled' parameter to 'New-AzVm', 'New-AzVmConfig', and 'Update-AzVm' cmdlets.
14+
* Added 'EnableHotpatching' parameter to the 'Set-AzVmssOSProfile' cmdlet.
15+
* Added 'ForceDeletion' parameter to Remove-AzVM and Remove-AzVMSS.
16+
17+
#### Az.DataFactory
18+
* Updated ADF .Net SDK version to 5.1.0
19+
20+
#### Az.EventHub
21+
* Added public network access to the 'Set-AzEventHubNetworkRuleSet' set cmdlet
22+
* Added 'New-AzEventHubSchemaGroup', 'Remove-AzEventHubSchemaGroup' and 'Get-AzEventHubSchemaGroup' in the eventhubs PS.
23+
24+
#### Az.HealthcareApis
25+
* HealthcareApis cmdlets will bump up API version which may introduce breaking change. Please contact us for more information.
26+
27+
#### Az.KeyVault
28+
* Improved the error message of Az.KeyVault.Extension [#16798]
29+
* Added default access policies for Key Vault key as 'All but purge'
30+
* Absorbed KeyOps from parameter when importing key from certificate on managed HSM [#16773]
31+
* Fixed a bug when updating key operations on managed HSM [#16774]
32+
* Fixed the issue when importing no-password certificate [#16742]
33+
34+
#### Az.OperationalInsights
35+
* Added logic to prevent exceptions while using 'StorageInsight' cmdlets.
36+
37+
#### Az.PolicyInsights
38+
* Added support for new remediation properties allowing the remediation of more resources with better control over the remediation rate and error handling
39+
* Added support of fetching very large sets of results by internally using paginated API calls for policy states and policy events commands
40+
41+
#### Az.RecoveryServices
42+
* Reverted the configure backup per policy limit for VMs from 1000 to 100. This limit was previously relaxed but as Azure portal has a limit of 100 VMs per policy, we are reverting this limit.
43+
* Added support for multiple backups per day for FileShares.
44+
* Segregated some of the CRR and non-CRR flows based on the SDK update.
45+
* Add EdgeZone parameter to Azure Site recovery service cmdlet 'New-AzRecoveryServicesAsrRecoveryPlan'
46+
47+
#### Az.Resources
48+
* Added proeprties 'onPremisesLastSyncDateTime', 'onPremisesSyncEnabled' to 'User' object [#16892]
49+
* Added additional properties when creating request for 'New-AzADServicePrincipal' and 'Update-AzADServicePrincipal' [#16847] [#16841]
50+
* Fixed 'DisplayName' and 'ApplicationId' for 'New-AzADAppCredential' [#16764]
51+
* Enabled password reset for 'Update-AzADUser' [#16869]
52+
* Updated parameter name 'EnableAccount' to 'AccountEnabled', and added alias 'EnableAccount' for 'Update-AzADUser' [#16753] [#16795]
53+
* Fixed 'Set-AzPolicyAssignment' does not remove 'notScope' if empty [#15828]
54+
55+
#### Az.ServiceBus
56+
* Added support to Enable or Disable Public Network Access as optional parameter 'PublicNetworkAccess' to 'Set-AzServiceBusNetworkRuleSet'
57+
* Fixed 'Set-AzServiceBusNamespace' with Tags
58+
59+
#### Az.Sql
60+
* Deprecation of Get-AzSqlDatabaseTransparentDataEncryptionActivity cmdlet
61+
* Fixed cmdlets for Azure Active Directory Admin 'AzureSqlServerActiveDirectoryAdministratorAdapter' and 'AzureSqlInstanceActiveDirectoryAdministratorAdapter' migrate from 'AzureEnvironment.Endpoint.AzureEnvironment.Endpoint.Graph' to 'AzureEnvironment.ExtendedEndpoint.MicrosoftGraphUrl'
62+
63+
#### Az.StackHCI
64+
* Adding support cmdlet for Remote Support
65+
- New cmdlets - Install-AzStackHCIRemoteSupport, Remove-AzStackHCIRemoteSupport, Enable-AzStackHCIRemoteSupport, Disable-AzStackHCIRemoteSupport, Get-AzStackHCIRemoteSupportAccess,Get-AzStackHCIRemoteSupportSessionHistory
66+
67+
#### Az.Storage
68+
* Fixed the issue that output number in console when update/copy blob sometimes [#16783]
69+
- 'Set-AzStorageBlobContent'
70+
- 'Copy-AzStorageBlob'
71+
* Updated help file, added more description for the asynchronous blob copy.
72+
- 'Start-AzStorageBlobCopy'
73+
74+
#### Az.TrafficManager
75+
* Added two new optional parameters 'MinChildEndpointsIPv4' and 'MinChildEndpointsIPv6' for nested endpoints
76+
77+
#### Az.Websites
78+
* Updated 'New-AzAppServicePlan' to create an app service plan with host environment id #16094
79+
80+
### Thanks to our community contributors
81+
* @adriancuadrado, Update New-AzADServicePrincipal.md (#16896)
82+
* Alan (@AlanFlorance), Update Get-AzDataLakeGen2ChildItem.md (#16292)
83+
* @geologyrocks, Duplicated header (#16876)
84+
* Hiroshi Yoshioka (@hyoshioka0128), Typo “Azure CosmosDB"→"Azure Cosmos DB” (#16561)
85+
* Jean-Paul Smit (@jeanpaulsmit), The -Force option is not documented and not accepted as parameter (#16910)
86+
* Kamil Konderak (@kamilkonderak), Fixed description for NodeOsDiskSize parameter (#16716)
87+
* Muralidhar Ranganathan (@rmuralidhar), Mitigate Get-AzKeyVaultSecret: Invalid Parameter AsPlainText (#16730)
88+
* Ørjan Landgraff (@theorjan), better PS example (#16748)
89+
* @ahbleite, The switch option was not updated to reflect the new ParameterSetName values, therefore the $id is always null. (#16818)
90+
191
## 7.1.0 - January 2022
292
#### Az.Accounts
393
* Copied 'ServicePrincipalSecret' and 'CertificatePassword' from Az.Accounts buildin profile to customer set profile. [#16617]

docker/Dockerfile-alpine-3.14

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
FROM mcr.microsoft.com/powershell:alpine-3.14
2+
3+
ARG REPOSITORY=PSGallery
4+
ARG MODULE=Az
5+
ARG CONFIG=config
6+
ARG AZURERM_CONTEXT_SETTINGS=AzureRmContextSettings.json
7+
ARG AZURE=/root/.Azure
8+
ARG VCS_REF="none"
9+
ARG BUILD_DATE=
10+
ARG VERSION=
11+
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-alpine-3.14
12+
13+
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-alpine-3.14"
14+
15+
LABEL maintainer="Azure PowerShell Team <[email protected]>" \
16+
readme.md="http://aka.ms/azpsdockerreadme" \
17+
description="This Dockerfile will install the latest release of Azure PowerShell." \
18+
org.label-schema.build-date=${BUILD_DATE} \
19+
org.label-schema.usage="http://aka.ms/azpsdocker" \
20+
org.label-schema.url="http://aka.ms/azpsdockerreadme" \
21+
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \
22+
org.label-schema.name="azure powershell" \
23+
org.label-schema.vendor="Azure PowerShell" \
24+
org.label-schema.version=${VERSION} \
25+
org.label-schema.schema-version="1.0" \
26+
org.label-schema.vcs-ref=${VCS_REF} \
27+
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \
28+
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \
29+
org.label-schema.docker.cmd.test="currently not available" \
30+
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help"
31+
32+
# install azure-powershell from PSGallery
33+
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \
34+
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \
35+
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted
36+
37+
# create AzureRmContextSettings.json before it was generated
38+
COPY ${CONFIG}/${AZURERM_CONTEXT_SETTINGS} ${AZURE}/${AZURERM_CONTEXT_SETTINGS}
39+
40+
CMD [ "pwsh" ]

docker/Dockerfile-ubuntu-20.04

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
FROM mcr.microsoft.com/powershell:ubuntu-20.04
2+
3+
ARG REPOSITORY=PSGallery
4+
ARG MODULE=Az
5+
ARG CONFIG=config
6+
ARG AZURERM_CONTEXT_SETTINGS=AzureRmContextSettings.json
7+
ARG AZURE=/root/.Azure
8+
ARG VCS_REF="none"
9+
ARG BUILD_DATE=
10+
ARG VERSION=
11+
ARG IMAGE_NAME=mcr.microsoft.com/azure-powershell:${VERSION}-ubuntu-20.04
12+
13+
ENV AZUREPS_HOST_ENVIRONMENT="dockerImage/${VERSION}-ubuntu-20.04"
14+
15+
LABEL maintainer="Azure PowerShell Team <[email protected]>" \
16+
readme.md="http://aka.ms/azpsdockerreadme" \
17+
description="This Dockerfile will install the latest release of Azure PowerShell." \
18+
org.label-schema.build-date=${BUILD_DATE} \
19+
org.label-schema.usage="http://aka.ms/azpsdocker" \
20+
org.label-schema.url="http://aka.ms/azpsdockerreadme" \
21+
org.label-schema.vcs-url="https://github.com/Azure/azure-powershell" \
22+
org.label-schema.name="azure powershell" \
23+
org.label-schema.vendor="Azure PowerShell" \
24+
org.label-schema.version=${VERSION} \
25+
org.label-schema.schema-version="1.0" \
26+
org.label-schema.vcs-ref=${VCS_REF} \
27+
org.label-schema.docker.cmd="docker run --rm ${IMAGE_NAME} pwsh -c '\$PSVERSIONTABLE'" \
28+
org.label-schema.docker.cmd.devel="docker run -it --rm -e 'DebugPreference=Continue' ${IMAGE_NAME} pwsh" \
29+
org.label-schema.docker.cmd.test="currently not available" \
30+
org.label-schema.docker.cmd.help="docker run --rm ${IMAGE_NAME} pwsh -c Get-Help"
31+
32+
# install azure-powershell from PSGallery
33+
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \
34+
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \
35+
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted
36+
37+
# create AzureRmContextSettings.json before it was generated
38+
COPY ${CONFIG}/${AZURERM_CONTEXT_SETTINGS} ${AZURE}/${AZURERM_CONTEXT_SETTINGS}
39+
40+
CMD [ "pwsh" ]

setup/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if( (-not (get-command -ea 0 light)) -or (-not (get-command -ea 0 heat)) -or (-n
3737
$outputName ="Az-Cmdlets"
3838

3939
# generate the product name from the current month/year.
40-
$productName = "Microsoft Azure PowerShell - January 2022"
40+
$productName = "Microsoft Azure PowerShell - February 2022"
4141

4242
# where to put temp files
4343
$tmp = Join-Path $env:temp azure-cmdlets-tmp

src/ADDomainServices/Az.ADDomainServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.1'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.7.2'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Az.ADDomainServices.private.dll'

src/ADDomainServices/help/Get-AzADDomainService.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ The Get Domain Service operation retrieves a json representation of the Domain S
4242

4343
### Example 1: Get All ADDomainService By default
4444
```powershell
45-
PS C:\> Get-AzADDomainService
45+
Get-AzADDomainService
46+
```
4647

48+
```output
4749
Name Domain Name Location Sku
4850
---- ----------- -------- ---
4951
youriADdomain youriAddomain.com westus Enterprise
@@ -53,8 +55,10 @@ Get All ADDomainService By default
5355

5456
### Example 2: Get ADDomainService By ResourceGroup and name
5557
```powershell
56-
PS C:\> Get-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain
58+
Get-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain
59+
```
5760

61+
```output
5862
Name Domain Name Location Sku
5963
---- ----------- -------- ---
6064
youriADdomain youriAddomain.com westus Enterprise
@@ -64,8 +68,10 @@ Get ADDomainService By ResourceGroup and name
6468

6569
### Example 3: Get all ADDomainService By ResourceGroup
6670
```powershell
67-
PS C:\> Get-AzADDomainService -ResourceGroupName youriADdomain
71+
Get-AzADDomainService -ResourceGroupName youriADdomain
72+
```
6873

74+
```output
6975
Name Domain Name Location Sku
7076
---- ----------- -------- ---
7177
youriADdomain youriAddomain.com westus Enterprise
@@ -75,9 +81,11 @@ Get all ADDomainService By ResourceGroup
7581

7682
### Example 4: Get ADDomainService By InputObject
7783
```powershell
78-
PS C:\> $getAzAddomain = Get-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain
84+
$getAzAddomain = Get-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain
7985
Get-AzADDomainService -InputObject $getAzAddomain
86+
```
8087

88+
```output
8189
Name Domain Name Location Sku
8290
---- ----------- -------- ---
8391
youriADdomain youriAddomain.com westus Enterprise

src/ADDomainServices/help/New-AzADDomainService.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ If the specific service already exists, then any patchable properties will be up
3434

3535
### Example 1: Create new ADDomainService
3636
```powershell
37-
PS C:\> $replicaSet = New-AzADDomainServiceReplicaSetObject -Location westus -SubnetId /subscriptions/********-****-****-****-**********/resourceGroups/yishitest/providers/Microsoft.Network/virtualNetworks/aadds-vnet/subnets/default
37+
$replicaSet = New-AzADDomainServiceReplicaSetObject -Location westus -SubnetId /subscriptions/********-****-****-****-**********/resourceGroups/yishitest/providers/Microsoft.Network/virtualNetworks/aadds-vnet/subnets/default
3838
New-AzADDomainService -name youriADdomain -ResourceGroupName youriAddomain -DomainName youriAddomain.com -ReplicaSet $replicaSet -debug
39+
```
3940

41+
```output
4042
Name Domain Name Location Sku
4143
---- ----------- -------- ---
4244
youriADdomain youriAddomain.com westus Enterprise

src/ADDomainServices/help/New-AzADDomainServiceForestTrust.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ Create a in-memory object for ForestTrust
2525
### Example 1: Create ServiceForestTrust for ADDomain
2626
```powershell
2727
PS C:\> New-AzADDomainServiceForestTrust -FriendlyName FriendlyNameTest
28+
```
2829

30+
```output
2931
FriendlyName RemoteDnsIP TrustDirection TrustPassword TrustedDomainFqdn
3032
------------ ----------- -------------- ------------- -----------------
3133
FriendlyNameTest

src/ADDomainServices/help/New-AzADDomainServiceReplicaSet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ Create a in-memory object for ReplicaSet
2424
### Example 1: Create ReplicaSet for AdDomain
2525
```powershell
2626
PS C:\> New-AzADDomainServiceReplicaSet -Location eastus -SubnetId /subscriptions/**********-****-****-****-****-**********/resourceGroups/youriADDomain-rg-test/providers/Microsoft.Network/virtualNetworks/yourinttest/subnets/default
27+
```
2728

29+
```output
2830
DomainControllerIPAddress ExternalAccessIPAddress HealthLastEvaluated Location ServiceStatus SubnetId
2931
------------------------- ----------------------- ------------------- -------- ------------- --------
3032
eastus /subscriptions/****

src/ADDomainServices/help/Update-AzADDomainService.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ The update call only supports the properties listed in the PATCH body.
5050
```powershell
5151
PS C:\> $ADDomainSetting = New-AzADDomainServiceDomainSecuritySettingObject -TlsV1 Disabled
5252
Update-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain -DomainSecuritySetting $ADDomainSetting
53+
```
5354

55+
```output
5456
Name Domain Name Location Sku
5557
---- ----------- -------- ---
5658
youriADdomain youriAddomain.com westus Enterprise
@@ -63,7 +65,9 @@ Update AzADDomainService By ResourceGroupName and Name
6365
PS C:\> $getAzAddomain = Get-AzADDomainService -Name youriADdomain -ResourceGroupName youriADdomain
6466
$ADDomainSetting = New-AzADDomainServiceDomainSecuritySettingObject -TlsV1 Disabled
6567
Update-AzADDomainService -InputObject $getAzAddomain -DomainSecuritySetting $ADDomainSetting
68+
```
6669

70+
```output
6771
Name Domain Name Location Sku
6872
---- ----------- -------- ---
6973
youriADdomain youriAddomain.com westus Enterprise

0 commit comments

Comments
 (0)