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

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 (166) hide show
  1. package/CHANGELOG.md +239 -0
  2. package/LICENSE +1 -1
  3. package/dist/index.js +1582 -856
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js +7 -7
  8. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -1
  9. package/dist-esm/samples-dev/diagnosticsCreateSample.js +4 -13
  10. package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +1 -1
  11. package/dist-esm/samples-dev/diagnosticsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/discoverySolutionListSample.js +6 -41
  13. package/dist-esm/samples-dev/discoverySolutionListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +2 -0
  15. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +1 -0
  16. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js +44 -0
  17. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +1 -0
  18. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +2 -0
  19. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +1 -0
  20. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js +42 -0
  21. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
  22. package/dist-esm/samples-dev/operationsListSample.js +2 -2
  23. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  24. package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js +46 -0
  27. package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js +37 -0
  31. package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js.map +1 -0
  32. package/dist-esm/samples-dev/solutionCreateSample.js +8 -5
  33. package/dist-esm/samples-dev/solutionCreateSample.js.map +1 -1
  34. package/dist-esm/samples-dev/solutionGetSample.js +1 -1
  35. package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/solutionSelfHelpGetSample.js +36 -0
  38. package/dist-esm/samples-dev/solutionSelfHelpGetSample.js.map +1 -0
  39. package/dist-esm/samples-dev/solutionUpdateSample.js +2 -11
  40. package/dist-esm/samples-dev/solutionUpdateSample.js.map +1 -1
  41. package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/solutionWarmUpSample.js +37 -0
  44. package/dist-esm/samples-dev/solutionWarmUpSample.js.map +1 -0
  45. package/dist-esm/samples-dev/troubleshootersContinueSample.js +6 -6
  46. package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -1
  47. package/dist-esm/samples-dev/troubleshootersCreateSample.js +5 -5
  48. package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -1
  49. package/dist-esm/samples-dev/troubleshootersEndSample.js +1 -1
  50. package/dist-esm/samples-dev/troubleshootersGetSample.js +1 -1
  51. package/dist-esm/samples-dev/troubleshootersRestartSample.js +1 -1
  52. package/dist-esm/src/helpRP.d.ts +5 -1
  53. package/dist-esm/src/helpRP.d.ts.map +1 -1
  54. package/dist-esm/src/helpRP.js +15 -9
  55. package/dist-esm/src/helpRP.js.map +1 -1
  56. package/dist-esm/src/lroImpl.js +1 -1
  57. package/dist-esm/src/models/index.d.ts +227 -7
  58. package/dist-esm/src/models/index.d.ts.map +1 -1
  59. package/dist-esm/src/models/index.js +24 -0
  60. package/dist-esm/src/models/index.js.map +1 -1
  61. package/dist-esm/src/models/mappers.d.ts +9 -0
  62. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  63. package/dist-esm/src/models/mappers.js +860 -523
  64. package/dist-esm/src/models/mappers.js.map +1 -1
  65. package/dist-esm/src/models/parameters.d.ts +6 -0
  66. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  67. package/dist-esm/src/models/parameters.js +96 -44
  68. package/dist-esm/src/models/parameters.js.map +1 -1
  69. package/dist-esm/src/operations/checkNameAvailability.js +4 -4
  70. package/dist-esm/src/operations/diagnostics.d.ts +6 -10
  71. package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
  72. package/dist-esm/src/operations/diagnostics.js +24 -28
  73. package/dist-esm/src/operations/diagnostics.js.map +1 -1
  74. package/dist-esm/src/operations/discoverySolution.d.ts +3 -12
  75. package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
  76. package/dist-esm/src/operations/discoverySolution.js +27 -36
  77. package/dist-esm/src/operations/discoverySolution.js.map +1 -1
  78. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +20 -0
  79. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
  80. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +50 -0
  81. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +1 -0
  82. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +19 -0
  83. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +1 -0
  84. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +49 -0
  85. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +1 -0
  86. package/dist-esm/src/operations/index.d.ts +4 -0
  87. package/dist-esm/src/operations/index.d.ts.map +1 -1
  88. package/dist-esm/src/operations/index.js +4 -0
  89. package/dist-esm/src/operations/index.js.map +1 -1
  90. package/dist-esm/src/operations/operations.js +9 -9
  91. package/dist-esm/src/operations/operations.js.map +1 -1
  92. package/dist-esm/src/operations/simplifiedSolutions.d.ts +52 -0
  93. package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +1 -0
  94. package/dist-esm/src/operations/simplifiedSolutions.js +159 -0
  95. package/dist-esm/src/operations/simplifiedSolutions.js.map +1 -0
  96. package/dist-esm/src/operations/solution.d.ts +20 -25
  97. package/dist-esm/src/operations/solution.d.ts.map +1 -1
  98. package/dist-esm/src/operations/solution.js +71 -54
  99. package/dist-esm/src/operations/solution.js.map +1 -1
  100. package/dist-esm/src/operations/solutionSelfHelp.d.ts +23 -0
  101. package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +1 -0
  102. package/dist-esm/src/operations/solutionSelfHelp.js +51 -0
  103. package/dist-esm/src/operations/solutionSelfHelp.js.map +1 -0
  104. package/dist-esm/src/operations/troubleshooters.js +26 -26
  105. package/dist-esm/src/operations/troubleshooters.js.map +1 -1
  106. package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +6 -10
  107. package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
  108. package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +2 -5
  109. package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
  110. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +12 -0
  111. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +9 -0
  113. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +11 -0
  115. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +9 -0
  117. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  119. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  120. package/dist-esm/src/operationsInterfaces/index.js +4 -0
  121. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  122. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
  123. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js +9 -0
  125. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/solution.d.ts +20 -25
  127. package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
  129. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +1 -0
  132. package/dist-esm/src/pagingHelper.js.map +1 -1
  133. package/dist-esm/test/selfhelp_operations_test.spec.js +6 -1
  134. package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
  135. package/package.json +8 -9
  136. package/review/arm-selfhelp.api.md +174 -2
  137. package/src/helpRP.ts +36 -17
  138. package/src/lroImpl.ts +3 -3
  139. package/src/models/index.ts +263 -22
  140. package/src/models/mappers.ts +898 -529
  141. package/src/models/parameters.ts +106 -45
  142. package/src/operations/checkNameAvailability.ts +7 -7
  143. package/src/operations/diagnostics.ts +39 -46
  144. package/src/operations/discoverySolution.ts +29 -46
  145. package/src/operations/discoverySolutionNLPSubscriptionScope.ts +69 -0
  146. package/src/operations/discoverySolutionNLPTenantScope.ts +64 -0
  147. package/src/operations/index.ts +4 -0
  148. package/src/operations/operations.ts +16 -16
  149. package/src/operations/simplifiedSolutions.ts +216 -0
  150. package/src/operations/solution.ts +101 -77
  151. package/src/operations/solutionSelfHelp.ts +68 -0
  152. package/src/operations/troubleshooters.ts +42 -47
  153. package/src/operationsInterfaces/checkNameAvailability.ts +2 -2
  154. package/src/operationsInterfaces/diagnostics.ts +10 -14
  155. package/src/operationsInterfaces/discoverySolution.ts +3 -7
  156. package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +26 -0
  157. package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +24 -0
  158. package/src/operationsInterfaces/index.ts +4 -0
  159. package/src/operationsInterfaces/operations.ts +1 -1
  160. package/src/operationsInterfaces/simplifiedSolutions.ts +74 -0
  161. package/src/operationsInterfaces/solution.ts +30 -30
  162. package/src/operationsInterfaces/solutionSelfHelp.ts +29 -0
  163. package/src/operationsInterfaces/troubleshooters.ts +6 -6
  164. package/src/pagingHelper.ts +1 -1
  165. package/types/arm-selfhelp.d.ts +357 -46
  166. package/types/tsdoc-metadata.json +1 -1
@@ -28,6 +28,10 @@ export declare type AggregationType = string;
28
28
 
29
29
  /** Only for AutomatedStep type */
30
30
  export declare interface AutomatedCheckResult {
31
+ /** Version for automated check result */
32
+ version?: string;
33
+ /** Status for automated check result */
34
+ status?: string;
31
35
  /** Insight Article Content */
32
36
  result?: string;
33
37
  /** Type of Result. */
@@ -86,6 +90,22 @@ export declare interface CheckNameAvailabilityResponse {
86
90
  message?: string;
87
91
  }
88
92
 
93
+ /** Service Classification result object. */
94
+ export declare interface ClassificationService {
95
+ /**
96
+ * Azure resource Id of the service.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly serviceId?: string;
100
+ /**
101
+ * Localized name of the azure service.
102
+ * NOTE: This property will not be serialized. It can only be populated by the server.
103
+ */
104
+ readonly displayName?: string;
105
+ /** List of applicable ARM resource types for this service. */
106
+ resourceTypes?: string[];
107
+ }
108
+
89
109
  /**
90
110
  * Defines values for Confidence. \
91
111
  * {@link KnownConfidence} can be used interchangeably with Confidence,
@@ -179,11 +199,9 @@ export declare interface DiagnosticResource extends ProxyResource {
179
199
  /** Interface representing a Diagnostics. */
180
200
  export declare interface Diagnostics {
181
201
  /**
182
- * Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery
183
- * solutions. <br/>Diagnostics are powerful solutions that access product resources or other relevant
184
- * data and provide the root cause of the issue and the steps to address the issue.<br/><br/> <b>Note:
185
- * </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as
186
- * an input to Diagnostics API.
202
+ * Creates a diagnostic for the specific resource using solutionId from discovery solutions.
203
+ * <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
204
+ * provide the root cause of the issue and the steps to address the issue.<br/><br/>
187
205
  * @param scope scope = resourceUri of affected resource.<br/> For example:
188
206
  * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
189
207
  *
@@ -192,11 +210,9 @@ export declare interface Diagnostics {
192
210
  */
193
211
  beginCreate(scope: string, diagnosticsResourceName: string, options?: DiagnosticsCreateOptionalParams): Promise<SimplePollerLike<OperationState<DiagnosticsCreateResponse>, DiagnosticsCreateResponse>>;
194
212
  /**
195
- * Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery
196
- * solutions. <br/>Diagnostics are powerful solutions that access product resources or other relevant
197
- * data and provide the root cause of the issue and the steps to address the issue.<br/><br/> <b>Note:
198
- * </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as
199
- * an input to Diagnostics API.
213
+ * Creates a diagnostic for the specific resource using solutionId from discovery solutions.
214
+ * <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
215
+ * provide the root cause of the issue and the steps to address the issue.<br/><br/>
200
216
  * @param scope scope = resourceUri of affected resource.<br/> For example:
201
217
  * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
202
218
  *
@@ -235,6 +251,24 @@ export declare interface DiagnosticsGetOptionalParams extends coreClient.Operati
235
251
  /** Contains response data for the get operation. */
236
252
  export declare type DiagnosticsGetResponse = DiagnosticResource;
237
253
 
254
+ /** Discover NLP request. */
255
+ export declare interface DiscoveryNlpRequest {
256
+ /** Natural language description of the issue. */
257
+ issueSummary: string;
258
+ /** ARM resource Id of the resource that is having the issue. Only applicable for Discovery Solution NLP Subscription Scope. */
259
+ resourceId?: string;
260
+ /** ARM service Id of the service that is having the issue. For more information on service Id see https://learn.microsoft.com/rest/api/support/services/list?tabs=HTTP. */
261
+ serviceId?: string;
262
+ /** Additional information in the form of a string. */
263
+ additionalContext?: string;
264
+ }
265
+
266
+ /** Successfully fetched list of solution metadata. */
267
+ export declare interface DiscoveryNlpResponse {
268
+ /** The list of solution metadata. */
269
+ value?: SolutionNlpMetadataResource[];
270
+ }
271
+
238
272
  /** Discovery response. */
239
273
  export declare interface DiscoveryResponse {
240
274
  /** The list of metadata. */
@@ -246,7 +280,7 @@ export declare interface DiscoveryResponse {
246
280
  /** Interface representing a DiscoverySolution. */
247
281
  export declare interface DiscoverySolution {
248
282
  /**
249
- * Lists the relevant Azure diagnostics and solutions using [problemClassification
283
+ * Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
250
284
  * API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
251
285
  * resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
252
286
  * which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
@@ -255,12 +289,9 @@ export declare interface DiscoverySolution {
255
289
  * <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
256
290
  * Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
257
291
  * and Solutions API.
258
- * @param scope scope = resourceUri of affected resource.<br/> For example:
259
- * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
260
- *
261
292
  * @param options The options parameters.
262
293
  */
263
- list(scope: string, options?: DiscoverySolutionListOptionalParams): PagedAsyncIterableIterator<SolutionMetadataResource>;
294
+ list(options?: DiscoverySolutionListOptionalParams): PagedAsyncIterableIterator<SolutionMetadataResource>;
264
295
  }
265
296
 
266
297
  /** Optional parameters. */
@@ -281,6 +312,45 @@ export declare interface DiscoverySolutionListOptionalParams extends coreClient.
281
312
  /** Contains response data for the list operation. */
282
313
  export declare type DiscoverySolutionListResponse = DiscoveryResponse;
283
314
 
315
+ /** Interface representing a DiscoverySolutionNLPSubscriptionScope. */
316
+ export declare interface DiscoverySolutionNLPSubscriptionScope {
317
+ /**
318
+ * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
319
+ * summary and subscription.
320
+ * @param subscriptionId The Azure subscription ID.
321
+ * @param options The options parameters.
322
+ */
323
+ post(subscriptionId: string, options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
324
+ }
325
+
326
+ /** Optional parameters. */
327
+ export declare interface DiscoverySolutionNLPSubscriptionScopePostOptionalParams extends coreClient.OperationOptions {
328
+ /** Request body for discovering solutions using NLP. */
329
+ discoverSolutionRequest?: DiscoveryNlpRequest;
330
+ }
331
+
332
+ /** Contains response data for the post operation. */
333
+ export declare type DiscoverySolutionNLPSubscriptionScopePostResponse = DiscoveryNlpResponse;
334
+
335
+ /** Interface representing a DiscoverySolutionNLPTenantScope. */
336
+ export declare interface DiscoverySolutionNLPTenantScope {
337
+ /**
338
+ * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
339
+ * summary.
340
+ * @param options The options parameters.
341
+ */
342
+ post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
343
+ }
344
+
345
+ /** Optional parameters. */
346
+ export declare interface DiscoverySolutionNLPTenantScopePostOptionalParams extends coreClient.OperationOptions {
347
+ /** Request body for discovering solutions using NLP. */
348
+ discoverSolutionRequest?: DiscoveryNlpRequest;
349
+ }
350
+
351
+ /** Contains response data for the post operation. */
352
+ export declare type DiscoverySolutionNLPTenantScopePostResponse = DiscoveryNlpResponse;
353
+
284
354
  /** The resource management error additional info. */
285
355
  export declare interface ErrorAdditionalInfo {
286
356
  /**
@@ -404,7 +474,11 @@ export declare class HelpRP extends coreClient.ServiceClient {
404
474
  diagnostics: Diagnostics;
405
475
  discoverySolution: DiscoverySolution;
406
476
  solution: Solution;
477
+ simplifiedSolutions: SimplifiedSolutions;
407
478
  troubleshooters: Troubleshooters;
479
+ solutionSelfHelp: SolutionSelfHelp;
480
+ discoverySolutionNLPTenantScope: DiscoverySolutionNLPTenantScope;
481
+ discoverySolutionNLPSubscriptionScope: DiscoverySolutionNLPSubscriptionScope;
408
482
  }
409
483
 
410
484
  /** Optional parameters. */
@@ -569,7 +643,11 @@ export declare enum KnownQuestionType {
569
643
  /** Text Input */
570
644
  TextInput = "TextInput",
571
645
  /** MultiLineInfoBox */
572
- MultiLineInfoBox = "MultiLineInfoBox"
646
+ MultiLineInfoBox = "MultiLineInfoBox",
647
+ /** DateTime Picker */
648
+ DateTimePicker = "DateTimePicker",
649
+ /** Multi Select */
650
+ MultiSelect = "MultiSelect"
573
651
  }
574
652
 
575
653
  /** Known values of {@link ResultType} that the service accepts. */
@@ -599,7 +677,11 @@ export declare enum KnownSolutionType {
599
677
  /** Diagnostics resource type. */
600
678
  Diagnostics = "Diagnostics",
601
679
  /** Solutions resource type. */
602
- Solutions = "Solutions"
680
+ Solutions = "Solutions",
681
+ /** Troubleshooters resource type. */
682
+ Troubleshooters = "Troubleshooters",
683
+ /** SelfHelp resource type. */
684
+ SelfHelp = "SelfHelp"
603
685
  }
604
686
 
605
687
  /** Known values of {@link Status} that the service accepts. */
@@ -639,7 +721,23 @@ export declare enum KnownType {
639
721
  /** Insight */
640
722
  Insight = "Insight",
641
723
  /** AutomatedCheck */
642
- AutomatedCheck = "AutomatedCheck"
724
+ AutomatedCheck = "AutomatedCheck",
725
+ /** Input */
726
+ Input = "Input"
727
+ }
728
+
729
+ /** Known values of {@link ValidationScope} that the service accepts. */
730
+ export declare enum KnownValidationScope {
731
+ /** None */
732
+ None = "None",
733
+ /** URLFormat */
734
+ URLFormat = "URLFormat",
735
+ /** GuidFormat */
736
+ GuidFormat = "GuidFormat",
737
+ /** IpAddressFormat */
738
+ IpAddressFormat = "IpAddressFormat",
739
+ /** NumberOnlyFormat */
740
+ NumberOnlyFormat = "NumberOnlyFormat"
643
741
  }
644
742
 
645
743
  /** Solutions metrics based chart */
@@ -790,7 +888,9 @@ export declare type QuestionContentType = string;
790
888
  * **RadioButton**: SingleChoice radio button \
791
889
  * **Dropdown**: SingleChoice dropdown. \
792
890
  * **TextInput**: Text Input \
793
- * **MultiLineInfoBox**: MultiLineInfoBox
891
+ * **MultiLineInfoBox**: MultiLineInfoBox \
892
+ * **DateTimePicker**: DateTime Picker \
893
+ * **MultiSelect**: Multi Select
794
894
  */
795
895
  export declare type QuestionType = string;
796
896
 
@@ -810,6 +910,16 @@ export declare interface ReplacementMaps {
810
910
  videoGroups?: VideoGroup[];
811
911
  }
812
912
 
913
+ /** Solution replacement maps. */
914
+ export declare interface ReplacementMapsSelfHelp {
915
+ /** Solution AzureKB results */
916
+ webResults?: WebResult[];
917
+ /** Video solutions, which have the power to engage the customer by stimulating their senses */
918
+ videos?: Video[];
919
+ /** Group of Videos */
920
+ videoGroups?: VideoGroup[];
921
+ }
922
+
813
923
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
814
924
  export declare interface Resource {
815
925
  /**
@@ -846,6 +956,8 @@ export declare interface ResponseOption {
846
956
  export declare interface ResponseValidationProperties {
847
957
  /** Regex used for the input validation. */
848
958
  regex?: string;
959
+ /** Validation scope */
960
+ validationScope?: ValidationScope;
849
961
  /** Default True */
850
962
  isRequired?: boolean;
851
963
  /** Validation Error Message. */
@@ -903,24 +1015,121 @@ export declare interface Section {
903
1015
  replacementMaps?: ReplacementMaps;
904
1016
  }
905
1017
 
1018
+ /** Part of the solution and are dividers in the solution rendering. */
1019
+ export declare interface SectionSelfHelp {
1020
+ /** Solution sections title. */
1021
+ title?: string;
1022
+ /** Solution sections content. */
1023
+ content?: string;
1024
+ /** Solution replacement maps. */
1025
+ replacementMaps?: ReplacementMapsSelfHelp;
1026
+ }
1027
+
1028
+ /** Interface representing a SimplifiedSolutions. */
1029
+ export declare interface SimplifiedSolutions {
1030
+ /**
1031
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
1032
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
1033
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
1034
+ * Simplified Solutions, users don't have to worry about stitching together the article using
1035
+ * replacement maps and can use the content in the API response to directly render as HTML
1036
+ * content.<br/>
1037
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
1038
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
1039
+ *
1040
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
1041
+ * @param options The options parameters.
1042
+ */
1043
+ beginCreate(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<SimplifiedSolutionsCreateResponse>, SimplifiedSolutionsCreateResponse>>;
1044
+ /**
1045
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
1046
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
1047
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
1048
+ * Simplified Solutions, users don't have to worry about stitching together the article using
1049
+ * replacement maps and can use the content in the API response to directly render as HTML
1050
+ * content.<br/>
1051
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
1052
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
1053
+ *
1054
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
1055
+ * @param options The options parameters.
1056
+ */
1057
+ beginCreateAndWait(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplifiedSolutionsCreateResponse>;
1058
+ /**
1059
+ * Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
1060
+ * Solutions.
1061
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
1062
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
1063
+ *
1064
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
1065
+ * @param options The options parameters.
1066
+ */
1067
+ get(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsGetOptionalParams): Promise<SimplifiedSolutionsGetResponse>;
1068
+ }
1069
+
1070
+ /** Optional parameters. */
1071
+ export declare interface SimplifiedSolutionsCreateOptionalParams extends coreClient.OperationOptions {
1072
+ /** The required request body for simplified Solutions resource creation. */
1073
+ simplifiedSolutionsRequestBody?: SimplifiedSolutionsResource;
1074
+ /** Delay to wait until next poll, in milliseconds. */
1075
+ updateIntervalInMs?: number;
1076
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1077
+ resumeFrom?: string;
1078
+ }
1079
+
1080
+ /** Contains response data for the create operation. */
1081
+ export declare type SimplifiedSolutionsCreateResponse = SimplifiedSolutionsResource;
1082
+
1083
+ /** Optional parameters. */
1084
+ export declare interface SimplifiedSolutionsGetOptionalParams extends coreClient.OperationOptions {
1085
+ }
1086
+
1087
+ /** Contains response data for the get operation. */
1088
+ export declare type SimplifiedSolutionsGetResponse = SimplifiedSolutionsResource;
1089
+
1090
+ /** Simplified Solutions response. */
1091
+ export declare interface SimplifiedSolutionsResource extends ProxyResource {
1092
+ /** Solution Id to identify single Simplified Solution. */
1093
+ solutionId?: string;
1094
+ /** Client input parameters to run Simplified Solutions */
1095
+ parameters?: {
1096
+ [propertyName: string]: string;
1097
+ };
1098
+ /**
1099
+ * The title.
1100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1101
+ */
1102
+ readonly title?: string;
1103
+ /**
1104
+ * Additional parameter response for Simplified Solutions
1105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1106
+ */
1107
+ readonly appendix?: {
1108
+ [propertyName: string]: string;
1109
+ };
1110
+ /**
1111
+ * The HTML content that needs to be rendered and shown to customer.
1112
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1113
+ */
1114
+ readonly content?: string;
1115
+ /**
1116
+ * Status of Simplified Solution provisioning.
1117
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1118
+ */
1119
+ readonly provisioningState?: SolutionProvisioningState;
1120
+ }
1121
+
906
1122
  /** Interface representing a Solution. */
907
1123
  export declare interface Solution {
908
1124
  /**
909
1125
  * Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
910
1126
  * requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
911
1127
  * self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
912
- * resolving typical troubleshooting issues. These solutions encompass (1.) dynamic and context-aware
913
- * diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video
914
- * tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual
915
- * troubleshooting instructions. All these components are seamlessly converged into unified solutions
916
- * tailored to address a specific support problem area. Each solution type may require one or more
917
- * ‘requiredParameters’ that are required to execute the individual solution component. In the absence
918
- * of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you
919
- * might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery
920
- * solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2.
921
- * ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the
922
- * request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
923
- * ‘properties.parameters’ in the request for Troubleshooters
1128
+ * resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
1129
+ * context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
1130
+ * instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
1131
+ * assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
1132
+ * into unified solutions tailored to address a specific support problem area.
924
1133
  * @param scope scope = resourceUri of affected resource.<br/> For example:
925
1134
  * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
926
1135
  *
@@ -932,18 +1141,11 @@ export declare interface Solution {
932
1141
  * Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
933
1142
  * requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
934
1143
  * self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
935
- * resolving typical troubleshooting issues. These solutions encompass (1.) dynamic and context-aware
936
- * diagnostics, guided troubleshooting wizards, and data visualizations, (2.) rich instructional video
937
- * tutorials and illustrative diagrams and images, and (3.) thoughtfully assembled textual
938
- * troubleshooting instructions. All these components are seamlessly converged into unified solutions
939
- * tailored to address a specific support problem area. Each solution type may require one or more
940
- * ‘requiredParameters’ that are required to execute the individual solution component. In the absence
941
- * of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you
942
- * might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery
943
- * solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2.
944
- * ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the
945
- * request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
946
- * ‘properties.parameters’ in the request for Troubleshooters
1144
+ * resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
1145
+ * context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
1146
+ * instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
1147
+ * assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
1148
+ * into unified solutions tailored to address a specific support problem area.
947
1149
  * @param scope scope = resourceUri of affected resource.<br/> For example:
948
1150
  * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
949
1151
  *
@@ -978,6 +1180,15 @@ export declare interface Solution {
978
1180
  * @param options The options parameters.
979
1181
  */
980
1182
  beginUpdateAndWait(scope: string, solutionResourceName: string, options?: SolutionUpdateOptionalParams): Promise<SolutionUpdateResponse>;
1183
+ /**
1184
+ * Warm up the solution resource by preloading asynchronous diagnostics results into cache
1185
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
1186
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
1187
+ *
1188
+ * @param solutionResourceName Solution resource Name.
1189
+ * @param options The options parameters.
1190
+ */
1191
+ warmUp(scope: string, solutionResourceName: string, options?: SolutionWarmUpOptionalParams): Promise<void>;
981
1192
  }
982
1193
 
983
1194
  /** Optional parameters. */
@@ -1027,7 +1238,23 @@ export declare interface SolutionMetadataResource extends ProxyResource {
1027
1238
  solutions?: SolutionMetadataProperties[];
1028
1239
  }
1029
1240
 
1030
- /** Solution response */
1241
+ /** Nlp Metadata resource */
1242
+ export declare interface SolutionNlpMetadataResource extends ProxyResource {
1243
+ /** Title of the problem classification. */
1244
+ problemTitle?: string;
1245
+ /** Description of the problem classification. */
1246
+ problemDescription?: string;
1247
+ /** Id of the service (https://learn.microsoft.com/en-us/rest/api/support/services?view=rest-support-2020-04-01) that may be used to create a support ticket. */
1248
+ serviceId?: string;
1249
+ /** Id of the ProblemClassification (https://learn.microsoft.com/en-us/rest/api/support/problem-classifications?view=rest-support-2020-04-01) that may be used to create a support ticket. */
1250
+ problemClassificationId?: string;
1251
+ /** The list of solution metadata. */
1252
+ solutions?: SolutionMetadataProperties[];
1253
+ /** The set of services that are most likely related to the request. If relatedServices is included in the response then solutions may not be discovered until the client calls a second time specifying one of the service Ids in the relatedServices object. */
1254
+ relatedServices?: ClassificationService[];
1255
+ }
1256
+
1257
+ /** Solution PatchRequest body */
1031
1258
  export declare interface SolutionPatchRequestBody {
1032
1259
  /** Solution request trigger criteria */
1033
1260
  triggerCriteria?: TriggerCriterion[];
@@ -1120,6 +1347,35 @@ export declare interface SolutionResource extends ProxyResource {
1120
1347
  readonly sections?: Section[];
1121
1348
  }
1122
1349
 
1350
+ /** Self Help Solution response. */
1351
+ export declare interface SolutionResourceSelfHelp extends ProxyResource {
1352
+ /**
1353
+ * SolutionId is a unique id to identify a solution. You can retrieve the solution id using the Discovery api - https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP
1354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1355
+ */
1356
+ readonly solutionId?: string;
1357
+ /**
1358
+ * The title.
1359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1360
+ */
1361
+ readonly title?: string;
1362
+ /**
1363
+ * The HTML content that needs to be rendered and shown to customer.
1364
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1365
+ */
1366
+ readonly content?: string;
1367
+ /**
1368
+ * Solution replacement maps.
1369
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1370
+ */
1371
+ readonly replacementMaps?: ReplacementMapsSelfHelp;
1372
+ /**
1373
+ * List of section object.
1374
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1375
+ */
1376
+ readonly sections?: SectionSelfHelp[];
1377
+ }
1378
+
1123
1379
  /** Solutions Diagnostic */
1124
1380
  export declare interface SolutionsDiagnostic {
1125
1381
  /** Solution Id to identify single Solutions Diagnostic */
@@ -1130,12 +1386,35 @@ export declare interface SolutionsDiagnostic {
1130
1386
  statusDetails?: string;
1131
1387
  /** Place holder used in HTML Content replace control with the content */
1132
1388
  replacementKey?: string;
1389
+ /** Diagnostics estimated completion time in minutes */
1390
+ estimatedCompletionTime?: string;
1133
1391
  /** Required parameters of this item */
1134
1392
  requiredParameters?: string[];
1135
1393
  /** Diagnostic insights */
1136
1394
  insights?: Insight[];
1137
1395
  }
1138
1396
 
1397
+ /** Interface representing a SolutionSelfHelp. */
1398
+ export declare interface SolutionSelfHelp {
1399
+ /**
1400
+ * Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional
1401
+ * video tutorials, links and guides to public documentation related to a specific problem that enables
1402
+ * users to troubleshoot Azure issues.
1403
+ * @param solutionId SolutionId is a unique id to identify a solution. You can retrieve the solution id
1404
+ * using the Discovery api -
1405
+ * https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP
1406
+ * @param options The options parameters.
1407
+ */
1408
+ get(solutionId: string, options?: SolutionSelfHelpGetOptionalParams): Promise<SolutionSelfHelpGetResponse>;
1409
+ }
1410
+
1411
+ /** Optional parameters. */
1412
+ export declare interface SolutionSelfHelpGetOptionalParams extends coreClient.OperationOptions {
1413
+ }
1414
+
1415
+ /** Contains response data for the get operation. */
1416
+ export declare type SolutionSelfHelpGetResponse = SolutionResourceSelfHelp;
1417
+
1139
1418
  /** Troubleshooters in Solutions */
1140
1419
  export declare interface SolutionsTroubleshooters {
1141
1420
  /** Solution Id to identify single Solutions Troubleshooter */
@@ -1152,7 +1431,9 @@ export declare interface SolutionsTroubleshooters {
1152
1431
  * this enum contains the known values that the service supports.
1153
1432
  * ### Known values supported by the service
1154
1433
  * **Diagnostics**: Diagnostics resource type. \
1155
- * **Solutions**: Solutions resource type.
1434
+ * **Solutions**: Solutions resource type. \
1435
+ * **Troubleshooters**: Troubleshooters resource type. \
1436
+ * **SelfHelp**: SelfHelp resource type.
1156
1437
  */
1157
1438
  export declare type SolutionType = string;
1158
1439
 
@@ -1174,6 +1455,20 @@ export declare interface SolutionUpdateOptionalParams extends coreClient.Operati
1174
1455
  /** Contains response data for the update operation. */
1175
1456
  export declare type SolutionUpdateResponse = SolutionUpdateHeaders & SolutionResource;
1176
1457
 
1458
+ /** Optional parameters. */
1459
+ export declare interface SolutionWarmUpOptionalParams extends coreClient.OperationOptions {
1460
+ /** The required request body for warming up a solution resource. */
1461
+ solutionWarmUpRequestBody?: SolutionWarmUpRequestBody;
1462
+ }
1463
+
1464
+ /** Solution WarmUpRequest body */
1465
+ export declare interface SolutionWarmUpRequestBody {
1466
+ /** Dictionary of <string> */
1467
+ parameters?: {
1468
+ [propertyName: string]: string;
1469
+ };
1470
+ }
1471
+
1177
1472
  /**
1178
1473
  * Defines values for Status. \
1179
1474
  * {@link KnownStatus} can be used interchangeably with Status,
@@ -1219,6 +1514,8 @@ export declare interface StepInput {
1219
1514
  questionId?: string;
1220
1515
  /** Type of Question */
1221
1516
  questionType?: QuestionType;
1517
+ /** Question title */
1518
+ questionTitle?: string;
1222
1519
  /** User question content. */
1223
1520
  questionContent?: string;
1224
1521
  /** Default is Text. */
@@ -1427,10 +1724,24 @@ export declare type TroubleshootersRestartResponse = TroubleshootersRestartHeade
1427
1724
  * **Decision** \
1428
1725
  * **Solution** \
1429
1726
  * **Insight** \
1430
- * **AutomatedCheck**
1727
+ * **AutomatedCheck** \
1728
+ * **Input**
1431
1729
  */
1432
1730
  export declare type Type = string;
1433
1731
 
1732
+ /**
1733
+ * Defines values for ValidationScope. \
1734
+ * {@link KnownValidationScope} can be used interchangeably with ValidationScope,
1735
+ * this enum contains the known values that the service supports.
1736
+ * ### Known values supported by the service
1737
+ * **None** \
1738
+ * **URLFormat** \
1739
+ * **GuidFormat** \
1740
+ * **IpAddressFormat** \
1741
+ * **NumberOnlyFormat**
1742
+ */
1743
+ export declare type ValidationScope = string;
1744
+
1434
1745
  /** Video detail */
1435
1746
  export declare interface Video extends VideoGroupVideo {
1436
1747
  /** Place holder used in HTML Content replace control with the insight content */
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.38.5"
8
+ "packageVersion": "7.43.2"
9
9
  }
10
10
  ]
11
11
  }