Skip to content

Commit 0c8a18c

Browse files
authored
[Synapse]Powershell Update Release (#27348)
1 parent 79c2bca commit 0c8a18c

File tree

229 files changed

+8344
-2416
lines changed

Some content is hidden

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

229 files changed

+8344
-2416
lines changed

src/Synapse/Synapse.Management.Sdk/Generated/BigDataPoolsOperations.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@ internal BigDataPoolsOperations (SynapseManagementClient client)
563563
/// <param name='cancellationToken'>
564564
/// The cancellation token.
565565
/// </param>
566-
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<object>> DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string bigDataPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
566+
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<BigDataPoolResourceInfo>> DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string bigDataPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
567567
{
568568
// Send Request
569-
Microsoft.Rest.Azure.AzureOperationResponse<object> _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, bigDataPoolName, customHeaders, cancellationToken).ConfigureAwait(false);
569+
Microsoft.Rest.Azure.AzureOperationResponse<BigDataPoolResourceInfo> _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, bigDataPoolName, customHeaders, cancellationToken).ConfigureAwait(false);
570570
return await this.Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false);
571571
}
572572

@@ -1100,7 +1100,7 @@ internal BigDataPoolsOperations (SynapseManagementClient client)
11001100
/// <return>
11011101
/// A response object containing the response body and response headers.
11021102
/// </return>
1103-
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<object>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string bigDataPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
1103+
public async System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<BigDataPoolResourceInfo>> BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string bigDataPoolName, System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
11041104
{
11051105

11061106

@@ -1261,7 +1261,7 @@ internal BigDataPoolsOperations (SynapseManagementClient client)
12611261
throw ex;
12621262
}
12631263
// Create Result
1264-
var _result = new Microsoft.Rest.Azure.AzureOperationResponse<object>();
1264+
var _result = new Microsoft.Rest.Azure.AzureOperationResponse<BigDataPoolResourceInfo>();
12651265
_result.Request = _httpRequest;
12661266
_result.Response = _httpResponse;
12671267

@@ -1275,7 +1275,7 @@ internal BigDataPoolsOperations (SynapseManagementClient client)
12751275
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
12761276
try
12771277
{
1278-
_result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, this.Client.DeserializationSettings);
1278+
_result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject<BigDataPoolResourceInfo>(_responseContent, this.Client.DeserializationSettings);
12791279
}
12801280
catch (Newtonsoft.Json.JsonException ex)
12811281
{
@@ -1293,7 +1293,7 @@ internal BigDataPoolsOperations (SynapseManagementClient client)
12931293
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
12941294
try
12951295
{
1296-
_result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject<object>(_responseContent, this.Client.DeserializationSettings);
1296+
_result.Body = Microsoft.Rest.Serialization.SafeJsonConvert.DeserializeObject<BigDataPoolResourceInfo>(_responseContent, this.Client.DeserializationSettings);
12971297
}
12981298
catch (Newtonsoft.Json.JsonException ex)
12991299
{

src/Synapse/Synapse.Management.Sdk/Generated/BigDataPoolsOperationsExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public static BigDataPoolResourceInfo Update(this IBigDataPoolsOperations operat
168168
/// <param name='bigDataPoolName'>
169169
/// Big Data pool name
170170
/// </param>
171-
public static object Delete(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName)
171+
public static BigDataPoolResourceInfo Delete(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName)
172172
{
173173
return ((IBigDataPoolsOperations)operations).DeleteAsync(resourceGroupName, workspaceName, bigDataPoolName).GetAwaiter().GetResult();
174174
}
@@ -191,7 +191,7 @@ public static object Delete(this IBigDataPoolsOperations operations, string reso
191191
/// <param name='cancellationToken'>
192192
/// The cancellation token.
193193
/// </param>
194-
public static async System.Threading.Tasks.Task<object> DeleteAsync(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
194+
public static async System.Threading.Tasks.Task<BigDataPoolResourceInfo> DeleteAsync(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
195195
{
196196
using (var _result = await operations.DeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, bigDataPoolName, null, cancellationToken).ConfigureAwait(false))
197197
{
@@ -303,7 +303,7 @@ public static Microsoft.Rest.Azure.IPage<BigDataPoolResourceInfo> ListByWorkspac
303303
/// <param name='bigDataPoolName'>
304304
/// Big Data pool name
305305
/// </param>
306-
public static object BeginDelete(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName)
306+
public static BigDataPoolResourceInfo BeginDelete(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName)
307307
{
308308
return ((IBigDataPoolsOperations)operations).BeginDeleteAsync(resourceGroupName, workspaceName, bigDataPoolName).GetAwaiter().GetResult();
309309
}
@@ -326,7 +326,7 @@ public static object BeginDelete(this IBigDataPoolsOperations operations, string
326326
/// <param name='cancellationToken'>
327327
/// The cancellation token.
328328
/// </param>
329-
public static async System.Threading.Tasks.Task<object> BeginDeleteAsync(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
329+
public static async System.Threading.Tasks.Task<BigDataPoolResourceInfo> BeginDeleteAsync(this IBigDataPoolsOperations operations, string resourceGroupName, string workspaceName, string bigDataPoolName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
330330
{
331331
using (var _result = await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, bigDataPoolName, null, cancellationToken).ConfigureAwait(false))
332332
{

0 commit comments

Comments
 (0)