Skip to content

Commit 0afe35c

Browse files
authored
Revert "[CognitiveServices] Regenerate sdk to pass validation (#23638)" (#23651)
This reverts commit 7d344d8.
1 parent 7be018a commit 0afe35c

File tree

62 files changed

+428
-782
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

+428
-782
lines changed

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

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

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

997996
}
998997
/// <summary>
999-
/// Regenerates the specified account key for the specified Cognitive Services
1000-
/// account.
998+
/// Regenerates the specified account key for the specified Cognitive Services account.
1001999
/// </summary>
10021000
/// <param name='resourceGroupName'>
10031001
/// The name of the resource group. The name is case insensitive.
@@ -1494,9 +1492,7 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
14941492
/// The name of Cognitive Services account.
14951493
/// </param>
14961494
/// <param name='filter'>
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).
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).
15001496
/// </param>
15011497
/// <param name='customHeaders'>
15021498
/// Headers that will be added to request.
@@ -1972,9 +1968,7 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
19721968

19731969
}
19741970
/// <summary>
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.
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.
19781972
/// </summary>
19791973
/// <param name='resourceGroupName'>
19801974
/// The name of the resource group. The name is case insensitive.
@@ -2536,7 +2530,7 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
25362530

25372531
}
25382532
/// <summary>
2539-
/// Deletes a Cognitive Services account from the resource group.
2533+
/// Deletes a Cognitive Services account from the resource group.
25402534
/// </summary>
25412535
/// <param name='resourceGroupName'>
25422536
/// The name of the resource group. The name is case insensitive.
@@ -2753,8 +2747,7 @@ internal AccountsOperations (CognitiveServicesManagementClient client)
27532747

27542748
}
27552749
/// <summary>
2756-
/// Returns all the resources of a particular type belonging to a resource
2757-
/// group
2750+
/// Returns all the resources of a particular type belonging to a resource group
27582751
/// </summary>
27592752
/// <param name='nextPageLink'>
27602753
/// The NextLink from the previous successful call to List operation.

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

Lines changed: 16 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ 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
17-
/// resource type. It holds the keys for developer to access intelligent APIs.
18-
/// It&#39;s also the resource type for billing.
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.
1917
/// </summary>
2018
/// <param name='operations'>
2119
/// The operations group for this extension method.
@@ -32,9 +30,7 @@ public static Account Create(this IAccountsOperations operations, string resourc
3230
}
3331

3432
/// <summary>
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.
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.
3834
/// </summary>
3935
/// <param name='operations'>
4036
/// The operations group for this extension method.
@@ -95,7 +91,7 @@ public static Account Update(this IAccountsOperations operations, string resourc
9591
}
9692
}
9793
/// <summary>
98-
/// Deletes a Cognitive Services account from the resource group.
94+
/// Deletes a Cognitive Services account from the resource group.
9995
/// </summary>
10096
/// <param name='operations'>
10197
/// The operations group for this extension method.
@@ -112,7 +108,7 @@ public static void Delete(this IAccountsOperations operations, string resourceGr
112108
}
113109

114110
/// <summary>
115-
/// Deletes a Cognitive Services account from the resource group.
111+
/// Deletes a Cognitive Services account from the resource group.
116112
/// </summary>
117113
/// <param name='operations'>
118114
/// The operations group for this extension method.
@@ -170,8 +166,7 @@ public static Account Get(this IAccountsOperations operations, string resourceGr
170166
}
171167
}
172168
/// <summary>
173-
/// Returns all the resources of a particular type belonging to a resource
174-
/// group
169+
/// Returns all the resources of a particular type belonging to a resource group
175170
/// </summary>
176171
/// <param name='operations'>
177172
/// The operations group for this extension method.
@@ -185,8 +180,7 @@ public static Microsoft.Rest.Azure.IPage<Account> ListByResourceGroup(this IAcco
185180
}
186181

187182
/// <summary>
188-
/// Returns all the resources of a particular type belonging to a resource
189-
/// group
183+
/// Returns all the resources of a particular type belonging to a resource group
190184
/// </summary>
191185
/// <param name='operations'>
192186
/// The operations group for this extension method.
@@ -271,8 +265,7 @@ public static ApiKeys ListKeys(this IAccountsOperations operations, string resou
271265
}
272266
}
273267
/// <summary>
274-
/// Regenerates the specified account key for the specified Cognitive Services
275-
/// account.
268+
/// Regenerates the specified account key for the specified Cognitive Services account.
276269
/// </summary>
277270
/// <param name='operations'>
278271
/// The operations group for this extension method.
@@ -289,8 +282,7 @@ public static ApiKeys RegenerateKey(this IAccountsOperations operations, string
289282
}
290283

291284
/// <summary>
292-
/// Regenerates the specified account key for the specified Cognitive Services
293-
/// account.
285+
/// Regenerates the specified account key for the specified Cognitive Services account.
294286
/// </summary>
295287
/// <param name='operations'>
296288
/// The operations group for this extension method.
@@ -363,9 +355,7 @@ public static AccountSkuListResult ListSkus(this IAccountsOperations operations,
363355
/// The name of Cognitive Services account.
364356
/// </param>
365357
/// <param name='filter'>
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).
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).
369359
/// </param>
370360
public static UsageListResult ListUsages(this IAccountsOperations operations, string resourceGroupName, string accountName, string filter = default(string))
371361
{
@@ -385,9 +375,7 @@ public static AccountSkuListResult ListSkus(this IAccountsOperations operations,
385375
/// The name of Cognitive Services account.
386376
/// </param>
387377
/// <param name='filter'>
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).
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).
391379
/// </param>
392380
/// <param name='cancellationToken'>
393381
/// The cancellation token.
@@ -439,9 +427,7 @@ public static Microsoft.Rest.Azure.IPage<AccountModel> ListModels(this IAccounts
439427
}
440428
}
441429
/// <summary>
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.
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.
445431
/// </summary>
446432
/// <param name='operations'>
447433
/// The operations group for this extension method.
@@ -458,9 +444,7 @@ public static Account BeginCreate(this IAccountsOperations operations, string re
458444
}
459445

460446
/// <summary>
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.
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.
464448
/// </summary>
465449
/// <param name='operations'>
466450
/// The operations group for this extension method.
@@ -521,7 +505,7 @@ public static Account BeginUpdate(this IAccountsOperations operations, string re
521505
}
522506
}
523507
/// <summary>
524-
/// Deletes a Cognitive Services account from the resource group.
508+
/// Deletes a Cognitive Services account from the resource group.
525509
/// </summary>
526510
/// <param name='operations'>
527511
/// The operations group for this extension method.
@@ -538,7 +522,7 @@ public static void BeginDelete(this IAccountsOperations operations, string resou
538522
}
539523

540524
/// <summary>
541-
/// Deletes a Cognitive Services account from the resource group.
525+
/// Deletes a Cognitive Services account from the resource group.
542526
/// </summary>
543527
/// <param name='operations'>
544528
/// The operations group for this extension method.
@@ -557,8 +541,7 @@ public static void BeginDelete(this IAccountsOperations operations, string resou
557541
(await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, accountName, null, cancellationToken).ConfigureAwait(false)).Dispose();
558542
}
559543
/// <summary>
560-
/// Returns all the resources of a particular type belonging to a resource
561-
/// group
544+
/// Returns all the resources of a particular type belonging to a resource group
562545
/// </summary>
563546
/// <param name='operations'>
564547
/// The operations group for this extension method.
@@ -572,8 +555,7 @@ public static Microsoft.Rest.Azure.IPage<Account> ListByResourceGroupNext(this I
572555
}
573556

574557
/// <summary>
575-
/// Returns all the resources of a particular type belonging to a resource
576-
/// group
558+
/// Returns all the resources of a particular type belonging to a resource group
577559
/// </summary>
578560
/// <param name='operations'>
579561
/// 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)