-
Notifications
You must be signed in to change notification settings - Fork 4k
LTR MI cmdlets and tests #11192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LTR MI cmdlets and tests #11192
Conversation
Hi @xaliciayang could you please take a look at the CI? The build is failed. |
Can one of the admins verify this patch? |
src/Sql/Sql.Test/Sql.Test.csproj
Outdated
@@ -26,4 +26,10 @@ | |||
<ProjectReference Include="..\Sql\Sql.csproj" /> | |||
</ItemGroup> | |||
|
|||
<ItemGroup> | |||
<Reference Include="Microsoft.Azure.Management.Sql"> | |||
<HintPath>..\..\..\..\azure-sdk-for-net\artifacts\bin\Microsoft.Azure.Management.Sql\Debug\net452\Microsoft.Azure.Management.Sql.dll</HintPath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need version change after .net
src/Sql/Sql/ManagedDatabase Backup/Cmdlet/GetAzureSqlManagedDatabaseLongTermRetentionBackup.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/ManagedDatabase Backup/Cmdlet/GetAzureSqlManagedDatabaseLongTermRetentionBackup.cs
Outdated
Show resolved
Hide resolved
[Parameter(Mandatory = true, | ||
ParameterSetName = RemoveBackupDefaultSet, | ||
Position = 0, | ||
HelpMessage = "The location of the backups' source server.")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instance or managed instance
...ql/Sql/ManagedDatabase Backup/Cmdlet/RemoveAzureSqlManagedDatabaseLongTermRetentionBackup.cs
Outdated
Show resolved
Hide resolved
...ql/Sql/ManagedDatabase Backup/Cmdlet/RemoveAzureSqlManagedDatabaseLongTermRetentionBackup.cs
Outdated
Show resolved
Hide resolved
...ql/Sql/ManagedDatabase Backup/Cmdlet/RemoveAzureSqlManagedDatabaseLongTermRetentionBackup.cs
Outdated
Show resolved
Hide resolved
///// <param name="managedDatabaseName">Managed Instance name</param> | ||
///// <param name="managedBackupRetentionPolicy">Managed Database object</param> | ||
///// <param name="deletionDate">Deletion date of the database, if it is deleted</param> | ||
//public AzureSqlManagedDatabaseBackupLongTermRetentionPolicyModel(string resourceGroup, string managedInstanceName, string managedDatabaseName, string weeklyRetention, string monthlyRetention, string yearlyRetention, int? weekOfYear) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove please, not used.
src/Sql/Sql/ManagedDatabase Backup/Model/AzureSqlManagedDatabaseLongTermRetentionBackupModel.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/ManagedDatabase Backup/Model/AzureSqlManagedDatabaseLongTermRetentionBackupModel.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/ManagedDatabase Backup/Model/AzureSqlManagedDatabaseLongTermRetentionBackupModel.cs
Outdated
Show resolved
Hide resolved
public string ResourceId { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the server name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update description
src/Sql/Sql/ManagedDatabase Backup/Services/AzureSqlManagedDatabaseBackupAdapter.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/ManagedDatabase Backup/Services/AzureSqlManagedDatabaseBackupCommunicator.cs
Outdated
Show resolved
Hide resolved
src/Sql/Sql/ChangeLog.md
Outdated
|
||
## Version 2.3.0 | ||
* Added support for cross subscription point in time restore on Managed Instances. | ||
* Add support for changing existing Sql Managed Instance hardware generation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
src/Sql/Sql/ChangeLog.md
Outdated
@@ -19,9 +19,15 @@ | |||
--> | |||
## Upcoming Release | |||
* Added PublicNetworkAccess to New-AzSqlServer and Set-AzSqlServer | |||
* Added support for Long Term Retention services for Managed instances |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added support to manage Long Term Retention backups for Managed instances
-TargetInstanceDatabaseName <String> -TargetInstanceName <String> -TargetResourceGroupName <String> [-AsJob] | ||
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
The **Restore-AzSqlInstanceDatabase** cmdlet restores an instance database from a geo-redundant backup or a point in time in a live database. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Restore-AzSqlInstanceDatabase cmdlet restores an instance database from a geo-redundant backup or a long term retention backup or a point in time in a live database.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops
Hi @xaliciayang
|
LTR MI cmdlets and tests
Description
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added