Skip to content

Commit 09bc869

Browse files
brandong-msNoriZC
andauthored
Update powershell for SQL immutable LTR preview cmdlets (#28329)
Co-authored-by: NoriZC <[email protected]>
1 parent 81beeda commit 09bc869

File tree

64 files changed

+23799
-5379
lines changed

Some content is hidden

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

64 files changed

+23799
-5379
lines changed

src/Sql/Sql.Management.Sdk/Generated/ILongTermRetentionBackupsOperations.cs

Lines changed: 868 additions & 172 deletions
Large diffs are not rendered by default.

src/Sql/Sql.Management.Sdk/Generated/ILongTermRetentionPoliciesOperations.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public partial interface ILongTermRetentionPoliciesOperations
4141
/// <exception cref="Microsoft.Rest.SerializationException">
4242
/// Thrown when unable to deserialize the response
4343
/// </exception>
44-
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));
44+
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));
4545

4646
/// <summary>
47-
/// Sets a database&#39;s long term retention policy.
47+
/// Gets a database&#39;s long term retention policy.
4848
/// </summary>
4949
/// <remarks>
50-
/// Sets a database&#39;s long term retention policy.
50+
/// Gets a database&#39;s long term retention policy.
5151
/// </remarks>
5252
/// <param name='resourceGroupName'>
5353
/// The name of the resource group that contains the resource. You can obtain
@@ -59,9 +59,6 @@ public partial interface ILongTermRetentionPoliciesOperations
5959
/// <param name='databaseName'>
6060
/// The name of the database.
6161
/// </param>
62-
/// <param name='parameters'>
63-
/// The long term retention policy info.
64-
/// </param>
6562
/// <param name='customHeaders'>
6663
/// The headers that will be added to request.
6764
/// </param>
@@ -74,13 +71,13 @@ public partial interface ILongTermRetentionPoliciesOperations
7471
/// <exception cref="Microsoft.Rest.SerializationException">
7572
/// Thrown when unable to deserialize the response
7673
/// </exception>
77-
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));
74+
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));
7875

7976
/// <summary>
80-
/// Gets a database&#39;s long term retention policy.
77+
/// Set or update a database&#39;s long term retention policy.
8178
/// </summary>
8279
/// <remarks>
83-
/// Gets a database&#39;s long term retention policy.
80+
/// Set or update a database&#39;s long term retention policy.
8481
/// </remarks>
8582
/// <param name='resourceGroupName'>
8683
/// The name of the resource group that contains the resource. You can obtain
@@ -92,6 +89,9 @@ public partial interface ILongTermRetentionPoliciesOperations
9289
/// <param name='databaseName'>
9390
/// The name of the database.
9491
/// </param>
92+
/// <param name='parameters'>
93+
/// The long term retention policy info.
94+
/// </param>
9595
/// <param name='customHeaders'>
9696
/// The headers that will be added to request.
9797
/// </param>
@@ -104,13 +104,13 @@ public partial interface ILongTermRetentionPoliciesOperations
104104
/// <exception cref="Microsoft.Rest.SerializationException">
105105
/// Thrown when unable to deserialize the response
106106
/// </exception>
107-
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));
107+
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));
108108

109109
/// <summary>
110-
/// Sets a database&#39;s long term retention policy.
110+
/// Set or update a database&#39;s long term retention policy.
111111
/// </summary>
112112
/// <remarks>
113-
/// Sets a database&#39;s long term retention policy.
113+
/// Set or update a database&#39;s long term retention policy.
114114
/// </remarks>
115115
/// <param name='resourceGroupName'>
116116
/// The name of the resource group that contains the resource. You can obtain
@@ -137,7 +137,7 @@ public partial interface ILongTermRetentionPoliciesOperations
137137
/// <exception cref="Microsoft.Rest.SerializationException">
138138
/// Thrown when unable to deserialize the response
139139
/// </exception>
140-
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));
140+
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));
141141

142142
/// <summary>
143143
/// Gets a database&#39;s long term retention policy.

0 commit comments

Comments
 (0)