@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.
- package/CHANGELOG.md +245 -6
- package/README.md +2 -3
- package/dist/index.js +58 -83
- 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} +5 -8
- 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 -3
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +1 -3
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/src/helpRP.d.ts +2 -6
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +9 -16
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +10 -10
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +2 -1
- package/dist-esm/src/models/parameters.js.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} +34 -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 +6 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +4 -3
- package/review/arm-selfhelp.api.md +11 -20
- package/src/helpRP.ts +5 -33
- package/src/models/index.ts +12 -10
- package/src/models/parameters.ts +2 -1
- 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 +22 -29
- 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 -19
- 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 -11
- 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 -64
- package/src/operations/discoverySolutionNLPTenantScope.ts +0 -64
- package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +0 -24
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +0 -24
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DiscoverySolutionNLPDiscoverSolutionsOptionalParams, DiscoverySolutionNLPDiscoverSolutionsResponse, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse } from "../models";
|
|
2
|
+
/** Interface representing a DiscoverySolutionNLP. */
|
|
3
|
+
export interface DiscoverySolutionNLP {
|
|
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
|
+
discoverSolutions(options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse>;
|
|
10
|
+
/**
|
|
11
|
+
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
12
|
+
* summary and subscription.
|
|
13
|
+
* @param subscriptionId The Azure subscription ID.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
discoverSolutionsBySubscription(subscriptionId: string, options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=discoverySolutionNLP.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverySolutionNLP.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLP.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,mDAAmD,EACnD,6CAA6C,EAC7C,iEAAiE,EACjE,2DAA2D,EAC5D,MAAM,WAAW,CAAC;AAEnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;OAIG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC,CAAC;IAC1D;;;;;OAKG;IACH,+BAA+B,CAC7B,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iEAAiE,GAC1E,OAAO,CAAC,2DAA2D,CAAC,CAAC;CACzE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverySolutionNLP.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/discoverySolutionNLP.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
|
|
@@ -6,6 +6,5 @@ export * from "./solution";
|
|
|
6
6
|
export * from "./simplifiedSolutions";
|
|
7
7
|
export * from "./troubleshooters";
|
|
8
8
|
export * from "./solutionSelfHelp";
|
|
9
|
-
export * from "./
|
|
10
|
-
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
9
|
+
export * from "./discoverySolutionNLP";
|
|
11
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
|
@@ -13,6 +13,5 @@ export * from "./solution";
|
|
|
13
13
|
export * from "./simplifiedSolutions";
|
|
14
14
|
export * from "./troubleshooters";
|
|
15
15
|
export * from "./solutionSelfHelp";
|
|
16
|
-
export * from "./
|
|
17
|
-
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
16
|
+
export * from "./discoverySolutionNLP";
|
|
18
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
|
@@ -22,7 +22,7 @@ const recorderOptions = {
|
|
|
22
22
|
export const testPollingOptions = {
|
|
23
23
|
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
|
|
24
24
|
};
|
|
25
|
-
describe
|
|
25
|
+
describe("help test", () => {
|
|
26
26
|
let recorder;
|
|
27
27
|
let subscriptionId;
|
|
28
28
|
let client;
|
|
@@ -90,5 +90,10 @@ describe.skip("help test", () => {
|
|
|
90
90
|
assert.notEqual(resArray.length, 0);
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
|
+
it("discoverySolutionNLPSubscriptionScope post test", function () {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const res = yield client.discoverySolutionNLP.discoverSolutionsBySubscription(subscriptionId, { discoverSolutionRequest: { issueSummary: "how to retrieve certs from deleted keyvault." } });
|
|
96
|
+
});
|
|
97
|
+
});
|
|
93
98
|
});
|
|
94
99
|
//# sourceMappingURL=selfhelp_operations_test.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selfhelp_operations_test.spec.js","sourceRoot":"","sources":["../../test/selfhelp_operations_test.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAEF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"selfhelp_operations_test.spec.js","sourceRoot":"","sources":["../../test/selfhelp_operations_test.spec.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for HelpRP.",
|
|
6
|
-
"version": "2.0.0-beta.
|
|
6
|
+
"version": "2.0.0-beta.5",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -37,9 +37,10 @@
|
|
|
37
37
|
"@azure/dev-tool": "^1.0.0",
|
|
38
38
|
"@azure/identity": "^4.0.1",
|
|
39
39
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
40
|
-
"@azure-tools/test-credential": "^1.
|
|
40
|
+
"@azure-tools/test-credential": "^1.1.0",
|
|
41
41
|
"mocha": "^10.0.0",
|
|
42
42
|
"@types/mocha": "^10.0.0",
|
|
43
|
+
"tsx": "^4.7.1",
|
|
43
44
|
"@types/chai": "^4.2.8",
|
|
44
45
|
"chai": "^4.2.0",
|
|
45
46
|
"cross-env": "^7.0.2",
|
|
@@ -114,4 +115,4 @@
|
|
|
114
115
|
"disableDocsMs": true,
|
|
115
116
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-selfhelp?view=azure-node-preview"
|
|
116
117
|
}
|
|
117
|
-
}
|
|
118
|
+
}
|
|
@@ -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 {
|
|
@@ -243,7 +239,6 @@ export function getContinuationToken(page: unknown): string | undefined;
|
|
|
243
239
|
export class HelpRP extends coreClient.ServiceClient {
|
|
244
240
|
// (undocumented)
|
|
245
241
|
$host: string;
|
|
246
|
-
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: HelpRPOptionalParams);
|
|
247
242
|
constructor(credentials: coreAuth.TokenCredential, options?: HelpRPOptionalParams);
|
|
248
243
|
// (undocumented)
|
|
249
244
|
apiVersion: string;
|
|
@@ -254,9 +249,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
254
249
|
// (undocumented)
|
|
255
250
|
discoverySolution: DiscoverySolution;
|
|
256
251
|
// (undocumented)
|
|
257
|
-
|
|
258
|
-
// (undocumented)
|
|
259
|
-
discoverySolutionNLPTenantScope: DiscoverySolutionNLPTenantScope;
|
|
252
|
+
discoverySolutionNLP: DiscoverySolutionNLP;
|
|
260
253
|
// (undocumented)
|
|
261
254
|
operations: Operations;
|
|
262
255
|
// (undocumented)
|
|
@@ -266,8 +259,6 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
266
259
|
// (undocumented)
|
|
267
260
|
solutionSelfHelp: SolutionSelfHelp;
|
|
268
261
|
// (undocumented)
|
|
269
|
-
subscriptionId?: string;
|
|
270
|
-
// (undocumented)
|
|
271
262
|
troubleshooters: Troubleshooters;
|
|
272
263
|
}
|
|
273
264
|
|
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,48 +34,27 @@ 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
|
|
|
43
41
|
export class HelpRP extends coreClient.ServiceClient {
|
|
44
42
|
$host: string;
|
|
45
43
|
apiVersion: string;
|
|
46
|
-
subscriptionId?: string;
|
|
47
44
|
|
|
48
45
|
/**
|
|
49
46
|
* Initializes a new instance of the HelpRP class.
|
|
50
47
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
51
|
-
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
52
48
|
* @param options The parameter options
|
|
53
49
|
*/
|
|
54
50
|
constructor(
|
|
55
51
|
credentials: coreAuth.TokenCredential,
|
|
56
|
-
subscriptionId: string,
|
|
57
|
-
options?: HelpRPOptionalParams,
|
|
58
|
-
);
|
|
59
|
-
constructor(
|
|
60
|
-
credentials: coreAuth.TokenCredential,
|
|
61
|
-
options?: HelpRPOptionalParams,
|
|
62
|
-
);
|
|
63
|
-
constructor(
|
|
64
|
-
credentials: coreAuth.TokenCredential,
|
|
65
|
-
subscriptionIdOrOptions?: HelpRPOptionalParams | string,
|
|
66
52
|
options?: HelpRPOptionalParams,
|
|
67
53
|
) {
|
|
68
54
|
if (credentials === undefined) {
|
|
69
55
|
throw new Error("'credentials' cannot be null");
|
|
70
56
|
}
|
|
71
57
|
|
|
72
|
-
let subscriptionId: string | undefined;
|
|
73
|
-
|
|
74
|
-
if (typeof subscriptionIdOrOptions === "string") {
|
|
75
|
-
subscriptionId = subscriptionIdOrOptions;
|
|
76
|
-
} else if (typeof subscriptionIdOrOptions === "object") {
|
|
77
|
-
options = subscriptionIdOrOptions;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
58
|
// Initializing default values for options
|
|
81
59
|
if (!options) {
|
|
82
60
|
options = {};
|
|
@@ -86,7 +64,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
86
64
|
credential: credentials,
|
|
87
65
|
};
|
|
88
66
|
|
|
89
|
-
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.
|
|
67
|
+
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.5`;
|
|
90
68
|
const userAgentPrefix =
|
|
91
69
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
92
70
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
@@ -135,8 +113,6 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
135
113
|
}),
|
|
136
114
|
);
|
|
137
115
|
}
|
|
138
|
-
// Parameter assignments
|
|
139
|
-
this.subscriptionId = subscriptionId;
|
|
140
116
|
|
|
141
117
|
// Assigning values to Constant parameters
|
|
142
118
|
this.$host = options.$host || "https://management.azure.com";
|
|
@@ -149,10 +125,7 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
149
125
|
this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
|
|
150
126
|
this.troubleshooters = new TroubleshootersImpl(this);
|
|
151
127
|
this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
|
|
152
|
-
this.
|
|
153
|
-
new DiscoverySolutionNLPTenantScopeImpl(this);
|
|
154
|
-
this.discoverySolutionNLPSubscriptionScope =
|
|
155
|
-
new DiscoverySolutionNLPSubscriptionScopeImpl(this);
|
|
128
|
+
this.discoverySolutionNLP = new DiscoverySolutionNLPImpl(this);
|
|
156
129
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
157
130
|
}
|
|
158
131
|
|
|
@@ -192,6 +165,5 @@ export class HelpRP extends coreClient.ServiceClient {
|
|
|
192
165
|
simplifiedSolutions: SimplifiedSolutions;
|
|
193
166
|
troubleshooters: Troubleshooters;
|
|
194
167
|
solutionSelfHelp: SolutionSelfHelp;
|
|
195
|
-
|
|
196
|
-
discoverySolutionNLPSubscriptionScope: DiscoverySolutionNLPSubscriptionScope;
|
|
168
|
+
discoverySolutionNLP: DiscoverySolutionNLP;
|
|
197
169
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -576,7 +576,7 @@ export interface SectionSelfHelp {
|
|
|
576
576
|
export interface DiscoveryNlpRequest {
|
|
577
577
|
/** Natural language description of the issue. */
|
|
578
578
|
issueSummary: string;
|
|
579
|
-
/** ARM resource Id of the resource that is having the issue. */
|
|
579
|
+
/** ARM resource Id of the resource that is having the issue. Only applicable for Discovery Solution NLP Subscription Scope. */
|
|
580
580
|
resourceId?: string;
|
|
581
581
|
/** ARM service Id of the service that is having the issue. For more information on service Id see https://learn.microsoft.com/rest/api/support/services/list?tabs=HTTP. */
|
|
582
582
|
serviceId?: string;
|
|
@@ -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. */
|
package/src/models/parameters.ts
CHANGED
|
@@ -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";
|