@azure/arm-selfhelp 2.0.0-beta.4 → 2.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/CHANGELOG.md +128 -8
  2. package/dist/index.js +50 -73
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts +2 -0
  7. package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts.map +1 -0
  8. package/dist-esm/samples-dev/{checkNameAvailabilityPostSample.js → checkNameAvailabilityCheckAvailabilitySample.js} +3 -3
  9. package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.js.map +1 -0
  10. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts +2 -0
  11. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts.map +1 -0
  12. package/dist-esm/samples-dev/{discoverySolutionNlpSubscriptionScopePostSample.js → discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js} +3 -5
  13. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js.map +1 -0
  14. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/{discoverySolutionNlpTenantScopePostSample.js → discoverySolutionNlpDiscoverSolutionsSample.js} +2 -2
  17. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.js.map +1 -0
  18. package/dist-esm/src/helpRP.d.ts +2 -3
  19. package/dist-esm/src/helpRP.d.ts.map +1 -1
  20. package/dist-esm/src/helpRP.js +3 -6
  21. package/dist-esm/src/helpRP.js.map +1 -1
  22. package/dist-esm/src/models/index.d.ts +9 -9
  23. package/dist-esm/src/models/index.d.ts.map +1 -1
  24. package/dist-esm/src/operations/checkNameAvailability.d.ts +2 -2
  25. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
  26. package/dist-esm/src/operations/checkNameAvailability.js +3 -3
  27. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
  28. package/dist-esm/src/operations/discoverySolutionNLP.d.ts +26 -0
  29. package/dist-esm/src/operations/discoverySolutionNLP.d.ts.map +1 -0
  30. package/dist-esm/src/operations/{discoverySolutionNLPSubscriptionScope.js → discoverySolutionNLP.js} +33 -7
  31. package/dist-esm/src/operations/discoverySolutionNLP.js.map +1 -0
  32. package/dist-esm/src/operations/index.d.ts +1 -2
  33. package/dist-esm/src/operations/index.d.ts.map +1 -1
  34. package/dist-esm/src/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -1
  36. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +2 -2
  37. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  38. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
  39. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
  40. package/dist-esm/src/operationsInterfaces/{discoverySolutionNLPTenantScope.js → discoverySolutionNLP.js} +1 -1
  41. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
  42. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -2
  43. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  44. package/dist-esm/src/operationsInterfaces/index.js +1 -2
  45. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  46. package/dist-esm/test/selfhelp_operations_test.spec.js +1 -1
  47. package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
  48. package/package.json +4 -4
  49. package/review/arm-selfhelp.api.md +11 -17
  50. package/src/helpRP.ts +5 -11
  51. package/src/models/index.ts +11 -9
  52. package/src/operations/checkNameAvailability.ts +7 -7
  53. package/src/operations/discoverySolutionNLP.ts +101 -0
  54. package/src/operations/index.ts +1 -2
  55. package/src/operationsInterfaces/checkNameAvailability.ts +5 -5
  56. package/src/operationsInterfaces/discoverySolutionNLP.ts +36 -0
  57. package/src/operationsInterfaces/index.ts +1 -2
  58. package/types/arm-selfhelp.d.ts +20 -25
  59. package/types/tsdoc-metadata.json +1 -1
  60. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts +0 -2
  61. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts.map +0 -1
  62. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +0 -1
  63. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +0 -2
  64. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +0 -1
  65. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +0 -1
  66. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +0 -2
  67. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +0 -1
  68. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +0 -1
  69. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +0 -20
  70. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
  71. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +0 -1
  72. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +0 -19
  73. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +0 -1
  74. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +0 -49
  75. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +0 -1
  76. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +0 -12
  77. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
  78. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +0 -9
  79. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +0 -1
  80. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +0 -11
  81. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +0 -1
  82. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +0 -1
  83. package/src/operations/discoverySolutionNLPSubscriptionScope.ts +0 -69
  84. package/src/operations/discoverySolutionNLPTenantScope.ts +0 -64
  85. package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +0 -26
  86. package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +0 -24
package/CHANGELOG.md CHANGED
@@ -1,8 +1,128 @@
1
1
  # Release History
2
2
 
3
+ ## 2.0.0-beta.5 (2024-06-26)
4
+ Compared with version 1.0.0
5
+
6
+ ### Features Added
7
+
8
+ - Added operation group CheckNameAvailability
9
+ - Added operation group DiscoverySolutionNLP
10
+ - Added operation group SimplifiedSolutions
11
+ - Added operation group Solution
12
+ - Added operation group SolutionSelfHelp
13
+ - Added operation group Troubleshooters
14
+ - Added Interface AutomatedCheckResult
15
+ - Added Interface CheckNameAvailabilityCheckAvailabilityOptionalParams
16
+ - Added Interface ClassificationService
17
+ - Added Interface ContinueRequestBody
18
+ - Added Interface DiscoveryNlpRequest
19
+ - Added Interface DiscoveryNlpResponse
20
+ - Added Interface DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams
21
+ - Added Interface DiscoverySolutionNLPDiscoverSolutionsOptionalParams
22
+ - Added Interface Filter
23
+ - Added Interface FilterGroup
24
+ - Added Interface MetricsBasedChart
25
+ - Added Interface ReplacementMaps
26
+ - Added Interface ReplacementMapsSelfHelp
27
+ - Added Interface ResponseOption
28
+ - Added Interface ResponseValidationProperties
29
+ - Added Interface RestartTroubleshooterResponse
30
+ - Added Interface SearchResult
31
+ - Added Interface Section
32
+ - Added Interface SectionSelfHelp
33
+ - Added Interface SimplifiedSolutionsCreateOptionalParams
34
+ - Added Interface SimplifiedSolutionsGetOptionalParams
35
+ - Added Interface SimplifiedSolutionsResource
36
+ - Added Interface SolutionCreateOptionalParams
37
+ - Added Interface SolutionGetOptionalParams
38
+ - Added Interface SolutionMetadataProperties
39
+ - Added Interface SolutionNlpMetadataResource
40
+ - Added Interface SolutionPatchRequestBody
41
+ - Added Interface SolutionResource
42
+ - Added Interface SolutionResourceSelfHelp
43
+ - Added Interface SolutionsDiagnostic
44
+ - Added Interface SolutionSelfHelpGetOptionalParams
45
+ - Added Interface SolutionsTroubleshooters
46
+ - Added Interface SolutionUpdateHeaders
47
+ - Added Interface SolutionUpdateOptionalParams
48
+ - Added Interface SolutionWarmUpOptionalParams
49
+ - Added Interface SolutionWarmUpRequestBody
50
+ - Added Interface Step
51
+ - Added Interface StepInput
52
+ - Added Interface TriggerCriterion
53
+ - Added Interface TroubleshooterResource
54
+ - Added Interface TroubleshooterResponse
55
+ - Added Interface TroubleshootersContinueHeaders
56
+ - Added Interface TroubleshootersContinueOptionalParams
57
+ - Added Interface TroubleshootersCreateOptionalParams
58
+ - Added Interface TroubleshootersEndHeaders
59
+ - Added Interface TroubleshootersEndOptionalParams
60
+ - Added Interface TroubleshootersGetOptionalParams
61
+ - Added Interface TroubleshootersRestartHeaders
62
+ - Added Interface TroubleshootersRestartOptionalParams
63
+ - Added Interface Video
64
+ - Added Interface VideoGroup
65
+ - Added Interface VideoGroupVideo
66
+ - Added Interface WebResult
67
+ - Added Type Alias AggregationType
68
+ - Added Type Alias AutomatedCheckResultType
69
+ - Added Type Alias CheckNameAvailabilityCheckAvailabilityResponse
70
+ - Added Type Alias Confidence
71
+ - Added Type Alias DiagnosticProvisioningState
72
+ - Added Type Alias DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse
73
+ - Added Type Alias DiscoverySolutionNLPDiscoverSolutionsResponse
74
+ - Added Type Alias ExecutionStatus
75
+ - Added Type Alias Name
76
+ - Added Type Alias QuestionContentType
77
+ - Added Type Alias QuestionType
78
+ - Added Type Alias ResultType
79
+ - Added Type Alias SimplifiedSolutionsCreateResponse
80
+ - Added Type Alias SimplifiedSolutionsGetResponse
81
+ - Added Type Alias SolutionCreateResponse
82
+ - Added Type Alias SolutionGetResponse
83
+ - Added Type Alias SolutionProvisioningState
84
+ - Added Type Alias SolutionSelfHelpGetResponse
85
+ - Added Type Alias SolutionType
86
+ - Added Type Alias SolutionUpdateResponse
87
+ - Added Type Alias TroubleshooterProvisioningState
88
+ - Added Type Alias TroubleshootersContinueResponse
89
+ - Added Type Alias TroubleshootersCreateResponse
90
+ - Added Type Alias TroubleshootersEndResponse
91
+ - Added Type Alias TroubleshootersGetResponse
92
+ - Added Type Alias TroubleshootersRestartResponse
93
+ - Added Type Alias Type
94
+ - Added Type Alias ValidationScope
95
+ - Interface SolutionMetadataResource has a new optional parameter solutions
96
+ - Added Enum KnownAggregationType
97
+ - Added Enum KnownAutomatedCheckResultType
98
+ - Added Enum KnownConfidence
99
+ - Added Enum KnownDiagnosticProvisioningState
100
+ - Added Enum KnownExecutionStatus
101
+ - Added Enum KnownName
102
+ - Added Enum KnownQuestionContentType
103
+ - Added Enum KnownQuestionType
104
+ - Added Enum KnownResultType
105
+ - Added Enum KnownSolutionProvisioningState
106
+ - Added Enum KnownSolutionType
107
+ - Added Enum KnownTroubleshooterProvisioningState
108
+ - Added Enum KnownType
109
+ - Added Enum KnownValidationScope
110
+
111
+ ### Breaking Changes
112
+
113
+ - Removed operation Diagnostics.checkNameAvailability
114
+ - Operation DiscoverySolution.list has a new signature
115
+ - Interface SolutionMetadataResource no longer has parameter description
116
+ - Interface SolutionMetadataResource no longer has parameter requiredParameterSets
117
+ - Interface SolutionMetadataResource no longer has parameter solutionId
118
+ - Interface SolutionMetadataResource no longer has parameter solutionType
119
+ - Type of parameter provisioningState of interface DiagnosticResource is changed from ProvisioningState to DiagnosticProvisioningState
120
+ - Removed Enum KnownProvisioningState
121
+
122
+
3
123
  ## 2.0.0-beta.4 (2024-05-10)
4
124
 
5
- **Features**
125
+ ### Features Added
6
126
 
7
127
  - Added operation group CheckNameAvailability
8
128
  - Added operation group DiscoverySolutionNLPSubscriptionScope
@@ -108,7 +228,7 @@
108
228
  - Added Enum KnownType
109
229
  - Added Enum KnownValidationScope
110
230
 
111
- **Breaking Changes**
231
+ ### Breaking Changes
112
232
 
113
233
  - Removed operation Diagnostics.checkNameAvailability
114
234
  - Operation DiscoverySolution.list has a new signature
@@ -121,7 +241,7 @@
121
241
 
122
242
  ## 2.0.0-beta.3 (2024-04-19)
123
243
 
124
- **Features**
244
+ ### Features Added
125
245
 
126
246
  - Added operation group CheckNameAvailability
127
247
  - Added operation group DiscoverySolutionNLPSubscriptionScope
@@ -227,7 +347,7 @@
227
347
  - Added Enum KnownType
228
348
  - Added Enum KnownValidationScope
229
349
 
230
- **Breaking Changes**
350
+ ### Breaking Changes
231
351
 
232
352
  - Removed operation Diagnostics.checkNameAvailability
233
353
  - Operation DiscoverySolution.list has a new signature
@@ -241,7 +361,7 @@
241
361
 
242
362
  ## 2.0.0-beta.2 (2023-12-04)
243
363
 
244
- **Features**
364
+ ### Features Added
245
365
 
246
366
  - Added operation group CheckNameAvailability
247
367
  - Added operation group Solution
@@ -321,7 +441,7 @@
321
441
  - Added Enum KnownTroubleshooterProvisioningState
322
442
  - Added Enum KnownType
323
443
 
324
- **Breaking Changes**
444
+ ### Breaking Changes
325
445
 
326
446
  - Removed operation Diagnostics.checkNameAvailability
327
447
  - Interface SolutionMetadataResource no longer has parameter description
@@ -334,7 +454,7 @@
334
454
 
335
455
  ## 2.0.0-beta.1 (2023-10-24)
336
456
 
337
- **Features**
457
+ ### Features Added
338
458
 
339
459
  - Added operation group CheckNameAvailability
340
460
  - Added operation group Solution
@@ -415,7 +535,7 @@
415
535
  - Added Enum KnownTroubleshooterProvisioningState
416
536
  - Added Enum KnownType
417
537
 
418
- **Breaking Changes**
538
+ ### Breaking Changes
419
539
 
420
540
  - Removed operation Diagnostics.checkNameAvailability
421
541
  - Interface SolutionMetadataResource no longer has parameter description
package/dist/index.js CHANGED
@@ -2579,7 +2579,7 @@ class OperationsImpl {
2579
2579
  }
2580
2580
  }
2581
2581
  // Operation Specifications
2582
- const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2582
+ const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2583
2583
  const listOperationSpec$1 = {
2584
2584
  path: "/providers/Microsoft.Help/operations",
2585
2585
  httpMethod: "GET",
@@ -2594,7 +2594,7 @@ const listOperationSpec$1 = {
2594
2594
  queryParameters: [apiVersion],
2595
2595
  urlParameters: [$host],
2596
2596
  headerParameters: [accept],
2597
- serializer: serializer$9,
2597
+ serializer: serializer$8,
2598
2598
  };
2599
2599
  const listNextOperationSpec$1 = {
2600
2600
  path: "{nextLink}",
@@ -2609,7 +2609,7 @@ const listNextOperationSpec$1 = {
2609
2609
  },
2610
2610
  urlParameters: [$host, nextLink],
2611
2611
  headerParameters: [accept],
2612
- serializer: serializer$9,
2612
+ serializer: serializer$8,
2613
2613
  };
2614
2614
 
2615
2615
  /*
@@ -2636,13 +2636,13 @@ class CheckNameAvailabilityImpl {
2636
2636
  *
2637
2637
  * @param options The options parameters.
2638
2638
  */
2639
- post(scope, options) {
2640
- return this.client.sendOperationRequest({ scope, options }, postOperationSpec$2);
2639
+ checkAvailability(scope, options) {
2640
+ return this.client.sendOperationRequest({ scope, options }, checkAvailabilityOperationSpec);
2641
2641
  }
2642
2642
  }
2643
2643
  // Operation Specifications
2644
- const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2645
- const postOperationSpec$2 = {
2644
+ const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2645
+ const checkAvailabilityOperationSpec = {
2646
2646
  path: "/{scope}/providers/Microsoft.Help/checkNameAvailability",
2647
2647
  httpMethod: "POST",
2648
2648
  responses: {
@@ -2658,7 +2658,7 @@ const postOperationSpec$2 = {
2658
2658
  urlParameters: [$host, scope],
2659
2659
  headerParameters: [accept, contentType],
2660
2660
  mediaType: "json",
2661
- serializer: serializer$8,
2661
+ serializer: serializer$7,
2662
2662
  };
2663
2663
 
2664
2664
  /*
@@ -2774,7 +2774,7 @@ class DiagnosticsImpl {
2774
2774
  }
2775
2775
  }
2776
2776
  // Operation Specifications
2777
- const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2777
+ const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2778
2778
  const createOperationSpec$3 = {
2779
2779
  path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
2780
2780
  httpMethod: "PUT",
@@ -2804,7 +2804,7 @@ const createOperationSpec$3 = {
2804
2804
  ],
2805
2805
  headerParameters: [accept, contentType],
2806
2806
  mediaType: "json",
2807
- serializer: serializer$7,
2807
+ serializer: serializer$6,
2808
2808
  };
2809
2809
  const getOperationSpec$4 = {
2810
2810
  path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
@@ -2824,7 +2824,7 @@ const getOperationSpec$4 = {
2824
2824
  diagnosticsResourceName,
2825
2825
  ],
2826
2826
  headerParameters: [accept],
2827
- serializer: serializer$7,
2827
+ serializer: serializer$6,
2828
2828
  };
2829
2829
 
2830
2830
  /*
@@ -2938,7 +2938,7 @@ class DiscoverySolutionImpl {
2938
2938
  }
2939
2939
  }
2940
2940
  // Operation Specifications
2941
- const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2941
+ const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
2942
2942
  const listOperationSpec = {
2943
2943
  path: "/providers/Microsoft.Help/discoverySolutions",
2944
2944
  httpMethod: "GET",
@@ -2957,7 +2957,7 @@ const listOperationSpec = {
2957
2957
  ],
2958
2958
  urlParameters: [$host],
2959
2959
  headerParameters: [accept],
2960
- serializer: serializer$6,
2960
+ serializer: serializer$5,
2961
2961
  };
2962
2962
  const listNextOperationSpec = {
2963
2963
  path: "{nextLink}",
@@ -2972,7 +2972,7 @@ const listNextOperationSpec = {
2972
2972
  },
2973
2973
  urlParameters: [$host, nextLink],
2974
2974
  headerParameters: [accept],
2975
- serializer: serializer$6,
2975
+ serializer: serializer$5,
2976
2976
  };
2977
2977
 
2978
2978
  /*
@@ -3149,7 +3149,7 @@ class SolutionImpl {
3149
3149
  }
3150
3150
  }
3151
3151
  // Operation Specifications
3152
- const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3152
+ const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3153
3153
  const createOperationSpec$2 = {
3154
3154
  path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
3155
3155
  httpMethod: "PUT",
@@ -3179,7 +3179,7 @@ const createOperationSpec$2 = {
3179
3179
  ],
3180
3180
  headerParameters: [accept, contentType],
3181
3181
  mediaType: "json",
3182
- serializer: serializer$5,
3182
+ serializer: serializer$4,
3183
3183
  };
3184
3184
  const getOperationSpec$3 = {
3185
3185
  path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
@@ -3199,7 +3199,7 @@ const getOperationSpec$3 = {
3199
3199
  solutionResourceName,
3200
3200
  ],
3201
3201
  headerParameters: [accept],
3202
- serializer: serializer$5,
3202
+ serializer: serializer$4,
3203
3203
  };
3204
3204
  const updateOperationSpec = {
3205
3205
  path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
@@ -3234,7 +3234,7 @@ const updateOperationSpec = {
3234
3234
  ],
3235
3235
  headerParameters: [accept, contentType],
3236
3236
  mediaType: "json",
3237
- serializer: serializer$5,
3237
+ serializer: serializer$4,
3238
3238
  };
3239
3239
  const warmUpOperationSpec = {
3240
3240
  path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup",
@@ -3254,7 +3254,7 @@ const warmUpOperationSpec = {
3254
3254
  ],
3255
3255
  headerParameters: [accept, contentType],
3256
3256
  mediaType: "json",
3257
- serializer: serializer$5,
3257
+ serializer: serializer$4,
3258
3258
  };
3259
3259
 
3260
3260
  /*
@@ -3357,7 +3357,7 @@ class SimplifiedSolutionsImpl {
3357
3357
  }
3358
3358
  }
3359
3359
  // Operation Specifications
3360
- const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3360
+ const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3361
3361
  const createOperationSpec$1 = {
3362
3362
  path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
3363
3363
  httpMethod: "PUT",
@@ -3387,7 +3387,7 @@ const createOperationSpec$1 = {
3387
3387
  ],
3388
3388
  headerParameters: [accept, contentType],
3389
3389
  mediaType: "json",
3390
- serializer: serializer$4,
3390
+ serializer: serializer$3,
3391
3391
  };
3392
3392
  const getOperationSpec$2 = {
3393
3393
  path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
@@ -3407,7 +3407,7 @@ const getOperationSpec$2 = {
3407
3407
  simplifiedSolutionsResourceName,
3408
3408
  ],
3409
3409
  headerParameters: [accept],
3410
- serializer: serializer$4,
3410
+ serializer: serializer$3,
3411
3411
  };
3412
3412
 
3413
3413
  /*
@@ -3498,7 +3498,7 @@ class TroubleshootersImpl {
3498
3498
  }
3499
3499
  }
3500
3500
  // Operation Specifications
3501
- const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3501
+ const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3502
3502
  const createOperationSpec = {
3503
3503
  path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
3504
3504
  httpMethod: "PUT",
@@ -3522,7 +3522,7 @@ const createOperationSpec = {
3522
3522
  ],
3523
3523
  headerParameters: [accept, contentType],
3524
3524
  mediaType: "json",
3525
- serializer: serializer$3,
3525
+ serializer: serializer$2,
3526
3526
  };
3527
3527
  const getOperationSpec$1 = {
3528
3528
  path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
@@ -3542,7 +3542,7 @@ const getOperationSpec$1 = {
3542
3542
  troubleshooterName,
3543
3543
  ],
3544
3544
  headerParameters: [accept],
3545
- serializer: serializer$3,
3545
+ serializer: serializer$2,
3546
3546
  };
3547
3547
  const continueOperationSpec = {
3548
3548
  path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue",
@@ -3564,7 +3564,7 @@ const continueOperationSpec = {
3564
3564
  ],
3565
3565
  headerParameters: [accept, contentType],
3566
3566
  mediaType: "json",
3567
- serializer: serializer$3,
3567
+ serializer: serializer$2,
3568
3568
  };
3569
3569
  const endOperationSpec = {
3570
3570
  path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end",
@@ -3584,7 +3584,7 @@ const endOperationSpec = {
3584
3584
  troubleshooterName,
3585
3585
  ],
3586
3586
  headerParameters: [accept],
3587
- serializer: serializer$3,
3587
+ serializer: serializer$2,
3588
3588
  };
3589
3589
  const restartOperationSpec = {
3590
3590
  path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart",
@@ -3605,7 +3605,7 @@ const restartOperationSpec = {
3605
3605
  troubleshooterName,
3606
3606
  ],
3607
3607
  headerParameters: [accept],
3608
- serializer: serializer$3,
3608
+ serializer: serializer$2,
3609
3609
  };
3610
3610
 
3611
3611
  /*
@@ -3638,7 +3638,7 @@ class SolutionSelfHelpImpl {
3638
3638
  }
3639
3639
  }
3640
3640
  // Operation Specifications
3641
- const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3641
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3642
3642
  const getOperationSpec = {
3643
3643
  path: "/providers/Microsoft.Help/selfHelp/{solutionId}",
3644
3644
  httpMethod: "GET",
@@ -3653,7 +3653,7 @@ const getOperationSpec = {
3653
3653
  queryParameters: [apiVersion],
3654
3654
  urlParameters: [$host, solutionId],
3655
3655
  headerParameters: [accept],
3656
- serializer: serializer$2,
3656
+ serializer: serializer$1,
3657
3657
  };
3658
3658
 
3659
3659
  /*
@@ -3663,10 +3663,10 @@ const getOperationSpec = {
3663
3663
  * Code generated by Microsoft (R) AutoRest Code Generator.
3664
3664
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3665
3665
  */
3666
- /** Class containing DiscoverySolutionNLPTenantScope operations. */
3667
- class DiscoverySolutionNLPTenantScopeImpl {
3666
+ /** Class containing DiscoverySolutionNLP operations. */
3667
+ class DiscoverySolutionNLPImpl {
3668
3668
  /**
3669
- * Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
3669
+ * Initialize a new instance of the class DiscoverySolutionNLP class.
3670
3670
  * @param client Reference to the service client
3671
3671
  */
3672
3672
  constructor(client) {
@@ -3677,13 +3677,22 @@ class DiscoverySolutionNLPTenantScopeImpl {
3677
3677
  * summary.
3678
3678
  * @param options The options parameters.
3679
3679
  */
3680
- post(options) {
3681
- return this.client.sendOperationRequest({ options }, postOperationSpec$1);
3680
+ discoverSolutions(options) {
3681
+ return this.client.sendOperationRequest({ options }, discoverSolutionsOperationSpec);
3682
+ }
3683
+ /**
3684
+ * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
3685
+ * summary and subscription.
3686
+ * @param subscriptionId The Azure subscription ID.
3687
+ * @param options The options parameters.
3688
+ */
3689
+ discoverSolutionsBySubscription(subscriptionId, options) {
3690
+ return this.client.sendOperationRequest({ subscriptionId, options }, discoverSolutionsBySubscriptionOperationSpec);
3682
3691
  }
3683
3692
  }
3684
3693
  // Operation Specifications
3685
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3686
- const postOperationSpec$1 = {
3694
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3695
+ const discoverSolutionsOperationSpec = {
3687
3696
  path: "/providers/Microsoft.Help/discoverSolutions",
3688
3697
  httpMethod: "POST",
3689
3698
  responses: {
@@ -3699,38 +3708,9 @@ const postOperationSpec$1 = {
3699
3708
  urlParameters: [$host],
3700
3709
  headerParameters: [accept, contentType],
3701
3710
  mediaType: "json",
3702
- serializer: serializer$1,
3711
+ serializer,
3703
3712
  };
3704
-
3705
- /*
3706
- * Copyright (c) Microsoft Corporation.
3707
- * Licensed under the MIT License.
3708
- *
3709
- * Code generated by Microsoft (R) AutoRest Code Generator.
3710
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
3711
- */
3712
- /** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
3713
- class DiscoverySolutionNLPSubscriptionScopeImpl {
3714
- /**
3715
- * Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
3716
- * @param client Reference to the service client
3717
- */
3718
- constructor(client) {
3719
- this.client = client;
3720
- }
3721
- /**
3722
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
3723
- * summary and subscription.
3724
- * @param subscriptionId The Azure subscription ID.
3725
- * @param options The options parameters.
3726
- */
3727
- post(subscriptionId, options) {
3728
- return this.client.sendOperationRequest({ subscriptionId, options }, postOperationSpec);
3729
- }
3730
- }
3731
- // Operation Specifications
3732
- const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
3733
- const postOperationSpec = {
3713
+ const discoverSolutionsBySubscriptionOperationSpec = {
3734
3714
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
3735
3715
  httpMethod: "POST",
3736
3716
  responses: {
@@ -3775,7 +3755,7 @@ class HelpRP extends coreClient__namespace.ServiceClient {
3775
3755
  requestContentType: "application/json; charset=utf-8",
3776
3756
  credential: credentials,
3777
3757
  };
3778
- const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.4`;
3758
+ const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.5`;
3779
3759
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
3780
3760
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
3781
3761
  : `${packageDetails}`;
@@ -3815,10 +3795,7 @@ class HelpRP extends coreClient__namespace.ServiceClient {
3815
3795
  this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
3816
3796
  this.troubleshooters = new TroubleshootersImpl(this);
3817
3797
  this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
3818
- this.discoverySolutionNLPTenantScope =
3819
- new DiscoverySolutionNLPTenantScopeImpl(this);
3820
- this.discoverySolutionNLPSubscriptionScope =
3821
- new DiscoverySolutionNLPSubscriptionScopeImpl(this);
3798
+ this.discoverySolutionNLP = new DiscoverySolutionNLPImpl(this);
3822
3799
  this.addCustomApiVersionPolicy(options.apiVersion);
3823
3800
  }
3824
3801
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */