@azure/arm-qumulo 1.0.0
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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +1602 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js +93 -0
- package/dist-esm/samples-dev/fileSystemsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.js +56 -0
- package/dist-esm/samples-dev/fileSystemsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.js +56 -0
- package/dist-esm/samples-dev/fileSystemsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js +96 -0
- package/dist-esm/samples-dev/fileSystemsListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js +94 -0
- package/dist-esm/samples-dev/fileSystemsListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.js +74 -0
- package/dist-esm/samples-dev/fileSystemsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +96 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +11 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +21 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +415 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +48 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +19 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +618 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +12 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +109 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/fileSystems.d.ts +99 -0
- package/dist-esm/src/operations/fileSystems.d.ts.map +1 -0
- package/dist-esm/src/operations/fileSystems.js +499 -0
- package/dist-esm/src/operations/fileSystems.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +3 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +10 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +138 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileSystems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/src/qumuloStorage.d.ts +21 -0
- package/dist-esm/src/qumuloStorage.d.ts.map +1 -0
- package/dist-esm/src/qumuloStorage.js +101 -0
- package/dist-esm/src/qumuloStorage.js.map +1 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.js +76 -0
- package/dist-esm/test/liftrqumulo_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-qumulo.api.md +315 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +42 -0
- package/src/models/index.ts +477 -0
- package/src/models/mappers.ts +653 -0
- package/src/models/parameters.ts +127 -0
- package/src/operations/fileSystems.ts +633 -0
- package/src/operations/index.ts +10 -0
- package/src/operations/operations.ts +149 -0
- package/src/operationsInterfaces/fileSystems.ts +121 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/pagingHelper.ts +39 -0
- package/src/qumuloStorage.ts +142 -0
- package/tsconfig.json +33 -0
- package/types/arm-qumulo.d.ts +563 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,56 @@
|
|
|
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 { QumuloStorage } from "@azure/arm-qumulo";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Get a FileSystemResource
|
|
17
|
+
*
|
|
18
|
+
* @summary Get a FileSystemResource
|
|
19
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MaximumSet_Gen.json
|
|
20
|
+
*/
|
|
21
|
+
function fileSystemsGetMaximumSetGen() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "ulseeqylxb";
|
|
24
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
25
|
+
const fileSystemName = "nauwwbfoqehgbhdsmkewoboyxeqg";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
28
|
+
const result = yield client.fileSystems.get(resourceGroupName, fileSystemName);
|
|
29
|
+
console.log(result);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* This sample demonstrates how to Get a FileSystemResource
|
|
34
|
+
*
|
|
35
|
+
* @summary Get a FileSystemResource
|
|
36
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Get_MinimumSet_Gen.json
|
|
37
|
+
*/
|
|
38
|
+
function fileSystemsGetMinimumSetGen() {
|
|
39
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "aaaaaaa";
|
|
41
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
42
|
+
const fileSystemName = "aaaaaaaaaaaaaaaaa";
|
|
43
|
+
const credential = new DefaultAzureCredential();
|
|
44
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
45
|
+
const result = yield client.fileSystems.get(resourceGroupName, fileSystemName);
|
|
46
|
+
console.log(result);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function main() {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
fileSystemsGetMaximumSetGen();
|
|
52
|
+
fileSystemsGetMinimumSetGen();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
main().catch(console.error);
|
|
56
|
+
//# sourceMappingURL=fileSystemsGetSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsGetSample.js","sourceRoot":"","sources":["../../samples-dev/fileSystemsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,YAAY,CAAC;QAC7D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,cAAc,GAAG,8BAA8B,CAAC;QACtD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,GAAG,CACzC,iBAAiB,EACjB,cAAc,CACf,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,GAAG,CACzC,iBAAiB,EACjB,cAAc,CACf,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;QAC9B,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileSystemsListByResourceGroupSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { QumuloStorage } from "@azure/arm-qumulo";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to List FileSystemResource resources by resource group
|
|
17
|
+
*
|
|
18
|
+
* @summary List FileSystemResource resources by resource group
|
|
19
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MaximumSet_Gen.json
|
|
20
|
+
*/
|
|
21
|
+
function fileSystemsListByResourceGroupMaximumSetGen() {
|
|
22
|
+
var _a, e_1, _b, _c;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "ulseeqylxb";
|
|
25
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
28
|
+
const resArray = new Array();
|
|
29
|
+
try {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.fileSystems.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
_c = _f.value;
|
|
32
|
+
_d = false;
|
|
33
|
+
try {
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
36
|
+
}
|
|
37
|
+
finally {
|
|
38
|
+
_d = true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
43
|
+
finally {
|
|
44
|
+
try {
|
|
45
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
46
|
+
}
|
|
47
|
+
finally { if (e_1) throw e_1.error; }
|
|
48
|
+
}
|
|
49
|
+
console.log(resArray);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* This sample demonstrates how to List FileSystemResource resources by resource group
|
|
54
|
+
*
|
|
55
|
+
* @summary List FileSystemResource resources by resource group
|
|
56
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListByResourceGroup_MinimumSet_Gen.json
|
|
57
|
+
*/
|
|
58
|
+
function fileSystemsListByResourceGroupMinimumSetGen() {
|
|
59
|
+
var _a, e_2, _b, _c;
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "aaaaaaa";
|
|
62
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
63
|
+
const credential = new DefaultAzureCredential();
|
|
64
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
65
|
+
const resArray = new Array();
|
|
66
|
+
try {
|
|
67
|
+
for (var _d = true, _e = __asyncValues(client.fileSystems.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
68
|
+
_c = _f.value;
|
|
69
|
+
_d = false;
|
|
70
|
+
try {
|
|
71
|
+
let item = _c;
|
|
72
|
+
resArray.push(item);
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
_d = true;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
80
|
+
finally {
|
|
81
|
+
try {
|
|
82
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
83
|
+
}
|
|
84
|
+
finally { if (e_2) throw e_2.error; }
|
|
85
|
+
}
|
|
86
|
+
console.log(resArray);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
function main() {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
fileSystemsListByResourceGroupMaximumSetGen();
|
|
92
|
+
fileSystemsListByResourceGroupMinimumSetGen();
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
main().catch(console.error);
|
|
96
|
+
//# sourceMappingURL=fileSystemsListByResourceGroupSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/fileSystemsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,YAAY,CAAC;QAC7D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAC3D,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,2CAA2C;;;QACxD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAC3D,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2CAA2C,EAAE,CAAC;QAC9C,2CAA2C,EAAE,CAAC;IAChD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileSystemsListBySubscriptionSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { QumuloStorage } from "@azure/arm-qumulo";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to List FileSystemResource resources by subscription ID
|
|
17
|
+
*
|
|
18
|
+
* @summary List FileSystemResource resources by subscription ID
|
|
19
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MaximumSet_Gen.json
|
|
20
|
+
*/
|
|
21
|
+
function fileSystemsListBySubscriptionMaximumSetGen() {
|
|
22
|
+
var _a, e_1, _b, _c;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "ulseeqylxb";
|
|
25
|
+
const credential = new DefaultAzureCredential();
|
|
26
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
27
|
+
const resArray = new Array();
|
|
28
|
+
try {
|
|
29
|
+
for (var _d = true, _e = __asyncValues(client.fileSystems.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
30
|
+
_c = _f.value;
|
|
31
|
+
_d = false;
|
|
32
|
+
try {
|
|
33
|
+
let item = _c;
|
|
34
|
+
resArray.push(item);
|
|
35
|
+
}
|
|
36
|
+
finally {
|
|
37
|
+
_d = true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
42
|
+
finally {
|
|
43
|
+
try {
|
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
45
|
+
}
|
|
46
|
+
finally { if (e_1) throw e_1.error; }
|
|
47
|
+
}
|
|
48
|
+
console.log(resArray);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* This sample demonstrates how to List FileSystemResource resources by subscription ID
|
|
53
|
+
*
|
|
54
|
+
* @summary List FileSystemResource resources by subscription ID
|
|
55
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_ListBySubscription_MinimumSet_Gen.json
|
|
56
|
+
*/
|
|
57
|
+
function fileSystemsListBySubscriptionMinimumSetGen() {
|
|
58
|
+
var _a, e_2, _b, _c;
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "aaaaaaa";
|
|
61
|
+
const credential = new DefaultAzureCredential();
|
|
62
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
63
|
+
const resArray = new Array();
|
|
64
|
+
try {
|
|
65
|
+
for (var _d = true, _e = __asyncValues(client.fileSystems.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
66
|
+
_c = _f.value;
|
|
67
|
+
_d = false;
|
|
68
|
+
try {
|
|
69
|
+
let item = _c;
|
|
70
|
+
resArray.push(item);
|
|
71
|
+
}
|
|
72
|
+
finally {
|
|
73
|
+
_d = true;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
78
|
+
finally {
|
|
79
|
+
try {
|
|
80
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
81
|
+
}
|
|
82
|
+
finally { if (e_2) throw e_2.error; }
|
|
83
|
+
}
|
|
84
|
+
console.log(resArray);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function main() {
|
|
88
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
+
fileSystemsListBySubscriptionMaximumSetGen();
|
|
90
|
+
fileSystemsListBySubscriptionMinimumSetGen();
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
main().catch(console.error);
|
|
94
|
+
//# sourceMappingURL=fileSystemsListBySubscriptionSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/fileSystemsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,YAAY,CAAC;QAC7D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAvC,cAAuC;gBAAvC,WAAuC;;oBAAnD,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,0CAA0C;;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAvC,cAAuC;gBAAvC,WAAuC;;oBAAnD,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;QAC7C,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/fileSystemsUpdateSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 { QumuloStorage } from "@azure/arm-qumulo";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Update a FileSystemResource
|
|
17
|
+
*
|
|
18
|
+
* @summary Update a FileSystemResource
|
|
19
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Update_MaximumSet_Gen.json
|
|
20
|
+
*/
|
|
21
|
+
function fileSystemsUpdateMaximumSetGen() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "ulseeqylxb";
|
|
24
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
25
|
+
const fileSystemName = "nauwwbfoqehgbhdsmkewoboyxeqg";
|
|
26
|
+
const properties = {
|
|
27
|
+
identity: { type: "None", userAssignedIdentities: { key4522: {} } },
|
|
28
|
+
properties: {
|
|
29
|
+
clusterLoginUrl: "adabmuthwrbjshzfbo",
|
|
30
|
+
delegatedSubnetId: "vjfirtaljehawmflyfianw",
|
|
31
|
+
marketplaceDetails: {
|
|
32
|
+
marketplaceSubscriptionId: "ujrcqvxfnhxxheoth",
|
|
33
|
+
marketplaceSubscriptionStatus: "PendingFulfillmentStart",
|
|
34
|
+
offerId: "eiyhbmpwgezcmzrrfoiskuxlcvwojf",
|
|
35
|
+
planId: "x",
|
|
36
|
+
publisherId: "wfmokfdjbwpjhz"
|
|
37
|
+
},
|
|
38
|
+
privateIPs: ["eugjqbaoucgjsopzfrq"],
|
|
39
|
+
userDetails: { email: "aa" }
|
|
40
|
+
},
|
|
41
|
+
tags: { key7534: "jsgqvqbagquvxowbrkanyhzvo" }
|
|
42
|
+
};
|
|
43
|
+
const credential = new DefaultAzureCredential();
|
|
44
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
45
|
+
const result = yield client.fileSystems.update(resourceGroupName, fileSystemName, properties);
|
|
46
|
+
console.log(result);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* This sample demonstrates how to Update a FileSystemResource
|
|
51
|
+
*
|
|
52
|
+
* @summary Update a FileSystemResource
|
|
53
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/FileSystems_Update_MinimumSet_Gen.json
|
|
54
|
+
*/
|
|
55
|
+
function fileSystemsUpdateMinimumSetGen() {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] || "aaaaaaa";
|
|
58
|
+
const resourceGroupName = process.env["LIFTRQUMULO_RESOURCE_GROUP"] || "rgQumulo";
|
|
59
|
+
const fileSystemName = "aaaaaaaaaaaaaaaaa";
|
|
60
|
+
const properties = {};
|
|
61
|
+
const credential = new DefaultAzureCredential();
|
|
62
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
63
|
+
const result = yield client.fileSystems.update(resourceGroupName, fileSystemName, properties);
|
|
64
|
+
console.log(result);
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
function main() {
|
|
68
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
fileSystemsUpdateMaximumSetGen();
|
|
70
|
+
fileSystemsUpdateMinimumSetGen();
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
main().catch(console.error);
|
|
74
|
+
//# sourceMappingURL=fileSystemsUpdateSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileSystemsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/fileSystemsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAA4B,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,YAAY,CAAC;QAC7D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,cAAc,GAAG,8BAA8B,CAAC;QACtD,MAAM,UAAU,GAA6B;YAC3C,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,sBAAsB,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE;YACnE,UAAU,EAAE;gBACV,eAAe,EAAE,oBAAoB;gBACrC,iBAAiB,EAAE,wBAAwB;gBAC3C,kBAAkB,EAAE;oBAClB,yBAAyB,EAAE,mBAAmB;oBAC9C,6BAA6B,EAAE,yBAAyB;oBACxD,OAAO,EAAE,gCAAgC;oBACzC,MAAM,EAAE,GAAG;oBACX,WAAW,EAAE,gBAAgB;iBAC9B;gBACD,UAAU,EAAE,CAAC,qBAAqB,CAAC;gBACnC,WAAW,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;aAC7B;YACD,IAAI,EAAE,EAAE,OAAO,EAAE,2BAA2B,EAAE;SAC/C,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAC5C,iBAAiB,EACjB,cAAc,EACd,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED;;;;;GAKG;AACH,SAAe,8BAA8B;;QAC3C,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,UAAU,CAAC;QAC1D,MAAM,cAAc,GAAG,mBAAmB,CAAC;QAC3C,MAAM,UAAU,GAA6B,EAAE,CAAC;QAChD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,MAAM,CAC5C,iBAAiB,EACjB,cAAc,EACd,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,8BAA8B,EAAE,CAAC;QACjC,8BAA8B,EAAE,CAAC;IACnC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,96 @@
|
|
|
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 { __asyncValues, __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { QumuloStorage } from "@azure/arm-qumulo";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to List the operations for the provider
|
|
17
|
+
*
|
|
18
|
+
* @summary List the operations for the provider
|
|
19
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/Operations_List_MaximumSet_Gen.json
|
|
20
|
+
*/
|
|
21
|
+
function operationsListMaximumSetGen() {
|
|
22
|
+
var _a, e_1, _b, _c;
|
|
23
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
24
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] ||
|
|
25
|
+
"00000000-0000-0000-0000-000000000000";
|
|
26
|
+
const credential = new DefaultAzureCredential();
|
|
27
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
28
|
+
const resArray = new Array();
|
|
29
|
+
try {
|
|
30
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
31
|
+
_c = _f.value;
|
|
32
|
+
_d = false;
|
|
33
|
+
try {
|
|
34
|
+
let item = _c;
|
|
35
|
+
resArray.push(item);
|
|
36
|
+
}
|
|
37
|
+
finally {
|
|
38
|
+
_d = true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
43
|
+
finally {
|
|
44
|
+
try {
|
|
45
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
46
|
+
}
|
|
47
|
+
finally { if (e_1) throw e_1.error; }
|
|
48
|
+
}
|
|
49
|
+
console.log(resArray);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* This sample demonstrates how to List the operations for the provider
|
|
54
|
+
*
|
|
55
|
+
* @summary List the operations for the provider
|
|
56
|
+
* x-ms-original-file: specification/liftrqumulo/resource-manager/Qumulo.Storage/stable/2022-10-12/examples/Operations_List_MinimumSet_Gen.json
|
|
57
|
+
*/
|
|
58
|
+
function operationsListMinimumSetGen() {
|
|
59
|
+
var _a, e_2, _b, _c;
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const subscriptionId = process.env["LIFTRQUMULO_SUBSCRIPTION_ID"] ||
|
|
62
|
+
"00000000-0000-0000-0000-000000000000";
|
|
63
|
+
const credential = new DefaultAzureCredential();
|
|
64
|
+
const client = new QumuloStorage(credential, subscriptionId);
|
|
65
|
+
const resArray = new Array();
|
|
66
|
+
try {
|
|
67
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
68
|
+
_c = _f.value;
|
|
69
|
+
_d = false;
|
|
70
|
+
try {
|
|
71
|
+
let item = _c;
|
|
72
|
+
resArray.push(item);
|
|
73
|
+
}
|
|
74
|
+
finally {
|
|
75
|
+
_d = true;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
80
|
+
finally {
|
|
81
|
+
try {
|
|
82
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
83
|
+
}
|
|
84
|
+
finally { if (e_2) throw e_2.error; }
|
|
85
|
+
}
|
|
86
|
+
console.log(resArray);
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
function main() {
|
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
91
|
+
operationsListMaximumSetGen();
|
|
92
|
+
operationsListMinimumSetGen();
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
main().catch(console.error);
|
|
96
|
+
//# sourceMappingURL=operationsListSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAxB,cAAwB;gBAAxB,WAAwB;;oBAApC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAxB,cAAwB;gBAAxB,WAAwB;;oBAApC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,2BAA2B,EAAE,CAAC;QAC9B,2BAA2B,EAAE,CAAC;IAChC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper";
|
|
10
|
+
export * from "./models";
|
|
11
|
+
export { QumuloStorage } from "./qumuloStorage";
|
|
12
|
+
export * from "./operationsInterfaces";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
4
|
+
args: Record<string, unknown>;
|
|
5
|
+
spec: {
|
|
6
|
+
readonly requestBody?: unknown;
|
|
7
|
+
readonly path?: string;
|
|
8
|
+
readonly httpMethod: string;
|
|
9
|
+
} & Record<string, any>;
|
|
10
|
+
}): LongRunningOperation<T>;
|
|
11
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { __rest } from "tslib";
|
|
9
|
+
export function createLroSpec(inputs) {
|
|
10
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
11
|
+
return {
|
|
12
|
+
requestMethod: spec.httpMethod,
|
|
13
|
+
requestPath: spec.path,
|
|
14
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
15
|
+
sendPollRequest: (path, options) => {
|
|
16
|
+
const { requestBody } = spec, restSpec = __rest(spec, ["requestBody"]);
|
|
17
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC"}
|