@azure/arm-selfhelp 1.0.1-alpha.20231023.1 → 2.0.0-beta.1
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 +92 -8
- package/README.md +2 -2
- package/dist/index.js +2043 -379
- 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.d.ts +2 -0
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{diagnosticsCheckNameAvailabilitySample.js → checkNameAvailabilityPostSample.js} +9 -9
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js.map +1 -0
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +5 -14
- package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/diagnosticsGetSample.js +2 -2
- package/dist-esm/samples-dev/discoverySolutionListSample.js +42 -6
- package/dist-esm/samples-dev/discoverySolutionListSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/solutionCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionCreateSample.js +46 -0
- package/dist-esm/samples-dev/solutionCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionGetSample.js +37 -0
- package/dist-esm/samples-dev/solutionGetSample.js.map +1 -0
- package/dist-esm/samples-dev/solutionUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/solutionUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/solutionUpdateSample.js +37 -0
- package/dist-esm/samples-dev/solutionUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.d.ts +2 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.js +50 -0
- package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersCreateSample.d.ts +2 -0
- package/dist-esm/samples-dev/troubleshootersCreateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/troubleshootersCreateSample.js +46 -0
- package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersEndSample.d.ts +2 -0
- package/dist-esm/samples-dev/troubleshootersEndSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/troubleshootersEndSample.js +37 -0
- package/dist-esm/samples-dev/troubleshootersEndSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/troubleshootersGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/troubleshootersGetSample.js +37 -0
- package/dist-esm/samples-dev/troubleshootersGetSample.js.map +1 -0
- package/dist-esm/samples-dev/troubleshootersRestartSample.d.ts +2 -0
- package/dist-esm/samples-dev/troubleshootersRestartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/troubleshootersRestartSample.js +37 -0
- package/dist-esm/samples-dev/troubleshootersRestartSample.js.map +1 -0
- package/dist-esm/src/helpRP.d.ts +4 -1
- package/dist-esm/src/helpRP.d.ts.map +1 -1
- package/dist-esm/src/helpRP.js +6 -3
- package/dist-esm/src/helpRP.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +641 -22
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +140 -8
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +30 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +988 -13
- 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 +48 -2
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts +21 -0
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operations/checkNameAvailability.js +51 -0
- package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operations/diagnostics.d.ts +11 -18
- package/dist-esm/src/operations/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operations/diagnostics.js +10 -37
- package/dist-esm/src/operations/diagnostics.js.map +1 -1
- package/dist-esm/src/operations/discoverySolution.d.ts +20 -14
- package/dist-esm/src/operations/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operations/discoverySolution.js +20 -14
- package/dist-esm/src/operations/discoverySolution.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +3 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/solution.d.ts +78 -0
- package/dist-esm/src/operations/solution.d.ts.map +1 -0
- package/dist-esm/src/operations/solution.js +262 -0
- package/dist-esm/src/operations/solution.js.map +1 -0
- package/dist-esm/src/operations/troubleshooters.d.ts +70 -0
- package/dist-esm/src/operations/troubleshooters.d.ts.map +1 -0
- package/dist-esm/src/operations/troubleshooters.js +198 -0
- package/dist-esm/src/operations/troubleshooters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js +9 -0
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts +11 -18
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts +10 -7
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +3 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/solution.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/solution.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/solution.js +9 -0
- package/dist-esm/src/operationsInterfaces/solution.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/troubleshooters.js +9 -0
- package/dist-esm/src/operationsInterfaces/troubleshooters.js.map +1 -0
- package/dist-esm/test/selfhelp_operations_test.spec.js +2 -12
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +1 -1
- package/package.json +6 -6
- package/review/arm-selfhelp.api.md +469 -17
- package/src/helpRP.ts +16 -4
- package/src/models/index.ts +712 -22
- package/src/models/mappers.ts +1024 -13
- package/src/models/parameters.ts +58 -2
- package/src/operations/checkNameAvailability.ts +68 -0
- package/src/operations/diagnostics.ts +10 -46
- package/src/operations/discoverySolution.ts +20 -14
- package/src/operations/index.ts +3 -0
- package/src/operations/solution.ts +349 -0
- package/src/operations/troubleshooters.ts +261 -0
- package/src/operationsInterfaces/checkNameAvailability.ts +27 -0
- package/src/operationsInterfaces/diagnostics.ts +10 -22
- package/src/operationsInterfaces/discoverySolution.ts +10 -7
- package/src/operationsInterfaces/index.ts +3 -0
- package/src/operationsInterfaces/solution.ts +115 -0
- package/src/operationsInterfaces/troubleshooters.ts +101 -0
- package/types/arm-selfhelp.d.ts +892 -63
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticsCheckNameAvailabilitySample.js.map +0 -1
|
@@ -13,10 +13,10 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
15
15
|
/**
|
|
16
|
-
* This sample demonstrates how to This API is used to check the uniqueness of a resource name used for a diagnostic
|
|
16
|
+
* This sample demonstrates how to This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions
|
|
17
17
|
*
|
|
18
|
-
* @summary This API is used to check the uniqueness of a resource name used for a diagnostic
|
|
19
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
18
|
+
* @summary This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/CheckNameAvailabilityForDiagnosticWhenNameIsAvailable.json
|
|
20
20
|
*/
|
|
21
21
|
function exampleWhenNameIsAvailableForADiagnosticResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -30,15 +30,15 @@ function exampleWhenNameIsAvailableForADiagnosticResource() {
|
|
|
30
30
|
};
|
|
31
31
|
const credential = new DefaultAzureCredential();
|
|
32
32
|
const client = new HelpRP(credential);
|
|
33
|
-
const result = yield client.
|
|
33
|
+
const result = yield client.checkNameAvailability.post(scope, options);
|
|
34
34
|
console.log(result);
|
|
35
35
|
});
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* This sample demonstrates how to This API is used to check the uniqueness of a resource name used for a diagnostic
|
|
38
|
+
* This sample demonstrates how to This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions
|
|
39
39
|
*
|
|
40
|
-
* @summary This API is used to check the uniqueness of a resource name used for a diagnostic
|
|
41
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
40
|
+
* @summary This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or solutions
|
|
41
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/CheckNameAvailabilityForDiagnosticWhenNameIsNotAvailable.json
|
|
42
42
|
*/
|
|
43
43
|
function exampleWhenNameIsNotAvailableForADiagnosticResource() {
|
|
44
44
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +52,7 @@ function exampleWhenNameIsNotAvailableForADiagnosticResource() {
|
|
|
52
52
|
};
|
|
53
53
|
const credential = new DefaultAzureCredential();
|
|
54
54
|
const client = new HelpRP(credential);
|
|
55
|
-
const result = yield client.
|
|
55
|
+
const result = yield client.checkNameAvailability.post(scope, options);
|
|
56
56
|
console.log(result);
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -63,4 +63,4 @@ function main() {
|
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
65
|
main().catch(console.error);
|
|
66
|
-
//# sourceMappingURL=
|
|
66
|
+
//# sourceMappingURL=checkNameAvailabilityPostSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkNameAvailabilityPostSample.js","sourceRoot":"","sources":["../../samples-dev/checkNameAvailabilityPostSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,EACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gDAAgD;;QAC7D,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,4BAA4B,GAAiC;YACjE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,4BAA4B;SACnC,CAAC;QACF,MAAM,OAAO,GAA4C;YACvD,4BAA4B;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,mDAAmD;;QAChE,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,4BAA4B,GAAiC;YACjE,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,4BAA4B;SACnC,CAAC;QACF,MAAM,OAAO,GAA4C;YACvD,4BAA4B;SAC7B,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACvE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gDAAgD,EAAE,CAAC;QACnD,mDAAmD,EAAE,CAAC;IACxD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -13,27 +13,18 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
15
15
|
/**
|
|
16
|
-
* This sample demonstrates how to Diagnostics tells you precisely the root cause of the issue and
|
|
16
|
+
* This sample demonstrates how to Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. <br/>Diagnostics tells you precisely the root cause of the issue and the steps to address it. You can get diagnostics once you discover the relevant solution for your Azure issue. <br/><br/> <b>Note: </b> requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API.
|
|
17
17
|
*
|
|
18
|
-
* @summary Diagnostics tells you precisely the root cause of the issue and
|
|
19
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
18
|
+
* @summary Creates a diagnostic for the specific resource using solutionId and requiredInputs* from discovery solutions. <br/>Diagnostics tells you precisely the root cause of the issue and the steps to address it. You can get diagnostics once you discover the relevant solution for your Azure issue. <br/><br/> <b>Note: </b> requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics API.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/CreateDiagnosticForKeyVaultResource.json
|
|
20
20
|
*/
|
|
21
21
|
function createsADiagnosticForAKeyVaultResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/
|
|
23
|
+
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read";
|
|
24
24
|
const diagnosticsResourceName = "VMNotWorkingInsight";
|
|
25
25
|
const credential = new DefaultAzureCredential();
|
|
26
26
|
const client = new HelpRP(credential);
|
|
27
|
-
const
|
|
28
|
-
diagnosticResourceRequest: {
|
|
29
|
-
insights: [
|
|
30
|
-
{
|
|
31
|
-
solutionId: "KeyVaultUnauthorizedNetworkInsight"
|
|
32
|
-
}
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
const result = yield client.diagnostics.beginCreateAndWait(scope, diagnosticsResourceName, options);
|
|
27
|
+
const result = yield client.diagnostics.beginCreateAndWait(scope, diagnosticsResourceName);
|
|
37
28
|
console.log(result);
|
|
38
29
|
});
|
|
39
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnosticsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/diagnosticsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,KAAK,GACT,8IAA8I,CAAC;QACjJ,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,
|
|
1
|
+
{"version":3,"file":"diagnosticsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/diagnosticsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sCAAsC;;QACnD,MAAM,KAAK,GACT,8IAA8I,CAAC;QACjJ,MAAM,uBAAuB,GAAG,qBAAqB,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,kBAAkB,CACxD,KAAK,EACL,uBAAuB,CACxB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sCAAsC,EAAE,CAAC;IAC3C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,11 +16,11 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
|
19
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/GetDiagnosticForKeyVaultResource.json
|
|
20
20
|
*/
|
|
21
21
|
function getsADiagnosticForAKeyVaultResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/
|
|
23
|
+
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourceGroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read";
|
|
24
24
|
const diagnosticsResourceName = "VMNotWorkingInsight";
|
|
25
25
|
const credential = new DefaultAzureCredential();
|
|
26
26
|
const client = new HelpRP(credential);
|
|
@@ -13,20 +13,22 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
15
15
|
/**
|
|
16
|
-
* This sample demonstrates how to
|
|
16
|
+
* This sample demonstrates how to Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. We will do our best to return the most effective solutions based on the type of inputs, in the request URL <br/><br/> Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.
|
|
17
17
|
*
|
|
18
|
-
* @summary
|
|
19
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
18
|
+
* @summary Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. We will do our best to return the most effective solutions based on the type of inputs, in the request URL <br/><br/> Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/ListDiscoverySolutionsAtResourceScope.json
|
|
20
20
|
*/
|
|
21
|
-
function
|
|
21
|
+
function listDiscoverySolutionsAtResourceScope() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
23
23
|
return __awaiter(this, void 0, void 0, function* () {
|
|
24
24
|
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read";
|
|
25
|
+
const filter = "ProblemClassificationId eq 'SampleProblemClassificationId1'";
|
|
26
|
+
const options = { filter };
|
|
25
27
|
const credential = new DefaultAzureCredential();
|
|
26
28
|
const client = new HelpRP(credential);
|
|
27
29
|
const resArray = new Array();
|
|
28
30
|
try {
|
|
29
|
-
for (var _d = true, _e = __asyncValues(client.discoverySolution.list(scope)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
31
|
+
for (var _d = true, _e = __asyncValues(client.discoverySolution.list(scope, options)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
30
32
|
_c = _f.value;
|
|
31
33
|
_d = false;
|
|
32
34
|
let item = _c;
|
|
@@ -43,9 +45,43 @@ function listDiscoverySolutionsForAKeyVaultResource() {
|
|
|
43
45
|
console.log(resArray);
|
|
44
46
|
});
|
|
45
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* This sample demonstrates how to Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. We will do our best to return the most effective solutions based on the type of inputs, in the request URL <br/><br/> Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.
|
|
50
|
+
*
|
|
51
|
+
* @summary Lists the relevant Azure diagnostics and solutions using [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API, which identifies relevant Azure diagnostics and solutions. We will do our best to return the most effective solutions based on the type of inputs, in the request URL <br/><br/> Mandatory input : problemClassificationId (Use the [problemClassification API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics and Solutions API.
|
|
52
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/ListDiscoverySolutionsAtSubscriptionScope.json
|
|
53
|
+
*/
|
|
54
|
+
function listDiscoverySolutionsAtSubscriptionScope() {
|
|
55
|
+
var _a, e_2, _b, _c;
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const scope = "subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6";
|
|
58
|
+
const filter = "ProblemClassificationId eq 'SampleProblemClassificationId1'";
|
|
59
|
+
const options = { filter };
|
|
60
|
+
const credential = new DefaultAzureCredential();
|
|
61
|
+
const client = new HelpRP(credential);
|
|
62
|
+
const resArray = new Array();
|
|
63
|
+
try {
|
|
64
|
+
for (var _d = true, _e = __asyncValues(client.discoverySolution.list(scope, options)), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {
|
|
65
|
+
_c = _f.value;
|
|
66
|
+
_d = false;
|
|
67
|
+
let item = _c;
|
|
68
|
+
resArray.push(item);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
72
|
+
finally {
|
|
73
|
+
try {
|
|
74
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
75
|
+
}
|
|
76
|
+
finally { if (e_2) throw e_2.error; }
|
|
77
|
+
}
|
|
78
|
+
console.log(resArray);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
46
81
|
function main() {
|
|
47
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
|
|
83
|
+
listDiscoverySolutionsAtResourceScope();
|
|
84
|
+
listDiscoverySolutionsAtSubscriptionScope();
|
|
49
85
|
});
|
|
50
86
|
}
|
|
51
87
|
main().catch(console.error);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discoverySolutionListSample.js","sourceRoot":"","sources":["../../samples-dev/discoverySolutionListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,
|
|
1
|
+
{"version":3,"file":"discoverySolutionListSample.js","sourceRoot":"","sources":["../../samples-dev/discoverySolutionListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,MAAM,EACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qCAAqC;;;QAClD,MAAM,KAAK,GACT,8IAA8I,CAAC;QACjJ,MAAM,MAAM,GAAG,6DAA6D,CAAC;QAC7E,MAAM,OAAO,GAAwC,EAAE,MAAM,EAAE,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA,IAAA,sDAAE;gBAA/C,cAA6C;gBAA7C,WAA6C;gBAAzD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,KAAK,GAAG,oDAAoD,CAAC;QACnE,MAAM,MAAM,GAAG,6DAA6D,CAAC;QAC7E,MAAM,OAAO,GAAwC,EAAE,MAAM,EAAE,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA,IAAA,sDAAE;gBAA/C,cAA6C;gBAA7C,WAA6C;gBAAzD,IAAI,IAAI,KAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,qCAAqC,EAAE,CAAC;QACxC,yCAAyC,EAAE,CAAC;IAC9C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Returns list of operations.
|
|
17
17
|
*
|
|
18
18
|
* @summary Returns list of operations.
|
|
19
|
-
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/ListOperations.json
|
|
20
20
|
*/
|
|
21
21
|
function listAllOperations() {
|
|
22
22
|
var _a, e_1, _b, _c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/solutionCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Creates a solution for the specific Azure resource or subscription using the triggering criteria ‘solutionId and requiredInputs’ from discovery solutions.<br/> Solutions are a rich, insightful and a centralized self help experience that brings all the relevant content to troubleshoot an Azure issue into a unified experience. Solutions include the following components : Text, Diagnostics , Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with capabilities to support new solutions types in the future. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2. ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as ‘properties.parameters’ in the request for Troubleshooters
|
|
17
|
+
*
|
|
18
|
+
* @summary Creates a solution for the specific Azure resource or subscription using the triggering criteria ‘solutionId and requiredInputs’ from discovery solutions.<br/> Solutions are a rich, insightful and a centralized self help experience that brings all the relevant content to troubleshoot an Azure issue into a unified experience. Solutions include the following components : Text, Diagnostics , Troubleshooters, Images , Video tutorials, Tables , custom charts, images , AzureKB, etc, with capabilities to support new solutions types in the future. Each solution type may require one or more ‘requiredParameters’ that are required to execute the individual solution component. In the absence of the ‘requiredParameters’ it is likely that some of the solutions might fail execution, and you might see an empty response. <br/><br/> <b>Note:</b> <br/>1. ‘requiredInputs’ from Discovery solutions response must be passed via ‘parameters’ in the request body of Solutions API. <br/>2. ‘requiredParameters’ from the Solutions response is the same as ‘ additionalParameters’ in the request for diagnostics <br/>3. ‘requiredParameters’ from the Solutions response is the same as ‘properties.parameters’ in the request for Troubleshooters
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Solution_Create.json
|
|
20
|
+
*/
|
|
21
|
+
function solutionCreate() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const solutionResourceName = "SolutionResourceName1";
|
|
25
|
+
const solutionRequestBody = {
|
|
26
|
+
properties: {
|
|
27
|
+
parameters: {
|
|
28
|
+
resourceUri: "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp"
|
|
29
|
+
},
|
|
30
|
+
triggerCriteria: [{ name: "SolutionId", value: "SolutionId1" }]
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const options = { solutionRequestBody };
|
|
34
|
+
const credential = new DefaultAzureCredential();
|
|
35
|
+
const client = new HelpRP(credential);
|
|
36
|
+
const result = yield client.solution.beginCreateAndWait(scope, solutionResourceName, options);
|
|
37
|
+
console.log(result);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function main() {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
solutionCreate();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
main().catch(console.error);
|
|
46
|
+
//# sourceMappingURL=solutionCreateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionCreateSample.js","sourceRoot":"","sources":["../../samples-dev/solutionCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,EACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;QACrD,MAAM,mBAAmB,GAAqB;YAC5C,UAAU,EAAE;gBACV,UAAU,EAAE;oBACV,WAAW,EACT,kHAAkH;iBACrH;gBACD,eAAe,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,aAAa,EAAE,CAAC;aAChE;SACF,CAAC;QACF,MAAM,OAAO,GAAiC,EAAE,mBAAmB,EAAE,CAAC;QACtE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CACrD,KAAK,EACL,oBAAoB,EACpB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/solutionGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get the solution using the applicable solutionResourceName while creating the solution.
|
|
17
|
+
*
|
|
18
|
+
* @summary Get the solution using the applicable solutionResourceName while creating the solution.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Solution_Get.json
|
|
20
|
+
*/
|
|
21
|
+
function solutionGet() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const solutionResourceName = "SolutionResource1";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new HelpRP(credential);
|
|
27
|
+
const result = yield client.solution.get(scope, solutionResourceName);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function main() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
solutionGet();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
main().catch(console.error);
|
|
37
|
+
//# sourceMappingURL=solutionGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionGetSample.js","sourceRoot":"","sources":["../../samples-dev/solutionGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,WAAW;;QACxB,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;QACjD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,EAAE,oBAAoB,CAAC,CAAC;QACtE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,WAAW,EAAE,CAAC;IAChB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/solutionUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Update the requiredInputs or additional information needed to execute the solution
|
|
17
|
+
*
|
|
18
|
+
* @summary Update the requiredInputs or additional information needed to execute the solution
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Solution_Update.json
|
|
20
|
+
*/
|
|
21
|
+
function solutionUpdate() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const solutionResourceName = "SolutionResourceName1";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new HelpRP(credential);
|
|
27
|
+
const result = yield client.solution.beginUpdateAndWait(scope, solutionResourceName);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function main() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
solutionUpdate();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
main().catch(console.error);
|
|
37
|
+
//# sourceMappingURL=solutionUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"solutionUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/solutionUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,cAAc;;QAC3B,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;QACrD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CACrD,KAAK,EACL,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,cAAc,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersContinueSample.d.ts","sourceRoot":"","sources":["../../samples-dev/troubleshootersContinueSample.ts"],"names":[],"mappings":""}
|
|
@@ -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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name. <br/>Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API.
|
|
17
|
+
*
|
|
18
|
+
* @summary Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the respective troubleshooter resource name. <br/>Continue API is used to provide inputs that are required for the specific troubleshooter to progress into the next step in the process. This API is used after the Troubleshooter has been created using the Create API.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Troubleshooter_Continue.json
|
|
20
|
+
*/
|
|
21
|
+
function troubleshooterContinue() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const troubleshooterName = "abf168ed-1b54-454a-86f6-e4b62253d3b1";
|
|
25
|
+
const continueRequestBody = {
|
|
26
|
+
stepId: "SampleStepId",
|
|
27
|
+
responses: [
|
|
28
|
+
{
|
|
29
|
+
questionId: "SampleQuestionId",
|
|
30
|
+
questionType: "Text",
|
|
31
|
+
response: "Connection exception"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
};
|
|
35
|
+
const options = {
|
|
36
|
+
continueRequestBody
|
|
37
|
+
};
|
|
38
|
+
const credential = new DefaultAzureCredential();
|
|
39
|
+
const client = new HelpRP(credential);
|
|
40
|
+
const result = yield client.troubleshooters.continue(scope, troubleshooterName, options);
|
|
41
|
+
console.log(result);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function main() {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
troubleshooterContinue();
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
main().catch(console.error);
|
|
50
|
+
//# sourceMappingURL=troubleshootersContinueSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersContinueSample.js","sourceRoot":"","sources":["../../samples-dev/troubleshootersContinueSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,EACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sBAAsB;;QACnC,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;QAClE,MAAM,mBAAmB,GAAwB;YAC/C,MAAM,EAAE,cAAc;YACtB,SAAS,EAAE;gBACT;oBACE,UAAU,EAAE,kBAAkB;oBAC9B,YAAY,EAAE,MAAM;oBACpB,QAAQ,EAAE,sBAAsB;iBACjC;aACF;SACF,CAAC;QACF,MAAM,OAAO,GAA0C;YACrD,mBAAmB;SACpB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,QAAQ,CAClD,KAAK,EACL,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sBAAsB,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/troubleshootersCreateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger. <br/> Troubleshooters are step-by-step interactive guidance that scope the problem by collecting additional inputs from you in each stage while troubleshooting an Azure issue. You will be guided down decision tree style workflow and the best possible solution will be presented at the end of the workflow. <br/> Create API creates the Troubleshooter API using ‘parameters’ and ‘solutionId’ <br/> After creating the Troubleshooter instance, the following APIs can be used:<br/> CONTINUE API: to move to the next step in the flow <br/>GET API: to identify the next step after executing the CONTINUE API. <br/><br/> <b>Note:</b> ‘requiredParameters’ from solutions response must be passed via ‘properties. parameters’ in the request body of Troubleshooters API.
|
|
17
|
+
*
|
|
18
|
+
* @summary Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’ and ‘properties.parameters’ as the trigger. <br/> Troubleshooters are step-by-step interactive guidance that scope the problem by collecting additional inputs from you in each stage while troubleshooting an Azure issue. You will be guided down decision tree style workflow and the best possible solution will be presented at the end of the workflow. <br/> Create API creates the Troubleshooter API using ‘parameters’ and ‘solutionId’ <br/> After creating the Troubleshooter instance, the following APIs can be used:<br/> CONTINUE API: to move to the next step in the flow <br/>GET API: to identify the next step after executing the CONTINUE API. <br/><br/> <b>Note:</b> ‘requiredParameters’ from solutions response must be passed via ‘properties. parameters’ in the request body of Troubleshooters API.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Troubleshooter_Create.json
|
|
20
|
+
*/
|
|
21
|
+
function troubleshootersCreate() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const troubleshooterName = "abf168ed-1b54-454a-86f6-e4b62253d3b1";
|
|
25
|
+
const createTroubleshooterRequestBody = {
|
|
26
|
+
parameters: {
|
|
27
|
+
resourceURI: "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp"
|
|
28
|
+
},
|
|
29
|
+
solutionId: "SampleTroubleshooterSolutionId"
|
|
30
|
+
};
|
|
31
|
+
const options = {
|
|
32
|
+
createTroubleshooterRequestBody
|
|
33
|
+
};
|
|
34
|
+
const credential = new DefaultAzureCredential();
|
|
35
|
+
const client = new HelpRP(credential);
|
|
36
|
+
const result = yield client.troubleshooters.create(scope, troubleshooterName, options);
|
|
37
|
+
console.log(result);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function main() {
|
|
41
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
troubleshootersCreate();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
main().catch(console.error);
|
|
46
|
+
//# sourceMappingURL=troubleshootersCreateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersCreateSample.js","sourceRoot":"","sources":["../../samples-dev/troubleshootersCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAGL,MAAM,EACP,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,qBAAqB;;QAClC,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;QAClE,MAAM,+BAA+B,GAA2B;YAC9D,UAAU,EAAE;gBACV,WAAW,EACT,kHAAkH;aACrH;YACD,UAAU,EAAE,gCAAgC;SAC7C,CAAC;QACF,MAAM,OAAO,GAAwC;YACnD,+BAA+B;SAChC,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,MAAM,CAChD,KAAK,EACL,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,qBAAqB,EAAE,CAAC;IAC1B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersEndSample.d.ts","sourceRoot":"","sources":["../../samples-dev/troubleshootersEndSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Ends the troubleshooter action
|
|
17
|
+
*
|
|
18
|
+
* @summary Ends the troubleshooter action
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Troubleshooter_End.json
|
|
20
|
+
*/
|
|
21
|
+
function troubleshootersEnd() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const troubleshooterName = "abf168ed-1b54-454a-86f6-e4b62253d3b1";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new HelpRP(credential);
|
|
27
|
+
const result = yield client.troubleshooters.end(scope, troubleshooterName);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function main() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
troubleshootersEnd();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
main().catch(console.error);
|
|
37
|
+
//# sourceMappingURL=troubleshootersEndSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersEndSample.js","sourceRoot":"","sources":["../../samples-dev/troubleshootersEndSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QAC3E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/troubleshootersGetSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { HelpRP } from "@azure/arm-selfhelp";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.
|
|
17
|
+
*
|
|
18
|
+
* @summary Gets troubleshooter instance result which includes the step status/result of the troubleshooter resource name that is being executed.<br/> Get API is used to retrieve the result of a Troubleshooter instance, which includes the status and result of each step in the Troubleshooter workflow. This API requires the Troubleshooter resource name that was created using the Create API.
|
|
19
|
+
* x-ms-original-file: specification/help/resource-manager/Microsoft.Help/preview/2023-09-01-preview/examples/Troubleshooter_Get.json
|
|
20
|
+
*/
|
|
21
|
+
function troubleshootersGet() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const scope = "subscriptions/mySubscription/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-rp";
|
|
24
|
+
const troubleshooterName = "abf168ed-1b54-454a-86f6-e4b62253d3b1";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new HelpRP(credential);
|
|
27
|
+
const result = yield client.troubleshooters.get(scope, troubleshooterName);
|
|
28
|
+
console.log(result);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function main() {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
troubleshootersGet();
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
main().catch(console.error);
|
|
37
|
+
//# sourceMappingURL=troubleshootersGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"troubleshootersGetSample.js","sourceRoot":"","sources":["../../samples-dev/troubleshootersGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;QAC/B,MAAM,KAAK,GACT,kHAAkH,CAAC;QACrH,MAAM,kBAAkB,GAAG,sCAAsC,CAAC;QAClE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,CAAC;QACtC,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC;QAC3E,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|