@azure/arm-storagecache 8.1.0 → 8.2.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/README.md +2 -2
- package/dist/browser/models/index.d.ts +185 -2
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +32 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +6 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +183 -0
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -0
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +25 -2
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/expansionJobs.d.ts +120 -0
- package/dist/browser/operations/expansionJobs.d.ts.map +1 -0
- package/dist/browser/operations/expansionJobs.js +473 -0
- package/dist/browser/operations/expansionJobs.js.map +1 -0
- package/dist/browser/operations/index.d.ts +1 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +1 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/expansionJobs.d.ts +93 -0
- package/dist/browser/operationsInterfaces/expansionJobs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/expansionJobs.js +4 -0
- package/dist/browser/operationsInterfaces/expansionJobs.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +1 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/storageCacheManagementClient.d.ts +2 -1
- package/dist/browser/storageCacheManagementClient.d.ts.map +1 -1
- package/dist/browser/storageCacheManagementClient.js +5 -3
- package/dist/browser/storageCacheManagementClient.js.map +1 -1
- package/dist/commonjs/index.js +35 -16
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/lroImpl.js +41 -21
- package/dist/commonjs/lroImpl.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +185 -2
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +326 -386
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/mappers.d.ts +6 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +4573 -4116
- package/dist/commonjs/models/mappers.js.map +7 -1
- package/dist/commonjs/models/parameters.d.ts +3 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +402 -287
- package/dist/commonjs/models/parameters.js.map +7 -1
- package/dist/commonjs/operations/amlFilesystems.js +594 -540
- package/dist/commonjs/operations/amlFilesystems.js.map +7 -1
- package/dist/commonjs/operations/ascOperations.js +79 -49
- package/dist/commonjs/operations/ascOperations.js.map +7 -1
- package/dist/commonjs/operations/ascUsages.js +141 -112
- package/dist/commonjs/operations/ascUsages.js.map +7 -1
- package/dist/commonjs/operations/autoExportJobs.js +527 -458
- package/dist/commonjs/operations/autoExportJobs.js.map +7 -1
- package/dist/commonjs/operations/autoImportJobs.js +527 -458
- package/dist/commonjs/operations/autoImportJobs.js.map +7 -1
- package/dist/commonjs/operations/caches.js +1353 -1315
- package/dist/commonjs/operations/caches.js.map +7 -1
- package/dist/commonjs/operations/expansionJobs.d.ts +120 -0
- package/dist/commonjs/operations/expansionJobs.d.ts.map +1 -0
- package/dist/commonjs/operations/expansionJobs.js +547 -0
- package/dist/commonjs/operations/expansionJobs.js.map +7 -0
- package/dist/commonjs/operations/importJobs.js +522 -453
- package/dist/commonjs/operations/importJobs.js.map +7 -1
- package/dist/commonjs/operations/index.d.ts +1 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +45 -20
- package/dist/commonjs/operations/index.js.map +7 -1
- package/dist/commonjs/operations/operations.js +133 -104
- package/dist/commonjs/operations/operations.js.map +7 -1
- package/dist/commonjs/operations/skus.js +133 -104
- package/dist/commonjs/operations/skus.js.map +7 -1
- package/dist/commonjs/operations/storageTargetOperations.js +396 -356
- package/dist/commonjs/operations/storageTargetOperations.js.map +7 -1
- package/dist/commonjs/operations/storageTargets.js +567 -508
- package/dist/commonjs/operations/storageTargets.js.map +7 -1
- package/dist/commonjs/operations/usageModels.js +133 -104
- package/dist/commonjs/operations/usageModels.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/amlFilesystems.js +15 -5
- package/dist/commonjs/operationsInterfaces/amlFilesystems.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/ascOperations.js +15 -5
- package/dist/commonjs/operationsInterfaces/ascOperations.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/ascUsages.js +15 -5
- package/dist/commonjs/operationsInterfaces/ascUsages.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/autoExportJobs.js +15 -5
- package/dist/commonjs/operationsInterfaces/autoExportJobs.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/autoImportJobs.js +15 -5
- package/dist/commonjs/operationsInterfaces/autoImportJobs.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/caches.js +15 -5
- package/dist/commonjs/operationsInterfaces/caches.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts +93 -0
- package/dist/commonjs/operationsInterfaces/expansionJobs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/expansionJobs.js +15 -0
- package/dist/commonjs/operationsInterfaces/expansionJobs.js.map +7 -0
- package/dist/commonjs/operationsInterfaces/importJobs.js +15 -5
- package/dist/commonjs/operationsInterfaces/importJobs.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +45 -20
- package/dist/commonjs/operationsInterfaces/index.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/operations.js +15 -5
- package/dist/commonjs/operationsInterfaces/operations.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/skus.js +15 -5
- package/dist/commonjs/operationsInterfaces/skus.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/storageTargetOperations.js +15 -5
- package/dist/commonjs/operationsInterfaces/storageTargetOperations.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/storageTargets.js +15 -5
- package/dist/commonjs/operationsInterfaces/storageTargets.js.map +7 -1
- package/dist/commonjs/operationsInterfaces/usageModels.js +15 -5
- package/dist/commonjs/operationsInterfaces/usageModels.js.map +7 -1
- package/dist/commonjs/pagingHelper.js +39 -25
- package/dist/commonjs/pagingHelper.js.map +7 -1
- package/dist/commonjs/storageCacheManagementClient.d.ts +2 -1
- package/dist/commonjs/storageCacheManagementClient.d.ts.map +1 -1
- package/dist/commonjs/storageCacheManagementClient.js +198 -172
- package/dist/commonjs/storageCacheManagementClient.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/index.js +6 -8
- package/dist/esm/index.js.map +7 -1
- package/dist/esm/lroImpl.js +19 -19
- package/dist/esm/lroImpl.js.map +7 -1
- package/dist/esm/models/index.d.ts +185 -2
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +272 -383
- package/dist/esm/models/index.js.map +7 -1
- package/dist/esm/models/mappers.d.ts +6 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +4422 -4111
- package/dist/esm/models/mappers.js.map +7 -1
- package/dist/esm/models/parameters.d.ts +3 -0
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +360 -283
- package/dist/esm/models/parameters.js.map +7 -1
- package/dist/esm/operations/amlFilesystems.js +556 -530
- package/dist/esm/operations/amlFilesystems.js.map +7 -1
- package/dist/esm/operations/ascOperations.js +44 -42
- package/dist/esm/operations/ascOperations.js.map +7 -1
- package/dist/esm/operations/ascUsages.js +105 -104
- package/dist/esm/operations/ascUsages.js.map +7 -1
- package/dist/esm/operations/autoExportJobs.js +489 -448
- package/dist/esm/operations/autoExportJobs.js.map +7 -1
- package/dist/esm/operations/autoImportJobs.js +489 -448
- package/dist/esm/operations/autoImportJobs.js.map +7 -1
- package/dist/esm/operations/caches.js +1315 -1305
- package/dist/esm/operations/caches.js.map +7 -1
- package/dist/esm/operations/expansionJobs.d.ts +120 -0
- package/dist/esm/operations/expansionJobs.d.ts.map +1 -0
- package/dist/esm/operations/expansionJobs.js +514 -0
- package/dist/esm/operations/expansionJobs.js.map +7 -0
- package/dist/esm/operations/importJobs.js +484 -443
- package/dist/esm/operations/importJobs.js.map +7 -1
- package/dist/esm/operations/index.d.ts +1 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +1 -5
- package/dist/esm/operations/index.js.map +7 -1
- package/dist/esm/operations/operations.js +97 -96
- package/dist/esm/operations/operations.js.map +7 -1
- package/dist/esm/operations/skus.js +97 -96
- package/dist/esm/operations/skus.js.map +7 -1
- package/dist/esm/operations/storageTargetOperations.js +359 -347
- package/dist/esm/operations/storageTargetOperations.js.map +7 -1
- package/dist/esm/operations/storageTargets.js +529 -498
- package/dist/esm/operations/storageTargets.js.map +7 -1
- package/dist/esm/operations/usageModels.js +97 -96
- package/dist/esm/operations/usageModels.js.map +7 -1
- package/dist/esm/operationsInterfaces/amlFilesystems.js +0 -4
- package/dist/esm/operationsInterfaces/amlFilesystems.js.map +7 -1
- package/dist/esm/operationsInterfaces/ascOperations.js +0 -4
- package/dist/esm/operationsInterfaces/ascOperations.js.map +7 -1
- package/dist/esm/operationsInterfaces/ascUsages.js +0 -4
- package/dist/esm/operationsInterfaces/ascUsages.js.map +7 -1
- package/dist/esm/operationsInterfaces/autoExportJobs.js +0 -4
- package/dist/esm/operationsInterfaces/autoExportJobs.js.map +7 -1
- package/dist/esm/operationsInterfaces/autoImportJobs.js +0 -4
- package/dist/esm/operationsInterfaces/autoImportJobs.js.map +7 -1
- package/dist/esm/operationsInterfaces/caches.js +0 -4
- package/dist/esm/operationsInterfaces/caches.js.map +7 -1
- package/dist/esm/operationsInterfaces/expansionJobs.d.ts +93 -0
- package/dist/esm/operationsInterfaces/expansionJobs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/expansionJobs.js +0 -0
- package/dist/esm/operationsInterfaces/expansionJobs.js.map +7 -0
- package/dist/esm/operationsInterfaces/importJobs.js +0 -4
- package/dist/esm/operationsInterfaces/importJobs.js.map +7 -1
- package/dist/esm/operationsInterfaces/index.d.ts +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +1 -5
- package/dist/esm/operationsInterfaces/index.js.map +7 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -4
- package/dist/esm/operationsInterfaces/operations.js.map +7 -1
- package/dist/esm/operationsInterfaces/skus.js +0 -4
- package/dist/esm/operationsInterfaces/skus.js.map +7 -1
- package/dist/esm/operationsInterfaces/storageTargetOperations.js +0 -4
- package/dist/esm/operationsInterfaces/storageTargetOperations.js.map +7 -1
- package/dist/esm/operationsInterfaces/storageTargets.js +0 -4
- package/dist/esm/operationsInterfaces/storageTargets.js.map +7 -1
- package/dist/esm/operationsInterfaces/usageModels.js +0 -4
- package/dist/esm/operationsInterfaces/usageModels.js.map +7 -1
- package/dist/esm/pagingHelper.js +17 -23
- package/dist/esm/pagingHelper.js.map +7 -1
- package/dist/esm/storageCacheManagementClient.d.ts +2 -1
- package/dist/esm/storageCacheManagementClient.d.ts.map +1 -1
- package/dist/esm/storageCacheManagementClient.js +176 -164
- package/dist/esm/storageCacheManagementClient.js.map +7 -1
- package/dist/react-native/models/index.d.ts +185 -2
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +32 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +6 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +183 -0
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +25 -2
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/expansionJobs.d.ts +120 -0
- package/dist/react-native/operations/expansionJobs.d.ts.map +1 -0
- package/dist/react-native/operations/expansionJobs.js +473 -0
- package/dist/react-native/operations/expansionJobs.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +1 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +1 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/expansionJobs.d.ts +93 -0
- package/dist/react-native/operationsInterfaces/expansionJobs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/expansionJobs.js +4 -0
- package/dist/react-native/operationsInterfaces/expansionJobs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +1 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/storageCacheManagementClient.d.ts +2 -1
- package/dist/react-native/storageCacheManagementClient.d.ts.map +1 -1
- package/dist/react-native/storageCacheManagementClient.js +5 -3
- package/dist/react-native/storageCacheManagementClient.js.map +1 -1
- package/package.json +26 -38
|
@@ -1,578 +1,632 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var amlFilesystems_exports = {};
|
|
29
|
+
__export(amlFilesystems_exports, {
|
|
30
|
+
AmlFilesystemsImpl: () => AmlFilesystemsImpl
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(amlFilesystems_exports);
|
|
33
|
+
var import_pagingHelper = require("../pagingHelper.js");
|
|
34
|
+
var coreClient = __toESM(require("@azure/core-client"));
|
|
35
|
+
var Mappers = __toESM(require("../models/mappers.js"));
|
|
36
|
+
var Parameters = __toESM(require("../models/parameters.js"));
|
|
37
|
+
var import_core_lro = require("@azure/core-lro");
|
|
38
|
+
var import_lroImpl = require("../lroImpl.js");
|
|
15
39
|
class AmlFilesystemsImpl {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
40
|
+
client;
|
|
41
|
+
/**
|
|
42
|
+
* Initialize a new instance of the class AmlFilesystems class.
|
|
43
|
+
* @param client Reference to the service client
|
|
44
|
+
*/
|
|
45
|
+
constructor(client) {
|
|
46
|
+
this.client = client;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns all AML file systems the user has access to under a subscription.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
list(options) {
|
|
53
|
+
const iter = this.listPagingAll(options);
|
|
54
|
+
return {
|
|
55
|
+
next() {
|
|
56
|
+
return iter.next();
|
|
57
|
+
},
|
|
58
|
+
[Symbol.asyncIterator]() {
|
|
59
|
+
return this;
|
|
60
|
+
},
|
|
61
|
+
byPage: (settings) => {
|
|
62
|
+
if (settings?.maxPageSize) {
|
|
63
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
64
|
+
}
|
|
65
|
+
return this.listPagingPage(options, settings);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
async *listPagingPage(options, settings) {
|
|
70
|
+
let result;
|
|
71
|
+
let continuationToken = settings?.continuationToken;
|
|
72
|
+
if (!continuationToken) {
|
|
73
|
+
result = await this._list(options);
|
|
74
|
+
let page = result.value || [];
|
|
75
|
+
continuationToken = result.nextLink;
|
|
76
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
77
|
+
yield page;
|
|
23
78
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return {
|
|
31
|
-
next() {
|
|
32
|
-
return iter.next();
|
|
33
|
-
},
|
|
34
|
-
[Symbol.asyncIterator]() {
|
|
35
|
-
return this;
|
|
36
|
-
},
|
|
37
|
-
byPage: (settings) => {
|
|
38
|
-
if (settings?.maxPageSize) {
|
|
39
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
40
|
-
}
|
|
41
|
-
return this.listPagingPage(options, settings);
|
|
42
|
-
},
|
|
43
|
-
};
|
|
79
|
+
while (continuationToken) {
|
|
80
|
+
result = await this._listNext(continuationToken, options);
|
|
81
|
+
continuationToken = result.nextLink;
|
|
82
|
+
let page = result.value || [];
|
|
83
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
84
|
+
yield page;
|
|
44
85
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
result = await this._list(options);
|
|
50
|
-
let page = result.value || [];
|
|
51
|
-
continuationToken = result.nextLink;
|
|
52
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
53
|
-
yield page;
|
|
54
|
-
}
|
|
55
|
-
while (continuationToken) {
|
|
56
|
-
result = await this._listNext(continuationToken, options);
|
|
57
|
-
continuationToken = result.nextLink;
|
|
58
|
-
let page = result.value || [];
|
|
59
|
-
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
|
-
yield page;
|
|
61
|
-
}
|
|
86
|
+
}
|
|
87
|
+
async *listPagingAll(options) {
|
|
88
|
+
for await (const page of this.listPagingPage(options)) {
|
|
89
|
+
yield* page;
|
|
62
90
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns all AML file systems the user has access to under a resource group.
|
|
94
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
98
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
99
|
+
return {
|
|
100
|
+
next() {
|
|
101
|
+
return iter.next();
|
|
102
|
+
},
|
|
103
|
+
[Symbol.asyncIterator]() {
|
|
104
|
+
return this;
|
|
105
|
+
},
|
|
106
|
+
byPage: (settings) => {
|
|
107
|
+
if (settings?.maxPageSize) {
|
|
108
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
66
109
|
}
|
|
110
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
115
|
+
let result;
|
|
116
|
+
let continuationToken = settings?.continuationToken;
|
|
117
|
+
if (!continuationToken) {
|
|
118
|
+
result = await this._listByResourceGroup(resourceGroupName, options);
|
|
119
|
+
let page = result.value || [];
|
|
120
|
+
continuationToken = result.nextLink;
|
|
121
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
122
|
+
yield page;
|
|
123
|
+
}
|
|
124
|
+
while (continuationToken) {
|
|
125
|
+
result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
|
|
126
|
+
continuationToken = result.nextLink;
|
|
127
|
+
let page = result.value || [];
|
|
128
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
129
|
+
yield page;
|
|
67
130
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
*/
|
|
73
|
-
listByResourceGroup(resourceGroupName, options) {
|
|
74
|
-
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
75
|
-
return {
|
|
76
|
-
next() {
|
|
77
|
-
return iter.next();
|
|
78
|
-
},
|
|
79
|
-
[Symbol.asyncIterator]() {
|
|
80
|
-
return this;
|
|
81
|
-
},
|
|
82
|
-
byPage: (settings) => {
|
|
83
|
-
if (settings?.maxPageSize) {
|
|
84
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
85
|
-
}
|
|
86
|
-
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
87
|
-
},
|
|
88
|
-
};
|
|
131
|
+
}
|
|
132
|
+
async *listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
133
|
+
for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
|
|
134
|
+
yield* page;
|
|
89
135
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Returns all AML file systems the user has access to under a subscription.
|
|
139
|
+
* @param options The options parameters.
|
|
140
|
+
*/
|
|
141
|
+
_list(options) {
|
|
142
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Returns all AML file systems the user has access to under a resource group.
|
|
146
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
150
|
+
return this.client.sendOperationRequest(
|
|
151
|
+
{ resourceGroupName, options },
|
|
152
|
+
listByResourceGroupOperationSpec
|
|
153
|
+
);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Schedules an AML file system for deletion.
|
|
157
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
158
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
159
|
+
* hyphens. Start and end with alphanumeric.
|
|
160
|
+
* @param options The options parameters.
|
|
161
|
+
*/
|
|
162
|
+
async beginDelete(resourceGroupName, amlFilesystemName, options) {
|
|
163
|
+
const directSendOperation = async (args, spec) => {
|
|
164
|
+
return this.client.sendOperationRequest(args, spec);
|
|
165
|
+
};
|
|
166
|
+
const sendOperationFn = async (args, spec) => {
|
|
167
|
+
let currentRawResponse = void 0;
|
|
168
|
+
const providedCallback = args.options?.onResponse;
|
|
169
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
170
|
+
currentRawResponse = rawResponse;
|
|
171
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
172
|
+
};
|
|
173
|
+
const updatedArgs = {
|
|
174
|
+
...args,
|
|
175
|
+
options: {
|
|
176
|
+
...args.options,
|
|
177
|
+
onResponse: callback
|
|
99
178
|
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
179
|
+
};
|
|
180
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
181
|
+
return {
|
|
182
|
+
flatResponse,
|
|
183
|
+
rawResponse: {
|
|
184
|
+
statusCode: currentRawResponse.status,
|
|
185
|
+
body: currentRawResponse.parsedBody,
|
|
186
|
+
headers: currentRawResponse.headers.toJSON()
|
|
106
187
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
191
|
+
sendOperationFn,
|
|
192
|
+
args: { resourceGroupName, amlFilesystemName, options },
|
|
193
|
+
spec: deleteOperationSpec
|
|
194
|
+
});
|
|
195
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
196
|
+
restoreFrom: options?.resumeFrom,
|
|
197
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
198
|
+
resourceLocationConfig: "location"
|
|
199
|
+
});
|
|
200
|
+
await poller.poll();
|
|
201
|
+
return poller;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Schedules an AML file system for deletion.
|
|
205
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
206
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
207
|
+
* hyphens. Start and end with alphanumeric.
|
|
208
|
+
* @param options The options parameters.
|
|
209
|
+
*/
|
|
210
|
+
async beginDeleteAndWait(resourceGroupName, amlFilesystemName, options) {
|
|
211
|
+
const poller = await this.beginDelete(resourceGroupName, amlFilesystemName, options);
|
|
212
|
+
return poller.pollUntilDone();
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Returns an AML file system.
|
|
216
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
217
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
218
|
+
* hyphens. Start and end with alphanumeric.
|
|
219
|
+
* @param options The options parameters.
|
|
220
|
+
*/
|
|
221
|
+
get(resourceGroupName, amlFilesystemName, options) {
|
|
222
|
+
return this.client.sendOperationRequest(
|
|
223
|
+
{ resourceGroupName, amlFilesystemName, options },
|
|
224
|
+
getOperationSpec
|
|
225
|
+
);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Create or update an AML file system.
|
|
229
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
230
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
231
|
+
* hyphens. Start and end with alphanumeric.
|
|
232
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
233
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
234
|
+
* @param options The options parameters.
|
|
235
|
+
*/
|
|
236
|
+
async beginCreateOrUpdate(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
237
|
+
const directSendOperation = async (args, spec) => {
|
|
238
|
+
return this.client.sendOperationRequest(args, spec);
|
|
239
|
+
};
|
|
240
|
+
const sendOperationFn = async (args, spec) => {
|
|
241
|
+
let currentRawResponse = void 0;
|
|
242
|
+
const providedCallback = args.options?.onResponse;
|
|
243
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
244
|
+
currentRawResponse = rawResponse;
|
|
245
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
246
|
+
};
|
|
247
|
+
const updatedArgs = {
|
|
248
|
+
...args,
|
|
249
|
+
options: {
|
|
250
|
+
...args.options,
|
|
251
|
+
onResponse: callback
|
|
111
252
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
*/
|
|
269
|
-
async beginUpdate(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
270
|
-
const directSendOperation = async (args, spec) => {
|
|
271
|
-
return this.client.sendOperationRequest(args, spec);
|
|
272
|
-
};
|
|
273
|
-
const sendOperationFn = async (args, spec) => {
|
|
274
|
-
let currentRawResponse = undefined;
|
|
275
|
-
const providedCallback = args.options?.onResponse;
|
|
276
|
-
const callback = (rawResponse, flatResponse) => {
|
|
277
|
-
currentRawResponse = rawResponse;
|
|
278
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
279
|
-
};
|
|
280
|
-
const updatedArgs = {
|
|
281
|
-
...args,
|
|
282
|
-
options: {
|
|
283
|
-
...args.options,
|
|
284
|
-
onResponse: callback,
|
|
285
|
-
},
|
|
286
|
-
};
|
|
287
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
288
|
-
return {
|
|
289
|
-
flatResponse,
|
|
290
|
-
rawResponse: {
|
|
291
|
-
statusCode: currentRawResponse.status,
|
|
292
|
-
body: currentRawResponse.parsedBody,
|
|
293
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
294
|
-
},
|
|
295
|
-
};
|
|
296
|
-
};
|
|
297
|
-
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
298
|
-
sendOperationFn,
|
|
299
|
-
args: { resourceGroupName, amlFilesystemName, amlFilesystem, options },
|
|
300
|
-
spec: updateOperationSpec,
|
|
301
|
-
});
|
|
302
|
-
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
303
|
-
restoreFrom: options?.resumeFrom,
|
|
304
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
305
|
-
resourceLocationConfig: "azure-async-operation",
|
|
306
|
-
});
|
|
307
|
-
await poller.poll();
|
|
308
|
-
return poller;
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* Update an AML file system instance.
|
|
312
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
313
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
314
|
-
* hyphens. Start and end with alphanumeric.
|
|
315
|
-
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
316
|
-
* read-only properties are included, they must match the existing values of those properties.
|
|
317
|
-
* @param options The options parameters.
|
|
318
|
-
*/
|
|
319
|
-
async beginUpdateAndWait(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
320
|
-
const poller = await this.beginUpdate(resourceGroupName, amlFilesystemName, amlFilesystem, options);
|
|
321
|
-
return poller.pollUntilDone();
|
|
322
|
-
}
|
|
323
|
-
/**
|
|
324
|
-
* Archive data from the AML file system.
|
|
325
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
326
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
327
|
-
* hyphens. Start and end with alphanumeric.
|
|
328
|
-
* @param options The options parameters.
|
|
329
|
-
*/
|
|
330
|
-
archive(resourceGroupName, amlFilesystemName, options) {
|
|
331
|
-
return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, options }, archiveOperationSpec);
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Cancel archiving data from the AML file system.
|
|
335
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
336
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
337
|
-
* hyphens. Start and end with alphanumeric.
|
|
338
|
-
* @param options The options parameters.
|
|
339
|
-
*/
|
|
340
|
-
cancelArchive(resourceGroupName, amlFilesystemName, options) {
|
|
341
|
-
return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, options }, cancelArchiveOperationSpec);
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* ListNext
|
|
345
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
346
|
-
* @param options The options parameters.
|
|
347
|
-
*/
|
|
348
|
-
_listNext(nextLink, options) {
|
|
349
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* ListByResourceGroupNext
|
|
353
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
354
|
-
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
355
|
-
* @param options The options parameters.
|
|
356
|
-
*/
|
|
357
|
-
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
358
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
359
|
-
}
|
|
253
|
+
};
|
|
254
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
255
|
+
return {
|
|
256
|
+
flatResponse,
|
|
257
|
+
rawResponse: {
|
|
258
|
+
statusCode: currentRawResponse.status,
|
|
259
|
+
body: currentRawResponse.parsedBody,
|
|
260
|
+
headers: currentRawResponse.headers.toJSON()
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
265
|
+
sendOperationFn,
|
|
266
|
+
args: { resourceGroupName, amlFilesystemName, amlFilesystem, options },
|
|
267
|
+
spec: createOrUpdateOperationSpec
|
|
268
|
+
});
|
|
269
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
270
|
+
restoreFrom: options?.resumeFrom,
|
|
271
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
272
|
+
resourceLocationConfig: "azure-async-operation"
|
|
273
|
+
});
|
|
274
|
+
await poller.poll();
|
|
275
|
+
return poller;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Create or update an AML file system.
|
|
279
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
280
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
281
|
+
* hyphens. Start and end with alphanumeric.
|
|
282
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
283
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
284
|
+
* @param options The options parameters.
|
|
285
|
+
*/
|
|
286
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
287
|
+
const poller = await this.beginCreateOrUpdate(
|
|
288
|
+
resourceGroupName,
|
|
289
|
+
amlFilesystemName,
|
|
290
|
+
amlFilesystem,
|
|
291
|
+
options
|
|
292
|
+
);
|
|
293
|
+
return poller.pollUntilDone();
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Update an AML file system instance.
|
|
297
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
298
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
299
|
+
* hyphens. Start and end with alphanumeric.
|
|
300
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
301
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
302
|
+
* @param options The options parameters.
|
|
303
|
+
*/
|
|
304
|
+
async beginUpdate(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
305
|
+
const directSendOperation = async (args, spec) => {
|
|
306
|
+
return this.client.sendOperationRequest(args, spec);
|
|
307
|
+
};
|
|
308
|
+
const sendOperationFn = async (args, spec) => {
|
|
309
|
+
let currentRawResponse = void 0;
|
|
310
|
+
const providedCallback = args.options?.onResponse;
|
|
311
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
312
|
+
currentRawResponse = rawResponse;
|
|
313
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
314
|
+
};
|
|
315
|
+
const updatedArgs = {
|
|
316
|
+
...args,
|
|
317
|
+
options: {
|
|
318
|
+
...args.options,
|
|
319
|
+
onResponse: callback
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
323
|
+
return {
|
|
324
|
+
flatResponse,
|
|
325
|
+
rawResponse: {
|
|
326
|
+
statusCode: currentRawResponse.status,
|
|
327
|
+
body: currentRawResponse.parsedBody,
|
|
328
|
+
headers: currentRawResponse.headers.toJSON()
|
|
329
|
+
}
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
333
|
+
sendOperationFn,
|
|
334
|
+
args: { resourceGroupName, amlFilesystemName, amlFilesystem, options },
|
|
335
|
+
spec: updateOperationSpec
|
|
336
|
+
});
|
|
337
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
338
|
+
restoreFrom: options?.resumeFrom,
|
|
339
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
340
|
+
resourceLocationConfig: "azure-async-operation"
|
|
341
|
+
});
|
|
342
|
+
await poller.poll();
|
|
343
|
+
return poller;
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Update an AML file system instance.
|
|
347
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
348
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
349
|
+
* hyphens. Start and end with alphanumeric.
|
|
350
|
+
* @param amlFilesystem Object containing the user-selectable properties of the AML file system. If
|
|
351
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
352
|
+
* @param options The options parameters.
|
|
353
|
+
*/
|
|
354
|
+
async beginUpdateAndWait(resourceGroupName, amlFilesystemName, amlFilesystem, options) {
|
|
355
|
+
const poller = await this.beginUpdate(
|
|
356
|
+
resourceGroupName,
|
|
357
|
+
amlFilesystemName,
|
|
358
|
+
amlFilesystem,
|
|
359
|
+
options
|
|
360
|
+
);
|
|
361
|
+
return poller.pollUntilDone();
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Archive data from the AML file system.
|
|
365
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
366
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
367
|
+
* hyphens. Start and end with alphanumeric.
|
|
368
|
+
* @param options The options parameters.
|
|
369
|
+
*/
|
|
370
|
+
archive(resourceGroupName, amlFilesystemName, options) {
|
|
371
|
+
return this.client.sendOperationRequest(
|
|
372
|
+
{ resourceGroupName, amlFilesystemName, options },
|
|
373
|
+
archiveOperationSpec
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Cancel archiving data from the AML file system.
|
|
378
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
379
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
380
|
+
* hyphens. Start and end with alphanumeric.
|
|
381
|
+
* @param options The options parameters.
|
|
382
|
+
*/
|
|
383
|
+
cancelArchive(resourceGroupName, amlFilesystemName, options) {
|
|
384
|
+
return this.client.sendOperationRequest(
|
|
385
|
+
{ resourceGroupName, amlFilesystemName, options },
|
|
386
|
+
cancelArchiveOperationSpec
|
|
387
|
+
);
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* ListNext
|
|
391
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
392
|
+
* @param options The options parameters.
|
|
393
|
+
*/
|
|
394
|
+
_listNext(nextLink, options) {
|
|
395
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* ListByResourceGroupNext
|
|
399
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
400
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
401
|
+
* @param options The options parameters.
|
|
402
|
+
*/
|
|
403
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
404
|
+
return this.client.sendOperationRequest(
|
|
405
|
+
{ resourceGroupName, nextLink, options },
|
|
406
|
+
listByResourceGroupNextOperationSpec
|
|
407
|
+
);
|
|
408
|
+
}
|
|
360
409
|
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
410
|
+
const serializer = coreClient.createSerializer(
|
|
411
|
+
Mappers,
|
|
412
|
+
/* isXml */
|
|
413
|
+
false
|
|
414
|
+
);
|
|
364
415
|
const listOperationSpec = {
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
},
|
|
371
|
-
default: {
|
|
372
|
-
bodyMapper: Mappers.CloudError,
|
|
373
|
-
},
|
|
416
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/amlFilesystems",
|
|
417
|
+
httpMethod: "GET",
|
|
418
|
+
responses: {
|
|
419
|
+
200: {
|
|
420
|
+
bodyMapper: Mappers.AmlFilesystemsListResult
|
|
374
421
|
},
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
422
|
+
default: {
|
|
423
|
+
bodyMapper: Mappers.CloudError
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
queryParameters: [Parameters.apiVersion],
|
|
427
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
428
|
+
headerParameters: [Parameters.accept],
|
|
429
|
+
serializer
|
|
379
430
|
};
|
|
380
431
|
const listByResourceGroupOperationSpec = {
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
},
|
|
387
|
-
default: {
|
|
388
|
-
bodyMapper: Mappers.CloudError,
|
|
389
|
-
},
|
|
432
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems",
|
|
433
|
+
httpMethod: "GET",
|
|
434
|
+
responses: {
|
|
435
|
+
200: {
|
|
436
|
+
bodyMapper: Mappers.AmlFilesystemsListResult
|
|
390
437
|
},
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
438
|
+
default: {
|
|
439
|
+
bodyMapper: Mappers.CloudError
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
queryParameters: [Parameters.apiVersion],
|
|
443
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
444
|
+
headerParameters: [Parameters.accept],
|
|
445
|
+
serializer
|
|
395
446
|
};
|
|
396
447
|
const deleteOperationSpec = {
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
448
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}",
|
|
449
|
+
httpMethod: "DELETE",
|
|
450
|
+
responses: {
|
|
451
|
+
200: {},
|
|
452
|
+
201: {},
|
|
453
|
+
202: {},
|
|
454
|
+
204: {},
|
|
455
|
+
default: {
|
|
456
|
+
bodyMapper: Mappers.CloudError
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
queryParameters: [Parameters.apiVersion],
|
|
460
|
+
urlParameters: [
|
|
461
|
+
Parameters.$host,
|
|
462
|
+
Parameters.subscriptionId,
|
|
463
|
+
Parameters.resourceGroupName,
|
|
464
|
+
Parameters.amlFilesystemName
|
|
465
|
+
],
|
|
466
|
+
headerParameters: [Parameters.accept],
|
|
467
|
+
serializer
|
|
417
468
|
};
|
|
418
469
|
const getOperationSpec = {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
},
|
|
425
|
-
default: {
|
|
426
|
-
bodyMapper: Mappers.CloudError,
|
|
427
|
-
},
|
|
470
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}",
|
|
471
|
+
httpMethod: "GET",
|
|
472
|
+
responses: {
|
|
473
|
+
200: {
|
|
474
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
428
475
|
},
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
476
|
+
default: {
|
|
477
|
+
bodyMapper: Mappers.CloudError
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
queryParameters: [Parameters.apiVersion],
|
|
481
|
+
urlParameters: [
|
|
482
|
+
Parameters.$host,
|
|
483
|
+
Parameters.subscriptionId,
|
|
484
|
+
Parameters.resourceGroupName,
|
|
485
|
+
Parameters.amlFilesystemName
|
|
486
|
+
],
|
|
487
|
+
headerParameters: [Parameters.accept],
|
|
488
|
+
serializer
|
|
438
489
|
};
|
|
439
490
|
const createOrUpdateOperationSpec = {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
},
|
|
452
|
-
204: {
|
|
453
|
-
bodyMapper: Mappers.AmlFilesystem,
|
|
454
|
-
},
|
|
455
|
-
default: {
|
|
456
|
-
bodyMapper: Mappers.CloudError,
|
|
457
|
-
},
|
|
491
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}",
|
|
492
|
+
httpMethod: "PUT",
|
|
493
|
+
responses: {
|
|
494
|
+
200: {
|
|
495
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
496
|
+
},
|
|
497
|
+
201: {
|
|
498
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
499
|
+
},
|
|
500
|
+
202: {
|
|
501
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
458
502
|
},
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
503
|
+
204: {
|
|
504
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
505
|
+
},
|
|
506
|
+
default: {
|
|
507
|
+
bodyMapper: Mappers.CloudError
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
requestBody: Parameters.amlFilesystem,
|
|
511
|
+
queryParameters: [Parameters.apiVersion],
|
|
512
|
+
urlParameters: [
|
|
513
|
+
Parameters.$host,
|
|
514
|
+
Parameters.subscriptionId,
|
|
515
|
+
Parameters.resourceGroupName,
|
|
516
|
+
Parameters.amlFilesystemName
|
|
517
|
+
],
|
|
518
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
519
|
+
mediaType: "json",
|
|
520
|
+
serializer
|
|
470
521
|
};
|
|
471
522
|
const updateOperationSpec = {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
},
|
|
478
|
-
201: {
|
|
479
|
-
bodyMapper: Mappers.AmlFilesystem,
|
|
480
|
-
},
|
|
481
|
-
202: {
|
|
482
|
-
bodyMapper: Mappers.AmlFilesystem,
|
|
483
|
-
},
|
|
484
|
-
204: {
|
|
485
|
-
bodyMapper: Mappers.AmlFilesystem,
|
|
486
|
-
},
|
|
487
|
-
default: {
|
|
488
|
-
bodyMapper: Mappers.CloudError,
|
|
489
|
-
},
|
|
523
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}",
|
|
524
|
+
httpMethod: "PATCH",
|
|
525
|
+
responses: {
|
|
526
|
+
200: {
|
|
527
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
490
528
|
},
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
529
|
+
201: {
|
|
530
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
531
|
+
},
|
|
532
|
+
202: {
|
|
533
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
534
|
+
},
|
|
535
|
+
204: {
|
|
536
|
+
bodyMapper: Mappers.AmlFilesystem
|
|
537
|
+
},
|
|
538
|
+
default: {
|
|
539
|
+
bodyMapper: Mappers.CloudError
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
requestBody: Parameters.amlFilesystem1,
|
|
543
|
+
queryParameters: [Parameters.apiVersion],
|
|
544
|
+
urlParameters: [
|
|
545
|
+
Parameters.$host,
|
|
546
|
+
Parameters.subscriptionId,
|
|
547
|
+
Parameters.resourceGroupName,
|
|
548
|
+
Parameters.amlFilesystemName
|
|
549
|
+
],
|
|
550
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
551
|
+
mediaType: "json",
|
|
552
|
+
serializer
|
|
502
553
|
};
|
|
503
554
|
const archiveOperationSpec = {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
555
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/archive",
|
|
556
|
+
httpMethod: "POST",
|
|
557
|
+
responses: {
|
|
558
|
+
200: {},
|
|
559
|
+
default: {
|
|
560
|
+
bodyMapper: Mappers.CloudError
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
requestBody: Parameters.archiveInfo,
|
|
564
|
+
queryParameters: [Parameters.apiVersion],
|
|
565
|
+
urlParameters: [
|
|
566
|
+
Parameters.$host,
|
|
567
|
+
Parameters.subscriptionId,
|
|
568
|
+
Parameters.resourceGroupName,
|
|
569
|
+
Parameters.amlFilesystemName
|
|
570
|
+
],
|
|
571
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
572
|
+
mediaType: "json",
|
|
573
|
+
serializer
|
|
523
574
|
};
|
|
524
575
|
const cancelArchiveOperationSpec = {
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
576
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/cancelArchive",
|
|
577
|
+
httpMethod: "POST",
|
|
578
|
+
responses: {
|
|
579
|
+
200: {},
|
|
580
|
+
default: {
|
|
581
|
+
bodyMapper: Mappers.CloudError
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
queryParameters: [Parameters.apiVersion],
|
|
585
|
+
urlParameters: [
|
|
586
|
+
Parameters.$host,
|
|
587
|
+
Parameters.subscriptionId,
|
|
588
|
+
Parameters.resourceGroupName,
|
|
589
|
+
Parameters.amlFilesystemName
|
|
590
|
+
],
|
|
591
|
+
headerParameters: [Parameters.accept],
|
|
592
|
+
serializer
|
|
542
593
|
};
|
|
543
594
|
const listNextOperationSpec = {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
},
|
|
550
|
-
default: {
|
|
551
|
-
bodyMapper: Mappers.CloudError,
|
|
552
|
-
},
|
|
595
|
+
path: "{nextLink}",
|
|
596
|
+
httpMethod: "GET",
|
|
597
|
+
responses: {
|
|
598
|
+
200: {
|
|
599
|
+
bodyMapper: Mappers.AmlFilesystemsListResult
|
|
553
600
|
},
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
601
|
+
default: {
|
|
602
|
+
bodyMapper: Mappers.CloudError
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
|
|
606
|
+
headerParameters: [Parameters.accept],
|
|
607
|
+
serializer
|
|
557
608
|
};
|
|
558
609
|
const listByResourceGroupNextOperationSpec = {
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
},
|
|
565
|
-
default: {
|
|
566
|
-
bodyMapper: Mappers.CloudError,
|
|
567
|
-
},
|
|
610
|
+
path: "{nextLink}",
|
|
611
|
+
httpMethod: "GET",
|
|
612
|
+
responses: {
|
|
613
|
+
200: {
|
|
614
|
+
bodyMapper: Mappers.AmlFilesystemsListResult
|
|
568
615
|
},
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
616
|
+
default: {
|
|
617
|
+
bodyMapper: Mappers.CloudError
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
urlParameters: [
|
|
621
|
+
Parameters.$host,
|
|
622
|
+
Parameters.subscriptionId,
|
|
623
|
+
Parameters.resourceGroupName,
|
|
624
|
+
Parameters.nextLink
|
|
625
|
+
],
|
|
626
|
+
headerParameters: [Parameters.accept],
|
|
627
|
+
serializer
|
|
577
628
|
};
|
|
578
|
-
|
|
629
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
630
|
+
0 && (module.exports = {
|
|
631
|
+
AmlFilesystemsImpl
|
|
632
|
+
});
|