Skip to content

Commit 31ae693

Browse files
authored
Merge branch 'release-2020-03-31' into task-adls-breakingchangebulktransfer
2 parents c779b91 + 756dea8 commit 31ae693

File tree

34 files changed

+773937
-2672
lines changed

34 files changed

+773937
-2672
lines changed

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21-
* Fix Get-AzTenant/Get-AzDefault/Set-AzDefault throw NullReferenceException when not login
21+
* Fixed `Get-AzTenant`/`Get-AzDefault`/`Set-AzDefault` throw NullReferenceException when not login [#10292]
2222

2323
## Version 1.7.3
2424
* Open Azure PowerShell survey page in `Send-Feedback` [#11020]

src/Compute/Compute/ChangeLog.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@
1919
- Additional information about change #1
2020
-->
2121
## Upcoming Release
22-
* Add the following parameters to New-AzDiskConfig cmdlet:
22+
* Added the following parameters to `New-AzDiskConfig` cmdlet:
2323
- DiskIOPSReadOnly, DiskMBpsReadOnly, MaxSharesCount, GalleryImageReference
24-
* Allow Encryption property to Target parameter of New-AzGalleryImageVersion cmdlet.
25-
* Fix tempDisk issue for Set-AzVmss -Reimage and Invoke-AzVMReimage cmdlets.
26-
* Set-AzVMAEMExtension, Get-AzVMAEMExtension, Remove-AzVMAEMExtension, Update-AzVMAEMExtension: Add support for new SAP Extension
27-
* Fix errors in examples of help document
28-
* Show the exact string value for VM PowerState in the table format.
29-
* New-AzVmssConfig does not create AutomaticRepairs property when it is disabled.
24+
* Allowed Encryption property to Target parameter of `New-AzGalleryImageVersion` cmdlet.
25+
* Fixed tempDisk issue for `Set-AzVmss` -Reimage and `Invoke-AzVMReimage` cmdlets. [#11354]
26+
* Added support to below cmdlets for new SAP Extension
27+
- `Set-AzVMAEMExtension`
28+
- `Get-AzVMAEMExtension`
29+
- `Remove-AzVMAEMExtension`
30+
- `Update-AzVMAEMExtension`
31+
* Fixed errors in examples of help document
32+
* Showed the exact string value for VM PowerState in the table format.
33+
* `New-AzVmssConfig`: fixed serialization of AutomaticRepairs property when SinglePlacementGroup is disabled. [#11257]
3034

3135
## Version 3.5.0
3236
* Allowed empty value for ProximityPlacementGroupId during update

src/DataFactory/DataFactoryV2/Changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21-
* Update ADF .Net SDK version to 4.8.0
22-
* Add optional parameters to Invoke-AzDataFactoryV2Pipeline command to support rerun
21+
* Updated ADF .Net SDK version to 4.8.0
22+
* Added optional parameters to `Invoke-AzDataFactoryV2Pipeline` command to support rerun
2323

2424
## Version 1.6.1
2525
* Update ADF .Net SDK version to 4.7.0

src/DataLakeStore/DataLakeStore/ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21-
* Added option of Byte encoding for New-AzDataLakeStoreItem, Add-AzDAtaLakeStoreItemContent, Get-AzDAtaLakeStoreItemContent
22-
* Add breaking change description for Export-AzDataLakeStoreItem and Import-AzDataLakeStoreItem
21+
* Added breaking change description for `Export-AzDataLakeStoreItem` and `Import-AzDataLakeStoreItem`
22+
* Added option of Byte encoding for `New-AzDataLakeStoreItem`, `Add-AzDAtaLakeStoreItemContent`, and `Get-AzDAtaLakeStoreItemContent`
2323

2424
## Version 1.2.7
2525
* Added reference to System.Buffers explicitly in csproj and psd1.

src/HDInsight/HDInsight/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21-
Supported specifying minimal supported TLS version when creating cluster.
21+
* Supported specifying minimal supported TLS version when creating cluster.
2222

2323
## Version 3.0.3
2424
* Fix document error of New-AzHDInsightCluster.

src/Monitor/Monitor/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22-
* update documentation for New-AzScheduledQueryRuleLogMetricTrigger
22+
* Updated documentation for `New-AzScheduledQueryRuleLogMetricTrigger`
2323

2424
## Version 1.6.1
2525
* Fixed output value for `Get-AzMetricDefinition` [#9714]

src/Network/Network/ChangeLog.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020

2121
## Upcoming Release
2222
* Updated cmdlets to allow cross-tenant VirtualHubVnetConnections
23-
- New-AzVirtualHubVnetConnection
24-
- Update-AzVirtualHubVnetConnection
25-
- New-AzVirtualHub
26-
- Update-AzVirtualHub
23+
- `New-AzVirtualHubVnetConnection`
24+
- `Update-AzVirtualHubVnetConnection`
25+
- `New-AzVirtualHub`
26+
- `Update-AzVirtualHub`
2727
* Removed Sql Management SDK dependency
2828

2929
## Version 2.3.2

src/Network/Network/help/New-AzNetworkInterface.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,17 @@ created automatically using the name IPConfiguration1.
7070

7171
### Example 2: Create an Azure network interface using an IP configuration object
7272
```
73-
PS C:\>$IPconfig = New-AzNetworkInterfaceIpConfig -Name "IPConfig1" -PrivateIpAddressVersion IPv4 -PrivateIpAddress "10.0.1.10" -SubnetId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroup1/providers/Microsoft.Network/virtualNetworks/VirtualNetwork1/subnets/Subnet1"
73+
PS C:\>$Subnet = Get-AzVirtualNetwork -Name "VirtualNetwork1" -ResourceGroupName "ResourceGroup1"
74+
PS C:\>$IPconfig = New-AzNetworkInterfaceIpConfig -Name "IPConfig1" -PrivateIpAddressVersion IPv4 -PrivateIpAddress "10.0.1.10" -SubnetId $Subnet.Subnets[0].Id
7475
PS C:\> New-AzNetworkInterface -Name "NetworkInterface1" -ResourceGroupName "ResourceGroup1" -Location "centralus" -IpConfiguration $IPconfig
7576
```
7677

7778
This example creates a new network interface using an IP configuration object. The IP configuration
7879
object specifies a static private IPv4 address.
79-
The first command creates a network interface IP configuration named IPConfig1 and stores the
80+
The first command retrieves an existing specified virtual network used to assign the subnet in the second command.
81+
The second command creates a network interface IP configuration named IPConfig1 and stores the
8082
configuration in the variable named $IPconfig.
81-
The second command creates a network interface named NetworkInterface1 that uses the network
83+
The third command creates a network interface named NetworkInterface1 that uses the network
8284
interface IP configuration stored in the variable named $IPconfig.
8385

8486
## PARAMETERS

src/PolicyInsights/PolicyInsights/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21-
* Improve error messages
21+
* Improved error messages
2222

2323
## Version 1.2.0
2424
* Support evaluating compliance prior to determining what resource to remediate

src/RecoveryServices/RecoveryServices.Backup.Helpers/Conversions/ConversionHelpers.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ public static PolicyBase GetPolicyModelForAzureIaaSVM(ServiceClientModel.Protect
170170
iaasPolicyModel.SchedulePolicy = PolicyHelpers.GetPSSimpleSchedulePolicy((ServiceClientModel.SimpleSchedulePolicy)
171171
((ServiceClientModel.AzureIaaSVMProtectionPolicy)serviceClientResponse.Properties).SchedulePolicy,
172172
((ServiceClientModel.AzureIaaSVMProtectionPolicy)serviceClientResponse.Properties).TimeZone);
173+
iaasPolicyModel.AzureBackupRGName =
174+
((ServiceClientModel.AzureIaaSVMProtectionPolicy)serviceClientResponse.Properties).InstantRPDetails.AzureBackupRGNamePrefix;
175+
iaasPolicyModel.AzureBackupRGNameSuffix =
176+
((ServiceClientModel.AzureIaaSVMProtectionPolicy)serviceClientResponse.Properties).InstantRPDetails.AzureBackupRGNameSuffix;
173177
return policyModel;
174178
}
175179

src/RecoveryServices/RecoveryServices.Backup.Models/AzureModels/AzureItem.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ public class AzureItem : ItemBase
2727
/// </summary>
2828
public ItemProtectionStatus ProtectionStatus { get; set; }
2929

30+
/// <summary>
31+
/// Policy ID Associated with item
32+
/// </summary>
33+
public string PolicyId { get; set; }
34+
3035
/// <summary>
3136
/// Protection State of the item
3237
/// </summary>
@@ -67,6 +72,7 @@ public AzureItem(ProtectedItemResource protectedItemResource,
6772
: base(protectedItemResource, containerName, containerType)
6873
{
6974
ProtectionPolicyName = policyName;
75+
PolicyId = protectedItemResource.Properties.PolicyId;
7076
}
7177
}
7278
public class AzureItemExtendedInfo : ItemExtendedInfoBase

src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmPolicy.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15+
using Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models;
16+
1517
namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models
1618
{
1719
/// <summary>
@@ -28,6 +30,16 @@ public class AzureVmPolicy : AzurePolicy
2830
/// Object defining the number of associated items for the policy
2931
/// </summary>
3032
public int? ProtectedItemsCount { get; set; }
33+
34+
/// <summary>
35+
/// object defining the RG Name to store Restore Points
36+
/// </summary>
37+
public string AzureBackupRGName { get; set; }
38+
39+
/// <summary>
40+
/// object defining the RG Name suffix to store Restore Points
41+
/// </summary>
42+
public string AzureBackupRGNameSuffix { get; set; }
3143
}
3244

3345
}

src/RecoveryServices/RecoveryServices.Backup.Models/CmdletParamEnums.cs

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,10 @@ public enum RestoreBackupItemParams
5858
public enum RestoreVMBackupItemParams
5959
{
6060
TargetResourceGroupName,
61-
OsaOption
61+
OsaOption,
62+
RestoreDiskList,
63+
RestoreOnlyOSDisk,
64+
RestoreAsUnmanagedDisks
6265
}
6366

6467
public enum RestoreFSBackupItemParams
@@ -68,7 +71,8 @@ public enum RestoreFSBackupItemParams
6871
SourceFileType,
6972
TargetStorageAccountName,
7073
TargetFileShareName,
71-
TargetFolder
74+
TargetFolder,
75+
MultipleSourceFilePath
7276
}
7377
public enum RestoreWLBackupItemParams
7478
{
@@ -118,7 +122,11 @@ public enum ItemParams
118122
BackupType,
119123
EnableCompression,
120124
DeleteState,
121-
FriendlyName
125+
FriendlyName,
126+
InclusionDisksList,
127+
ExclusionDisksList,
128+
ResetExclusionSettings,
129+
ExcludeAllDataDisks
122130
}
123131

124132
public enum ProtectionCheckParams

src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs

Lines changed: 58 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,4 +586,19 @@ Please contact Microsoft for further assistance.</value>
586586
<data name="TargetContainerRequiredException" xml:space="preserve">
587587
<value>Target Container parameter is required for this operation.</value>
588588
</data>
589+
<data name="DiskExclusionParametersRedundant" xml:space="preserve">
590+
<value>Multiple Parameters Provided. Please specify only one of the parameters from InclusionDisksList, ExclusionDisksList, ResetExclusionSetting and ExcludeAllDataDisks.</value>
591+
</data>
592+
<data name="InclusionListRedundantError" xml:space="preserve">
593+
<value>Both Inclusion and Exclusion lists provided. Please provide only one of them.</value>
594+
</data>
595+
<data name="TargetRGUnmanagedRestoreDuplicateParamsException" xml:space="preserve">
596+
<value>Both RestoreAsUnmanagedDisks and TargetResourceGroupName can't be spceified. Please give Only one parameter and retry.</value>
597+
</data>
598+
<data name="UnmanagedVMRestoreWarning" xml:space="preserve">
599+
<value>The disks of the managed VM will be restored as unmanaged since TargetResourceGroupName parameter is not provided. This will NOT leverage the instant restore functionality and hence can be significantly slow based on given storage account. To leverage instant restore, provide the TargetResourceGroupName parameter. Otherwise, provide the intent next time by passing the RestoreAsUnmanagedDisks parameter</value>
600+
</data>
601+
<data name="AzureFileSourceFilePathRedundantException" xml:space="preserve">
602+
<value>Both source file path and multiple source file paths provided. Please give only one option</value>
603+
</data>
589604
</root>

src/RecoveryServices/RecoveryServices.Backup.Models/RecoveryServices.Backup.Models.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<PsModuleName>RecoveryServices</PsModuleName>
@@ -14,5 +14,5 @@
1414
<ItemGroup>
1515
<PackageReference Include="Microsoft.Azure.Management.RecoveryServices.Backup" Version="4.0.1-preview" />
1616
</ItemGroup>
17-
17+
1818
</Project>

0 commit comments

Comments
 (0)