Skip to content

Commit 7d344d8

Browse files
authored
[CognitiveServices] Regenerate sdk to pass validation (#23638)
* Test ConnitiveServices sdk * Sync sdk
1 parent 1cca543 commit 7d344d8

File tree

62 files changed

+782
-428
lines changed

Some content is hidden

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

62 files changed

+782
-428
lines changed

src/CognitiveServices/CognitiveServices.Management.Sdk/Generated/AccountsOperations.cs

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
349349

350350
}
351351
/// <summary>
352-
/// Returns all the resources of a particular type belonging to a resource group
352+
/// Returns all the resources of a particular type belonging to a resource
353+
/// group
353354
/// </summary>
354355
/// <param name='resourceGroupName'>
355356
/// The name of the resource group. The name is case insensitive.
@@ -995,7 +996,8 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
995996

996997
}
997998
/// <summary>
998-
/// Regenerates the specified account key for the specified Cognitive Services account.
999+
/// Regenerates the specified account key for the specified Cognitive Services
1000+
/// account.
9991001
/// </summary>
10001002
/// <param name='resourceGroupName'>
10011003
/// The name of the resource group. The name is case insensitive.
@@ -1492,7 +1494,9 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
14921494
/// The name of Cognitive Services account.
14931495
/// </param>
14941496
/// <param name='filter'>
1495-
/// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
1497+
/// An OData filter expression that describes a subset of usages to return. The
1498+
/// supported parameter is name.value (name of the metric, can have an or of
1499+
/// multiple names).
14961500
/// </param>
14971501
/// <param name='customHeaders'>
14981502
/// Headers that will be added to request.
@@ -1968,7 +1972,9 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
19681972

19691973
}
19701974
/// <summary>
1971-
/// Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It&#39;s also the resource type for billing.
1975+
/// Create Cognitive Services Account. Accounts is a resource group wide
1976+
/// resource type. It holds the keys for developer to access intelligent APIs.
1977+
/// It&#39;s also the resource type for billing.
19721978
/// </summary>
19731979
/// <param name='resourceGroupName'>
19741980
/// The name of the resource group. The name is case insensitive.
@@ -2530,7 +2536,7 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
25302536

25312537
}
25322538
/// <summary>
2533-
/// Deletes a Cognitive Services account from the resource group.
2539+
/// Deletes a Cognitive Services account from the resource group.
25342540
/// </summary>
25352541
/// <param name='resourceGroupName'>
25362542
/// The name of the resource group. The name is case insensitive.
@@ -2747,7 +2753,8 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
27472753

27482754
}
27492755
/// <summary>
2750-
/// Returns all the resources of a particular type belonging to a resource group
2756+
/// Returns all the resources of a particular type belonging to a resource
2757+
/// group
27512758
/// </summary>
27522759
/// <param name='nextPageLink'>
27532760
/// The NextLink from the previous successful call to List operation.

src/CognitiveServices/CognitiveServices.Management.Sdk/Generated/AccountsOperationsExtensions.cs

Lines changed: 34 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ namespace Microsoft.Azure.Management.CognitiveServices
1313
public static partial class AccountsOperationsExtensions
1414
{
1515
/// <summary>
16-
/// Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It&#39;s also the resource type for billing.
16+
/// Create Cognitive Services Account. Accounts is a resource group wide
17+
/// resource type. It holds the keys for developer to access intelligent APIs.
18+
/// It&#39;s also the resource type for billing.
1719
/// </summary>
1820
/// <param name='operations'>
1921
/// The operations group for this extension method.
@@ -30,7 +32,9 @@ public static Account Create(this IAccountsOperations operations, string resourc
3032
}
3133

3234
/// <summary>
33-
/// Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It&#39;s also the resource type for billing.
35+
/// Create Cognitive Services Account. Accounts is a resource group wide
36+
/// resource type. It holds the keys for developer to access intelligent APIs.
37+
/// It&#39;s also the resource type for billing.
3438
/// </summary>
3539
/// <param name='operations'>
3640
/// The operations group for this extension method.
@@ -91,7 +95,7 @@ public static Account Update(this IAccountsOperations operations, string resourc
9195
}
9296
}
9397
/// <summary>
94-
/// Deletes a Cognitive Services account from the resource group.
98+
/// Deletes a Cognitive Services account from the resource group.
9599
/// </summary>
96100
/// <param name='operations'>
97101
/// The operations group for this extension method.
@@ -108,7 +112,7 @@ public static void Delete(this IAccountsOperations operations, string resourceGr
108112
}
109113

110114
/// <summary>
111-
/// Deletes a Cognitive Services account from the resource group.
115+
/// Deletes a Cognitive Services account from the resource group.
112116
/// </summary>
113117
/// <param name='operations'>
114118
/// The operations group for this extension method.
@@ -166,7 +170,8 @@ public static Account Get(this IAccountsOperations operations, string resourceGr
166170
}
167171
}
168172
/// <summary>
169-
/// Returns all the resources of a particular type belonging to a resource group
173+
/// Returns all the resources of a particular type belonging to a resource
174+
/// group
170175
/// </summary>
171176
/// <param name='operations'>
172177
/// The operations group for this extension method.
@@ -180,7 +185,8 @@ public static Microsoft.Rest.Azure.IPage<Account> ListByResourceGroup(this IAcco
180185
}
181186

182187
/// <summary>
183-
/// Returns all the resources of a particular type belonging to a resource group
188+
/// Returns all the resources of a particular type belonging to a resource
189+
/// group
184190
/// </summary>
185191
/// <param name='operations'>
186192
/// The operations group for this extension method.
@@ -265,7 +271,8 @@ public static ApiKeys ListKeys(this IAccountsOperations operations, string resou
265271
}
266272
}
267273
/// <summary>
268-
/// Regenerates the specified account key for the specified Cognitive Services account.
274+
/// Regenerates the specified account key for the specified Cognitive Services
275+
/// account.
269276
/// </summary>
270277
/// <param name='operations'>
271278
/// The operations group for this extension method.
@@ -282,7 +289,8 @@ public static ApiKeys RegenerateKey(this IAccountsOperations operations, string
282289
}
283290

284291
/// <summary>
285-
/// Regenerates the specified account key for the specified Cognitive Services account.
292+
/// Regenerates the specified account key for the specified Cognitive Services
293+
/// account.
286294
/// </summary>
287295
/// <param name='operations'>
288296
/// The operations group for this extension method.
@@ -355,7 +363,9 @@ public static AccountSkuListResult ListSkus(this IAccountsOperations operations,
355363
/// The name of Cognitive Services account.
356364
/// </param>
357365
/// <param name='filter'>
358-
/// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
366+
/// An OData filter expression that describes a subset of usages to return. The
367+
/// supported parameter is name.value (name of the metric, can have an or of
368+
/// multiple names).
359369
/// </param>
360370
public static UsageListResult ListUsages(this IAccountsOperations operations, string resourceGroupName, string accountName, string filter = default(string))
361371
{
@@ -375,7 +385,9 @@ public static AccountSkuListResult ListSkus(this IAccountsOperations operations,
375385
/// The name of Cognitive Services account.
376386
/// </param>
377387
/// <param name='filter'>
378-
/// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names).
388+
/// An OData filter expression that describes a subset of usages to return. The
389+
/// supported parameter is name.value (name of the metric, can have an or of
390+
/// multiple names).
379391
/// </param>
380392
/// <param name='cancellationToken'>
381393
/// The cancellation token.
@@ -427,7 +439,9 @@ public static Microsoft.Rest.Azure.IPage<AccountModel> ListModels(this IAccounts
427439
}
428440
}
429441
/// <summary>
430-
/// Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It&#39;s also the resource type for billing.
442+
/// Create Cognitive Services Account. Accounts is a resource group wide
443+
/// resource type. It holds the keys for developer to access intelligent APIs.
444+
/// It&#39;s also the resource type for billing.
431445
/// </summary>
432446
/// <param name='operations'>
433447
/// The operations group for this extension method.
@@ -444,7 +458,9 @@ public static Account BeginCreate(this IAccountsOperations operations, string re
444458
}
445459

446460
/// <summary>
447-
/// Create Cognitive Services Account. Accounts is a resource group wide resource type. It holds the keys for developer to access intelligent APIs. It&#39;s also the resource type for billing.
461+
/// Create Cognitive Services Account. Accounts is a resource group wide
462+
/// resource type. It holds the keys for developer to access intelligent APIs.
463+
/// It&#39;s also the resource type for billing.
448464
/// </summary>
449465
/// <param name='operations'>
450466
/// The operations group for this extension method.
@@ -505,7 +521,7 @@ public static Account BeginUpdate(this IAccountsOperations operations, string re
505521
}
506522
}
507523
/// <summary>
508-
/// Deletes a Cognitive Services account from the resource group.
524+
/// Deletes a Cognitive Services account from the resource group.
509525
/// </summary>
510526
/// <param name='operations'>
511527
/// The operations group for this extension method.
@@ -522,7 +538,7 @@ public static void BeginDelete(this IAccountsOperations operations, string resou
522538
}
523539

524540
/// <summary>
525-
/// Deletes a Cognitive Services account from the resource group.
541+
/// Deletes a Cognitive Services account from the resource group.
526542
/// </summary>
527543
/// <param name='operations'>
528544
/// The operations group for this extension method.
@@ -541,7 +557,8 @@ public static void BeginDelete(this IAccountsOperations operations, string resou
541557
(await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose();
542558
}
543559
/// <summary>
544-
/// Returns all the resources of a particular type belonging to a resource group
560+
/// Returns all the resources of a particular type belonging to a resource
561+
/// group
545562
/// </summary>
546563
/// <param name='operations'>
547564
/// The operations group for this extension method.
@@ -555,7 +572,8 @@ public static Microsoft.Rest.Azure.IPage<Account> ListByResourceGroupNext(this I
555572
}
556573

557574
/// <summary>
558-
/// Returns all the resources of a particular type belonging to a resource group
575+
/// Returns all the resources of a particular type belonging to a resource
576+
/// group
559577
/// </summary>
560578
/// <param name='operations'>
561579
/// The operations group for this extension method.

src/CognitiveServices/CognitiveServices.Management.Sdk/Generated/CognitiveServicesManagementClient.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ public partial class CognitiveServicesManagementClient : Microsoft.Rest.ServiceC
4949

5050
/// <summary>
5151
/// The retry timeout in seconds for Long Running Operations. Default
52-
/// value is 30.
52+
/// /// value is 30.
5353
/// </summary>
5454
public int? LongRunningOperationRetryTimeout { get; set;}
5555

5656
/// <summary>
57-
/// Whether a unique x-ms-client-request-id should be generated. When
58-
/// set to true a unique x-ms-client-request-id value is generated and
59-
/// included in each request. Default is true.
57+
/// Whether a unique x-ms-client-request-id should be generated. When
58+
/// /// set to true a unique x-ms-client-request-id value is generated and
59+
/// /// included in each request. Default is true.
6060
/// </summary>
6161
public bool? GenerateClientRequestId { get; set;}
6262

0 commit comments

Comments
 (0)