Skip to content

Commit 57c03f2

Browse files
authored
release-2021-07-06
Release-2021-07-06
2 parents 0c0bcc3 + a54581f commit 57c03f2

File tree

854 files changed

+147069
-65449
lines changed

Some content is hidden

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

854 files changed

+147069
-65449
lines changed

ChangeLog.md

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,127 @@
1+
## 6.2.0 - July 2021
2+
#### Az.Accounts
3+
* Added Tags, AuthorizationSource to PSAzureSusbscripiton and added TenantType, DefaultDomain, TenantBrandingLogoUrl, CountryCode to PSAzureTenant [#15220]
4+
* Upgraded subscription client to 2021-01-01 [#15220]
5+
* Removed Interactive mode check in common lib
6+
* Added endpoint of OperationalInsights to environment AzureChinaCloud [#15305]
7+
* Printed auto generated modules' default logs to verbose stream
8+
9+
#### Az.Aks
10+
* Added parameter 'AvailabilityZone' for 'New-AzAksNodePool'. [#14505]
11+
12+
#### Az.ApplicationInsights
13+
* Added read only property 'ConnectionString' and 'ApplicationId' to applicationinsights component
14+
15+
#### Az.Compute
16+
* Added optional parameter '-OrchestrationMode' to 'New-AzVmss' and 'New-AzVmssConfig'
17+
* Updated the following cmdlets to work when the resource uses a remote image source using AKS or Shared Image Gallery.
18+
- 'Update-AzVm'
19+
- 'Update-AzVmss'
20+
- 'Update-AzGalleryImageVersion'
21+
* Added parameters '-EnableCrossZoneUpgrade' and '-PrioritizeUnhealthyInstance' to the 'Set-AzVmssRollingUpgradePolicy'
22+
* Added 'AssessmentMode' parameter to the 'Set-AzVMOperatingSystem' cmdlet.
23+
* Fixed a bug in 'Add-AzVmssNetworkInterfaceConfiguration'
24+
* Fixed IOPS and throughput check in 'Test-AzVMAEMExtension'
25+
* Added new cmdlets for 2020-12-01 DiskRP API version
26+
- New-AzDiskPurchasePlanConfig
27+
- Set-AzDiskSecurityProfile
28+
* Changed Cmdlets for 2020-12-01 DiskRP API version
29+
- New-AzDiskConfig
30+
- New-AzSnapshotConfig
31+
- New-AzSnapshotUpdateConfig
32+
- New-AzDiskUpdateConfig
33+
- New-AzDiskEncryptionSetConfig
34+
- Update-AzDiskEncryptionSet
35+
36+
#### Az.CosmosDB
37+
* This release introduces the cmdlets for the features of Continuous Backup(Point in time restore):
38+
- Introduced support for creating accounts with continuous mode backup policy.
39+
- Introduced support for Point in time restore for accounts with continuous mode backup policy.
40+
- Introduced support to update the backup interval and backup retention for accounts with periodic mode backup policy.
41+
- Introduced support to list the restorable resources in a live database account.
42+
- Introduces support to specify analytical storage schema type on account creation/update.
43+
- The following cmdlets are added:
44+
- Restore-AzCosmosDBAccount, New-AzCosmosDBDatabaseToRestore, Get-AzCosmosDBRestorableDatabaseAccount,
45+
- Get-AzCosmosDBSqlRestorableDatabase, Get-AzCosmosDBSqlRestorableContainer, Get-AzCosmosDBSqlRestorableResource,
46+
- Get-AzCosmosDBMongoDBRestorableDatabase, Get-AzCosmosDBMongoDBRestorableCollection, Get-AzCosmosDBMongoDBRestorableResource.
47+
48+
#### Az.DataFactory
49+
* Added Customer Managed Key Encryption to DataFactory
50+
51+
#### Az.Functions
52+
* Added two additional app settings (WEBSITE_CONTENTSHARE and WEBSITE_CONTENTAZUREFILECONNECTIONSTRING) for Linux Consumption apps. [15124]
53+
* Fixed bug with New-AzFunctionApp when created on Azure Gov. [13379]
54+
* Added Az.Functions cmdlets need to support creating and copying app settings with empty values. [14511]
55+
56+
#### Az.Monitor
57+
* Fixed null reference bug for 'Get-AzMetric' when 'ResultType' set to 'Metadata'
58+
* Fixed bug for 'Add-AzAutoscaleSetting' not able to pipe result from 'Get-AzAutoscaleSetting' [#13861]
59+
60+
#### Az.Network
61+
* Added public ip address as an optional parameter to create route server
62+
- 'New-AzRouteServer'
63+
* Updated cmdlets to enable specification of edge zone
64+
- 'New-AzPublicIpPrefix'
65+
- 'New-AzLoadBalancer'
66+
- 'New-AzPrivateLinkService'
67+
- 'New-AzPrivateEndpoint'
68+
* Added support for viewing extended location of virtual network in the console
69+
- 'New-AzVirtualNetwork'
70+
- 'Get-AzVirtualNetwork'
71+
* Added support for viewing extended location of public IP address in the console
72+
- 'New-AzPublicIpAddress'
73+
- 'Get-AzPublicIpAddress'
74+
75+
#### Az.RecoveryServices
76+
* Fixed Disable SQL AG AutoProtection.
77+
78+
#### Az.Security
79+
* General availability of Az.Security module
80+
* Changed the name of Get-AzRegulatoryComplainceAssessment to Get-AzRegulatoryComplianceAssessment to fix typo
81+
82+
#### Az.Sql
83+
* Added 'RestrictOutboundNetworkAccess' parameter to following cmdlets
84+
- 'New-AzSqlServer'
85+
- 'Set-AzSqlServer'
86+
* Added new cmdlets for CRUD operations on Allowed FQDNs of Outbound Firewall rules
87+
'Get-AzSqlServerOutboundFirewallRule'
88+
'New-AzSqlServerOutboundFirewallRule'
89+
'Remove-AzSqlServerOutboundFirewallRule'
90+
* Fixed the identity logic for SystemAssigned,UserAssigned identities for New-AzSqlServer, New-AzSqlInstance
91+
* Updated cmdlets for getting and updating SQL database's differential backup frequency
92+
'Get-AzSqlDatabaseBackupShortTermRetentionPolicy'
93+
'Set-AzSqlDatabaseBackupShortTermRetentionPolicy'
94+
* Fixed Partial PUT issue for Azure Policy in 'Set-AzSqlServer' and 'Set-AzSqlInstance'
95+
96+
#### Az.Storage
97+
* Supported enable/disable Blob container soft delete
98+
- 'Enable-AzStorageContainerDeleteRetentionPolicy'
99+
- 'Disable-AzStorageContainerDeleteRetentionPolicy'
100+
* Supported list deleted Blob containers
101+
- 'Get-AzRmStorageContainer'
102+
- 'Get-AzStorageContainer'
103+
* Supported restore deleted Blob container
104+
- 'Restore-AzStorageContainer'
105+
* Supported secure SMB setting in File service properties
106+
- 'Update-AzStorageFileServiceProperty'
107+
* Supported create account with EnableNfsV3
108+
- 'New-AzStorageAccount'
109+
* Supported input more copy blob parameters from pipeline [#15301]
110+
- 'Start-AzStorageBlobCopy'
111+
112+
#### Az.Websites
113+
* Fixed 'Import-AzWebAppKeyVaultCertificate' to support ServerFarmId [#15091]
114+
* Fixed 'Added an optional parameter to delete or keep Appservice plan when the last WebApp is removing from plan'
115+
116+
### Thanks to our community contributors
117+
* Mikey Bronowski (@MikeyBronowski)
118+
* Update Get-AzSynapseTriggerRun.md (#15231)
119+
* Update Get-AzSynapsePipelineRun.md by adding more examples covering more scenarios (#15232)
120+
* @mjsharma, Adding note for alternate commands (#15359)
121+
* @tomswedlund, Adding support for setting analytical storage schema type on account create/update for CosmosDB (#15362)
122+
* @ylabade, Fix web app parameter name in examples (#15291)
123+
124+
1125
## 6.1.0 - June 2021
2126
#### Az.Accounts
3127
* Added cmdlet 'Open-AzSurveyLink'

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 - June 2021"
40+
$productName = "Microsoft Azure PowerShell - July 2021"
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.4.0'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.5.0'; })
5555

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

src/Accounts/Accounts.Test/AzureRMProfileTests.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
using Microsoft.Azure.Commands.Profile.Models;
2121
using Microsoft.Azure.Commands.Profile.Test;
2222
using Microsoft.Azure.Commands.ScenarioTest;
23-
using Microsoft.Azure.Management.ResourceManager.Version2019_06_01.Models;
23+
using Microsoft.Azure.Management.ResourceManager.Version2021_01_01.Models;
2424
using Microsoft.Azure.ServiceManagement.Common.Models;
2525
using Microsoft.Rest;
2626
using Microsoft.Rest.Azure;
@@ -62,7 +62,7 @@ private static RMProfileClient SetupTestEnvironment(List<string> tenants, params
6262
var clientFactory = new MockSubscriptionClientFactory(tenants, subscriptionList);
6363
var mock = new MockClientFactory(new List<object>
6464
{
65-
clientFactory.GetSubscriptionClientVer2019(),
65+
clientFactory.GetSubscriptionClientVerLatest(),
6666
clientFactory.GetSubscriptionClientVer2016()
6767
}, true);
6868
mock.MoqClients = true;
@@ -90,7 +90,7 @@ private static AzureRmProfile SetupLogin(List<string> tenants, params List<strin
9090
var clientFactory = new MockSubscriptionClientFactory(tenants, subscriptionList);
9191
var mock = new MockClientFactory(new List<object>
9292
{
93-
clientFactory.GetSubscriptionClientVer2019(),
93+
clientFactory.GetSubscriptionClientVerLatest(),
9494
clientFactory.GetSubscriptionClientVer2016()
9595
}, true);
9696
mock.MoqClients = true;
@@ -144,7 +144,7 @@ public void SpecifyTenantAndSubscriptionIdSucceed()
144144
null,
145145
false,
146146
null);
147-
Assert.Equal("2019-06-01", client.SubscriptionAndTenantClient.ApiVersion);
147+
Assert.Equal("2021-01-01", client.SubscriptionAndTenantClient.ApiVersion);
148148
}
149149

150150
[Fact]
@@ -164,8 +164,8 @@ public void SubscriptionIdNotExist()
164164
TenantId = DefaultTenant.ToString()
165165
};
166166

167-
MockSubscriptionClientFactory.SubGetQueueVer2019 = new Queue<Func<AzureOperationResponse<Subscription>>>();
168-
MockSubscriptionClientFactory.SubGetQueueVer2019.Enqueue(() =>
167+
MockSubscriptionClientFactory.SubGetQueueVerLatest = new Queue<Func<AzureOperationResponse<Subscription>>>();
168+
MockSubscriptionClientFactory.SubGetQueueVerLatest.Enqueue(() =>
169169
{
170170
throw new CloudException("InvalidAuthenticationTokenTenant: The access token is from the wrong issuer");
171171
});
@@ -179,7 +179,7 @@ public void SubscriptionIdNotExist()
179179
null,
180180
false,
181181
null));
182-
Assert.Equal("2019-06-01", client.SubscriptionAndTenantClient.ApiVersion);
182+
Assert.Equal("2021-01-01", client.SubscriptionAndTenantClient.ApiVersion);
183183
}
184184

185185
[Fact]
@@ -230,8 +230,8 @@ public void SubscriptionIdNotInFirstTenant()
230230
TenantId = DefaultTenant.ToString()
231231
};
232232

233-
MockSubscriptionClientFactory.SubGetQueueVer2019 = new Queue<Func<AzureOperationResponse<Subscription>>>();
234-
MockSubscriptionClientFactory.SubGetQueueVer2019.Enqueue(() =>
233+
MockSubscriptionClientFactory.SubGetQueueVerLatest = new Queue<Func<AzureOperationResponse<Subscription>>>();
234+
MockSubscriptionClientFactory.SubGetQueueVerLatest.Enqueue(() =>
235235
{
236236
throw new CloudException("InvalidAuthenticationTokenTenant: The access token is from the wrong issuer");
237237
});
@@ -266,8 +266,8 @@ public void SubscriptionNameNotInFirstTenant()
266266
TenantId = DefaultTenant.ToString()
267267
};
268268

269-
MockSubscriptionClientFactory.SubListQueueVer2019 = new Queue<Func<AzureOperationResponse<IPage<Subscription>>>>();
270-
MockSubscriptionClientFactory.SubListQueueVer2019.Enqueue(() =>
269+
MockSubscriptionClientFactory.SubListQueueVerLatest = new Queue<Func<AzureOperationResponse<IPage<Subscription>>>>();
270+
MockSubscriptionClientFactory.SubListQueueVerLatest.Enqueue(() =>
271271
{
272272
var sub1 = new Subscription(
273273
id: DefaultSubscription.ToString(),

0 commit comments

Comments
 (0)