@azure/arm-selfhelp 2.0.0-beta.4 → 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.
- package/CHANGELOG.md +128 -8
- package/dist/index.js +50 -73
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{checkNameAvailabilityPostSample.js → checkNameAvailabilityCheckAvailabilitySample.js} +3 -3
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{discoverySolutionNlpSubscriptionScopePostSample.js → discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js} +3 -5
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{discoverySolutionNlpTenantScopePostSample.js → discoverySolutionNlpDiscoverSolutionsSample.js} +2 -2
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.js.map +1 -0
- package/dist-esm/src/helpRP.d.ts +2 -3
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +3 -6
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +9 -9
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts +2 -2
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js +3 -3
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -1
- package/dist-esm/src/operations/discoverySolutionNLP.d.ts +26 -0
- package/dist-esm/src/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/dist-esm/src/operations/{discoverySolutionNLPSubscriptionScope.js → discoverySolutionNLP.js} +33 -7
- package/dist-esm/src/operations/discoverySolutionNLP.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +1 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +2 -2
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{discoverySolutionNLPTenantScope.js → discoverySolutionNLP.js} +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js +1 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +4 -4
- package/review/arm-selfhelp.api.md +11 -17
- package/src/helpRP.ts +5 -11
- package/src/models/index.ts +11 -9
- package/src/operations/checkNameAvailability.ts +7 -7
- package/src/operations/discoverySolutionNLP.ts +101 -0
- package/src/operations/index.ts +1 -2
- package/src/operationsInterfaces/checkNameAvailability.ts +5 -5
- package/src/operationsInterfaces/discoverySolutionNLP.ts +36 -0
- package/src/operationsInterfaces/index.ts +1 -2
- package/types/arm-selfhelp.d.ts +20 -25
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +0 -20
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +0 -19
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +0 -49
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +0 -9
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +0 -1
- package/src/operations/discoverySolutionNLPSubscriptionScope.ts +0 -69
- package/src/operations/discoverySolutionNLPTenantScope.ts +0 -64
- package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +0 -26
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +0 -24
|
@@ -29,16 +29,16 @@ export type AutomatedCheckResultType = string;
|
|
|
29
29
|
|
|
30
30
|
// @public
|
|
31
31
|
export interface CheckNameAvailability {
|
|
32
|
-
|
|
32
|
+
checkAvailability(scope: string, options?: CheckNameAvailabilityCheckAvailabilityOptionalParams): Promise<CheckNameAvailabilityCheckAvailabilityResponse>;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
// @public
|
|
36
|
-
export interface
|
|
36
|
+
export interface CheckNameAvailabilityCheckAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
37
37
|
checkNameAvailabilityRequest?: CheckNameAvailabilityRequest;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
// @public
|
|
41
|
-
export type
|
|
41
|
+
export type CheckNameAvailabilityCheckAvailabilityResponse = CheckNameAvailabilityResponse;
|
|
42
42
|
|
|
43
43
|
// @public
|
|
44
44
|
export interface CheckNameAvailabilityRequest {
|
|
@@ -168,30 +168,26 @@ export interface DiscoverySolutionListOptionalParams extends coreClient.Operatio
|
|
|
168
168
|
export type DiscoverySolutionListResponse = DiscoveryResponse;
|
|
169
169
|
|
|
170
170
|
// @public
|
|
171
|
-
export interface
|
|
172
|
-
|
|
171
|
+
export interface DiscoverySolutionNLP {
|
|
172
|
+
discoverSolutions(options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse>;
|
|
173
|
+
discoverSolutionsBySubscription(subscriptionId: string, options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse>;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
// @public
|
|
176
|
-
export interface
|
|
177
|
+
export interface DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
177
178
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
178
179
|
}
|
|
179
180
|
|
|
180
181
|
// @public
|
|
181
|
-
export type
|
|
182
|
+
export type DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse = DiscoveryNlpResponse;
|
|
182
183
|
|
|
183
184
|
// @public
|
|
184
|
-
export interface
|
|
185
|
-
post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
// @public
|
|
189
|
-
export interface DiscoverySolutionNLPTenantScopePostOptionalParams extends coreClient.OperationOptions {
|
|
185
|
+
export interface DiscoverySolutionNLPDiscoverSolutionsOptionalParams extends coreClient.OperationOptions {
|
|
190
186
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
191
187
|
}
|
|
192
188
|
|
|
193
189
|
// @public
|
|
194
|
-
export type
|
|
190
|
+
export type DiscoverySolutionNLPDiscoverSolutionsResponse = DiscoveryNlpResponse;
|
|
195
191
|
|
|
196
192
|
// @public
|
|
197
193
|
export interface ErrorAdditionalInfo {
|
|
@@ -253,9 +249,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
253
249
|
// (undocumented)
|
|
254
250
|
discoverySolution: DiscoverySolution;
|
|
255
251
|
// (undocumented)
|
|
256
|
-
|
|
257
|
-
// (undocumented)
|
|
258
|
-
discoverySolutionNLPTenantScope: DiscoverySolutionNLPTenantScope;
|
|
252
|
+
discoverySolutionNLP: DiscoverySolutionNLP;
|
|
259
253
|
// (undocumented)
|
|
260
254
|
operations: Operations;
|
|
261
255
|
// (undocumented)
|
package/src/helpRP.ts
CHANGED
|
@@ -23,8 +23,7 @@ import {
|
|
|
23
23
|
SimplifiedSolutionsImpl,
|
|
24
24
|
TroubleshootersImpl,
|
|
25
25
|
SolutionSelfHelpImpl,
|
|
26
|
-
|
|
27
|
-
DiscoverySolutionNLPSubscriptionScopeImpl,
|
|
26
|
+
DiscoverySolutionNLPImpl,
|
|
28
27
|
} from "./operations";
|
|
29
28
|
import {
|
|
30
29
|
Operations,
|
|
@@ -35,8 +34,7 @@ import {
|
|
|
35
34
|
SimplifiedSolutions,
|
|
36
35
|
Troubleshooters,
|
|
37
36
|
SolutionSelfHelp,
|
|
38
|
-
|
|
39
|
-
DiscoverySolutionNLPSubscriptionScope,
|
|
37
|
+
DiscoverySolutionNLP,
|
|
40
38
|
} from "./operationsInterfaces";
|
|
41
39
|
import { HelpRPOptionalParams } from "./models";
|
|
42
40
|
|
|
@@ -66,7 +64,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
66
64
|
credential: credentials,
|
|
67
65
|
};
|
|
68
66
|
|
|
69
|
-
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.
|
|
67
|
+
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.5`;
|
|
70
68
|
const userAgentPrefix =
|
|
71
69
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
72
70
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -127,10 +125,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
127
125
|
this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
|
|
128
126
|
this.troubleshooters = new TroubleshootersImpl(this);
|
|
129
127
|
this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
|
|
130
|
-
this.
|
|
131
|
-
new DiscoverySolutionNLPTenantScopeImpl(this);
|
|
132
|
-
this.discoverySolutionNLPSubscriptionScope =
|
|
133
|
-
new DiscoverySolutionNLPSubscriptionScopeImpl(this);
|
|
128
|
+
this.discoverySolutionNLP = new DiscoverySolutionNLPImpl(this);
|
|
134
129
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
135
130
|
}
|
|
136
131
|
|
|
@@ -170,6 +165,5 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
170
165
|
simplifiedSolutions: SimplifiedSolutions;
|
|
171
166
|
troubleshooters: Troubleshooters;
|
|
172
167
|
solutionSelfHelp: SolutionSelfHelp;
|
|
173
|
-
|
|
174
|
-
discoverySolutionNLPSubscriptionScope: DiscoverySolutionNLPSubscriptionScope;
|
|
168
|
+
discoverySolutionNLP: DiscoverySolutionNLP;
|
|
175
169
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -1261,14 +1261,15 @@ export interface OperationsListNextOptionalParams
|
|
|
1261
1261
|
export type OperationsListNextResponse = OperationListResult;
|
|
1262
1262
|
|
|
1263
1263
|
/** Optional parameters. */
|
|
1264
|
-
export interface
|
|
1264
|
+
export interface CheckNameAvailabilityCheckAvailabilityOptionalParams
|
|
1265
1265
|
extends coreClient.OperationOptions {
|
|
1266
1266
|
/** The required parameters for availability check. */
|
|
1267
1267
|
checkNameAvailabilityRequest?: CheckNameAvailabilityRequest;
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
/** Contains response data for the
|
|
1271
|
-
export type
|
|
1270
|
+
/** Contains response data for the checkAvailability operation. */
|
|
1271
|
+
export type CheckNameAvailabilityCheckAvailabilityResponse =
|
|
1272
|
+
CheckNameAvailabilityResponse;
|
|
1272
1273
|
|
|
1273
1274
|
/** Optional parameters. */
|
|
1274
1275
|
export interface DiagnosticsCreateOptionalParams
|
|
@@ -1423,24 +1424,25 @@ export interface SolutionSelfHelpGetOptionalParams
|
|
|
1423
1424
|
export type SolutionSelfHelpGetResponse = SolutionResourceSelfHelp;
|
|
1424
1425
|
|
|
1425
1426
|
/** Optional parameters. */
|
|
1426
|
-
export interface
|
|
1427
|
+
export interface DiscoverySolutionNLPDiscoverSolutionsOptionalParams
|
|
1427
1428
|
extends coreClient.OperationOptions {
|
|
1428
1429
|
/** Request body for discovering solutions using NLP. */
|
|
1429
1430
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
1430
1431
|
}
|
|
1431
1432
|
|
|
1432
|
-
/** Contains response data for the
|
|
1433
|
-
export type
|
|
1433
|
+
/** Contains response data for the discoverSolutions operation. */
|
|
1434
|
+
export type DiscoverySolutionNLPDiscoverSolutionsResponse =
|
|
1435
|
+
DiscoveryNlpResponse;
|
|
1434
1436
|
|
|
1435
1437
|
/** Optional parameters. */
|
|
1436
|
-
export interface
|
|
1438
|
+
export interface DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams
|
|
1437
1439
|
extends coreClient.OperationOptions {
|
|
1438
1440
|
/** Request body for discovering solutions using NLP. */
|
|
1439
1441
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
1440
1442
|
}
|
|
1441
1443
|
|
|
1442
|
-
/** Contains response data for the
|
|
1443
|
-
export type
|
|
1444
|
+
/** Contains response data for the discoverSolutionsBySubscription operation. */
|
|
1445
|
+
export type DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse =
|
|
1444
1446
|
DiscoveryNlpResponse;
|
|
1445
1447
|
|
|
1446
1448
|
/** Optional parameters. */
|
|
@@ -12,8 +12,8 @@ import * as Mappers from "../models/mappers";
|
|
|
12
12
|
import * as Parameters from "../models/parameters";
|
|
13
13
|
import { HelpRP } from "../helpRP";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
CheckNameAvailabilityCheckAvailabilityOptionalParams,
|
|
16
|
+
CheckNameAvailabilityCheckAvailabilityResponse,
|
|
17
17
|
} from "../models";
|
|
18
18
|
|
|
19
19
|
/** Class containing CheckNameAvailability operations. */
|
|
@@ -36,20 +36,20 @@ export class CheckNameAvailabilityImpl implements CheckNameAvailability {
|
|
|
36
36
|
*
|
|
37
37
|
* @param options The options parameters.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
checkAvailability(
|
|
40
40
|
scope: string,
|
|
41
|
-
options?:
|
|
42
|
-
): Promise<
|
|
41
|
+
options?: CheckNameAvailabilityCheckAvailabilityOptionalParams,
|
|
42
|
+
): Promise<CheckNameAvailabilityCheckAvailabilityResponse> {
|
|
43
43
|
return this.client.sendOperationRequest(
|
|
44
44
|
{ scope, options },
|
|
45
|
-
|
|
45
|
+
checkAvailabilityOperationSpec,
|
|
46
46
|
);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
// Operation Specifications
|
|
50
50
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
51
51
|
|
|
52
|
-
const
|
|
52
|
+
const checkAvailabilityOperationSpec: coreClient.OperationSpec = {
|
|
53
53
|
path: "/{scope}/providers/Microsoft.Help/checkNameAvailability",
|
|
54
54
|
httpMethod: "POST",
|
|
55
55
|
responses: {
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { DiscoverySolutionNLP } 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
|
+
DiscoverySolutionNLPDiscoverSolutionsOptionalParams,
|
|
16
|
+
DiscoverySolutionNLPDiscoverSolutionsResponse,
|
|
17
|
+
DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,
|
|
18
|
+
DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse,
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/** Class containing DiscoverySolutionNLP operations. */
|
|
22
|
+
export class DiscoverySolutionNLPImpl implements DiscoverySolutionNLP {
|
|
23
|
+
private readonly client: HelpRP;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Initialize a new instance of the class DiscoverySolutionNLP 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
|
+
discoverSolutions(
|
|
39
|
+
options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams,
|
|
40
|
+
): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse> {
|
|
41
|
+
return this.client.sendOperationRequest(
|
|
42
|
+
{ options },
|
|
43
|
+
discoverSolutionsOperationSpec,
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
49
|
+
* summary and subscription.
|
|
50
|
+
* @param subscriptionId The Azure subscription ID.
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
discoverSolutionsBySubscription(
|
|
54
|
+
subscriptionId: string,
|
|
55
|
+
options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,
|
|
56
|
+
): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse> {
|
|
57
|
+
return this.client.sendOperationRequest(
|
|
58
|
+
{ subscriptionId, options },
|
|
59
|
+
discoverSolutionsBySubscriptionOperationSpec,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
// Operation Specifications
|
|
64
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
65
|
+
|
|
66
|
+
const discoverSolutionsOperationSpec: coreClient.OperationSpec = {
|
|
67
|
+
path: "/providers/Microsoft.Help/discoverSolutions",
|
|
68
|
+
httpMethod: "POST",
|
|
69
|
+
responses: {
|
|
70
|
+
200: {
|
|
71
|
+
bodyMapper: Mappers.DiscoveryNlpResponse,
|
|
72
|
+
},
|
|
73
|
+
default: {
|
|
74
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
requestBody: Parameters.discoverSolutionRequest,
|
|
78
|
+
queryParameters: [Parameters.apiVersion],
|
|
79
|
+
urlParameters: [Parameters.$host],
|
|
80
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
81
|
+
mediaType: "json",
|
|
82
|
+
serializer,
|
|
83
|
+
};
|
|
84
|
+
const discoverSolutionsBySubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
85
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
86
|
+
httpMethod: "POST",
|
|
87
|
+
responses: {
|
|
88
|
+
200: {
|
|
89
|
+
bodyMapper: Mappers.DiscoveryNlpResponse,
|
|
90
|
+
},
|
|
91
|
+
default: {
|
|
92
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
requestBody: Parameters.discoverSolutionRequest,
|
|
96
|
+
queryParameters: [Parameters.apiVersion],
|
|
97
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
98
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
99
|
+
mediaType: "json",
|
|
100
|
+
serializer,
|
|
101
|
+
};
|
package/src/operations/index.ts
CHANGED
|
@@ -14,5 +14,4 @@ export * from "./solution";
|
|
|
14
14
|
export * from "./simplifiedSolutions";
|
|
15
15
|
export * from "./troubleshooters";
|
|
16
16
|
export * from "./solutionSelfHelp";
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
17
|
+
export * from "./discoverySolutionNLP";
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
CheckNameAvailabilityCheckAvailabilityOptionalParams,
|
|
11
|
+
CheckNameAvailabilityCheckAvailabilityResponse,
|
|
12
12
|
} from "../models";
|
|
13
13
|
|
|
14
14
|
/** Interface representing a CheckNameAvailability. */
|
|
@@ -21,8 +21,8 @@ export interface CheckNameAvailability {
|
|
|
21
21
|
*
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
checkAvailability(
|
|
25
25
|
scope: string,
|
|
26
|
-
options?:
|
|
27
|
-
): Promise<
|
|
26
|
+
options?: CheckNameAvailabilityCheckAvailabilityOptionalParams,
|
|
27
|
+
): Promise<CheckNameAvailabilityCheckAvailabilityResponse>;
|
|
28
28
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
DiscoverySolutionNLPDiscoverSolutionsOptionalParams,
|
|
11
|
+
DiscoverySolutionNLPDiscoverSolutionsResponse,
|
|
12
|
+
DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,
|
|
13
|
+
DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse,
|
|
14
|
+
} from "../models";
|
|
15
|
+
|
|
16
|
+
/** Interface representing a DiscoverySolutionNLP. */
|
|
17
|
+
export interface DiscoverySolutionNLP {
|
|
18
|
+
/**
|
|
19
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
20
|
+
* summary.
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
discoverSolutions(
|
|
24
|
+
options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams,
|
|
25
|
+
): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
28
|
+
* summary and subscription.
|
|
29
|
+
* @param subscriptionId The Azure subscription ID.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
discoverSolutionsBySubscription(
|
|
33
|
+
subscriptionId: string,
|
|
34
|
+
options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,
|
|
35
|
+
): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse>;
|
|
36
|
+
}
|
|
@@ -14,5 +14,4 @@ export * from "./solution";
|
|
|
14
14
|
export * from "./simplifiedSolutions";
|
|
15
15
|
export * from "./troubleshooters";
|
|
16
16
|
export * from "./solutionSelfHelp";
|
|
17
|
-
export * from "./
|
|
18
|
-
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
17
|
+
export * from "./discoverySolutionNLP";
|
package/types/arm-selfhelp.d.ts
CHANGED
|
@@ -60,17 +60,17 @@ export declare interface CheckNameAvailability {
|
|
|
60
60
|
*
|
|
61
61
|
* @param options The options parameters.
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
checkAvailability(scope: string, options?: CheckNameAvailabilityCheckAvailabilityOptionalParams): Promise<CheckNameAvailabilityCheckAvailabilityResponse>;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/** Optional parameters. */
|
|
67
|
-
export declare interface
|
|
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
|
|
73
|
-
export declare type
|
|
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 {
|
|
@@ -312,44 +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
|
|
316
|
-
export declare interface
|
|
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.
|
|
320
326
|
* @param subscriptionId The Azure subscription ID.
|
|
321
327
|
* @param options The options parameters.
|
|
322
328
|
*/
|
|
323
|
-
|
|
329
|
+
discoverSolutionsBySubscription(subscriptionId: string, options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse>;
|
|
324
330
|
}
|
|
325
331
|
|
|
326
332
|
/** Optional parameters. */
|
|
327
|
-
export declare interface
|
|
333
|
+
export declare interface DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
328
334
|
/** Request body for discovering solutions using NLP. */
|
|
329
335
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
330
336
|
}
|
|
331
337
|
|
|
332
|
-
/** Contains response data for the
|
|
333
|
-
export declare type
|
|
334
|
-
|
|
335
|
-
/** Interface representing a DiscoverySolutionNLPTenantScope. */
|
|
336
|
-
export declare interface DiscoverySolutionNLPTenantScope {
|
|
337
|
-
/**
|
|
338
|
-
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
339
|
-
* summary.
|
|
340
|
-
* @param options The options parameters.
|
|
341
|
-
*/
|
|
342
|
-
post(options?: DiscoverySolutionNLPTenantScopePostOptionalParams): Promise<DiscoverySolutionNLPTenantScopePostResponse>;
|
|
343
|
-
}
|
|
338
|
+
/** Contains response data for the discoverSolutionsBySubscription operation. */
|
|
339
|
+
export declare type DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse = DiscoveryNlpResponse;
|
|
344
340
|
|
|
345
341
|
/** Optional parameters. */
|
|
346
|
-
export declare interface
|
|
342
|
+
export declare interface DiscoverySolutionNLPDiscoverSolutionsOptionalParams extends coreClient.OperationOptions {
|
|
347
343
|
/** Request body for discovering solutions using NLP. */
|
|
348
344
|
discoverSolutionRequest?: DiscoveryNlpRequest;
|
|
349
345
|
}
|
|
350
346
|
|
|
351
|
-
/** Contains response data for the
|
|
352
|
-
export declare type
|
|
347
|
+
/** Contains response data for the discoverSolutions operation. */
|
|
348
|
+
export declare type DiscoverySolutionNLPDiscoverSolutionsResponse = DiscoveryNlpResponse;
|
|
353
349
|
|
|
354
350
|
/** The resource management error additional info. */
|
|
355
351
|
export declare interface ErrorAdditionalInfo {
|
|
@@ -477,8 +473,7 @@ export declare class HelpRP extends coreClient.ServiceClient {
|
|
|
477
473
|
simplifiedSolutions: SimplifiedSolutions;
|
|
478
474
|
troubleshooters: Troubleshooters;
|
|
479
475
|
solutionSelfHelp: SolutionSelfHelp;
|
|
480
|
-
|
|
481
|
-
discoverySolutionNLPSubscriptionScope: DiscoverySolutionNLPSubscriptionScope;
|
|
476
|
+
discoverySolutionNLP: DiscoverySolutionNLP;
|
|
482
477
|
}
|
|
483
478
|
|
|
484
479
|
/** Optional parameters. */
|
|
@@ -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 +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,GAAG,sCAAsC,CAAC;QAC9D,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,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qCAAqC,CAAC,IAAI,CACpE,cAAc,EACd,OAAO,CACR,CAAC;QACF,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 +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,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,20 +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 subscriptionId The Azure subscription ID.
|
|
16
|
-
* @param options The options parameters.
|
|
17
|
-
*/
|
|
18
|
-
post(subscriptionId: string, options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
|
|
19
|
-
}
|
|
20
|
-
//# 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;;;;;OAKG;IACH,IAAI,CACF,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC;CAM9D"}
|
|
@@ -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;;;;;OAKG;IACH,IAAI,CACF,cAAsB,EACtB,OAAiE;QAEjE,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,cAAc,EAAE,OAAO,EAAE,EAC3B,iBAAiB,CAClB,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,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"}
|