@azure/arm-selfhelp 2.0.0-beta.1 → 2.0.0-beta.3
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.
- package/CHANGELOG.md +214 -1
- package/LICENSE +1 -1
- package/README.md +3 -2
- package/dist/index.js +1679 -907
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js +7 -7
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +3 -3
- package/dist-esm/samples-dev/diagnosticsGetSample.js +1 -1
- package/dist-esm/samples-dev/discoverySolutionListSample.js +6 -41
- package/dist-esm/samples-dev/discoverySolutionListSample.js.map +1 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js +45 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js +43 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +5 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js +46 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js +37 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionCreateSample.js +8 -10
- package/dist-esm/samples-dev/solutionCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/solutionGetSample.js +1 -1
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js +36 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionUpdateSample.js +1 -1
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js +37 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.js +6 -6
- package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersCreateSample.js +7 -7
- package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersEndSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersGetSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersRestartSample.js +1 -1
- package/dist-esm/src/helpRP.d.ts +8 -1
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +25 -15
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +350 -89
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +49 -19
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +10 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +947 -590
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +95 -44
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts +3 -2
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js +7 -6
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
- package/dist-esm/src/operations/diagnostics.d.ts +15 -16
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnostics.js +33 -34
- package/dist-esm/src/operations/diagnostics.js.map +1 -1
- package/dist-esm/src/operations/discoverySolution.d.ts +5 -13
- package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operations/discoverySolution.js +29 -37
- package/dist-esm/src/operations/discoverySolution.js.map +1 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +19 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +49 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +19 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +49 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +4 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/simplifiedSolutions.d.ts +52 -0
- package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/simplifiedSolutions.js +159 -0
- package/dist-esm/src/operations/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operations/solution.d.ts +41 -37
- package/dist-esm/src/operations/solution.d.ts.map +1 -1
- package/dist-esm/src/operations/solution.js +92 -66
- package/dist-esm/src/operations/solution.js.map +1 -1
- package/dist-esm/src/operations/solutionSelfHelp.d.ts +23 -0
- package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operations/solutionSelfHelp.js +51 -0
- package/dist-esm/src/operations/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/operations/troubleshooters.d.ts +22 -19
- package/dist-esm/src/operations/troubleshooters.d.ts.map +1 -1
- package/dist-esm/src/operations/troubleshooters.js +48 -45
- package/dist-esm/src/operations/troubleshooters.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +3 -2
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +15 -16
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +3 -6
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +4 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/solution.d.ts +41 -37
- package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js +9 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts +22 -19
- package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js +2 -2
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +11 -11
- package/review/arm-selfhelp.api.md +198 -19
- package/src/helpRP.ts +58 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +385 -106
- package/src/models/mappers.ts +995 -597
- package/src/models/parameters.ts +105 -45
- package/src/operations/checkNameAvailability.ts +10 -9
- package/src/operations/diagnostics.ts +48 -52
- package/src/operations/discoverySolution.ts +31 -47
- package/src/operations/discoverySolutionNLPSubscriptionScope.ts +64 -0
- package/src/operations/discoverySolutionNLPTenantScope.ts +64 -0
- package/src/operations/index.ts +4 -0
- package/src/operations/operations.ts +16 -16
- package/src/operations/simplifiedSolutions.ts +216 -0
- package/src/operations/solution.ts +122 -89
- package/src/operations/solutionSelfHelp.ts +68 -0
- package/src/operations/troubleshooters.ts +64 -66
- package/src/operationsInterfaces/checkNameAvailability.ts +5 -4
- package/src/operationsInterfaces/diagnostics.ts +19 -20
- package/src/operationsInterfaces/discoverySolution.ts +4 -8
- package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +24 -0
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +24 -0
- package/src/operationsInterfaces/index.ts +4 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/simplifiedSolutions.ts +74 -0
- package/src/operationsInterfaces/solution.ts +51 -42
- package/src/operationsInterfaces/solutionSelfHelp.ts +29 -0
- package/src/operationsInterfaces/troubleshooters.ts +28 -25
- package/src/pagingHelper.ts +1 -1
- package/types/arm-selfhelp.d.ts +505 -136
- package/types/tsdoc-metadata.json +1 -1
package/src/models/index.ts
CHANGED
|
@@ -261,47 +261,6 @@ export interface SolutionMetadataProperties {
|
|
|
261
261
|
readonly requiredInputs?: string[];
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
/** Solution response. */
|
|
265
|
-
export interface SolutionResource {
|
|
266
|
-
/**
|
|
267
|
-
* Full resource uri of the resource.
|
|
268
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
269
|
-
*/
|
|
270
|
-
readonly id?: string;
|
|
271
|
-
/**
|
|
272
|
-
* Type of resource.
|
|
273
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
274
|
-
*/
|
|
275
|
-
readonly type?: string;
|
|
276
|
-
/**
|
|
277
|
-
* Resource name.
|
|
278
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
279
|
-
*/
|
|
280
|
-
readonly name?: string;
|
|
281
|
-
/** Solution result */
|
|
282
|
-
properties?: SolutionResourceProperties;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
/** Solution result */
|
|
286
|
-
export interface SolutionResourceProperties {
|
|
287
|
-
/** Solution request trigger criteria */
|
|
288
|
-
triggerCriteria?: TriggerCriterion[];
|
|
289
|
-
/** Client input parameters to run Solution */
|
|
290
|
-
parameters?: { [propertyName: string]: string };
|
|
291
|
-
/** Solution Id to identify single solution. */
|
|
292
|
-
solutionId?: string;
|
|
293
|
-
/** Status of solution provisioning. */
|
|
294
|
-
provisioningState?: SolutionProvisioningState;
|
|
295
|
-
/** The title. */
|
|
296
|
-
title?: string;
|
|
297
|
-
/** The HTML content that needs to be rendered and shown to customer. */
|
|
298
|
-
content?: string;
|
|
299
|
-
/** Solution replacement maps. */
|
|
300
|
-
replacementMaps?: ReplacementMaps;
|
|
301
|
-
/** List of section object. */
|
|
302
|
-
sections?: Section[];
|
|
303
|
-
}
|
|
304
|
-
|
|
305
264
|
/** Solution request trigger criterion. SolutionId/ProblemClassificationId is the only supported trigger type for Solution PUT request. ReplacementKey is the only supported trigger type for Solution PATCH request. */
|
|
306
265
|
export interface TriggerCriterion {
|
|
307
266
|
/** Trigger criterion name. */
|
|
@@ -364,6 +323,8 @@ export interface SolutionsDiagnostic {
|
|
|
364
323
|
statusDetails?: string;
|
|
365
324
|
/** Place holder used in HTML Content replace control with the content */
|
|
366
325
|
replacementKey?: string;
|
|
326
|
+
/** Diagnostics estimated completion time in minutes */
|
|
327
|
+
estimatedCompletionTime?: string;
|
|
367
328
|
/** Required parameters of this item */
|
|
368
329
|
requiredParameters?: string[];
|
|
369
330
|
/** Diagnostic insights */
|
|
@@ -438,10 +399,48 @@ export interface Section {
|
|
|
438
399
|
replacementMaps?: ReplacementMaps;
|
|
439
400
|
}
|
|
440
401
|
|
|
441
|
-
/** Solution
|
|
402
|
+
/** Solution PatchRequest body */
|
|
442
403
|
export interface SolutionPatchRequestBody {
|
|
443
|
-
/** Solution
|
|
444
|
-
|
|
404
|
+
/** Solution request trigger criteria */
|
|
405
|
+
triggerCriteria?: TriggerCriterion[];
|
|
406
|
+
/** Client input parameters to run Solution */
|
|
407
|
+
parameters?: { [propertyName: string]: string };
|
|
408
|
+
/**
|
|
409
|
+
* Solution Id to identify single solution.
|
|
410
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
411
|
+
*/
|
|
412
|
+
readonly solutionId?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Status of solution provisioning.
|
|
415
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
416
|
+
*/
|
|
417
|
+
readonly provisioningState?: SolutionProvisioningState;
|
|
418
|
+
/**
|
|
419
|
+
* The title.
|
|
420
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
421
|
+
*/
|
|
422
|
+
readonly title?: string;
|
|
423
|
+
/**
|
|
424
|
+
* The HTML content that needs to be rendered and shown to customer.
|
|
425
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
|
+
*/
|
|
427
|
+
readonly content?: string;
|
|
428
|
+
/**
|
|
429
|
+
* Solution replacement maps.
|
|
430
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
|
+
*/
|
|
432
|
+
readonly replacementMaps?: ReplacementMaps;
|
|
433
|
+
/**
|
|
434
|
+
* List of section object.
|
|
435
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
436
|
+
*/
|
|
437
|
+
readonly sections?: Section[];
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/** Solution WarmUpRequest body */
|
|
441
|
+
export interface SolutionWarmUpRequestBody {
|
|
442
|
+
/** Dictionary of <string> */
|
|
443
|
+
parameters?: { [propertyName: string]: string };
|
|
445
444
|
}
|
|
446
445
|
|
|
447
446
|
/** Troubleshooter step */
|
|
@@ -474,8 +473,10 @@ export interface Step {
|
|
|
474
473
|
export interface StepInput {
|
|
475
474
|
/** Use Index as QuestionId. */
|
|
476
475
|
questionId?: string;
|
|
477
|
-
/**
|
|
478
|
-
questionType?:
|
|
476
|
+
/** Type of Question */
|
|
477
|
+
questionType?: QuestionType;
|
|
478
|
+
/** Question title */
|
|
479
|
+
questionTitle?: string;
|
|
479
480
|
/** User question content. */
|
|
480
481
|
questionContent?: string;
|
|
481
482
|
/** Default is Text. */
|
|
@@ -495,6 +496,8 @@ export interface StepInput {
|
|
|
495
496
|
export interface ResponseValidationProperties {
|
|
496
497
|
/** Regex used for the input validation. */
|
|
497
498
|
regex?: string;
|
|
499
|
+
/** Validation scope */
|
|
500
|
+
validationScope?: ValidationScope;
|
|
498
501
|
/** Default True */
|
|
499
502
|
isRequired?: boolean;
|
|
500
503
|
/** Validation Error Message. */
|
|
@@ -513,6 +516,10 @@ export interface ResponseOption {
|
|
|
513
516
|
|
|
514
517
|
/** Only for AutomatedStep type */
|
|
515
518
|
export interface AutomatedCheckResult {
|
|
519
|
+
/** Version for automated check result */
|
|
520
|
+
version?: string;
|
|
521
|
+
/** Status for automated check result */
|
|
522
|
+
status?: string;
|
|
516
523
|
/** Insight Article Content */
|
|
517
524
|
result?: string;
|
|
518
525
|
/** Type of Result. */
|
|
@@ -530,7 +537,7 @@ export interface ContinueRequestBody {
|
|
|
530
537
|
export interface TroubleshooterResponse {
|
|
531
538
|
/** id of the question. */
|
|
532
539
|
questionId?: string;
|
|
533
|
-
/**
|
|
540
|
+
/** Type of Question */
|
|
534
541
|
questionType?: QuestionType;
|
|
535
542
|
/** Response key for SingleInput. For Multi-line test/open ended question it is free form text */
|
|
536
543
|
response?: string;
|
|
@@ -545,6 +552,60 @@ export interface RestartTroubleshooterResponse {
|
|
|
545
552
|
readonly troubleshooterResourceName?: string;
|
|
546
553
|
}
|
|
547
554
|
|
|
555
|
+
/** Solution replacement maps. */
|
|
556
|
+
export interface ReplacementMapsSelfHelp {
|
|
557
|
+
/** Solution AzureKB results */
|
|
558
|
+
webResults?: WebResult[];
|
|
559
|
+
/** Video solutions, which have the power to engage the customer by stimulating their senses */
|
|
560
|
+
videos?: Video[];
|
|
561
|
+
/** Group of Videos */
|
|
562
|
+
videoGroups?: VideoGroup[];
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
/** Part of the solution and are dividers in the solution rendering. */
|
|
566
|
+
export interface SectionSelfHelp {
|
|
567
|
+
/** Solution sections title. */
|
|
568
|
+
title?: string;
|
|
569
|
+
/** Solution sections content. */
|
|
570
|
+
content?: string;
|
|
571
|
+
/** Solution replacement maps. */
|
|
572
|
+
replacementMaps?: ReplacementMapsSelfHelp;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/** Discover NLP request. */
|
|
576
|
+
export interface DiscoveryNlpRequest {
|
|
577
|
+
/** Natural language description of the issue. */
|
|
578
|
+
issueSummary: string;
|
|
579
|
+
/** ARM resource Id of the resource that is having the issue. */
|
|
580
|
+
resourceId?: string;
|
|
581
|
+
/** 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. */
|
|
582
|
+
serviceId?: string;
|
|
583
|
+
/** Additional information in the form of a string. */
|
|
584
|
+
additionalContext?: string;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/** Successfully fetched list of solution metadata. */
|
|
588
|
+
export interface DiscoveryNlpResponse {
|
|
589
|
+
/** The list of solution metadata. */
|
|
590
|
+
value?: SolutionNlpMetadataResource[];
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/** Service Classification result object. */
|
|
594
|
+
export interface ClassificationService {
|
|
595
|
+
/**
|
|
596
|
+
* Azure resource Id of the service.
|
|
597
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
598
|
+
*/
|
|
599
|
+
readonly serviceId?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Localized name of the azure service.
|
|
602
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
603
|
+
*/
|
|
604
|
+
readonly displayName?: string;
|
|
605
|
+
/** List of applicable ARM resource types for this service. */
|
|
606
|
+
resourceTypes?: string[];
|
|
607
|
+
}
|
|
608
|
+
|
|
548
609
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
549
610
|
export interface ProxyResource extends Resource {}
|
|
550
611
|
|
|
@@ -556,7 +617,7 @@ export interface Video extends VideoGroupVideo {
|
|
|
556
617
|
|
|
557
618
|
/** Diagnostic resource */
|
|
558
619
|
export interface DiagnosticResource extends ProxyResource {
|
|
559
|
-
/** Global parameters
|
|
620
|
+
/** Global parameters is an optional map which can be used to add key and value to request body to improve the diagnostics results */
|
|
560
621
|
globalParameters?: { [propertyName: string]: string };
|
|
561
622
|
/** SolutionIds that are needed to be invoked. */
|
|
562
623
|
insights?: DiagnosticInvocation[];
|
|
@@ -583,6 +644,72 @@ export interface SolutionMetadataResource extends ProxyResource {
|
|
|
583
644
|
solutions?: SolutionMetadataProperties[];
|
|
584
645
|
}
|
|
585
646
|
|
|
647
|
+
/** Solution response. */
|
|
648
|
+
export interface SolutionResource extends ProxyResource {
|
|
649
|
+
/** Solution request trigger criteria */
|
|
650
|
+
triggerCriteria?: TriggerCriterion[];
|
|
651
|
+
/** Client input parameters to run Solution */
|
|
652
|
+
parameters?: { [propertyName: string]: string };
|
|
653
|
+
/**
|
|
654
|
+
* Solution Id to identify single solution.
|
|
655
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
656
|
+
*/
|
|
657
|
+
readonly solutionId?: string;
|
|
658
|
+
/**
|
|
659
|
+
* Status of solution provisioning.
|
|
660
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
661
|
+
*/
|
|
662
|
+
readonly provisioningState?: SolutionProvisioningState;
|
|
663
|
+
/**
|
|
664
|
+
* The title.
|
|
665
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
666
|
+
*/
|
|
667
|
+
readonly title?: string;
|
|
668
|
+
/**
|
|
669
|
+
* The HTML content that needs to be rendered and shown to customer.
|
|
670
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
671
|
+
*/
|
|
672
|
+
readonly content?: string;
|
|
673
|
+
/**
|
|
674
|
+
* Solution replacement maps.
|
|
675
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
676
|
+
*/
|
|
677
|
+
readonly replacementMaps?: ReplacementMaps;
|
|
678
|
+
/**
|
|
679
|
+
* List of section object.
|
|
680
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
681
|
+
*/
|
|
682
|
+
readonly sections?: Section[];
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
/** Simplified Solutions response. */
|
|
686
|
+
export interface SimplifiedSolutionsResource extends ProxyResource {
|
|
687
|
+
/** Solution Id to identify single Simplified Solution. */
|
|
688
|
+
solutionId?: string;
|
|
689
|
+
/** Client input parameters to run Simplified Solutions */
|
|
690
|
+
parameters?: { [propertyName: string]: string };
|
|
691
|
+
/**
|
|
692
|
+
* The title.
|
|
693
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
694
|
+
*/
|
|
695
|
+
readonly title?: string;
|
|
696
|
+
/**
|
|
697
|
+
* Additional parameter response for Simplified Solutions
|
|
698
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
699
|
+
*/
|
|
700
|
+
readonly appendix?: { [propertyName: string]: string };
|
|
701
|
+
/**
|
|
702
|
+
* The HTML content that needs to be rendered and shown to customer.
|
|
703
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
704
|
+
*/
|
|
705
|
+
readonly content?: string;
|
|
706
|
+
/**
|
|
707
|
+
* Status of Simplified Solution provisioning.
|
|
708
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
709
|
+
*/
|
|
710
|
+
readonly provisioningState?: SolutionProvisioningState;
|
|
711
|
+
}
|
|
712
|
+
|
|
586
713
|
/** Troubleshooter response. */
|
|
587
714
|
export interface TroubleshooterResource extends ProxyResource {
|
|
588
715
|
/** Solution Id to identify single troubleshooter. */
|
|
@@ -601,6 +728,51 @@ export interface TroubleshooterResource extends ProxyResource {
|
|
|
601
728
|
readonly steps?: Step[];
|
|
602
729
|
}
|
|
603
730
|
|
|
731
|
+
/** Self Help Solution response. */
|
|
732
|
+
export interface SolutionResourceSelfHelp extends ProxyResource {
|
|
733
|
+
/**
|
|
734
|
+
* 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
|
|
735
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
736
|
+
*/
|
|
737
|
+
readonly solutionId?: string;
|
|
738
|
+
/**
|
|
739
|
+
* The title.
|
|
740
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
741
|
+
*/
|
|
742
|
+
readonly title?: string;
|
|
743
|
+
/**
|
|
744
|
+
* The HTML content that needs to be rendered and shown to customer.
|
|
745
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
746
|
+
*/
|
|
747
|
+
readonly content?: string;
|
|
748
|
+
/**
|
|
749
|
+
* Solution replacement maps.
|
|
750
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
751
|
+
*/
|
|
752
|
+
readonly replacementMaps?: ReplacementMapsSelfHelp;
|
|
753
|
+
/**
|
|
754
|
+
* List of section object.
|
|
755
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
756
|
+
*/
|
|
757
|
+
readonly sections?: SectionSelfHelp[];
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/** Nlp Metadata resource */
|
|
761
|
+
export interface SolutionNlpMetadataResource extends ProxyResource {
|
|
762
|
+
/** Title of the problem classification. */
|
|
763
|
+
problemTitle?: string;
|
|
764
|
+
/** Description of the problem classification. */
|
|
765
|
+
problemDescription?: string;
|
|
766
|
+
/** 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. */
|
|
767
|
+
serviceId?: string;
|
|
768
|
+
/** 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. */
|
|
769
|
+
problemClassificationId?: string;
|
|
770
|
+
/** The list of solution metadata. */
|
|
771
|
+
solutions?: SolutionMetadataProperties[];
|
|
772
|
+
/** 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. */
|
|
773
|
+
relatedServices?: ClassificationService[];
|
|
774
|
+
}
|
|
775
|
+
|
|
604
776
|
/** Defines headers for Solution_update operation. */
|
|
605
777
|
export interface SolutionUpdateHeaders {
|
|
606
778
|
location?: string;
|
|
@@ -628,7 +800,7 @@ export enum KnownOrigin {
|
|
|
628
800
|
/** System */
|
|
629
801
|
System = "system",
|
|
630
802
|
/** UserSystem */
|
|
631
|
-
UserSystem = "user,system"
|
|
803
|
+
UserSystem = "user,system",
|
|
632
804
|
}
|
|
633
805
|
|
|
634
806
|
/**
|
|
@@ -645,7 +817,7 @@ export type Origin = string;
|
|
|
645
817
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
646
818
|
export enum KnownActionType {
|
|
647
819
|
/** Internal */
|
|
648
|
-
Internal = "Internal"
|
|
820
|
+
Internal = "Internal",
|
|
649
821
|
}
|
|
650
822
|
|
|
651
823
|
/**
|
|
@@ -665,8 +837,10 @@ export enum KnownDiagnosticProvisioningState {
|
|
|
665
837
|
PartialComplete = "PartialComplete",
|
|
666
838
|
/** All Diagnostics failed to run. */
|
|
667
839
|
Failed = "Failed",
|
|
840
|
+
/** All Diagnostics are still running. */
|
|
841
|
+
Running = "Running",
|
|
668
842
|
/** When Diagnostic request gets canceled. */
|
|
669
|
-
Canceled = "Canceled"
|
|
843
|
+
Canceled = "Canceled",
|
|
670
844
|
}
|
|
671
845
|
|
|
672
846
|
/**
|
|
@@ -677,6 +851,7 @@ export enum KnownDiagnosticProvisioningState {
|
|
|
677
851
|
* **Succeeded**: All Diagnostics in the Batch succeeded. \
|
|
678
852
|
* **PartialComplete**: Some Diagnostics are still running or failed. \
|
|
679
853
|
* **Failed**: All Diagnostics failed to run. \
|
|
854
|
+
* **Running**: All Diagnostics are still running. \
|
|
680
855
|
* **Canceled**: When Diagnostic request gets canceled.
|
|
681
856
|
*/
|
|
682
857
|
export type DiagnosticProvisioningState = string;
|
|
@@ -692,7 +867,7 @@ export enum KnownStatus {
|
|
|
692
867
|
/** Diagnostic creation succeeded. */
|
|
693
868
|
Succeeded = "Succeeded",
|
|
694
869
|
/** Diagnostic was timed out. */
|
|
695
|
-
Timeout = "Timeout"
|
|
870
|
+
Timeout = "Timeout",
|
|
696
871
|
}
|
|
697
872
|
|
|
698
873
|
/**
|
|
@@ -715,7 +890,7 @@ export enum KnownImportanceLevel {
|
|
|
715
890
|
/** A warning insight has been found after running the diagnostic. */
|
|
716
891
|
Warning = "Warning",
|
|
717
892
|
/** An information insight has been found after running the diagnostic. */
|
|
718
|
-
Information = "Information"
|
|
893
|
+
Information = "Information",
|
|
719
894
|
}
|
|
720
895
|
|
|
721
896
|
/**
|
|
@@ -738,7 +913,7 @@ export enum KnownCreatedByType {
|
|
|
738
913
|
/** ManagedIdentity */
|
|
739
914
|
ManagedIdentity = "ManagedIdentity",
|
|
740
915
|
/** Key */
|
|
741
|
-
Key = "Key"
|
|
916
|
+
Key = "Key",
|
|
742
917
|
}
|
|
743
918
|
|
|
744
919
|
/**
|
|
@@ -758,7 +933,11 @@ export enum KnownSolutionType {
|
|
|
758
933
|
/** Diagnostics resource type. */
|
|
759
934
|
Diagnostics = "Diagnostics",
|
|
760
935
|
/** Solutions resource type. */
|
|
761
|
-
Solutions = "Solutions"
|
|
936
|
+
Solutions = "Solutions",
|
|
937
|
+
/** Troubleshooters resource type. */
|
|
938
|
+
Troubleshooters = "Troubleshooters",
|
|
939
|
+
/** SelfHelp resource type. */
|
|
940
|
+
SelfHelp = "SelfHelp",
|
|
762
941
|
}
|
|
763
942
|
|
|
764
943
|
/**
|
|
@@ -767,7 +946,9 @@ export enum KnownSolutionType {
|
|
|
767
946
|
* this enum contains the known values that the service supports.
|
|
768
947
|
* ### Known values supported by the service
|
|
769
948
|
* **Diagnostics**: Diagnostics resource type. \
|
|
770
|
-
* **Solutions**: Solutions resource type.
|
|
949
|
+
* **Solutions**: Solutions resource type. \
|
|
950
|
+
* **Troubleshooters**: Troubleshooters resource type. \
|
|
951
|
+
* **SelfHelp**: SelfHelp resource type.
|
|
771
952
|
*/
|
|
772
953
|
export type SolutionType = string;
|
|
773
954
|
|
|
@@ -778,7 +959,7 @@ export enum KnownName {
|
|
|
778
959
|
/** ProblemClassificationId */
|
|
779
960
|
ProblemClassificationId = "ProblemClassificationId",
|
|
780
961
|
/** ReplacementKey */
|
|
781
|
-
ReplacementKey = "ReplacementKey"
|
|
962
|
+
ReplacementKey = "ReplacementKey",
|
|
782
963
|
}
|
|
783
964
|
|
|
784
965
|
/**
|
|
@@ -794,12 +975,16 @@ export type Name = string;
|
|
|
794
975
|
|
|
795
976
|
/** Known values of {@link SolutionProvisioningState} that the service accepts. */
|
|
796
977
|
export enum KnownSolutionProvisioningState {
|
|
797
|
-
/**
|
|
978
|
+
/** All Solutions in the Batch succeeded. */
|
|
798
979
|
Succeeded = "Succeeded",
|
|
799
|
-
/**
|
|
980
|
+
/** Some Solutions are still running or failed. */
|
|
981
|
+
PartialComplete = "PartialComplete",
|
|
982
|
+
/** All Solutions failed to run. */
|
|
800
983
|
Failed = "Failed",
|
|
801
|
-
/**
|
|
802
|
-
|
|
984
|
+
/** All Solutions are still running. */
|
|
985
|
+
Running = "Running",
|
|
986
|
+
/** When Solutions request gets canceled. */
|
|
987
|
+
Canceled = "Canceled",
|
|
803
988
|
}
|
|
804
989
|
|
|
805
990
|
/**
|
|
@@ -807,9 +992,11 @@ export enum KnownSolutionProvisioningState {
|
|
|
807
992
|
* {@link KnownSolutionProvisioningState} can be used interchangeably with SolutionProvisioningState,
|
|
808
993
|
* this enum contains the known values that the service supports.
|
|
809
994
|
* ### Known values supported by the service
|
|
810
|
-
* **Succeeded
|
|
811
|
-
* **
|
|
812
|
-
* **
|
|
995
|
+
* **Succeeded**: All Solutions in the Batch succeeded. \
|
|
996
|
+
* **PartialComplete**: Some Solutions are still running or failed. \
|
|
997
|
+
* **Failed**: All Solutions failed to run. \
|
|
998
|
+
* **Running**: All Solutions are still running. \
|
|
999
|
+
* **Canceled**: When Solutions request gets canceled.
|
|
813
1000
|
*/
|
|
814
1001
|
export type SolutionProvisioningState = string;
|
|
815
1002
|
|
|
@@ -820,7 +1007,7 @@ export enum KnownConfidence {
|
|
|
820
1007
|
/** Medium */
|
|
821
1008
|
Medium = "Medium",
|
|
822
1009
|
/** High */
|
|
823
|
-
High = "High"
|
|
1010
|
+
High = "High",
|
|
824
1011
|
}
|
|
825
1012
|
|
|
826
1013
|
/**
|
|
@@ -839,7 +1026,7 @@ export enum KnownResultType {
|
|
|
839
1026
|
/** Community */
|
|
840
1027
|
Community = "Community",
|
|
841
1028
|
/** Documentation */
|
|
842
|
-
Documentation = "Documentation"
|
|
1029
|
+
Documentation = "Documentation",
|
|
843
1030
|
}
|
|
844
1031
|
|
|
845
1032
|
/**
|
|
@@ -863,7 +1050,7 @@ export enum KnownAggregationType {
|
|
|
863
1050
|
/** Min */
|
|
864
1051
|
Min = "Min",
|
|
865
1052
|
/** Max */
|
|
866
|
-
Max = "Max"
|
|
1053
|
+
Max = "Max",
|
|
867
1054
|
}
|
|
868
1055
|
|
|
869
1056
|
/**
|
|
@@ -890,7 +1077,7 @@ export enum KnownTroubleshooterProvisioningState {
|
|
|
890
1077
|
/** Running */
|
|
891
1078
|
Running = "Running",
|
|
892
1079
|
/** AutoContinue */
|
|
893
|
-
AutoContinue = "AutoContinue"
|
|
1080
|
+
AutoContinue = "AutoContinue",
|
|
894
1081
|
}
|
|
895
1082
|
|
|
896
1083
|
/**
|
|
@@ -908,14 +1095,14 @@ export type TroubleshooterProvisioningState = string;
|
|
|
908
1095
|
|
|
909
1096
|
/** Known values of {@link ExecutionStatus} that the service accepts. */
|
|
910
1097
|
export enum KnownExecutionStatus {
|
|
911
|
-
/**
|
|
1098
|
+
/** Step execution succeeded. */
|
|
912
1099
|
Success = "Success",
|
|
913
|
-
/**
|
|
1100
|
+
/** Step execution running */
|
|
914
1101
|
Running = "Running",
|
|
915
|
-
/**
|
|
1102
|
+
/** Step execution failed */
|
|
916
1103
|
Failed = "Failed",
|
|
917
|
-
/**
|
|
918
|
-
Warning = "Warning"
|
|
1104
|
+
/** Step execution warning */
|
|
1105
|
+
Warning = "Warning",
|
|
919
1106
|
}
|
|
920
1107
|
|
|
921
1108
|
/**
|
|
@@ -923,10 +1110,10 @@ export enum KnownExecutionStatus {
|
|
|
923
1110
|
* {@link KnownExecutionStatus} can be used interchangeably with ExecutionStatus,
|
|
924
1111
|
* this enum contains the known values that the service supports.
|
|
925
1112
|
* ### Known values supported by the service
|
|
926
|
-
* **Success
|
|
927
|
-
* **Running
|
|
928
|
-
* **Failed
|
|
929
|
-
* **Warning
|
|
1113
|
+
* **Success**: Step execution succeeded. \
|
|
1114
|
+
* **Running**: Step execution running \
|
|
1115
|
+
* **Failed**: Step execution failed \
|
|
1116
|
+
* **Warning**: Step execution warning
|
|
930
1117
|
*/
|
|
931
1118
|
export type ExecutionStatus = string;
|
|
932
1119
|
|
|
@@ -939,7 +1126,9 @@ export enum KnownType {
|
|
|
939
1126
|
/** Insight */
|
|
940
1127
|
Insight = "Insight",
|
|
941
1128
|
/** AutomatedCheck */
|
|
942
|
-
AutomatedCheck = "AutomatedCheck"
|
|
1129
|
+
AutomatedCheck = "AutomatedCheck",
|
|
1130
|
+
/** Input */
|
|
1131
|
+
Input = "Input",
|
|
943
1132
|
}
|
|
944
1133
|
|
|
945
1134
|
/**
|
|
@@ -950,10 +1139,41 @@ export enum KnownType {
|
|
|
950
1139
|
* **Decision** \
|
|
951
1140
|
* **Solution** \
|
|
952
1141
|
* **Insight** \
|
|
953
|
-
* **AutomatedCheck**
|
|
1142
|
+
* **AutomatedCheck** \
|
|
1143
|
+
* **Input**
|
|
954
1144
|
*/
|
|
955
1145
|
export type Type = string;
|
|
956
1146
|
|
|
1147
|
+
/** Known values of {@link QuestionType} that the service accepts. */
|
|
1148
|
+
export enum KnownQuestionType {
|
|
1149
|
+
/** SingleChoice radio button */
|
|
1150
|
+
RadioButton = "RadioButton",
|
|
1151
|
+
/** SingleChoice dropdown. */
|
|
1152
|
+
Dropdown = "Dropdown",
|
|
1153
|
+
/** Text Input */
|
|
1154
|
+
TextInput = "TextInput",
|
|
1155
|
+
/** MultiLineInfoBox */
|
|
1156
|
+
MultiLineInfoBox = "MultiLineInfoBox",
|
|
1157
|
+
/** DateTime Picker */
|
|
1158
|
+
DateTimePicker = "DateTimePicker",
|
|
1159
|
+
/** Multi Select */
|
|
1160
|
+
MultiSelect = "MultiSelect",
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Defines values for QuestionType. \
|
|
1165
|
+
* {@link KnownQuestionType} can be used interchangeably with QuestionType,
|
|
1166
|
+
* this enum contains the known values that the service supports.
|
|
1167
|
+
* ### Known values supported by the service
|
|
1168
|
+
* **RadioButton**: SingleChoice radio button \
|
|
1169
|
+
* **Dropdown**: SingleChoice dropdown. \
|
|
1170
|
+
* **TextInput**: Text Input \
|
|
1171
|
+
* **MultiLineInfoBox**: MultiLineInfoBox \
|
|
1172
|
+
* **DateTimePicker**: DateTime Picker \
|
|
1173
|
+
* **MultiSelect**: Multi Select
|
|
1174
|
+
*/
|
|
1175
|
+
export type QuestionType = string;
|
|
1176
|
+
|
|
957
1177
|
/** Known values of {@link QuestionContentType} that the service accepts. */
|
|
958
1178
|
export enum KnownQuestionContentType {
|
|
959
1179
|
/** Text */
|
|
@@ -961,7 +1181,7 @@ export enum KnownQuestionContentType {
|
|
|
961
1181
|
/** Html */
|
|
962
1182
|
Html = "Html",
|
|
963
1183
|
/** Markdown */
|
|
964
|
-
Markdown = "Markdown"
|
|
1184
|
+
Markdown = "Markdown",
|
|
965
1185
|
}
|
|
966
1186
|
|
|
967
1187
|
/**
|
|
@@ -975,6 +1195,33 @@ export enum KnownQuestionContentType {
|
|
|
975
1195
|
*/
|
|
976
1196
|
export type QuestionContentType = string;
|
|
977
1197
|
|
|
1198
|
+
/** Known values of {@link ValidationScope} that the service accepts. */
|
|
1199
|
+
export enum KnownValidationScope {
|
|
1200
|
+
/** None */
|
|
1201
|
+
None = "None",
|
|
1202
|
+
/** URLFormat */
|
|
1203
|
+
URLFormat = "URLFormat",
|
|
1204
|
+
/** GuidFormat */
|
|
1205
|
+
GuidFormat = "GuidFormat",
|
|
1206
|
+
/** IpAddressFormat */
|
|
1207
|
+
IpAddressFormat = "IpAddressFormat",
|
|
1208
|
+
/** NumberOnlyFormat */
|
|
1209
|
+
NumberOnlyFormat = "NumberOnlyFormat",
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* Defines values for ValidationScope. \
|
|
1214
|
+
* {@link KnownValidationScope} can be used interchangeably with ValidationScope,
|
|
1215
|
+
* this enum contains the known values that the service supports.
|
|
1216
|
+
* ### Known values supported by the service
|
|
1217
|
+
* **None** \
|
|
1218
|
+
* **URLFormat** \
|
|
1219
|
+
* **GuidFormat** \
|
|
1220
|
+
* **IpAddressFormat** \
|
|
1221
|
+
* **NumberOnlyFormat**
|
|
1222
|
+
*/
|
|
1223
|
+
export type ValidationScope = string;
|
|
1224
|
+
|
|
978
1225
|
/** Known values of {@link AutomatedCheckResultType} that the service accepts. */
|
|
979
1226
|
export enum KnownAutomatedCheckResultType {
|
|
980
1227
|
/** Success */
|
|
@@ -984,7 +1231,7 @@ export enum KnownAutomatedCheckResultType {
|
|
|
984
1231
|
/** Error */
|
|
985
1232
|
Error = "Error",
|
|
986
1233
|
/** Information */
|
|
987
|
-
Information = "Information"
|
|
1234
|
+
Information = "Information",
|
|
988
1235
|
}
|
|
989
1236
|
|
|
990
1237
|
/**
|
|
@@ -999,30 +1246,6 @@ export enum KnownAutomatedCheckResultType {
|
|
|
999
1246
|
*/
|
|
1000
1247
|
export type AutomatedCheckResultType = string;
|
|
1001
1248
|
|
|
1002
|
-
/** Known values of {@link QuestionType} that the service accepts. */
|
|
1003
|
-
export enum KnownQuestionType {
|
|
1004
|
-
/** SingleChoice radio button */
|
|
1005
|
-
RadioButton = "RadioButton",
|
|
1006
|
-
/** SingleChoice dropdown. */
|
|
1007
|
-
Dropdown = "Dropdown",
|
|
1008
|
-
/** Text Input */
|
|
1009
|
-
TextInput = "TextInput",
|
|
1010
|
-
/** MultiLineInfoBox */
|
|
1011
|
-
MultiLineInfoBox = "MultiLineInfoBox"
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* Defines values for QuestionType. \
|
|
1016
|
-
* {@link KnownQuestionType} can be used interchangeably with QuestionType,
|
|
1017
|
-
* this enum contains the known values that the service supports.
|
|
1018
|
-
* ### Known values supported by the service
|
|
1019
|
-
* **RadioButton**: SingleChoice radio button \
|
|
1020
|
-
* **Dropdown**: SingleChoice dropdown. \
|
|
1021
|
-
* **TextInput**: Text Input \
|
|
1022
|
-
* **MultiLineInfoBox**: MultiLineInfoBox
|
|
1023
|
-
*/
|
|
1024
|
-
export type QuestionType = string;
|
|
1025
|
-
|
|
1026
1249
|
/** Optional parameters. */
|
|
1027
1250
|
export interface OperationsListOptionalParams
|
|
1028
1251
|
extends coreClient.OperationOptions {}
|
|
@@ -1071,7 +1294,7 @@ export type DiagnosticsGetResponse = DiagnosticResource;
|
|
|
1071
1294
|
/** Optional parameters. */
|
|
1072
1295
|
export interface DiscoverySolutionListOptionalParams
|
|
1073
1296
|
extends coreClient.OperationOptions {
|
|
1074
|
-
/** 'ProblemClassificationId'
|
|
1297
|
+
/** 'ProblemClassificationId' is a mandatory filter to get solutions ids. It also supports optional 'ResourceType' and 'SolutionType' filters. The [$filter](https://learn.microsoft.com/en-us/odata/webapi/first-odata-api#filter) supports only 'and', 'or' and 'eq' operators. Example: $filter=ProblemClassificationId eq '1ddda5b4-cf6c-4d4f-91ad-bc38ab0e811e' */
|
|
1075
1298
|
filter?: string;
|
|
1076
1299
|
/** Skiptoken is only used if a previous operation returned a partial result. */
|
|
1077
1300
|
skiptoken?: string;
|
|
@@ -1122,6 +1345,34 @@ export interface SolutionUpdateOptionalParams
|
|
|
1122
1345
|
/** Contains response data for the update operation. */
|
|
1123
1346
|
export type SolutionUpdateResponse = SolutionUpdateHeaders & SolutionResource;
|
|
1124
1347
|
|
|
1348
|
+
/** Optional parameters. */
|
|
1349
|
+
export interface SolutionWarmUpOptionalParams
|
|
1350
|
+
extends coreClient.OperationOptions {
|
|
1351
|
+
/** The required request body for warming up a solution resource. */
|
|
1352
|
+
solutionWarmUpRequestBody?: SolutionWarmUpRequestBody;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/** Optional parameters. */
|
|
1356
|
+
export interface SimplifiedSolutionsCreateOptionalParams
|
|
1357
|
+
extends coreClient.OperationOptions {
|
|
1358
|
+
/** The required request body for simplified Solutions resource creation. */
|
|
1359
|
+
simplifiedSolutionsRequestBody?: SimplifiedSolutionsResource;
|
|
1360
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1361
|
+
updateIntervalInMs?: number;
|
|
1362
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1363
|
+
resumeFrom?: string;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
/** Contains response data for the create operation. */
|
|
1367
|
+
export type SimplifiedSolutionsCreateResponse = SimplifiedSolutionsResource;
|
|
1368
|
+
|
|
1369
|
+
/** Optional parameters. */
|
|
1370
|
+
export interface SimplifiedSolutionsGetOptionalParams
|
|
1371
|
+
extends coreClient.OperationOptions {}
|
|
1372
|
+
|
|
1373
|
+
/** Contains response data for the get operation. */
|
|
1374
|
+
export type SimplifiedSolutionsGetResponse = SimplifiedSolutionsResource;
|
|
1375
|
+
|
|
1125
1376
|
/** Optional parameters. */
|
|
1126
1377
|
export interface TroubleshootersCreateOptionalParams
|
|
1127
1378
|
extends coreClient.OperationOptions {
|
|
@@ -1164,6 +1415,34 @@ export interface TroubleshootersRestartOptionalParams
|
|
|
1164
1415
|
export type TroubleshootersRestartResponse = TroubleshootersRestartHeaders &
|
|
1165
1416
|
RestartTroubleshooterResponse;
|
|
1166
1417
|
|
|
1418
|
+
/** Optional parameters. */
|
|
1419
|
+
export interface SolutionSelfHelpGetOptionalParams
|
|
1420
|
+
extends coreClient.OperationOptions {}
|
|
1421
|
+
|
|
1422
|
+
/** Contains response data for the get operation. */
|
|
1423
|
+
export type SolutionSelfHelpGetResponse = SolutionResourceSelfHelp;
|
|
1424
|
+
|
|
1425
|
+
/** Optional parameters. */
|
|
1426
|
+
export interface DiscoverySolutionNLPTenantScopePostOptionalParams
|
|
1427
|
+
extends coreClient.OperationOptions {
|
|
1428
|
+
/** Request body for discovering solutions using NLP. */
|
|
1429
|
+
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
/** Contains response data for the post operation. */
|
|
1433
|
+
export type DiscoverySolutionNLPTenantScopePostResponse = DiscoveryNlpResponse;
|
|
1434
|
+
|
|
1435
|
+
/** Optional parameters. */
|
|
1436
|
+
export interface DiscoverySolutionNLPSubscriptionScopePostOptionalParams
|
|
1437
|
+
extends coreClient.OperationOptions {
|
|
1438
|
+
/** Request body for discovering solutions using NLP. */
|
|
1439
|
+
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/** Contains response data for the post operation. */
|
|
1443
|
+
export type DiscoverySolutionNLPSubscriptionScopePostResponse =
|
|
1444
|
+
DiscoveryNlpResponse;
|
|
1445
|
+
|
|
1167
1446
|
/** Optional parameters. */
|
|
1168
1447
|
export interface HelpRPOptionalParams extends coreClient.ServiceClientOptions {
|
|
1169
1448
|
/** server parameter */
|