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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +245 -6
  2. package/README.md +2 -3
  3. package/dist/index.js +58 -83
  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/checkNameAvailabilityCheckAvailabilitySample.d.ts +2 -0
  8. package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/{checkNameAvailabilityPostSample.js → checkNameAvailabilityCheckAvailabilitySample.js} +3 -3
  10. package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.js.map +1 -0
  11. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/{discoverySolutionNlpSubscriptionScopePostSample.js → discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js} +5 -8
  14. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js.map +1 -0
  15. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/{discoverySolutionNlpTenantScopePostSample.js → discoverySolutionNlpDiscoverSolutionsSample.js} +2 -3
  18. package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.js.map +1 -0
  19. package/dist-esm/samples-dev/operationsListSample.js +1 -3
  20. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  21. package/dist-esm/src/helpRP.d.ts +2 -6
  22. package/dist-esm/src/helpRP.d.ts.map +1 -1
  23. package/dist-esm/src/helpRP.js +9 -16
  24. package/dist-esm/src/helpRP.js.map +1 -1
  25. package/dist-esm/src/models/index.d.ts +10 -10
  26. package/dist-esm/src/models/index.d.ts.map +1 -1
  27. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  28. package/dist-esm/src/models/parameters.js +2 -1
  29. package/dist-esm/src/models/parameters.js.map +1 -1
  30. package/dist-esm/src/operations/checkNameAvailability.d.ts +2 -2
  31. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
  32. package/dist-esm/src/operations/checkNameAvailability.js +3 -3
  33. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
  34. package/dist-esm/src/operations/discoverySolutionNLP.d.ts +26 -0
  35. package/dist-esm/src/operations/discoverySolutionNLP.d.ts.map +1 -0
  36. package/dist-esm/src/operations/{discoverySolutionNLPSubscriptionScope.js → discoverySolutionNLP.js} +34 -7
  37. package/dist-esm/src/operations/discoverySolutionNLP.js.map +1 -0
  38. package/dist-esm/src/operations/index.d.ts +1 -2
  39. package/dist-esm/src/operations/index.d.ts.map +1 -1
  40. package/dist-esm/src/operations/index.js +1 -2
  41. package/dist-esm/src/operations/index.js.map +1 -1
  42. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +2 -2
  43. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  44. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
  45. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/{discoverySolutionNLPTenantScope.js → discoverySolutionNLP.js} +1 -1
  47. package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -2
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  50. package/dist-esm/src/operationsInterfaces/index.js +1 -2
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  52. package/dist-esm/test/selfhelp_operations_test.spec.js +6 -1
  53. package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
  54. package/package.json +4 -3
  55. package/review/arm-selfhelp.api.md +11 -20
  56. package/src/helpRP.ts +5 -33
  57. package/src/models/index.ts +12 -10
  58. package/src/models/parameters.ts +2 -1
  59. package/src/operations/checkNameAvailability.ts +7 -7
  60. package/src/operations/discoverySolutionNLP.ts +101 -0
  61. package/src/operations/index.ts +1 -2
  62. package/src/operationsInterfaces/checkNameAvailability.ts +5 -5
  63. package/src/operationsInterfaces/discoverySolutionNLP.ts +36 -0
  64. package/src/operationsInterfaces/index.ts +1 -2
  65. package/types/arm-selfhelp.d.ts +22 -29
  66. package/types/tsdoc-metadata.json +1 -1
  67. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts +0 -2
  68. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts.map +0 -1
  69. package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +0 -1
  70. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +0 -2
  71. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +0 -1
  72. package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +0 -1
  73. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +0 -2
  74. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +0 -1
  75. package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +0 -1
  76. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +0 -19
  77. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
  78. package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +0 -1
  79. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +0 -19
  80. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +0 -1
  81. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +0 -49
  82. package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +0 -1
  83. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +0 -11
  84. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
  85. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +0 -9
  86. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +0 -1
  87. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +0 -11
  88. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +0 -1
  89. package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +0 -1
  90. package/src/operations/discoverySolutionNLPSubscriptionScope.ts +0 -64
  91. package/src/operations/discoverySolutionNLPTenantScope.ts +0 -64
  92. package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +0 -24
  93. package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +0 -24
@@ -60,17 +60,17 @@ export declare interface CheckNameAvailability {
60
60
  *
61
61
  * @param options The options parameters.
62
62
  */
63
- post(scope: string, options?: CheckNameAvailabilityPostOptionalParams): Promise<CheckNameAvailabilityPostResponse>;
63
+ checkAvailability(scope: string, options?: CheckNameAvailabilityCheckAvailabilityOptionalParams): Promise<CheckNameAvailabilityCheckAvailabilityResponse>;
64
64
  }
65
65
 
66
66
  /** Optional parameters. */
67
- export declare interface CheckNameAvailabilityPostOptionalParams extends coreClient.OperationOptions {
67
+ export declare interface CheckNameAvailabilityCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
68
68
  /** The required parameters for availability check. */
69
69
  checkNameAvailabilityRequest?: CheckNameAvailabilityRequest;
70
70
  }
71
71
 
72
- /** Contains response data for the post operation. */
73
- export declare type CheckNameAvailabilityPostResponse = CheckNameAvailabilityResponse;
72
+ /** Contains response data for the checkAvailability operation. */
73
+ export declare type CheckNameAvailabilityCheckAvailabilityResponse = CheckNameAvailabilityResponse;
74
74
 
75
75
  /** The check availability request body. */
76
76
  export declare interface CheckNameAvailabilityRequest {
@@ -255,7 +255,7 @@ export declare type DiagnosticsGetResponse = DiagnosticResource;
255
255
  export declare interface DiscoveryNlpRequest {
256
256
  /** Natural language description of the issue. */
257
257
  issueSummary: string;
258
- /** ARM resource Id of the resource that is having the issue. */
258
+ /** ARM resource Id of the resource that is having the issue. Only applicable for Discovery Solution NLP Subscription Scope. */
259
259
  resourceId?: string;
260
260
  /** ARM service Id of the service that is having the issue. For more information on service Id see https://learn.microsoft.com/rest/api/support/services/list?tabs=HTTP. */
261
261
  serviceId?: string;
@@ -312,43 +312,40 @@ export declare interface DiscoverySolutionListOptionalParams extends coreClient.
312
312
  /** Contains response data for the list operation. */
313
313
  export declare type DiscoverySolutionListResponse = DiscoveryResponse;
314
314
 
315
- /** Interface representing a DiscoverySolutionNLPSubscriptionScope. */
316
- export declare interface DiscoverySolutionNLPSubscriptionScope {
315
+ /** Interface representing a DiscoverySolutionNLP. */
316
+ export declare interface DiscoverySolutionNLP {
317
+ /**
318
+ * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
319
+ * summary.
320
+ * @param options The options parameters.
321
+ */
322
+ discoverSolutions(options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse>;
317
323
  /**
318
324
  * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
319
325
  * summary and subscription.
326
+ * @param subscriptionId The Azure subscription ID.
320
327
  * @param options The options parameters.
321
328
  */
322
- post(options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
329
+ discoverSolutionsBySubscription(subscriptionId: string, options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse>;
323
330
  }
324
331
 
325
332
  /** Optional parameters. */
326
- export declare interface DiscoverySolutionNLPSubscriptionScopePostOptionalParams extends coreClient.OperationOptions {
333
+ export declare interface DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
327
334
  /** Request body for discovering solutions using NLP. */
328
335
  discoverSolutionRequest?: DiscoveryNlpRequest;
329
336
  }
330
337
 
331
- /** Contains response data for the post operation. */
332
- export declare type DiscoverySolutionNLPSubscriptionScopePostResponse = DiscoveryNlpResponse;
333
-
334
- /** Interface representing a DiscoverySolutionNLPTenantScope. */
335
- export declare interface DiscoverySolutionNLPTenantScope {
336
- /**
337
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
338
- * summary.
339
- * @param options The options parameters.
340
- */
341
- post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
342
- }
338
+ /** Contains response data for the discoverSolutionsBySubscription operation. */
339
+ export declare type DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse = DiscoveryNlpResponse;
343
340
 
344
341
  /** Optional parameters. */
345
- export declare interface DiscoverySolutionNLPTenantScopePostOptionalParams extends coreClient.OperationOptions {
342
+ export declare interface DiscoverySolutionNLPDiscoverSolutionsOptionalParams extends coreClient.OperationOptions {
346
343
  /** Request body for discovering solutions using NLP. */
347
344
  discoverSolutionRequest?: DiscoveryNlpRequest;
348
345
  }
349
346
 
350
- /** Contains response data for the post operation. */
351
- export declare type DiscoverySolutionNLPTenantScopePostResponse = DiscoveryNlpResponse;
347
+ /** Contains response data for the discoverSolutions operation. */
348
+ export declare type DiscoverySolutionNLPDiscoverSolutionsResponse = DiscoveryNlpResponse;
352
349
 
353
350
  /** The resource management error additional info. */
354
351
  export declare interface ErrorAdditionalInfo {
@@ -460,14 +457,11 @@ export declare function getContinuationToken(page: unknown): string | undefined;
460
457
  export declare class HelpRP extends coreClient.ServiceClient {
461
458
  $host: string;
462
459
  apiVersion: string;
463
- subscriptionId?: string;
464
460
  /**
465
461
  * Initializes a new instance of the HelpRP class.
466
462
  * @param credentials Subscription credentials which uniquely identify client subscription.
467
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
468
463
  * @param options The parameter options
469
464
  */
470
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HelpRPOptionalParams);
471
465
  constructor(credentials: coreAuth.TokenCredential, options?: HelpRPOptionalParams);
472
466
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
473
467
  private addCustomApiVersionPolicy;
@@ -479,8 +473,7 @@ export declare class HelpRP extends coreClient.ServiceClient {
479
473
  simplifiedSolutions: SimplifiedSolutions;
480
474
  troubleshooters: Troubleshooters;
481
475
  solutionSelfHelp: SolutionSelfHelp;
482
- discoverySolutionNLPTenantScope: DiscoverySolutionNLPTenantScope;
483
- discoverySolutionNLPSubscriptionScope: DiscoverySolutionNLPSubscriptionScope;
476
+ discoverySolutionNLP: DiscoverySolutionNLP;
484
477
  }
485
478
 
486
479
  /** Optional parameters. */
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.1"
8
+ "packageVersion": "7.47.0"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=checkNameAvailabilityPostSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkNameAvailabilityPostSample.d.ts","sourceRoot":"","sources":["../../samples-dev/checkNameAvailabilityPostSample.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkNameAvailabilityPostSample.js","sourceRoot":"","sources":["../../samples-dev/checkNameAvailabilityPostSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,GACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gDAAgD;;QAC7D,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,4BAA4B,GAAiC;YACjE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,4BAA4B;SACnC,CAAC;QACF,MAAM,OAAO,GAA4C;YACvD,4BAA4B;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,mDAAmD;;QAChE,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,4BAA4B,GAAiC;YACjE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,4BAA4B;SACnC,CAAC;QACF,MAAM,OAAO,GAA4C;YACvD,4BAA4B;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gDAAgD,EAAE,CAAC;QACnD,mDAAmD,EAAE,CAAC;IACxD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=discoverySolutionNlpSubscriptionScopePostSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNlpSubscriptionScopePostSample.d.ts","sourceRoot":"","sources":["../../samples-dev/discoverySolutionNlpSubscriptionScopePostSample.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNlpSubscriptionScopePostSample.js","sourceRoot":"","sources":["../../samples-dev/discoverySolutionNlpSubscriptionScopePostSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,GACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+CAA+C;;QAC5D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC;YACvC,sCAAsC,CAAC;QACzC,MAAM,uBAAuB,GAAwB;YACnD,YAAY,EAAE,8CAA8C;YAC5D,UAAU,EACR,8IAA8I;YAChJ,SAAS,EAAE,sCAAsC;SAClD,CAAC;QACF,MAAM,OAAO,GAA4D;YACvE,uBAAuB;SACxB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACtD,MAAM,MAAM,GACV,MAAM,MAAM,CAAC,qCAAqC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=discoverySolutionNlpTenantScopePostSample.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNlpTenantScopePostSample.d.ts","sourceRoot":"","sources":["../../samples-dev/discoverySolutionNlpTenantScopePostSample.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNlpTenantScopePostSample.js","sourceRoot":"","sources":["../../samples-dev/discoverySolutionNlpTenantScopePostSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,GACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,+CAA+C;;QAC5D,MAAM,uBAAuB,GAAwB;YACnD,YAAY,EAAE,8CAA8C;YAC5D,UAAU,EACR,8IAA8I;YAChJ,SAAS,EAAE,sCAAsC;SAClD,CAAC;QACF,MAAM,OAAO,GAAsD;YACjE,uBAAuB;SACxB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,+BAA+B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,+CAA+C,EAAE,CAAC;IACpD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -1,19 +0,0 @@
1
- import { DiscoverySolutionNLPSubscriptionScope } from "../operationsInterfaces";
2
- import { HelpRP } from "../helpRP";
3
- import { DiscoverySolutionNLPSubscriptionScopePostOptionalParams, DiscoverySolutionNLPSubscriptionScopePostResponse } from "../models";
4
- /** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
5
- export declare class DiscoverySolutionNLPSubscriptionScopeImpl implements DiscoverySolutionNLPSubscriptionScope {
6
- private readonly client;
7
- /**
8
- * Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
9
- * @param client Reference to the service client
10
- */
11
- constructor(client: HelpRP);
12
- /**
13
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
14
- * summary and subscription.
15
- * @param options The options parameters.
16
- */
17
- post(options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
18
- }
19
- //# sourceMappingURL=discoverySolutionNLPSubscriptionScope.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPSubscriptionScope.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLPSubscriptionScope.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,qCAAqC,EAAE,MAAM,yBAAyB,CAAC;AAIhF,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,uDAAuD,EACvD,iDAAiD,EAClD,MAAM,WAAW,CAAC;AAEnB,yEAAyE;AACzE,qBAAa,yCACX,YAAW,qCAAqC;IAEhD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;CAG9D"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPSubscriptionScope.js","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLPSubscriptionScope.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;AAOnD,yEAAyE;AACzE,MAAM,OAAO,yCAAyC;IAKpD;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,OAAiE;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,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,4EAA4E;IAClF,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,uBAAuB;IAC/C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -1,19 +0,0 @@
1
- import { DiscoverySolutionNLPTenantScope } from "../operationsInterfaces";
2
- import { HelpRP } from "../helpRP";
3
- import { DiscoverySolutionNLPTenantScopePostOptionalParams, DiscoverySolutionNLPTenantScopePostResponse } from "../models";
4
- /** Class containing DiscoverySolutionNLPTenantScope operations. */
5
- export declare class DiscoverySolutionNLPTenantScopeImpl implements DiscoverySolutionNLPTenantScope {
6
- private readonly client;
7
- /**
8
- * Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
9
- * @param client Reference to the service client
10
- */
11
- constructor(client: HelpRP);
12
- /**
13
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
14
- * summary.
15
- * @param options The options parameters.
16
- */
17
- post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
18
- }
19
- //# sourceMappingURL=discoverySolutionNLPTenantScope.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPTenantScope.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLPTenantScope.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAI1E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,WAAW,CAAC;AAEnB,mEAAmE;AACnE,qBAAa,mCACX,YAAW,+BAA+B;IAE1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;CAGxD"}
@@ -1,49 +0,0 @@
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 * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
11
- /** Class containing DiscoverySolutionNLPTenantScope operations. */
12
- export class DiscoverySolutionNLPTenantScopeImpl {
13
- /**
14
- * Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
15
- * @param client Reference to the service client
16
- */
17
- constructor(client) {
18
- this.client = client;
19
- }
20
- /**
21
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
22
- * summary.
23
- * @param options The options parameters.
24
- */
25
- post(options) {
26
- return this.client.sendOperationRequest({ options }, postOperationSpec);
27
- }
28
- }
29
- // Operation Specifications
30
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
31
- const postOperationSpec = {
32
- path: "/providers/Microsoft.Help/discoverSolutions",
33
- httpMethod: "POST",
34
- responses: {
35
- 200: {
36
- bodyMapper: Mappers.DiscoveryNlpResponse,
37
- },
38
- default: {
39
- bodyMapper: Mappers.ErrorResponse,
40
- },
41
- },
42
- requestBody: Parameters.discoverSolutionRequest,
43
- queryParameters: [Parameters.apiVersion],
44
- urlParameters: [Parameters.$host],
45
- headerParameters: [Parameters.accept, Parameters.contentType],
46
- mediaType: "json",
47
- serializer,
48
- };
49
- //# sourceMappingURL=discoverySolutionNLPTenantScope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPTenantScope.js","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLPTenantScope.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;AAOnD,mEAAmE;AACnE,MAAM,OAAO,mCAAmC;IAK9C;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,OAA2D;QAE3D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,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,6CAA6C;IACnD,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,uBAAuB;IAC/C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -1,11 +0,0 @@
1
- import { DiscoverySolutionNLPSubscriptionScopePostOptionalParams, DiscoverySolutionNLPSubscriptionScopePostResponse } from "../models";
2
- /** Interface representing a DiscoverySolutionNLPSubscriptionScope. */
3
- export interface DiscoverySolutionNLPSubscriptionScope {
4
- /**
5
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
6
- * summary and subscription.
7
- * @param options The options parameters.
8
- */
9
- post(options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
10
- }
11
- //# sourceMappingURL=discoverySolutionNLPSubscriptionScope.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPSubscriptionScope.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,uDAAuD,EACvD,iDAAiD,EAClD,MAAM,WAAW,CAAC;AAEnB,sEAAsE;AACtE,MAAM,WAAW,qCAAqC;IACpD;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;CAC/D"}
@@ -1,9 +0,0 @@
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
- export {};
9
- //# sourceMappingURL=discoverySolutionNLPSubscriptionScope.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPSubscriptionScope.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,11 +0,0 @@
1
- import { DiscoverySolutionNLPTenantScopePostOptionalParams, DiscoverySolutionNLPTenantScopePostResponse } from "../models";
2
- /** Interface representing a DiscoverySolutionNLPTenantScope. */
3
- export interface DiscoverySolutionNLPTenantScope {
4
- /**
5
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
6
- * summary.
7
- * @param options The options parameters.
8
- */
9
- post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
10
- }
11
- //# sourceMappingURL=discoverySolutionNLPTenantScope.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPTenantScope.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLPTenantScope.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,WAAW,CAAC;AAEnB,gEAAgE;AAChE,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC,CAAC;CACzD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"discoverySolutionNLPTenantScope.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLPTenantScope.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,64 +0,0 @@
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
-
9
- import { DiscoverySolutionNLPSubscriptionScope } from "../operationsInterfaces";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { HelpRP } from "../helpRP";
14
- import {
15
- DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
16
- DiscoverySolutionNLPSubscriptionScopePostResponse,
17
- } from "../models";
18
-
19
- /** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
20
- export class DiscoverySolutionNLPSubscriptionScopeImpl
21
- implements DiscoverySolutionNLPSubscriptionScope
22
- {
23
- private readonly client: HelpRP;
24
-
25
- /**
26
- * Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
27
- * @param client Reference to the service client
28
- */
29
- constructor(client: HelpRP) {
30
- this.client = client;
31
- }
32
-
33
- /**
34
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
35
- * summary and subscription.
36
- * @param options The options parameters.
37
- */
38
- post(
39
- options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
40
- ): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse> {
41
- return this.client.sendOperationRequest({ options }, postOperationSpec);
42
- }
43
- }
44
- // Operation Specifications
45
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
46
-
47
- const postOperationSpec: coreClient.OperationSpec = {
48
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
49
- httpMethod: "POST",
50
- responses: {
51
- 200: {
52
- bodyMapper: Mappers.DiscoveryNlpResponse,
53
- },
54
- default: {
55
- bodyMapper: Mappers.ErrorResponse,
56
- },
57
- },
58
- requestBody: Parameters.discoverSolutionRequest,
59
- queryParameters: [Parameters.apiVersion],
60
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
61
- headerParameters: [Parameters.accept, Parameters.contentType],
62
- mediaType: "json",
63
- serializer,
64
- };
@@ -1,64 +0,0 @@
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
-
9
- import { DiscoverySolutionNLPTenantScope } from "../operationsInterfaces";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { HelpRP } from "../helpRP";
14
- import {
15
- DiscoverySolutionNLPTenantScopePostOptionalParams,
16
- DiscoverySolutionNLPTenantScopePostResponse,
17
- } from "../models";
18
-
19
- /** Class containing DiscoverySolutionNLPTenantScope operations. */
20
- export class DiscoverySolutionNLPTenantScopeImpl
21
- implements DiscoverySolutionNLPTenantScope
22
- {
23
- private readonly client: HelpRP;
24
-
25
- /**
26
- * Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
27
- * @param client Reference to the service client
28
- */
29
- constructor(client: HelpRP) {
30
- this.client = client;
31
- }
32
-
33
- /**
34
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
35
- * summary.
36
- * @param options The options parameters.
37
- */
38
- post(
39
- options?: DiscoverySolutionNLPTenantScopePostOptionalParams,
40
- ): Promise<DiscoverySolutionNLPTenantScopePostResponse> {
41
- return this.client.sendOperationRequest({ options }, postOperationSpec);
42
- }
43
- }
44
- // Operation Specifications
45
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
46
-
47
- const postOperationSpec: coreClient.OperationSpec = {
48
- path: "/providers/Microsoft.Help/discoverSolutions",
49
- httpMethod: "POST",
50
- responses: {
51
- 200: {
52
- bodyMapper: Mappers.DiscoveryNlpResponse,
53
- },
54
- default: {
55
- bodyMapper: Mappers.ErrorResponse,
56
- },
57
- },
58
- requestBody: Parameters.discoverSolutionRequest,
59
- queryParameters: [Parameters.apiVersion],
60
- urlParameters: [Parameters.$host],
61
- headerParameters: [Parameters.accept, Parameters.contentType],
62
- mediaType: "json",
63
- serializer,
64
- };
@@ -1,24 +0,0 @@
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
-
9
- import {
10
- DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
11
- DiscoverySolutionNLPSubscriptionScopePostResponse,
12
- } from "../models";
13
-
14
- /** Interface representing a DiscoverySolutionNLPSubscriptionScope. */
15
- export interface DiscoverySolutionNLPSubscriptionScope {
16
- /**
17
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
18
- * summary and subscription.
19
- * @param options The options parameters.
20
- */
21
- post(
22
- options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
23
- ): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
24
- }
@@ -1,24 +0,0 @@
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
-
9
- import {
10
- DiscoverySolutionNLPTenantScopePostOptionalParams,
11
- DiscoverySolutionNLPTenantScopePostResponse,
12
- } from "../models";
13
-
14
- /** Interface representing a DiscoverySolutionNLPTenantScope. */
15
- export interface DiscoverySolutionNLPTenantScope {
16
- /**
17
- * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
18
- * summary.
19
- * @param options The options parameters.
20
- */
21
- post(
22
- options?: DiscoverySolutionNLPTenantScopePostOptionalParams,
23
- ): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
24
- }