@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
@@ -323,6 +323,8 @@ export interface SolutionsDiagnostic {
323
323
  statusDetails?: string;
324
324
  /** Place holder used in HTML Content replace control with the content */
325
325
  replacementKey?: string;
326
+ /** Diagnostics estimated completion time in minutes */
327
+ estimatedCompletionTime?: string;
326
328
  /** Required parameters of this item */
327
329
  requiredParameters?: string[];
328
330
  /** Diagnostic insights */
@@ -397,7 +399,7 @@ export interface Section {
397
399
  replacementMaps?: ReplacementMaps;
398
400
  }
399
401
 
400
- /** Solution response */
402
+ /** Solution PatchRequest body */
401
403
  export interface SolutionPatchRequestBody {
402
404
  /** Solution request trigger criteria */
403
405
  triggerCriteria?: TriggerCriterion[];
@@ -435,6 +437,12 @@ export interface SolutionPatchRequestBody {
435
437
  readonly sections?: Section[];
436
438
  }
437
439
 
440
+ /** Solution WarmUpRequest body */
441
+ export interface SolutionWarmUpRequestBody {
442
+ /** Dictionary of <string> */
443
+ parameters?: { [propertyName: string]: string };
444
+ }
445
+
438
446
  /** Troubleshooter step */
439
447
  export interface Step {
440
448
  /** Unique step id. */
@@ -467,6 +475,8 @@ export interface StepInput {
467
475
  questionId?: string;
468
476
  /** Type of Question */
469
477
  questionType?: QuestionType;
478
+ /** Question title */
479
+ questionTitle?: string;
470
480
  /** User question content. */
471
481
  questionContent?: string;
472
482
  /** Default is Text. */
@@ -486,6 +496,8 @@ export interface StepInput {
486
496
  export interface ResponseValidationProperties {
487
497
  /** Regex used for the input validation. */
488
498
  regex?: string;
499
+ /** Validation scope */
500
+ validationScope?: ValidationScope;
489
501
  /** Default True */
490
502
  isRequired?: boolean;
491
503
  /** Validation Error Message. */
@@ -504,6 +516,10 @@ export interface ResponseOption {
504
516
 
505
517
  /** Only for AutomatedStep type */
506
518
  export interface AutomatedCheckResult {
519
+ /** Version for automated check result */
520
+ version?: string;
521
+ /** Status for automated check result */
522
+ status?: string;
507
523
  /** Insight Article Content */
508
524
  result?: string;
509
525
  /** Type of Result. */
@@ -536,6 +552,60 @@ export interface RestartTroubleshooterResponse {
536
552
  readonly troubleshooterResourceName?: string;
537
553
  }
538
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. Only applicable for Discovery Solution NLP Subscription Scope. */
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
+
539
609
  /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
540
610
  export interface ProxyResource extends Resource {}
541
611
 
@@ -612,6 +682,34 @@ export interface SolutionResource extends ProxyResource {
612
682
  readonly sections?: Section[];
613
683
  }
614
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
+
615
713
  /** Troubleshooter response. */
616
714
  export interface TroubleshooterResource extends ProxyResource {
617
715
  /** Solution Id to identify single troubleshooter. */
@@ -630,6 +728,51 @@ export interface TroubleshooterResource extends ProxyResource {
630
728
  readonly steps?: Step[];
631
729
  }
632
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
+
633
776
  /** Defines headers for Solution_update operation. */
634
777
  export interface SolutionUpdateHeaders {
635
778
  location?: string;
@@ -657,7 +800,7 @@ export enum KnownOrigin {
657
800
  /** System */
658
801
  System = "system",
659
802
  /** UserSystem */
660
- UserSystem = "user,system"
803
+ UserSystem = "user,system",
661
804
  }
662
805
 
663
806
  /**
@@ -674,7 +817,7 @@ export type Origin = string;
674
817
  /** Known values of {@link ActionType} that the service accepts. */
675
818
  export enum KnownActionType {
676
819
  /** Internal */
677
- Internal = "Internal"
820
+ Internal = "Internal",
678
821
  }
679
822
 
680
823
  /**
@@ -697,7 +840,7 @@ export enum KnownDiagnosticProvisioningState {
697
840
  /** All Diagnostics are still running. */
698
841
  Running = "Running",
699
842
  /** When Diagnostic request gets canceled. */
700
- Canceled = "Canceled"
843
+ Canceled = "Canceled",
701
844
  }
702
845
 
703
846
  /**
@@ -724,7 +867,7 @@ export enum KnownStatus {
724
867
  /** Diagnostic creation succeeded. */
725
868
  Succeeded = "Succeeded",
726
869
  /** Diagnostic was timed out. */
727
- Timeout = "Timeout"
870
+ Timeout = "Timeout",
728
871
  }
729
872
 
730
873
  /**
@@ -747,7 +890,7 @@ export enum KnownImportanceLevel {
747
890
  /** A warning insight has been found after running the diagnostic. */
748
891
  Warning = "Warning",
749
892
  /** An information insight has been found after running the diagnostic. */
750
- Information = "Information"
893
+ Information = "Information",
751
894
  }
752
895
 
753
896
  /**
@@ -770,7 +913,7 @@ export enum KnownCreatedByType {
770
913
  /** ManagedIdentity */
771
914
  ManagedIdentity = "ManagedIdentity",
772
915
  /** Key */
773
- Key = "Key"
916
+ Key = "Key",
774
917
  }
775
918
 
776
919
  /**
@@ -790,7 +933,11 @@ export enum KnownSolutionType {
790
933
  /** Diagnostics resource type. */
791
934
  Diagnostics = "Diagnostics",
792
935
  /** Solutions resource type. */
793
- Solutions = "Solutions"
936
+ Solutions = "Solutions",
937
+ /** Troubleshooters resource type. */
938
+ Troubleshooters = "Troubleshooters",
939
+ /** SelfHelp resource type. */
940
+ SelfHelp = "SelfHelp",
794
941
  }
795
942
 
796
943
  /**
@@ -799,7 +946,9 @@ export enum KnownSolutionType {
799
946
  * this enum contains the known values that the service supports.
800
947
  * ### Known values supported by the service
801
948
  * **Diagnostics**: Diagnostics resource type. \
802
- * **Solutions**: Solutions resource type.
949
+ * **Solutions**: Solutions resource type. \
950
+ * **Troubleshooters**: Troubleshooters resource type. \
951
+ * **SelfHelp**: SelfHelp resource type.
803
952
  */
804
953
  export type SolutionType = string;
805
954
 
@@ -810,7 +959,7 @@ export enum KnownName {
810
959
  /** ProblemClassificationId */
811
960
  ProblemClassificationId = "ProblemClassificationId",
812
961
  /** ReplacementKey */
813
- ReplacementKey = "ReplacementKey"
962
+ ReplacementKey = "ReplacementKey",
814
963
  }
815
964
 
816
965
  /**
@@ -835,7 +984,7 @@ export enum KnownSolutionProvisioningState {
835
984
  /** All Solutions are still running. */
836
985
  Running = "Running",
837
986
  /** When Solutions request gets canceled. */
838
- Canceled = "Canceled"
987
+ Canceled = "Canceled",
839
988
  }
840
989
 
841
990
  /**
@@ -858,7 +1007,7 @@ export enum KnownConfidence {
858
1007
  /** Medium */
859
1008
  Medium = "Medium",
860
1009
  /** High */
861
- High = "High"
1010
+ High = "High",
862
1011
  }
863
1012
 
864
1013
  /**
@@ -877,7 +1026,7 @@ export enum KnownResultType {
877
1026
  /** Community */
878
1027
  Community = "Community",
879
1028
  /** Documentation */
880
- Documentation = "Documentation"
1029
+ Documentation = "Documentation",
881
1030
  }
882
1031
 
883
1032
  /**
@@ -901,7 +1050,7 @@ export enum KnownAggregationType {
901
1050
  /** Min */
902
1051
  Min = "Min",
903
1052
  /** Max */
904
- Max = "Max"
1053
+ Max = "Max",
905
1054
  }
906
1055
 
907
1056
  /**
@@ -928,7 +1077,7 @@ export enum KnownTroubleshooterProvisioningState {
928
1077
  /** Running */
929
1078
  Running = "Running",
930
1079
  /** AutoContinue */
931
- AutoContinue = "AutoContinue"
1080
+ AutoContinue = "AutoContinue",
932
1081
  }
933
1082
 
934
1083
  /**
@@ -953,7 +1102,7 @@ export enum KnownExecutionStatus {
953
1102
  /** Step execution failed */
954
1103
  Failed = "Failed",
955
1104
  /** Step execution warning */
956
- Warning = "Warning"
1105
+ Warning = "Warning",
957
1106
  }
958
1107
 
959
1108
  /**
@@ -977,7 +1126,9 @@ export enum KnownType {
977
1126
  /** Insight */
978
1127
  Insight = "Insight",
979
1128
  /** AutomatedCheck */
980
- AutomatedCheck = "AutomatedCheck"
1129
+ AutomatedCheck = "AutomatedCheck",
1130
+ /** Input */
1131
+ Input = "Input",
981
1132
  }
982
1133
 
983
1134
  /**
@@ -988,7 +1139,8 @@ export enum KnownType {
988
1139
  * **Decision** \
989
1140
  * **Solution** \
990
1141
  * **Insight** \
991
- * **AutomatedCheck**
1142
+ * **AutomatedCheck** \
1143
+ * **Input**
992
1144
  */
993
1145
  export type Type = string;
994
1146
 
@@ -1001,7 +1153,11 @@ export enum KnownQuestionType {
1001
1153
  /** Text Input */
1002
1154
  TextInput = "TextInput",
1003
1155
  /** MultiLineInfoBox */
1004
- MultiLineInfoBox = "MultiLineInfoBox"
1156
+ MultiLineInfoBox = "MultiLineInfoBox",
1157
+ /** DateTime Picker */
1158
+ DateTimePicker = "DateTimePicker",
1159
+ /** Multi Select */
1160
+ MultiSelect = "MultiSelect",
1005
1161
  }
1006
1162
 
1007
1163
  /**
@@ -1012,7 +1168,9 @@ export enum KnownQuestionType {
1012
1168
  * **RadioButton**: SingleChoice radio button \
1013
1169
  * **Dropdown**: SingleChoice dropdown. \
1014
1170
  * **TextInput**: Text Input \
1015
- * **MultiLineInfoBox**: MultiLineInfoBox
1171
+ * **MultiLineInfoBox**: MultiLineInfoBox \
1172
+ * **DateTimePicker**: DateTime Picker \
1173
+ * **MultiSelect**: Multi Select
1016
1174
  */
1017
1175
  export type QuestionType = string;
1018
1176
 
@@ -1023,7 +1181,7 @@ export enum KnownQuestionContentType {
1023
1181
  /** Html */
1024
1182
  Html = "Html",
1025
1183
  /** Markdown */
1026
- Markdown = "Markdown"
1184
+ Markdown = "Markdown",
1027
1185
  }
1028
1186
 
1029
1187
  /**
@@ -1037,6 +1195,33 @@ export enum KnownQuestionContentType {
1037
1195
  */
1038
1196
  export type QuestionContentType = string;
1039
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
+
1040
1225
  /** Known values of {@link AutomatedCheckResultType} that the service accepts. */
1041
1226
  export enum KnownAutomatedCheckResultType {
1042
1227
  /** Success */
@@ -1046,7 +1231,7 @@ export enum KnownAutomatedCheckResultType {
1046
1231
  /** Error */
1047
1232
  Error = "Error",
1048
1233
  /** Information */
1049
- Information = "Information"
1234
+ Information = "Information",
1050
1235
  }
1051
1236
 
1052
1237
  /**
@@ -1160,6 +1345,34 @@ export interface SolutionUpdateOptionalParams
1160
1345
  /** Contains response data for the update operation. */
1161
1346
  export type SolutionUpdateResponse = SolutionUpdateHeaders & SolutionResource;
1162
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
+
1163
1376
  /** Optional parameters. */
1164
1377
  export interface TroubleshootersCreateOptionalParams
1165
1378
  extends coreClient.OperationOptions {
@@ -1202,6 +1415,34 @@ export interface TroubleshootersRestartOptionalParams
1202
1415
  export type TroubleshootersRestartResponse = TroubleshootersRestartHeaders &
1203
1416
  RestartTroubleshooterResponse;
1204
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
+
1205
1446
  /** Optional parameters. */
1206
1447
  export interface HelpRPOptionalParams extends coreClient.ServiceClientOptions {
1207
1448
  /** server parameter */