Skip to content

Commit 4133dec

Browse files
MilanNzMilan Adamovic
andauthored
Update Instance Pool API version to Preview 2023-05-01 (#23336)
Co-authored-by: Milan Adamovic <[email protected]>
1 parent 8289620 commit 4133dec

15 files changed

+549
-324
lines changed

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

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,11 @@ namespace Microsoft.Azure.Management.Sql
1414
public partial interface IInstancePoolsOperations
1515
{
1616
/// <summary>
17-
/// Gets an instance pool.
17+
/// Gets a list of all instance pools in the subscription.
1818
/// </summary>
1919
/// <remarks>
20-
/// Gets an instance pool.
20+
/// Gets a list of all instance pools in the subscription.
2121
/// </remarks>
22-
/// <param name='resourceGroupName'>
23-
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
24-
/// </param>
25-
/// <param name='instancePoolName'>
26-
/// The name of the instance pool to be retrieved.
27-
/// </param>
2822
/// <param name='customHeaders'>
2923
/// The headers that will be added to request.
3024
/// </param>
@@ -37,23 +31,17 @@ public partial interface IInstancePoolsOperations
3731
/// <exception cref="Microsoft.Rest.SerializationException">
3832
/// Thrown when unable to deserialize the response
3933
/// </exception>
40-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> GetWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
34+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
4135

4236
/// <summary>
43-
/// Creates or updates an instance pool.
37+
/// Gets a list of instance pools in the resource group
4438
/// </summary>
4539
/// <remarks>
46-
/// Creates or updates an instance pool.
40+
/// Gets a list of instance pools in the resource group
4741
/// </remarks>
4842
/// <param name='resourceGroupName'>
4943
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
5044
/// </param>
51-
/// <param name='instancePoolName'>
52-
/// The name of the instance pool to be created or updated.
53-
/// </param>
54-
/// <param name='parameters'>
55-
/// The requested instance pool resource state.
56-
/// </param>
5745
/// <param name='customHeaders'>
5846
/// The headers that will be added to request.
5947
/// </param>
@@ -66,19 +54,19 @@ public partial interface IInstancePoolsOperations
6654
/// <exception cref="Microsoft.Rest.SerializationException">
6755
/// Thrown when unable to deserialize the response
6856
/// </exception>
69-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, InstancePool parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
57+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
7058

7159
/// <summary>
72-
/// Deletes an instance pool
60+
/// Gets an instance pool.
7361
/// </summary>
7462
/// <remarks>
75-
/// Deletes an instance pool
63+
/// Gets an instance pool.
7664
/// </remarks>
7765
/// <param name='resourceGroupName'>
7866
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
7967
/// </param>
8068
/// <param name='instancePoolName'>
81-
/// The name of the instance pool to be deleted
69+
/// The name of the instance pool to be retrieved.
8270
/// </param>
8371
/// <param name='customHeaders'>
8472
/// The headers that will be added to request.
@@ -89,19 +77,22 @@ public partial interface IInstancePoolsOperations
8977
/// <exception cref="Microsoft.Rest.Azure.CloudException">
9078
/// Thrown when the operation returned an invalid status code
9179
/// </exception>
92-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
80+
/// <exception cref="Microsoft.Rest.SerializationException">
81+
/// Thrown when unable to deserialize the response
82+
/// </exception>
83+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> GetWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
9384

9485
/// <summary>
95-
/// Updates an instance pool.
86+
/// Creates or updates an instance pool.
9687
/// </summary>
9788
/// <remarks>
98-
/// Updates an instance pool.
89+
/// Creates or updates an instance pool.
9990
/// </remarks>
10091
/// <param name='resourceGroupName'>
10192
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
10293
/// </param>
10394
/// <param name='instancePoolName'>
104-
/// The name of the instance pool to be updated.
95+
/// The name of the instance pool to be created or updated.
10596
/// </param>
10697
/// <param name='parameters'>
10798
/// The requested instance pool resource state.
@@ -118,17 +109,20 @@ public partial interface IInstancePoolsOperations
118109
/// <exception cref="Microsoft.Rest.SerializationException">
119110
/// Thrown when unable to deserialize the response
120111
/// </exception>
121-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> UpdateWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, InstancePoolUpdate parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
112+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, InstancePool parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
122113

123114
/// <summary>
124-
/// Gets a list of instance pools in the resource group
115+
/// Deletes an instance pool
125116
/// </summary>
126117
/// <remarks>
127-
/// Gets a list of instance pools in the resource group
118+
/// Deletes an instance pool
128119
/// </remarks>
129120
/// <param name='resourceGroupName'>
130121
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
131122
/// </param>
123+
/// <param name='instancePoolName'>
124+
/// The name of the instance pool to be deleted
125+
/// </param>
132126
/// <param name='customHeaders'>
133127
/// The headers that will be added to request.
134128
/// </param>
@@ -138,17 +132,23 @@ public partial interface IInstancePoolsOperations
138132
/// <exception cref="Microsoft.Rest.Azure.CloudException">
139133
/// Thrown when the operation returned an invalid status code
140134
/// </exception>
141-
/// <exception cref="Microsoft.Rest.SerializationException">
142-
/// Thrown when unable to deserialize the response
143-
/// </exception>
144-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListByResourceGroupWithHttpMessagesAsync(string resourceGroupName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
135+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
145136

146137
/// <summary>
147-
/// Gets a list of all instance pools in the subscription.
138+
/// Updates an instance pool.
148139
/// </summary>
149140
/// <remarks>
150-
/// Gets a list of all instance pools in the subscription.
141+
/// Updates an instance pool.
151142
/// </remarks>
143+
/// <param name='resourceGroupName'>
144+
/// The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
145+
/// </param>
146+
/// <param name='instancePoolName'>
147+
/// The name of the instance pool to be updated.
148+
/// </param>
149+
/// <param name='parameters'>
150+
/// The requested instance pool resource state.
151+
/// </param>
152152
/// <param name='customHeaders'>
153153
/// The headers that will be added to request.
154154
/// </param>
@@ -161,7 +161,7 @@ public partial interface IInstancePoolsOperations
161161
/// <exception cref="Microsoft.Rest.SerializationException">
162162
/// Thrown when unable to deserialize the response
163163
/// </exception>
164-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListWithHttpMessagesAsync(System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
164+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> UpdateWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, InstancePoolUpdate parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
165165

166166
/// <summary>
167167
/// Creates or updates an instance pool.
@@ -245,10 +245,10 @@ public partial interface IInstancePoolsOperations
245245
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<InstancePool>> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string instancePoolName, InstancePoolUpdate parameters, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
246246

247247
/// <summary>
248-
/// Gets a list of instance pools in the resource group
248+
/// Gets a list of all instance pools in the subscription.
249249
/// </summary>
250250
/// <remarks>
251-
/// Gets a list of instance pools in the resource group
251+
/// Gets a list of all instance pools in the subscription.
252252
/// </remarks>
253253
/// <param name='nextPageLink'>
254254
/// The NextLink from the previous successful call to List operation.
@@ -265,13 +265,13 @@ public partial interface IInstancePoolsOperations
265265
/// <exception cref="Microsoft.Rest.SerializationException">
266266
/// Thrown when unable to deserialize the response
267267
/// </exception>
268-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
268+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
269269

270270
/// <summary>
271-
/// Gets a list of all instance pools in the subscription.
271+
/// Gets a list of instance pools in the resource group
272272
/// </summary>
273273
/// <remarks>
274-
/// Gets a list of all instance pools in the subscription.
274+
/// Gets a list of instance pools in the resource group
275275
/// </remarks>
276276
/// <param name='nextPageLink'>
277277
/// The NextLink from the previous successful call to List operation.
@@ -288,7 +288,7 @@ public partial interface IInstancePoolsOperations
288288
/// <exception cref="Microsoft.Rest.SerializationException">
289289
/// Thrown when unable to deserialize the response
290290
/// </exception>
291-
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
291+
System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<InstancePool>>> ListByResourceGroupNextWithHttpMessagesAsync(string nextPageLink, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
292292

293293
}
294294
}

0 commit comments

Comments
 (0)