@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,483 +1,552 @@
|
|
|
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 autoExportJobs_exports = {};
|
|
29
|
+
__export(autoExportJobs_exports, {
|
|
30
|
+
AutoExportJobsImpl: () => AutoExportJobsImpl
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(autoExportJobs_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 AutoExportJobsImpl {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
40
|
+
client;
|
|
41
|
+
/**
|
|
42
|
+
* Initialize a new instance of the class AutoExportJobs class.
|
|
43
|
+
* @param client Reference to the service client
|
|
44
|
+
*/
|
|
45
|
+
constructor(client) {
|
|
46
|
+
this.client = client;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns all the auto export jobs the user has access to under an AML File System.
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
52
|
+
* hyphens. Start and end with alphanumeric.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
|
|
56
|
+
const iter = this.listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options);
|
|
57
|
+
return {
|
|
58
|
+
next() {
|
|
59
|
+
return iter.next();
|
|
60
|
+
},
|
|
61
|
+
[Symbol.asyncIterator]() {
|
|
62
|
+
return this;
|
|
63
|
+
},
|
|
64
|
+
byPage: (settings) => {
|
|
65
|
+
if (settings?.maxPageSize) {
|
|
66
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
67
|
+
}
|
|
68
|
+
return this.listByAmlFilesystemPagingPage(
|
|
69
|
+
resourceGroupName,
|
|
70
|
+
amlFilesystemName,
|
|
71
|
+
options,
|
|
72
|
+
settings
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
async *listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings) {
|
|
78
|
+
let result;
|
|
79
|
+
let continuationToken = settings?.continuationToken;
|
|
80
|
+
if (!continuationToken) {
|
|
81
|
+
result = await this._listByAmlFilesystem(resourceGroupName, amlFilesystemName, options);
|
|
82
|
+
let page = result.value || [];
|
|
83
|
+
continuationToken = result.nextLink;
|
|
84
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
85
|
+
yield page;
|
|
23
86
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return iter.next();
|
|
36
|
-
},
|
|
37
|
-
[Symbol.asyncIterator]() {
|
|
38
|
-
return this;
|
|
39
|
-
},
|
|
40
|
-
byPage: (settings) => {
|
|
41
|
-
if (settings?.maxPageSize) {
|
|
42
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
-
}
|
|
44
|
-
return this.listByAmlFilesystemPagingPage(resourceGroupName, amlFilesystemName, options, settings);
|
|
45
|
-
},
|
|
46
|
-
};
|
|
87
|
+
while (continuationToken) {
|
|
88
|
+
result = await this._listByAmlFilesystemNext(
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
amlFilesystemName,
|
|
91
|
+
continuationToken,
|
|
92
|
+
options
|
|
93
|
+
);
|
|
94
|
+
continuationToken = result.nextLink;
|
|
95
|
+
let page = result.value || [];
|
|
96
|
+
(0, import_pagingHelper.setContinuationToken)(page, continuationToken);
|
|
97
|
+
yield page;
|
|
47
98
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
99
|
+
}
|
|
100
|
+
async *listByAmlFilesystemPagingAll(resourceGroupName, amlFilesystemName, options) {
|
|
101
|
+
for await (const page of this.listByAmlFilesystemPagingPage(
|
|
102
|
+
resourceGroupName,
|
|
103
|
+
amlFilesystemName,
|
|
104
|
+
options
|
|
105
|
+
)) {
|
|
106
|
+
yield* page;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Schedules an auto export job for deletion.
|
|
111
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
112
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
113
|
+
* hyphens. Start and end with alphanumeric.
|
|
114
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
115
|
+
* hyphens. Start and end with alphanumeric.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
async beginDelete(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
|
|
119
|
+
const directSendOperation = async (args, spec) => {
|
|
120
|
+
return this.client.sendOperationRequest(args, spec);
|
|
121
|
+
};
|
|
122
|
+
const sendOperationFn = async (args, spec) => {
|
|
123
|
+
let currentRawResponse = void 0;
|
|
124
|
+
const providedCallback = args.options?.onResponse;
|
|
125
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
126
|
+
currentRawResponse = rawResponse;
|
|
127
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
128
|
+
};
|
|
129
|
+
const updatedArgs = {
|
|
130
|
+
...args,
|
|
131
|
+
options: {
|
|
132
|
+
...args.options,
|
|
133
|
+
onResponse: callback
|
|
57
134
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
135
|
+
};
|
|
136
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
137
|
+
return {
|
|
138
|
+
flatResponse,
|
|
139
|
+
rawResponse: {
|
|
140
|
+
statusCode: currentRawResponse.status,
|
|
141
|
+
body: currentRawResponse.parsedBody,
|
|
142
|
+
headers: currentRawResponse.headers.toJSON()
|
|
64
143
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
147
|
+
sendOperationFn,
|
|
148
|
+
args: {
|
|
149
|
+
resourceGroupName,
|
|
150
|
+
amlFilesystemName,
|
|
151
|
+
autoExportJobName,
|
|
152
|
+
options
|
|
153
|
+
},
|
|
154
|
+
spec: deleteOperationSpec
|
|
155
|
+
});
|
|
156
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
157
|
+
restoreFrom: options?.resumeFrom,
|
|
158
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
159
|
+
resourceLocationConfig: "location"
|
|
160
|
+
});
|
|
161
|
+
await poller.poll();
|
|
162
|
+
return poller;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Schedules an auto export job for deletion.
|
|
166
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
167
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
168
|
+
* hyphens. Start and end with alphanumeric.
|
|
169
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
170
|
+
* hyphens. Start and end with alphanumeric.
|
|
171
|
+
* @param options The options parameters.
|
|
172
|
+
*/
|
|
173
|
+
async beginDeleteAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
|
|
174
|
+
const poller = await this.beginDelete(
|
|
175
|
+
resourceGroupName,
|
|
176
|
+
amlFilesystemName,
|
|
177
|
+
autoExportJobName,
|
|
178
|
+
options
|
|
179
|
+
);
|
|
180
|
+
return poller.pollUntilDone();
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Returns an auto export job.
|
|
184
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
185
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
186
|
+
* hyphens. Start and end with alphanumeric.
|
|
187
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
188
|
+
* hyphens. Start and end with alphanumeric.
|
|
189
|
+
* @param options The options parameters.
|
|
190
|
+
*/
|
|
191
|
+
get(resourceGroupName, amlFilesystemName, autoExportJobName, options) {
|
|
192
|
+
return this.client.sendOperationRequest(
|
|
193
|
+
{ resourceGroupName, amlFilesystemName, autoExportJobName, options },
|
|
194
|
+
getOperationSpec
|
|
195
|
+
);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Create or update an auto export job.
|
|
199
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
200
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
201
|
+
* hyphens. Start and end with alphanumeric.
|
|
202
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
203
|
+
* hyphens. Start and end with alphanumeric.
|
|
204
|
+
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
205
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
206
|
+
* @param options The options parameters.
|
|
207
|
+
*/
|
|
208
|
+
async beginCreateOrUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
209
|
+
const directSendOperation = async (args, spec) => {
|
|
210
|
+
return this.client.sendOperationRequest(args, spec);
|
|
211
|
+
};
|
|
212
|
+
const sendOperationFn = async (args, spec) => {
|
|
213
|
+
let currentRawResponse = void 0;
|
|
214
|
+
const providedCallback = args.options?.onResponse;
|
|
215
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
216
|
+
currentRawResponse = rawResponse;
|
|
217
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
218
|
+
};
|
|
219
|
+
const updatedArgs = {
|
|
220
|
+
...args,
|
|
221
|
+
options: {
|
|
222
|
+
...args.options,
|
|
223
|
+
onResponse: callback
|
|
69
224
|
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
228
|
-
* hyphens. Start and end with alphanumeric.
|
|
229
|
-
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
230
|
-
* hyphens. Start and end with alphanumeric.
|
|
231
|
-
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
232
|
-
* read-only properties are included, they must match the existing values of those properties.
|
|
233
|
-
* @param options The options parameters.
|
|
234
|
-
*/
|
|
235
|
-
async beginUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
236
|
-
const directSendOperation = async (args, spec) => {
|
|
237
|
-
return this.client.sendOperationRequest(args, spec);
|
|
238
|
-
};
|
|
239
|
-
const sendOperationFn = async (args, spec) => {
|
|
240
|
-
let currentRawResponse = undefined;
|
|
241
|
-
const providedCallback = args.options?.onResponse;
|
|
242
|
-
const callback = (rawResponse, flatResponse) => {
|
|
243
|
-
currentRawResponse = rawResponse;
|
|
244
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
245
|
-
};
|
|
246
|
-
const updatedArgs = {
|
|
247
|
-
...args,
|
|
248
|
-
options: {
|
|
249
|
-
...args.options,
|
|
250
|
-
onResponse: callback,
|
|
251
|
-
},
|
|
252
|
-
};
|
|
253
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
254
|
-
return {
|
|
255
|
-
flatResponse,
|
|
256
|
-
rawResponse: {
|
|
257
|
-
statusCode: currentRawResponse.status,
|
|
258
|
-
body: currentRawResponse.parsedBody,
|
|
259
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
260
|
-
},
|
|
261
|
-
};
|
|
262
|
-
};
|
|
263
|
-
const lro = (0, lroImpl_js_1.createLroSpec)({
|
|
264
|
-
sendOperationFn,
|
|
265
|
-
args: {
|
|
266
|
-
resourceGroupName,
|
|
267
|
-
amlFilesystemName,
|
|
268
|
-
autoExportJobName,
|
|
269
|
-
autoExportJob,
|
|
270
|
-
options,
|
|
271
|
-
},
|
|
272
|
-
spec: updateOperationSpec,
|
|
273
|
-
});
|
|
274
|
-
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
275
|
-
restoreFrom: options?.resumeFrom,
|
|
276
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
277
|
-
resourceLocationConfig: "azure-async-operation",
|
|
278
|
-
});
|
|
279
|
-
await poller.poll();
|
|
280
|
-
return poller;
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* Update an auto export job instance.
|
|
284
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
285
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
286
|
-
* hyphens. Start and end with alphanumeric.
|
|
287
|
-
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
288
|
-
* hyphens. Start and end with alphanumeric.
|
|
289
|
-
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
290
|
-
* read-only properties are included, they must match the existing values of those properties.
|
|
291
|
-
* @param options The options parameters.
|
|
292
|
-
*/
|
|
293
|
-
async beginUpdateAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
294
|
-
const poller = await this.beginUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options);
|
|
295
|
-
return poller.pollUntilDone();
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Returns all the auto export jobs the user has access to under an AML File System.
|
|
299
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
300
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
301
|
-
* hyphens. Start and end with alphanumeric.
|
|
302
|
-
* @param options The options parameters.
|
|
303
|
-
*/
|
|
304
|
-
_listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
|
|
305
|
-
return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, options }, listByAmlFilesystemOperationSpec);
|
|
306
|
-
}
|
|
307
|
-
/**
|
|
308
|
-
* ListByAmlFilesystemNext
|
|
309
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
310
|
-
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
311
|
-
* hyphens. Start and end with alphanumeric.
|
|
312
|
-
* @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
|
|
313
|
-
* @param options The options parameters.
|
|
314
|
-
*/
|
|
315
|
-
_listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, nextLink, options) {
|
|
316
|
-
return this.client.sendOperationRequest({ resourceGroupName, amlFilesystemName, nextLink, options }, listByAmlFilesystemNextOperationSpec);
|
|
317
|
-
}
|
|
225
|
+
};
|
|
226
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
227
|
+
return {
|
|
228
|
+
flatResponse,
|
|
229
|
+
rawResponse: {
|
|
230
|
+
statusCode: currentRawResponse.status,
|
|
231
|
+
body: currentRawResponse.parsedBody,
|
|
232
|
+
headers: currentRawResponse.headers.toJSON()
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
237
|
+
sendOperationFn,
|
|
238
|
+
args: {
|
|
239
|
+
resourceGroupName,
|
|
240
|
+
amlFilesystemName,
|
|
241
|
+
autoExportJobName,
|
|
242
|
+
autoExportJob,
|
|
243
|
+
options
|
|
244
|
+
},
|
|
245
|
+
spec: createOrUpdateOperationSpec
|
|
246
|
+
});
|
|
247
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
248
|
+
restoreFrom: options?.resumeFrom,
|
|
249
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
250
|
+
resourceLocationConfig: "azure-async-operation"
|
|
251
|
+
});
|
|
252
|
+
await poller.poll();
|
|
253
|
+
return poller;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* Create or update an auto export job.
|
|
257
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
258
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
259
|
+
* hyphens. Start and end with alphanumeric.
|
|
260
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
261
|
+
* hyphens. Start and end with alphanumeric.
|
|
262
|
+
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
263
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
264
|
+
* @param options The options parameters.
|
|
265
|
+
*/
|
|
266
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
267
|
+
const poller = await this.beginCreateOrUpdate(
|
|
268
|
+
resourceGroupName,
|
|
269
|
+
amlFilesystemName,
|
|
270
|
+
autoExportJobName,
|
|
271
|
+
autoExportJob,
|
|
272
|
+
options
|
|
273
|
+
);
|
|
274
|
+
return poller.pollUntilDone();
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Update an auto export job instance.
|
|
278
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
279
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
280
|
+
* hyphens. Start and end with alphanumeric.
|
|
281
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
282
|
+
* hyphens. Start and end with alphanumeric.
|
|
283
|
+
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
284
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
285
|
+
* @param options The options parameters.
|
|
286
|
+
*/
|
|
287
|
+
async beginUpdate(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
288
|
+
const directSendOperation = async (args, spec) => {
|
|
289
|
+
return this.client.sendOperationRequest(args, spec);
|
|
290
|
+
};
|
|
291
|
+
const sendOperationFn = async (args, spec) => {
|
|
292
|
+
let currentRawResponse = void 0;
|
|
293
|
+
const providedCallback = args.options?.onResponse;
|
|
294
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
295
|
+
currentRawResponse = rawResponse;
|
|
296
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
297
|
+
};
|
|
298
|
+
const updatedArgs = {
|
|
299
|
+
...args,
|
|
300
|
+
options: {
|
|
301
|
+
...args.options,
|
|
302
|
+
onResponse: callback
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
306
|
+
return {
|
|
307
|
+
flatResponse,
|
|
308
|
+
rawResponse: {
|
|
309
|
+
statusCode: currentRawResponse.status,
|
|
310
|
+
body: currentRawResponse.parsedBody,
|
|
311
|
+
headers: currentRawResponse.headers.toJSON()
|
|
312
|
+
}
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
316
|
+
sendOperationFn,
|
|
317
|
+
args: {
|
|
318
|
+
resourceGroupName,
|
|
319
|
+
amlFilesystemName,
|
|
320
|
+
autoExportJobName,
|
|
321
|
+
autoExportJob,
|
|
322
|
+
options
|
|
323
|
+
},
|
|
324
|
+
spec: updateOperationSpec
|
|
325
|
+
});
|
|
326
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
327
|
+
restoreFrom: options?.resumeFrom,
|
|
328
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
329
|
+
resourceLocationConfig: "azure-async-operation"
|
|
330
|
+
});
|
|
331
|
+
await poller.poll();
|
|
332
|
+
return poller;
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* Update an auto export job instance.
|
|
336
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
337
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
338
|
+
* hyphens. Start and end with alphanumeric.
|
|
339
|
+
* @param autoExportJobName Name for the auto export job. Allows alphanumerics, underscores, and
|
|
340
|
+
* hyphens. Start and end with alphanumeric.
|
|
341
|
+
* @param autoExportJob Object containing the user-selectable properties of the auto export job. If
|
|
342
|
+
* read-only properties are included, they must match the existing values of those properties.
|
|
343
|
+
* @param options The options parameters.
|
|
344
|
+
*/
|
|
345
|
+
async beginUpdateAndWait(resourceGroupName, amlFilesystemName, autoExportJobName, autoExportJob, options) {
|
|
346
|
+
const poller = await this.beginUpdate(
|
|
347
|
+
resourceGroupName,
|
|
348
|
+
amlFilesystemName,
|
|
349
|
+
autoExportJobName,
|
|
350
|
+
autoExportJob,
|
|
351
|
+
options
|
|
352
|
+
);
|
|
353
|
+
return poller.pollUntilDone();
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Returns all the auto export jobs the user has access to under an AML File System.
|
|
357
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
358
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
359
|
+
* hyphens. Start and end with alphanumeric.
|
|
360
|
+
* @param options The options parameters.
|
|
361
|
+
*/
|
|
362
|
+
_listByAmlFilesystem(resourceGroupName, amlFilesystemName, options) {
|
|
363
|
+
return this.client.sendOperationRequest(
|
|
364
|
+
{ resourceGroupName, amlFilesystemName, options },
|
|
365
|
+
listByAmlFilesystemOperationSpec
|
|
366
|
+
);
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* ListByAmlFilesystemNext
|
|
370
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
371
|
+
* @param amlFilesystemName Name for the AML file system. Allows alphanumerics, underscores, and
|
|
372
|
+
* hyphens. Start and end with alphanumeric.
|
|
373
|
+
* @param nextLink The nextLink from the previous successful call to the ListByAmlFilesystem method.
|
|
374
|
+
* @param options The options parameters.
|
|
375
|
+
*/
|
|
376
|
+
_listByAmlFilesystemNext(resourceGroupName, amlFilesystemName, nextLink, options) {
|
|
377
|
+
return this.client.sendOperationRequest(
|
|
378
|
+
{ resourceGroupName, amlFilesystemName, nextLink, options },
|
|
379
|
+
listByAmlFilesystemNextOperationSpec
|
|
380
|
+
);
|
|
381
|
+
}
|
|
318
382
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
383
|
+
const serializer = coreClient.createSerializer(
|
|
384
|
+
Mappers,
|
|
385
|
+
/* isXml */
|
|
386
|
+
false
|
|
387
|
+
);
|
|
322
388
|
const deleteOperationSpec = {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
},
|
|
338
|
-
default: {
|
|
339
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
340
|
-
},
|
|
389
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
|
|
390
|
+
httpMethod: "DELETE",
|
|
391
|
+
responses: {
|
|
392
|
+
200: {
|
|
393
|
+
headersMapper: Mappers.AutoExportJobsDeleteHeaders
|
|
394
|
+
},
|
|
395
|
+
201: {
|
|
396
|
+
headersMapper: Mappers.AutoExportJobsDeleteHeaders
|
|
397
|
+
},
|
|
398
|
+
202: {
|
|
399
|
+
headersMapper: Mappers.AutoExportJobsDeleteHeaders
|
|
400
|
+
},
|
|
401
|
+
204: {
|
|
402
|
+
headersMapper: Mappers.AutoExportJobsDeleteHeaders
|
|
341
403
|
},
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
404
|
+
default: {
|
|
405
|
+
bodyMapper: Mappers.ErrorResponse
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
queryParameters: [Parameters.apiVersion],
|
|
409
|
+
urlParameters: [
|
|
410
|
+
Parameters.$host,
|
|
411
|
+
Parameters.subscriptionId,
|
|
412
|
+
Parameters.resourceGroupName,
|
|
413
|
+
Parameters.amlFilesystemName,
|
|
414
|
+
Parameters.autoExportJobName
|
|
415
|
+
],
|
|
416
|
+
headerParameters: [Parameters.accept],
|
|
417
|
+
serializer
|
|
352
418
|
};
|
|
353
419
|
const getOperationSpec = {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
},
|
|
360
|
-
default: {
|
|
361
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
362
|
-
},
|
|
420
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
|
|
421
|
+
httpMethod: "GET",
|
|
422
|
+
responses: {
|
|
423
|
+
200: {
|
|
424
|
+
bodyMapper: Mappers.AutoExportJob
|
|
363
425
|
},
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
426
|
+
default: {
|
|
427
|
+
bodyMapper: Mappers.ErrorResponse
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
queryParameters: [Parameters.apiVersion],
|
|
431
|
+
urlParameters: [
|
|
432
|
+
Parameters.$host,
|
|
433
|
+
Parameters.subscriptionId,
|
|
434
|
+
Parameters.resourceGroupName,
|
|
435
|
+
Parameters.amlFilesystemName,
|
|
436
|
+
Parameters.autoExportJobName
|
|
437
|
+
],
|
|
438
|
+
headerParameters: [Parameters.accept],
|
|
439
|
+
serializer
|
|
374
440
|
};
|
|
375
441
|
const createOrUpdateOperationSpec = {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
},
|
|
388
|
-
204: {
|
|
389
|
-
bodyMapper: Mappers.AutoExportJob,
|
|
390
|
-
},
|
|
391
|
-
default: {
|
|
392
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
393
|
-
},
|
|
442
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
|
|
443
|
+
httpMethod: "PUT",
|
|
444
|
+
responses: {
|
|
445
|
+
200: {
|
|
446
|
+
bodyMapper: Mappers.AutoExportJob
|
|
447
|
+
},
|
|
448
|
+
201: {
|
|
449
|
+
bodyMapper: Mappers.AutoExportJob
|
|
450
|
+
},
|
|
451
|
+
202: {
|
|
452
|
+
bodyMapper: Mappers.AutoExportJob
|
|
394
453
|
},
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
454
|
+
204: {
|
|
455
|
+
bodyMapper: Mappers.AutoExportJob
|
|
456
|
+
},
|
|
457
|
+
default: {
|
|
458
|
+
bodyMapper: Mappers.ErrorResponse
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
requestBody: Parameters.autoExportJob,
|
|
462
|
+
queryParameters: [Parameters.apiVersion],
|
|
463
|
+
urlParameters: [
|
|
464
|
+
Parameters.$host,
|
|
465
|
+
Parameters.subscriptionId,
|
|
466
|
+
Parameters.resourceGroupName,
|
|
467
|
+
Parameters.amlFilesystemName,
|
|
468
|
+
Parameters.autoExportJobName
|
|
469
|
+
],
|
|
470
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
471
|
+
mediaType: "json",
|
|
472
|
+
serializer
|
|
407
473
|
};
|
|
408
474
|
const updateOperationSpec = {
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
},
|
|
421
|
-
204: {
|
|
422
|
-
bodyMapper: Mappers.AutoExportJob,
|
|
423
|
-
},
|
|
424
|
-
default: {
|
|
425
|
-
bodyMapper: Mappers.ErrorResponse,
|
|
426
|
-
},
|
|
475
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs/{autoExportJobName}",
|
|
476
|
+
httpMethod: "PATCH",
|
|
477
|
+
responses: {
|
|
478
|
+
200: {
|
|
479
|
+
bodyMapper: Mappers.AutoExportJob
|
|
480
|
+
},
|
|
481
|
+
201: {
|
|
482
|
+
bodyMapper: Mappers.AutoExportJob
|
|
483
|
+
},
|
|
484
|
+
202: {
|
|
485
|
+
bodyMapper: Mappers.AutoExportJob
|
|
427
486
|
},
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
487
|
+
204: {
|
|
488
|
+
bodyMapper: Mappers.AutoExportJob
|
|
489
|
+
},
|
|
490
|
+
default: {
|
|
491
|
+
bodyMapper: Mappers.ErrorResponse
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
requestBody: Parameters.autoExportJob1,
|
|
495
|
+
queryParameters: [Parameters.apiVersion],
|
|
496
|
+
urlParameters: [
|
|
497
|
+
Parameters.$host,
|
|
498
|
+
Parameters.subscriptionId,
|
|
499
|
+
Parameters.resourceGroupName,
|
|
500
|
+
Parameters.amlFilesystemName,
|
|
501
|
+
Parameters.autoExportJobName
|
|
502
|
+
],
|
|
503
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
504
|
+
mediaType: "json",
|
|
505
|
+
serializer
|
|
440
506
|
};
|
|
441
507
|
const listByAmlFilesystemOperationSpec = {
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
},
|
|
448
|
-
default: {
|
|
449
|
-
bodyMapper: Mappers.CloudError,
|
|
450
|
-
},
|
|
508
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageCache/amlFilesystems/{amlFilesystemName}/autoExportJobs",
|
|
509
|
+
httpMethod: "GET",
|
|
510
|
+
responses: {
|
|
511
|
+
200: {
|
|
512
|
+
bodyMapper: Mappers.AutoExportJobsListResult
|
|
451
513
|
},
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
514
|
+
default: {
|
|
515
|
+
bodyMapper: Mappers.CloudError
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
queryParameters: [Parameters.apiVersion],
|
|
519
|
+
urlParameters: [
|
|
520
|
+
Parameters.$host,
|
|
521
|
+
Parameters.subscriptionId,
|
|
522
|
+
Parameters.resourceGroupName,
|
|
523
|
+
Parameters.amlFilesystemName
|
|
524
|
+
],
|
|
525
|
+
headerParameters: [Parameters.accept],
|
|
526
|
+
serializer
|
|
461
527
|
};
|
|
462
528
|
const listByAmlFilesystemNextOperationSpec = {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
default: {
|
|
470
|
-
bodyMapper: Mappers.CloudError,
|
|
471
|
-
},
|
|
529
|
+
path: "{nextLink}",
|
|
530
|
+
httpMethod: "GET",
|
|
531
|
+
responses: {
|
|
532
|
+
200: {
|
|
533
|
+
bodyMapper: Mappers.AutoExportJobsListResult
|
|
472
534
|
},
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
535
|
+
default: {
|
|
536
|
+
bodyMapper: Mappers.CloudError
|
|
537
|
+
}
|
|
538
|
+
},
|
|
539
|
+
urlParameters: [
|
|
540
|
+
Parameters.$host,
|
|
541
|
+
Parameters.subscriptionId,
|
|
542
|
+
Parameters.resourceGroupName,
|
|
543
|
+
Parameters.amlFilesystemName,
|
|
544
|
+
Parameters.nextLink
|
|
545
|
+
],
|
|
546
|
+
headerParameters: [Parameters.accept],
|
|
547
|
+
serializer
|
|
482
548
|
};
|
|
483
|
-
|
|
549
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
550
|
+
0 && (module.exports = {
|
|
551
|
+
AutoExportJobsImpl
|
|
552
|
+
});
|