@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
|
@@ -1,12 +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 subscriptionId The Azure subscription ID.
|
|
8
|
-
* @param options The options parameters.
|
|
9
|
-
*/
|
|
10
|
-
post(subscriptionId: string, options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
|
|
11
|
-
}
|
|
12
|
-
//# 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;;;;;OAKG;IACH,IAAI,CACF,cAAc,EAAE,MAAM,EACtB,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,69 +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 subscriptionId The Azure subscription ID.
|
|
37
|
-
* @param options The options parameters.
|
|
38
|
-
*/
|
|
39
|
-
post(
|
|
40
|
-
subscriptionId: string,
|
|
41
|
-
options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
|
|
42
|
-
): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse> {
|
|
43
|
-
return this.client.sendOperationRequest(
|
|
44
|
-
{ subscriptionId, options },
|
|
45
|
-
postOperationSpec,
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
// Operation Specifications
|
|
50
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
51
|
-
|
|
52
|
-
const postOperationSpec: coreClient.OperationSpec = {
|
|
53
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
54
|
-
httpMethod: "POST",
|
|
55
|
-
responses: {
|
|
56
|
-
200: {
|
|
57
|
-
bodyMapper: Mappers.DiscoveryNlpResponse,
|
|
58
|
-
},
|
|
59
|
-
default: {
|
|
60
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
requestBody: Parameters.discoverSolutionRequest,
|
|
64
|
-
queryParameters: [Parameters.apiVersion],
|
|
65
|
-
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
66
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
67
|
-
mediaType: "json",
|
|
68
|
-
serializer,
|
|
69
|
-
};
|
|
@@ -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,26 +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 subscriptionId The Azure subscription ID.
|
|
20
|
-
* @param options The options parameters.
|
|
21
|
-
*/
|
|
22
|
-
post(
|
|
23
|
-
subscriptionId: string,
|
|
24
|
-
options?: DiscoverySolutionNLPSubscriptionScopePostOptionalParams,
|
|
25
|
-
): Promise<DiscoverySolutionNLPSubscriptionScopePostResponse>;
|
|
26
|
-
}
|
|
@@ -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
|
-
}
|