Skip to content

Update powershell for SQL immutable LTR preview cmdlets #28329

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3854887
Merge pull request #1 from Azure/master
brandong-ms Sep 11, 2020
e19f24e
Merge https://github.com/Azure/azure-powershell
brandong-ms Sep 18, 2020
eb37f98
Merge branch 'master' of https://github.com/Azure/azure-powershell
brandong-ms Oct 16, 2020
b7ee16a
Merge branch 'Azure:main' into master
brandong-ms Jul 25, 2025
206196c
Pure autorest generation
brandong-ms Jul 28, 2025
4ac9650
Update LTR cmdlets for Immutable LTR GA feature set
brandong-ms Jul 29, 2025
42d883a
Tweaks to parameter descriptions
brandong-ms Jul 29, 2025
4d70898
Updating module manifest to add new cmdlets, and updating changelog.m…
brandong-ms Jul 29, 2025
26b8883
Add documentation new cmdlets, and updated for existing cmdlets. Twea…
brandong-ms Jul 30, 2025
7596962
First round of test updates
brandong-ms Jul 30, 2025
b65ce9d
Adding tests for lock and remove immutability
brandong-ms Jul 31, 2025
384a377
Update TestRestorePointInTimeBackup to be recordable
brandong-ms Jul 31, 2025
0d09c61
Respond to Copilot PR feedback
brandong-ms Jul 31, 2025
b3bab5b
Making TestShortTermRetentionPolicy recordable
brandong-ms Jul 31, 2025
3427184
Remove wait from the TestRestorePointInTimeBackup test when not recor…
brandong-ms Jul 31, 2025
6607e40
Pass in the isRecording switch basd on TestMockSupport.RunningMocked
brandong-ms Jul 31, 2025
f81c2cb
Merge branch 'Azure:main' into update-sql-powershell-for-rest-api-202…
brandong-ms Aug 1, 2025
727b3e7
Update help files to confim to PlatyPS schema and fix example analysi…
brandong-ms Aug 4, 2025
959647e
Merge branch 'Az.Sql-preview' into update-sql-powershell-for-rest-api…
brandong-ms Aug 5, 2025
cb206ec
Update changelog after merge
brandong-ms Aug 5, 2025
dd70f58
Update Remove-AzSqlDatabaseLongTermRetentionBackupImmutability.md
NoriZC Aug 5, 2025
7654b67
Update Remove-AzSqlDatabaseLongTermRetentionBackupLegalHold.md
NoriZC Aug 5, 2025
513ba9d
Update Set-AzSqlDatabaseLongTermRetentionBackupLegalHold.md
NoriZC Aug 5, 2025
c9a6656
Remove prompts from examples, and remove newlines from help files
brandong-ms Aug 5, 2025
ade1be0
Update Set-AzSqlDatabaseLongTermRetentionBackupLegalHold.md
NoriZC Aug 6, 2025
633464b
Fix the test script to add additional parameter to avoid prompt
brandong-ms Aug 6, 2025
32848d4
Merge branch 'update-sql-powershell-for-rest-api-2024-11-01-preview' …
brandong-ms Aug 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,040 changes: 868 additions & 172 deletions src/Sql/Sql.Management.Sdk/Generated/ILongTermRetentionBackupsOperations.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy>> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<LongTermRetentionPolicy>>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Sets a database&#39;s long term retention policy.
/// Gets a database&#39;s long term retention policy.
/// </summary>
/// <remarks>
/// Sets a database&#39;s long term retention policy.
/// Gets a database&#39;s long term retention policy.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group that contains the resource. You can obtain
Expand All @@ -59,9 +59,6 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <param name='databaseName'>
/// The name of the database.
/// </param>
/// <param name='parameters'>
/// The long term retention policy info.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -74,13 +71,13 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy>> GetWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets a database&#39;s long term retention policy.
/// Set or update a database&#39;s long term retention policy.
/// </summary>
/// <remarks>
/// Gets a database&#39;s long term retention policy.
/// Set or update a database&#39;s long term retention policy.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group that contains the resource. You can obtain
Expand All @@ -92,6 +89,9 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <param name='databaseName'>
/// The name of the database.
/// </param>
/// <param name='parameters'>
/// The long term retention policy info.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
Expand All @@ -104,13 +104,13 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<LongTermRetentionPolicy>>> ListByDatabaseWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy,LongTermRetentionPoliciesCreateOrUpdateHeaders>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Sets a database&#39;s long term retention policy.
/// Set or update a database&#39;s long term retention policy.
/// </summary>
/// <remarks>
/// Sets a database&#39;s long term retention policy.
/// Set or update a database&#39;s long term retention policy.
/// </remarks>
/// <param name='resourceGroupName'>
/// The name of the resource group that contains the resource. You can obtain
Expand All @@ -137,7 +137,7 @@ public partial interface ILongTermRetentionPoliciesOperations
/// <exception cref="Microsoft.Rest.SerializationException">
/// Thrown when unable to deserialize the response
/// </exception>
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<LongTermRetentionPolicy,LongTermRetentionPoliciesCreateOrUpdateHeaders>> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serverName, string databaseName, LongTermRetentionPolicy parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));

/// <summary>
/// Gets a database&#39;s long term retention policy.
Expand Down
Loading