@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.
Files changed (174) hide show
  1. package/CHANGELOG.md +214 -1
  2. package/LICENSE +1 -1
  3. package/README.md +3 -2
  4. package/dist/index.js +1679 -907
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js +1 -1
  7. package/dist/index.min.js.map +1 -1
  8. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js +7 -7
  9. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -1
  10. package/dist-esm/samples-dev/diagnosticsCreateSample.js +3 -3
  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 +45 -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 +43 -0
  21. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
  22. package/dist-esm/samples-dev/operationsListSample.js +5 -3
  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 -10
  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 +1 -1
  40. package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/solutionWarmUpSample.js +37 -0
  43. package/dist-esm/samples-dev/solutionWarmUpSample.js.map +1 -0
  44. package/dist-esm/samples-dev/troubleshootersContinueSample.js +6 -6
  45. package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -1
  46. package/dist-esm/samples-dev/troubleshootersCreateSample.js +7 -7
  47. package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/troubleshootersEndSample.js +1 -1
  49. package/dist-esm/samples-dev/troubleshootersGetSample.js +1 -1
  50. package/dist-esm/samples-dev/troubleshootersRestartSample.js +1 -1
  51. package/dist-esm/src/helpRP.d.ts +8 -1
  52. package/dist-esm/src/helpRP.d.ts.map +1 -1
  53. package/dist-esm/src/helpRP.js +25 -15
  54. package/dist-esm/src/helpRP.js.map +1 -1
  55. package/dist-esm/src/lroImpl.js +1 -1
  56. package/dist-esm/src/models/index.d.ts +350 -89
  57. package/dist-esm/src/models/index.d.ts.map +1 -1
  58. package/dist-esm/src/models/index.js +49 -19
  59. package/dist-esm/src/models/index.js.map +1 -1
  60. package/dist-esm/src/models/mappers.d.ts +10 -2
  61. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  62. package/dist-esm/src/models/mappers.js +947 -590
  63. package/dist-esm/src/models/mappers.js.map +1 -1
  64. package/dist-esm/src/models/parameters.d.ts +6 -0
  65. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  66. package/dist-esm/src/models/parameters.js +95 -44
  67. package/dist-esm/src/models/parameters.js.map +1 -1
  68. package/dist-esm/src/operations/checkNameAvailability.d.ts +3 -2
  69. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
  70. package/dist-esm/src/operations/checkNameAvailability.js +7 -6
  71. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
  72. package/dist-esm/src/operations/diagnostics.d.ts +15 -16
  73. package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
  74. package/dist-esm/src/operations/diagnostics.js +33 -34
  75. package/dist-esm/src/operations/diagnostics.js.map +1 -1
  76. package/dist-esm/src/operations/discoverySolution.d.ts +5 -13
  77. package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
  78. package/dist-esm/src/operations/discoverySolution.js +29 -37
  79. package/dist-esm/src/operations/discoverySolution.js.map +1 -1
  80. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +19 -0
  81. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
  82. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +49 -0
  83. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +1 -0
  84. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +19 -0
  85. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +1 -0
  86. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +49 -0
  87. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +1 -0
  88. package/dist-esm/src/operations/index.d.ts +4 -0
  89. package/dist-esm/src/operations/index.d.ts.map +1 -1
  90. package/dist-esm/src/operations/index.js +4 -0
  91. package/dist-esm/src/operations/index.js.map +1 -1
  92. package/dist-esm/src/operations/operations.js +9 -9
  93. package/dist-esm/src/operations/operations.js.map +1 -1
  94. package/dist-esm/src/operations/simplifiedSolutions.d.ts +52 -0
  95. package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +1 -0
  96. package/dist-esm/src/operations/simplifiedSolutions.js +159 -0
  97. package/dist-esm/src/operations/simplifiedSolutions.js.map +1 -0
  98. package/dist-esm/src/operations/solution.d.ts +41 -37
  99. package/dist-esm/src/operations/solution.d.ts.map +1 -1
  100. package/dist-esm/src/operations/solution.js +92 -66
  101. package/dist-esm/src/operations/solution.js.map +1 -1
  102. package/dist-esm/src/operations/solutionSelfHelp.d.ts +23 -0
  103. package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +1 -0
  104. package/dist-esm/src/operations/solutionSelfHelp.js +51 -0
  105. package/dist-esm/src/operations/solutionSelfHelp.js.map +1 -0
  106. package/dist-esm/src/operations/troubleshooters.d.ts +22 -19
  107. package/dist-esm/src/operations/troubleshooters.d.ts.map +1 -1
  108. package/dist-esm/src/operations/troubleshooters.js +48 -45
  109. package/dist-esm/src/operations/troubleshooters.js.map +1 -1
  110. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +3 -2
  111. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  112. package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +15 -16
  113. package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
  114. package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +3 -6
  115. package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
  116. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +11 -0
  117. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +9 -0
  119. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +1 -0
  122. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +9 -0
  123. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  125. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  126. package/dist-esm/src/operationsInterfaces/index.js +4 -0
  127. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  128. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
  129. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +1 -0
  132. package/dist-esm/src/operationsInterfaces/solution.d.ts +41 -37
  133. package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -1
  134. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
  135. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
  136. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js +9 -0
  137. package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +1 -0
  138. package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts +22 -19
  139. package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts.map +1 -1
  140. package/dist-esm/src/pagingHelper.js.map +1 -1
  141. package/dist-esm/test/selfhelp_operations_test.spec.js +2 -2
  142. package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
  143. package/package.json +11 -11
  144. package/review/arm-selfhelp.api.md +198 -19
  145. package/src/helpRP.ts +58 -17
  146. package/src/lroImpl.ts +3 -3
  147. package/src/models/index.ts +385 -106
  148. package/src/models/mappers.ts +995 -597
  149. package/src/models/parameters.ts +105 -45
  150. package/src/operations/checkNameAvailability.ts +10 -9
  151. package/src/operations/diagnostics.ts +48 -52
  152. package/src/operations/discoverySolution.ts +31 -47
  153. package/src/operations/discoverySolutionNLPSubscriptionScope.ts +64 -0
  154. package/src/operations/discoverySolutionNLPTenantScope.ts +64 -0
  155. package/src/operations/index.ts +4 -0
  156. package/src/operations/operations.ts +16 -16
  157. package/src/operations/simplifiedSolutions.ts +216 -0
  158. package/src/operations/solution.ts +122 -89
  159. package/src/operations/solutionSelfHelp.ts +68 -0
  160. package/src/operations/troubleshooters.ts +64 -66
  161. package/src/operationsInterfaces/checkNameAvailability.ts +5 -4
  162. package/src/operationsInterfaces/diagnostics.ts +19 -20
  163. package/src/operationsInterfaces/discoverySolution.ts +4 -8
  164. package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +24 -0
  165. package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +24 -0
  166. package/src/operationsInterfaces/index.ts +4 -0
  167. package/src/operationsInterfaces/operations.ts +1 -1
  168. package/src/operationsInterfaces/simplifiedSolutions.ts +74 -0
  169. package/src/operationsInterfaces/solution.ts +51 -42
  170. package/src/operationsInterfaces/solutionSelfHelp.ts +29 -0
  171. package/src/operationsInterfaces/troubleshooters.ts +28 -25
  172. package/src/pagingHelper.ts +1 -1
  173. package/types/arm-selfhelp.d.ts +505 -136
  174. package/types/tsdoc-metadata.json +1 -1
@@ -38,7 +38,7 @@ export class OperationsImpl {
38
38
  throw new Error("maxPageSize is not supported by this operation.");
39
39
  }
40
40
  return this.listPagingPage(options, settings);
41
- }
41
+ },
42
42
  };
43
43
  }
44
44
  listPagingPage(options, settings) {
@@ -104,30 +104,30 @@ const listOperationSpec = {
104
104
  httpMethod: "GET",
105
105
  responses: {
106
106
  200: {
107
- bodyMapper: Mappers.OperationListResult
107
+ bodyMapper: Mappers.OperationListResult,
108
108
  },
109
109
  default: {
110
- bodyMapper: Mappers.ErrorResponse
111
- }
110
+ bodyMapper: Mappers.ErrorResponse,
111
+ },
112
112
  },
113
113
  queryParameters: [Parameters.apiVersion],
114
114
  urlParameters: [Parameters.$host],
115
115
  headerParameters: [Parameters.accept],
116
- serializer
116
+ serializer,
117
117
  };
118
118
  const listNextOperationSpec = {
119
119
  path: "{nextLink}",
120
120
  httpMethod: "GET",
121
121
  responses: {
122
122
  200: {
123
- bodyMapper: Mappers.OperationListResult
123
+ bodyMapper: Mappers.OperationListResult,
124
124
  },
125
125
  default: {
126
- bodyMapper: Mappers.ErrorResponse
127
- }
126
+ bodyMapper: Mappers.ErrorResponse,
127
+ },
128
128
  },
129
129
  urlParameters: [Parameters.$host, Parameters.nextLink],
130
130
  headerParameters: [Parameters.accept],
131
- serializer
131
+ serializer,
132
132
  };
133
133
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI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C,CAAC;IAC1E,CAAC;IAED;;;;OAIG;IACK,SAAS,CACf,QAAgB,EAChB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,sCAAsC;IAC5C,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,52 @@
1
+ import { SimplifiedSolutions } from "../operationsInterfaces";
2
+ import { HelpRP } from "../helpRP";
3
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
+ import { SimplifiedSolutionsCreateOptionalParams, SimplifiedSolutionsCreateResponse, SimplifiedSolutionsGetOptionalParams, SimplifiedSolutionsGetResponse } from "../models";
5
+ /** Class containing SimplifiedSolutions operations. */
6
+ export declare class SimplifiedSolutionsImpl implements SimplifiedSolutions {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class SimplifiedSolutions class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: HelpRP);
13
+ /**
14
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
15
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
16
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
17
+ * Simplified Solutions, users don't have to worry about stitching together the article using
18
+ * replacement maps and can use the content in the API response to directly render as HTML
19
+ * content.<br/>
20
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
21
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
22
+ *
23
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
24
+ * @param options The options parameters.
25
+ */
26
+ beginCreate(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<SimplifiedSolutionsCreateResponse>, SimplifiedSolutionsCreateResponse>>;
27
+ /**
28
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
29
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
30
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
31
+ * Simplified Solutions, users don't have to worry about stitching together the article using
32
+ * replacement maps and can use the content in the API response to directly render as HTML
33
+ * content.<br/>
34
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
35
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
36
+ *
37
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
38
+ * @param options The options parameters.
39
+ */
40
+ beginCreateAndWait(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplifiedSolutionsCreateResponse>;
41
+ /**
42
+ * Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
43
+ * Solutions.
44
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
45
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
46
+ *
47
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
48
+ * @param options The options parameters.
49
+ */
50
+ get(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsGetOptionalParams): Promise<SimplifiedSolutionsGetResponse>;
51
+ }
52
+ //# sourceMappingURL=simplifiedSolutions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simplifiedSolutions.d.ts","sourceRoot":"","sources":["../../../src/operations/simplifiedSolutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,uCAAuC,EACvC,iCAAiC,EACjC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;;OAYG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF;IAwDD;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAS7C;;;;;;;;OAQG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;CAM3C"}
@@ -0,0 +1,159 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ import { createHttpPoller, } from "@azure/core-lro";
13
+ import { createLroSpec } from "../lroImpl";
14
+ /** Class containing SimplifiedSolutions operations. */
15
+ export class SimplifiedSolutionsImpl {
16
+ /**
17
+ * Initialize a new instance of the class SimplifiedSolutions class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
25
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
26
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
27
+ * Simplified Solutions, users don't have to worry about stitching together the article using
28
+ * replacement maps and can use the content in the API response to directly render as HTML
29
+ * content.<br/>
30
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
31
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
32
+ *
33
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
34
+ * @param options The options parameters.
35
+ */
36
+ beginCreate(scope, simplifiedSolutionsResourceName, options) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
39
+ return this.client.sendOperationRequest(args, spec);
40
+ });
41
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
42
+ var _a;
43
+ let currentRawResponse = undefined;
44
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
45
+ const callback = (rawResponse, flatResponse) => {
46
+ currentRawResponse = rawResponse;
47
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
48
+ };
49
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
50
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
51
+ return {
52
+ flatResponse,
53
+ rawResponse: {
54
+ statusCode: currentRawResponse.status,
55
+ body: currentRawResponse.parsedBody,
56
+ headers: currentRawResponse.headers.toJSON(),
57
+ },
58
+ };
59
+ });
60
+ const lro = createLroSpec({
61
+ sendOperationFn,
62
+ args: { scope, simplifiedSolutionsResourceName, options },
63
+ spec: createOperationSpec,
64
+ });
65
+ const poller = yield createHttpPoller(lro, {
66
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
67
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
68
+ resourceLocationConfig: "azure-async-operation",
69
+ });
70
+ yield poller.poll();
71
+ return poller;
72
+ });
73
+ }
74
+ /**
75
+ * Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
76
+ * as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
77
+ * while still providing access to the same powerful solutions rendered in Solutions API. With
78
+ * Simplified Solutions, users don't have to worry about stitching together the article using
79
+ * replacement maps and can use the content in the API response to directly render as HTML
80
+ * content.<br/>
81
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
82
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
83
+ *
84
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
85
+ * @param options The options parameters.
86
+ */
87
+ beginCreateAndWait(scope, simplifiedSolutionsResourceName, options) {
88
+ return __awaiter(this, void 0, void 0, function* () {
89
+ const poller = yield this.beginCreate(scope, simplifiedSolutionsResourceName, options);
90
+ return poller.pollUntilDone();
91
+ });
92
+ }
93
+ /**
94
+ * Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
95
+ * Solutions.
96
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
97
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
98
+ *
99
+ * @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
100
+ * @param options The options parameters.
101
+ */
102
+ get(scope, simplifiedSolutionsResourceName, options) {
103
+ return this.client.sendOperationRequest({ scope, simplifiedSolutionsResourceName, options }, getOperationSpec);
104
+ }
105
+ }
106
+ // Operation Specifications
107
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
108
+ const createOperationSpec = {
109
+ path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
110
+ httpMethod: "PUT",
111
+ responses: {
112
+ 200: {
113
+ bodyMapper: Mappers.SimplifiedSolutionsResource,
114
+ },
115
+ 201: {
116
+ bodyMapper: Mappers.SimplifiedSolutionsResource,
117
+ },
118
+ 202: {
119
+ bodyMapper: Mappers.SimplifiedSolutionsResource,
120
+ },
121
+ 204: {
122
+ bodyMapper: Mappers.SimplifiedSolutionsResource,
123
+ },
124
+ default: {
125
+ bodyMapper: Mappers.ErrorResponse,
126
+ },
127
+ },
128
+ requestBody: Parameters.simplifiedSolutionsRequestBody,
129
+ queryParameters: [Parameters.apiVersion],
130
+ urlParameters: [
131
+ Parameters.$host,
132
+ Parameters.scope,
133
+ Parameters.simplifiedSolutionsResourceName,
134
+ ],
135
+ headerParameters: [Parameters.accept, Parameters.contentType],
136
+ mediaType: "json",
137
+ serializer,
138
+ };
139
+ const getOperationSpec = {
140
+ path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
141
+ httpMethod: "GET",
142
+ responses: {
143
+ 200: {
144
+ bodyMapper: Mappers.SimplifiedSolutionsResource,
145
+ },
146
+ default: {
147
+ bodyMapper: Mappers.ErrorResponse,
148
+ },
149
+ },
150
+ queryParameters: [Parameters.apiVersion],
151
+ urlParameters: [
152
+ Parameters.$host,
153
+ Parameters.scope,
154
+ Parameters.simplifiedSolutionsResourceName,
155
+ ],
156
+ headerParameters: [Parameters.accept],
157
+ serializer,
158
+ };
159
+ //# sourceMappingURL=simplifiedSolutions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simplifiedSolutions.js","sourceRoot":"","sources":["../../../src/operations/simplifiedSolutions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAQ3C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;;;OAYG;IACG,WAAW,CACf,KAAa,EACb,+BAAuC,EACvC,OAAiD;;YAOjD,MAAM,mBAAmB,GAAG,CAC1B,IAAmC,EACnC,IAA8B,EACc,EAAE;gBAC9C,OAAO,IAAI,CAAC,MAAM,CAAC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BAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,yFAAyF;IAC/F,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,2BAA2B;SAChD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,+BAA+B;KAC3C;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { Solution } from "../operationsInterfaces";
2
2
  import { HelpRP } from "../helpRP";
3
3
  import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
- import { SolutionCreateOptionalParams, SolutionCreateResponse, SolutionGetOptionalParams, SolutionGetResponse, SolutionUpdateOptionalParams, SolutionUpdateResponse } from "../models";
4
+ import { SolutionCreateOptionalParams, SolutionCreateResponse, SolutionGetOptionalParams, SolutionGetResponse, SolutionUpdateOptionalParams, SolutionUpdateResponse, SolutionWarmUpOptionalParams } from "../models";
5
5
  /** Class containing Solution operations. */
6
6
  export declare class SolutionImpl implements Solution {
7
7
  private readonly client;
@@ -11,68 +11,72 @@ export declare class SolutionImpl implements Solution {
11
11
  */
12
12
  constructor(client: HelpRP);
13
13
  /**
14
- * Creates a solution for the specific Azure resource or subscription using the triggering criteria
15
- * ‘solutionId and requiredInputs’ from discovery solutions.<br/> Solutions are a rich, insightful and
16
- * a centralized self help experience that brings all the relevant content to troubleshoot an Azure
17
- * issue into a unified experience. Solutions include the following components : Text, Diagnostics ,
18
- * Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with
19
- * capabilities to support new solutions types in the future. Each solution type may require one or
20
- * more ‘requiredParameters’ that are required to execute the individual solution component. In the
21
- * absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution,
22
- * and you might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from
23
- * Discovery solutions response must be passed via ‘parameters’ in the request body of Solutions API.
24
- * <br/>2. ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in
25
- * the request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
26
- * ‘properties.parameters’ in the request for Troubleshooters
27
- * @param scope This is an extension resource provider and only resource level extension is supported
28
- * at the moment.
14
+ * Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
15
+ * requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
16
+ * self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
17
+ * resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
18
+ * context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
19
+ * instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
20
+ * assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
21
+ * into unified solutions tailored to address a specific support problem area.
22
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
23
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
24
+ *
29
25
  * @param solutionResourceName Solution resource Name.
30
26
  * @param options The options parameters.
31
27
  */
32
28
  beginCreate(scope: string, solutionResourceName: string, options?: SolutionCreateOptionalParams): Promise<SimplePollerLike<OperationState<SolutionCreateResponse>, SolutionCreateResponse>>;
33
29
  /**
34
- * Creates a solution for the specific Azure resource or subscription using the triggering criteria
35
- * ‘solutionId and requiredInputs’ from discovery solutions.<br/> Solutions are a rich, insightful and
36
- * a centralized self help experience that brings all the relevant content to troubleshoot an Azure
37
- * issue into a unified experience. Solutions include the following components : Text, Diagnostics ,
38
- * Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with
39
- * capabilities to support new solutions types in the future. Each solution type may require one or
40
- * more ‘requiredParameters’ that are required to execute the individual solution component. In the
41
- * absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution,
42
- * and you might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from
43
- * Discovery solutions response must be passed via ‘parameters’ in the request body of Solutions API.
44
- * <br/>2. ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in
45
- * the request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as
46
- * ‘properties.parameters’ in the request for Troubleshooters
47
- * @param scope This is an extension resource provider and only resource level extension is supported
48
- * at the moment.
30
+ * Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
31
+ * requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
32
+ * self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
33
+ * resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
34
+ * context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
35
+ * instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
36
+ * assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
37
+ * into unified solutions tailored to address a specific support problem area.
38
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
39
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
40
+ *
49
41
  * @param solutionResourceName Solution resource Name.
50
42
  * @param options The options parameters.
51
43
  */
52
44
  beginCreateAndWait(scope: string, solutionResourceName: string, options?: SolutionCreateOptionalParams): Promise<SolutionCreateResponse>;
53
45
  /**
54
46
  * Get the solution using the applicable solutionResourceName while creating the solution.
55
- * @param scope This is an extension resource provider and only resource level extension is supported
56
- * at the moment.
47
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
48
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
49
+ *
57
50
  * @param solutionResourceName Solution resource Name.
58
51
  * @param options The options parameters.
59
52
  */
60
53
  get(scope: string, solutionResourceName: string, options?: SolutionGetOptionalParams): Promise<SolutionGetResponse>;
61
54
  /**
62
55
  * Update the requiredInputs or additional information needed to execute the solution
63
- * @param scope This is an extension resource provider and only resource level extension is supported
64
- * at the moment.
56
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
57
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
58
+ *
65
59
  * @param solutionResourceName Solution resource Name.
66
60
  * @param options The options parameters.
67
61
  */
68
62
  beginUpdate(scope: string, solutionResourceName: string, options?: SolutionUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SolutionUpdateResponse>, SolutionUpdateResponse>>;
69
63
  /**
70
64
  * Update the requiredInputs or additional information needed to execute the solution
71
- * @param scope This is an extension resource provider and only resource level extension is supported
72
- * at the moment.
65
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
66
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
67
+ *
73
68
  * @param solutionResourceName Solution resource Name.
74
69
  * @param options The options parameters.
75
70
  */
76
71
  beginUpdateAndWait(scope: string, solutionResourceName: string, options?: SolutionUpdateOptionalParams): Promise<SolutionUpdateResponse>;
72
+ /**
73
+ * Warm up the solution resource by preloading asynchronous diagnostics results into cache
74
+ * @param scope scope = resourceUri of affected resource.<br/> For example:
75
+ * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
76
+ *
77
+ * @param solutionResourceName Solution resource Name.
78
+ * @param options The options parameters.
79
+ */
80
+ warmUp(scope: string, solutionResourceName: string, options?: SolutionWarmUpOptionalParams): Promise<void>;
77
81
  }
78
82
  //# sourceMappingURL=solution.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"solution.d.ts","sourceRoot":"","sources":["../../../src/operations/solution.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAEnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;;;;;;;;OAkBG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sBAAsB,CAAC,EACtC,sBAAsB,CACvB,CACF;IAyDD;;;;;;;;;;;;;;;;;;OAkBG;IACG,kBAAkB,CACtB,KAAK,EAAE,MAAM,EACb,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAKlC;;;;;;OAMG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,oBAAoB,EAAE,MAAM,EAC5B,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;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