@azure/arm-selfhelp 2.0.0-beta.2 → 2.0.0-beta.4
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 +239 -0
- package/LICENSE +1 -1
- package/dist/index.js +1582 -856
- 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/checkNameAvailabilityPostSample.js +7 -7
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +4 -13
- package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsGetSample.js +1 -1
- package/dist-esm/samples-dev/discoverySolutionListSample.js +6 -41
- package/dist-esm/samples-dev/discoverySolutionListSample.js.map +1 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js +44 -0
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +2 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js +42 -0
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js +46 -0
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js +37 -0
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionCreateSample.js +8 -5
- package/dist-esm/samples-dev/solutionCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/solutionGetSample.js +1 -1
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js +36 -0
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionUpdateSample.js +2 -11
- package/dist-esm/samples-dev/solutionUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js +37 -0
- package/dist-esm/samples-dev/solutionWarmUpSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.js +6 -6
- package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersCreateSample.js +5 -5
- package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/troubleshootersEndSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersGetSample.js +1 -1
- package/dist-esm/samples-dev/troubleshootersRestartSample.js +1 -1
- package/dist-esm/src/helpRP.d.ts +5 -1
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +15 -9
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +227 -7
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +24 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +9 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +860 -523
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +6 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +96 -44
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.js +4 -4
- package/dist-esm/src/operations/diagnostics.d.ts +6 -10
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnostics.js +24 -28
- package/dist-esm/src/operations/diagnostics.js.map +1 -1
- package/dist-esm/src/operations/discoverySolution.d.ts +3 -12
- package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operations/discoverySolution.js +27 -36
- package/dist-esm/src/operations/discoverySolution.js.map +1 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts +20 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js +50 -0
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +19 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +49 -0
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +4 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.js +9 -9
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/simplifiedSolutions.d.ts +52 -0
- package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operations/simplifiedSolutions.js +159 -0
- package/dist-esm/src/operations/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operations/solution.d.ts +20 -25
- package/dist-esm/src/operations/solution.d.ts.map +1 -1
- package/dist-esm/src/operations/solution.js +71 -54
- package/dist-esm/src/operations/solution.js.map +1 -1
- package/dist-esm/src/operations/solutionSelfHelp.d.ts +23 -0
- package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operations/solutionSelfHelp.js +51 -0
- package/dist-esm/src/operations/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/operations/troubleshooters.js +26 -26
- package/dist-esm/src/operations/troubleshooters.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +6 -10
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +2 -5
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +9 -0
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +4 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js +9 -0
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/solution.d.ts +20 -25
- package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js +9 -0
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist-esm/src/pagingHelper.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 +8 -9
- package/review/arm-selfhelp.api.md +174 -2
- package/src/helpRP.ts +36 -17
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +263 -22
- package/src/models/mappers.ts +898 -529
- package/src/models/parameters.ts +106 -45
- package/src/operations/checkNameAvailability.ts +7 -7
- package/src/operations/diagnostics.ts +39 -46
- package/src/operations/discoverySolution.ts +29 -46
- package/src/operations/discoverySolutionNLPSubscriptionScope.ts +69 -0
- package/src/operations/discoverySolutionNLPTenantScope.ts +64 -0
- package/src/operations/index.ts +4 -0
- package/src/operations/operations.ts +16 -16
- package/src/operations/simplifiedSolutions.ts +216 -0
- package/src/operations/solution.ts +101 -77
- package/src/operations/solutionSelfHelp.ts +68 -0
- package/src/operations/troubleshooters.ts +42 -47
- package/src/operationsInterfaces/checkNameAvailability.ts +2 -2
- package/src/operationsInterfaces/diagnostics.ts +10 -14
- package/src/operationsInterfaces/discoverySolution.ts +3 -7
- package/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.ts +26 -0
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +24 -0
- package/src/operationsInterfaces/index.ts +4 -0
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/simplifiedSolutions.ts +74 -0
- package/src/operationsInterfaces/solution.ts +30 -30
- package/src/operationsInterfaces/solutionSelfHelp.ts +29 -0
- package/src/operationsInterfaces/troubleshooters.ts +6 -6
- package/src/pagingHelper.ts +1 -1
- package/types/arm-selfhelp.d.ts +357 -46
- package/types/tsdoc-metadata.json +1 -1
|
@@ -11,7 +11,7 @@ export declare class DiscoverySolutionImpl implements DiscoverySolution {
|
|
|
11
11
|
*/
|
|
12
12
|
constructor(client: HelpRP);
|
|
13
13
|
/**
|
|
14
|
-
* Lists the relevant Azure
|
|
14
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
15
15
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
16
16
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
17
17
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -20,16 +20,13 @@ export declare class DiscoverySolutionImpl implements DiscoverySolution {
|
|
|
20
20
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
21
21
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
22
22
|
* and Solutions API.
|
|
23
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
24
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
25
|
-
*
|
|
26
23
|
* @param options The options parameters.
|
|
27
24
|
*/
|
|
28
|
-
list(
|
|
25
|
+
list(options?: DiscoverySolutionListOptionalParams): PagedAsyncIterableIterator<SolutionMetadataResource>;
|
|
29
26
|
private listPagingPage;
|
|
30
27
|
private listPagingAll;
|
|
31
28
|
/**
|
|
32
|
-
* Lists the relevant Azure
|
|
29
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
33
30
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
34
31
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
35
32
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -38,17 +35,11 @@ export declare class DiscoverySolutionImpl implements DiscoverySolution {
|
|
|
38
35
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
39
36
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
40
37
|
* and Solutions API.
|
|
41
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
42
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
43
|
-
*
|
|
44
38
|
* @param options The options parameters.
|
|
45
39
|
*/
|
|
46
40
|
private _list;
|
|
47
41
|
/**
|
|
48
42
|
* ListNext
|
|
49
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
50
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
51
|
-
*
|
|
52
43
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
53
44
|
* @param options The options parameters.
|
|
54
45
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoverySolution.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolution.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,wBAAwB,EAExB,mCAAmC,EAGpC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B
|
|
1
|
+
{"version":3,"file":"discoverySolution.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolution.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,wBAAwB,EAExB,mCAAmC,EAGpC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;OAWG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,wBAAwB,CAAC;YAkBxC,cAAc;YAsBd,aAAa;IAQ5B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -21,7 +21,7 @@ export class DiscoverySolutionImpl {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
|
-
* Lists the relevant Azure
|
|
24
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
25
25
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
26
26
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
27
27
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -30,13 +30,10 @@ export class DiscoverySolutionImpl {
|
|
|
30
30
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
31
31
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
32
32
|
* and Solutions API.
|
|
33
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
34
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
35
|
-
*
|
|
36
33
|
* @param options The options parameters.
|
|
37
34
|
*/
|
|
38
|
-
list(
|
|
39
|
-
const iter = this.listPagingAll(
|
|
35
|
+
list(options) {
|
|
36
|
+
const iter = this.listPagingAll(options);
|
|
40
37
|
return {
|
|
41
38
|
next() {
|
|
42
39
|
return iter.next();
|
|
@@ -48,23 +45,23 @@ export class DiscoverySolutionImpl {
|
|
|
48
45
|
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
49
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
50
47
|
}
|
|
51
|
-
return this.listPagingPage(
|
|
52
|
-
}
|
|
48
|
+
return this.listPagingPage(options, settings);
|
|
49
|
+
},
|
|
53
50
|
};
|
|
54
51
|
}
|
|
55
|
-
listPagingPage(
|
|
52
|
+
listPagingPage(options, settings) {
|
|
56
53
|
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
57
54
|
let result;
|
|
58
55
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
59
56
|
if (!continuationToken) {
|
|
60
|
-
result = yield __await(this._list(
|
|
57
|
+
result = yield __await(this._list(options));
|
|
61
58
|
let page = result.value || [];
|
|
62
59
|
continuationToken = result.nextLink;
|
|
63
60
|
setContinuationToken(page, continuationToken);
|
|
64
61
|
yield yield __await(page);
|
|
65
62
|
}
|
|
66
63
|
while (continuationToken) {
|
|
67
|
-
result = yield __await(this._listNext(
|
|
64
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
68
65
|
continuationToken = result.nextLink;
|
|
69
66
|
let page = result.value || [];
|
|
70
67
|
setContinuationToken(page, continuationToken);
|
|
@@ -72,11 +69,11 @@ export class DiscoverySolutionImpl {
|
|
|
72
69
|
}
|
|
73
70
|
});
|
|
74
71
|
}
|
|
75
|
-
listPagingAll(
|
|
72
|
+
listPagingAll(options) {
|
|
76
73
|
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
77
74
|
var _a, e_1, _b, _c;
|
|
78
75
|
try {
|
|
79
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(
|
|
76
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
80
77
|
_c = _f.value;
|
|
81
78
|
_d = false;
|
|
82
79
|
const page = _c;
|
|
@@ -93,7 +90,7 @@ export class DiscoverySolutionImpl {
|
|
|
93
90
|
});
|
|
94
91
|
}
|
|
95
92
|
/**
|
|
96
|
-
* Lists the relevant Azure
|
|
93
|
+
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
97
94
|
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
98
95
|
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
99
96
|
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
@@ -102,61 +99,55 @@ export class DiscoverySolutionImpl {
|
|
|
102
99
|
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
103
100
|
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
104
101
|
* and Solutions API.
|
|
105
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
106
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
107
|
-
*
|
|
108
102
|
* @param options The options parameters.
|
|
109
103
|
*/
|
|
110
|
-
_list(
|
|
111
|
-
return this.client.sendOperationRequest({
|
|
104
|
+
_list(options) {
|
|
105
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
112
106
|
}
|
|
113
107
|
/**
|
|
114
108
|
* ListNext
|
|
115
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
116
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
117
|
-
*
|
|
118
109
|
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
119
110
|
* @param options The options parameters.
|
|
120
111
|
*/
|
|
121
|
-
_listNext(
|
|
122
|
-
return this.client.sendOperationRequest({
|
|
112
|
+
_listNext(nextLink, options) {
|
|
113
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
123
114
|
}
|
|
124
115
|
}
|
|
125
116
|
// Operation Specifications
|
|
126
117
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
127
118
|
const listOperationSpec = {
|
|
128
|
-
path: "/
|
|
119
|
+
path: "/providers/Microsoft.Help/discoverySolutions",
|
|
129
120
|
httpMethod: "GET",
|
|
130
121
|
responses: {
|
|
131
122
|
200: {
|
|
132
|
-
bodyMapper: Mappers.DiscoveryResponse
|
|
123
|
+
bodyMapper: Mappers.DiscoveryResponse,
|
|
133
124
|
},
|
|
134
125
|
default: {
|
|
135
|
-
bodyMapper: Mappers.ErrorResponse
|
|
136
|
-
}
|
|
126
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
127
|
+
},
|
|
137
128
|
},
|
|
138
129
|
queryParameters: [
|
|
139
130
|
Parameters.apiVersion,
|
|
140
131
|
Parameters.filter,
|
|
141
|
-
Parameters.skiptoken
|
|
132
|
+
Parameters.skiptoken,
|
|
142
133
|
],
|
|
143
|
-
urlParameters: [Parameters.$host
|
|
134
|
+
urlParameters: [Parameters.$host],
|
|
144
135
|
headerParameters: [Parameters.accept],
|
|
145
|
-
serializer
|
|
136
|
+
serializer,
|
|
146
137
|
};
|
|
147
138
|
const listNextOperationSpec = {
|
|
148
139
|
path: "{nextLink}",
|
|
149
140
|
httpMethod: "GET",
|
|
150
141
|
responses: {
|
|
151
142
|
200: {
|
|
152
|
-
bodyMapper: Mappers.DiscoveryResponse
|
|
143
|
+
bodyMapper: Mappers.DiscoveryResponse,
|
|
153
144
|
},
|
|
154
145
|
default: {
|
|
155
|
-
bodyMapper: Mappers.ErrorResponse
|
|
156
|
-
}
|
|
146
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
147
|
+
},
|
|
157
148
|
},
|
|
158
|
-
urlParameters: [Parameters.$host, Parameters.nextLink
|
|
149
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
159
150
|
headerParameters: [Parameters.accept],
|
|
160
|
-
serializer
|
|
151
|
+
serializer,
|
|
161
152
|
};
|
|
162
153
|
//# sourceMappingURL=discoverySolution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoverySolution.js","sourceRoot":"","sources":["../../../src/operations/discoverySolution.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,qDAAqD;AACrD,MAAM,OAAO,qBAAqB;IAGhC;;;OAGG;IACH,YAAY,MAAc;QACxB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,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,8CAA8C;IACpD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 DiscoverySolutionNLPSubscriptionScope operations. */
|
|
12
|
+
export class DiscoverySolutionNLPSubscriptionScopeImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope 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 and subscription.
|
|
23
|
+
* @param subscriptionId The Azure subscription ID.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
post(subscriptionId, options) {
|
|
27
|
+
return this.client.sendOperationRequest({ subscriptionId, options }, postOperationSpec);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
// Operation Specifications
|
|
31
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
32
|
+
const postOperationSpec = {
|
|
33
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
34
|
+
httpMethod: "POST",
|
|
35
|
+
responses: {
|
|
36
|
+
200: {
|
|
37
|
+
bodyMapper: Mappers.DiscoveryNlpResponse,
|
|
38
|
+
},
|
|
39
|
+
default: {
|
|
40
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
requestBody: Parameters.discoverSolutionRequest,
|
|
44
|
+
queryParameters: [Parameters.apiVersion],
|
|
45
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
46
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
47
|
+
mediaType: "json",
|
|
48
|
+
serializer,
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=discoverySolutionNLPSubscriptionScope.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -3,5 +3,9 @@ export * from "./checkNameAvailability";
|
|
|
3
3
|
export * from "./diagnostics";
|
|
4
4
|
export * from "./discoverySolution";
|
|
5
5
|
export * from "./solution";
|
|
6
|
+
export * from "./simplifiedSolutions";
|
|
6
7
|
export * from "./troubleshooters";
|
|
8
|
+
export * from "./solutionSelfHelp";
|
|
9
|
+
export * from "./discoverySolutionNLPTenantScope";
|
|
10
|
+
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
7
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/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,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/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,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC"}
|
|
@@ -10,5 +10,9 @@ export * from "./checkNameAvailability";
|
|
|
10
10
|
export * from "./diagnostics";
|
|
11
11
|
export * from "./discoverySolution";
|
|
12
12
|
export * from "./solution";
|
|
13
|
+
export * from "./simplifiedSolutions";
|
|
13
14
|
export * from "./troubleshooters";
|
|
15
|
+
export * from "./solutionSelfHelp";
|
|
16
|
+
export * from "./discoverySolutionNLPTenantScope";
|
|
17
|
+
export * from "./discoverySolutionNLPSubscriptionScope";
|
|
14
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/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,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/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,mCAAmC,CAAC;AAClD,cAAc,yCAAyC,CAAC"}
|
|
@@ -38,7 +38,7 @@ export class OperationsImpl {
|
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listPagingPage(options, settings);
|
|
41
|
-
}
|
|
41
|
+
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
listPagingPage(options, settings) {
|
|
@@ -104,30 +104,30 @@ const listOperationSpec = {
|
|
|
104
104
|
httpMethod: "GET",
|
|
105
105
|
responses: {
|
|
106
106
|
200: {
|
|
107
|
-
bodyMapper: Mappers.OperationListResult
|
|
107
|
+
bodyMapper: Mappers.OperationListResult,
|
|
108
108
|
},
|
|
109
109
|
default: {
|
|
110
|
-
bodyMapper: Mappers.ErrorResponse
|
|
111
|
-
}
|
|
110
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
111
|
+
},
|
|
112
112
|
},
|
|
113
113
|
queryParameters: [Parameters.apiVersion],
|
|
114
114
|
urlParameters: [Parameters.$host],
|
|
115
115
|
headerParameters: [Parameters.accept],
|
|
116
|
-
serializer
|
|
116
|
+
serializer,
|
|
117
117
|
};
|
|
118
118
|
const listNextOperationSpec = {
|
|
119
119
|
path: "{nextLink}",
|
|
120
120
|
httpMethod: "GET",
|
|
121
121
|
responses: {
|
|
122
122
|
200: {
|
|
123
|
-
bodyMapper: Mappers.OperationListResult
|
|
123
|
+
bodyMapper: Mappers.OperationListResult,
|
|
124
124
|
},
|
|
125
125
|
default: {
|
|
126
|
-
bodyMapper: Mappers.ErrorResponse
|
|
127
|
-
}
|
|
126
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
127
|
+
},
|
|
128
128
|
},
|
|
129
129
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
130
130
|
headerParameters: [Parameters.accept],
|
|
131
|
-
serializer
|
|
131
|
+
serializer,
|
|
132
132
|
};
|
|
133
133
|
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAUnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,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1
|
+
import { SimplifiedSolutions } from "../operationsInterfaces";
|
|
2
|
+
import { HelpRP } from "../helpRP";
|
|
3
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
4
|
+
import { SimplifiedSolutionsCreateOptionalParams, SimplifiedSolutionsCreateResponse, SimplifiedSolutionsGetOptionalParams, SimplifiedSolutionsGetResponse } from "../models";
|
|
5
|
+
/** Class containing SimplifiedSolutions operations. */
|
|
6
|
+
export declare class SimplifiedSolutionsImpl implements SimplifiedSolutions {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class SimplifiedSolutions class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: HelpRP);
|
|
13
|
+
/**
|
|
14
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
15
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
16
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
17
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
18
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
19
|
+
* content.<br/>
|
|
20
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
21
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
22
|
+
*
|
|
23
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
beginCreate(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplePollerLike<OperationState<SimplifiedSolutionsCreateResponse>, SimplifiedSolutionsCreateResponse>>;
|
|
27
|
+
/**
|
|
28
|
+
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
29
|
+
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
30
|
+
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
31
|
+
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
32
|
+
* replacement maps and can use the content in the API response to directly render as HTML
|
|
33
|
+
* content.<br/>
|
|
34
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
35
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
36
|
+
*
|
|
37
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
beginCreateAndWait(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsCreateOptionalParams): Promise<SimplifiedSolutionsCreateResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
|
|
43
|
+
* Solutions.
|
|
44
|
+
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
45
|
+
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
46
|
+
*
|
|
47
|
+
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
get(scope: string, simplifiedSolutionsResourceName: string, options?: SimplifiedSolutionsGetOptionalParams): Promise<SimplifiedSolutionsGetResponse>;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=simplifiedSolutions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simplifiedSolutions.d.ts","sourceRoot":"","sources":["../../../src/operations/simplifiedSolutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAI9D,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,uCAAuC,EACvC,iCAAiC,EACjC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAEnB,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;;OAYG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF;IAwDD;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAS7C;;;;;;;;OAQG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;CAM3C"}
|