@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,366 +1,406 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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 storageTargetOperations_exports = {};
|
|
29
|
+
__export(storageTargetOperations_exports, {
|
|
30
|
+
StorageTargetOperationsImpl: () => StorageTargetOperationsImpl
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(storageTargetOperations_exports);
|
|
33
|
+
var coreClient = __toESM(require("@azure/core-client"));
|
|
34
|
+
var Mappers = __toESM(require("../models/mappers.js"));
|
|
35
|
+
var Parameters = __toESM(require("../models/parameters.js"));
|
|
36
|
+
var import_core_lro = require("@azure/core-lro");
|
|
37
|
+
var import_lroImpl = require("../lroImpl.js");
|
|
13
38
|
class StorageTargetOperationsImpl {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
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
|
-
|
|
39
|
+
client;
|
|
40
|
+
/**
|
|
41
|
+
* Initialize a new instance of the class StorageTargetOperations class.
|
|
42
|
+
* @param client Reference to the service client
|
|
43
|
+
*/
|
|
44
|
+
constructor(client) {
|
|
45
|
+
this.client = client;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
|
|
49
|
+
* this storage target's namespace will return errors until the flush operation completes.
|
|
50
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
51
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
52
|
+
* the [-0-9a-zA-Z_] char class.
|
|
53
|
+
* @param storageTargetName Name of Storage Target.
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
async beginFlush(resourceGroupName, cacheName, storageTargetName, options) {
|
|
57
|
+
const directSendOperation = async (args, spec) => {
|
|
58
|
+
return this.client.sendOperationRequest(args, spec);
|
|
59
|
+
};
|
|
60
|
+
const sendOperationFn = async (args, spec) => {
|
|
61
|
+
let currentRawResponse = void 0;
|
|
62
|
+
const providedCallback = args.options?.onResponse;
|
|
63
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
64
|
+
currentRawResponse = rawResponse;
|
|
65
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
66
|
+
};
|
|
67
|
+
const updatedArgs = {
|
|
68
|
+
...args,
|
|
69
|
+
options: {
|
|
70
|
+
...args.options,
|
|
71
|
+
onResponse: callback
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
75
|
+
return {
|
|
76
|
+
flatResponse,
|
|
77
|
+
rawResponse: {
|
|
78
|
+
statusCode: currentRawResponse.status,
|
|
79
|
+
body: currentRawResponse.parsedBody,
|
|
80
|
+
headers: currentRawResponse.headers.toJSON()
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
85
|
+
sendOperationFn,
|
|
86
|
+
args: { resourceGroupName, cacheName, storageTargetName, options },
|
|
87
|
+
spec: flushOperationSpec
|
|
88
|
+
});
|
|
89
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
90
|
+
restoreFrom: options?.resumeFrom,
|
|
91
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
92
|
+
resourceLocationConfig: "azure-async-operation"
|
|
93
|
+
});
|
|
94
|
+
await poller.poll();
|
|
95
|
+
return poller;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests to
|
|
99
|
+
* this storage target's namespace will return errors until the flush operation completes.
|
|
100
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
101
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
102
|
+
* the [-0-9a-zA-Z_] char class.
|
|
103
|
+
* @param storageTargetName Name of Storage Target.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
async beginFlushAndWait(resourceGroupName, cacheName, storageTargetName, options) {
|
|
107
|
+
const poller = await this.beginFlush(resourceGroupName, cacheName, storageTargetName, options);
|
|
108
|
+
return poller.pollUntilDone();
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Suspends client access to a storage target.
|
|
112
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
113
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
114
|
+
* the [-0-9a-zA-Z_] char class.
|
|
115
|
+
* @param storageTargetName Name of Storage Target.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
async beginSuspend(resourceGroupName, cacheName, storageTargetName, 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
|
|
134
|
+
}
|
|
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()
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
147
|
+
sendOperationFn,
|
|
148
|
+
args: { resourceGroupName, cacheName, storageTargetName, options },
|
|
149
|
+
spec: suspendOperationSpec
|
|
150
|
+
});
|
|
151
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
152
|
+
restoreFrom: options?.resumeFrom,
|
|
153
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
154
|
+
resourceLocationConfig: "azure-async-operation"
|
|
155
|
+
});
|
|
156
|
+
await poller.poll();
|
|
157
|
+
return poller;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Suspends client access to a storage target.
|
|
161
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
163
|
+
* the [-0-9a-zA-Z_] char class.
|
|
164
|
+
* @param storageTargetName Name of Storage Target.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
async beginSuspendAndWait(resourceGroupName, cacheName, storageTargetName, options) {
|
|
168
|
+
const poller = await this.beginSuspend(
|
|
169
|
+
resourceGroupName,
|
|
170
|
+
cacheName,
|
|
171
|
+
storageTargetName,
|
|
172
|
+
options
|
|
173
|
+
);
|
|
174
|
+
return poller.pollUntilDone();
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* Resumes client access to a previously suspended storage target.
|
|
178
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
179
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
180
|
+
* the [-0-9a-zA-Z_] char class.
|
|
181
|
+
* @param storageTargetName Name of Storage Target.
|
|
182
|
+
* @param options The options parameters.
|
|
183
|
+
*/
|
|
184
|
+
async beginResume(resourceGroupName, cacheName, storageTargetName, options) {
|
|
185
|
+
const directSendOperation = async (args, spec) => {
|
|
186
|
+
return this.client.sendOperationRequest(args, spec);
|
|
187
|
+
};
|
|
188
|
+
const sendOperationFn = async (args, spec) => {
|
|
189
|
+
let currentRawResponse = void 0;
|
|
190
|
+
const providedCallback = args.options?.onResponse;
|
|
191
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
192
|
+
currentRawResponse = rawResponse;
|
|
193
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
194
|
+
};
|
|
195
|
+
const updatedArgs = {
|
|
196
|
+
...args,
|
|
197
|
+
options: {
|
|
198
|
+
...args.options,
|
|
199
|
+
onResponse: callback
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
203
|
+
return {
|
|
204
|
+
flatResponse,
|
|
205
|
+
rawResponse: {
|
|
206
|
+
statusCode: currentRawResponse.status,
|
|
207
|
+
body: currentRawResponse.parsedBody,
|
|
208
|
+
headers: currentRawResponse.headers.toJSON()
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
213
|
+
sendOperationFn,
|
|
214
|
+
args: { resourceGroupName, cacheName, storageTargetName, options },
|
|
215
|
+
spec: resumeOperationSpec
|
|
216
|
+
});
|
|
217
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
218
|
+
restoreFrom: options?.resumeFrom,
|
|
219
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
220
|
+
resourceLocationConfig: "azure-async-operation"
|
|
221
|
+
});
|
|
222
|
+
await poller.poll();
|
|
223
|
+
return poller;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Resumes client access to a previously suspended storage target.
|
|
227
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
228
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
229
|
+
* the [-0-9a-zA-Z_] char class.
|
|
230
|
+
* @param storageTargetName Name of Storage Target.
|
|
231
|
+
* @param options The options parameters.
|
|
232
|
+
*/
|
|
233
|
+
async beginResumeAndWait(resourceGroupName, cacheName, storageTargetName, options) {
|
|
234
|
+
const poller = await this.beginResume(resourceGroupName, cacheName, storageTargetName, options);
|
|
235
|
+
return poller.pollUntilDone();
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Invalidate all cached data for a storage target. Cached files are discarded and fetched from the
|
|
239
|
+
* back end on the next request.
|
|
240
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
241
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
242
|
+
* the [-0-9a-zA-Z_] char class.
|
|
243
|
+
* @param storageTargetName Name of Storage Target.
|
|
244
|
+
* @param options The options parameters.
|
|
245
|
+
*/
|
|
246
|
+
async beginInvalidate(resourceGroupName, cacheName, storageTargetName, options) {
|
|
247
|
+
const directSendOperation = async (args, spec) => {
|
|
248
|
+
return this.client.sendOperationRequest(args, spec);
|
|
249
|
+
};
|
|
250
|
+
const sendOperationFn = async (args, spec) => {
|
|
251
|
+
let currentRawResponse = void 0;
|
|
252
|
+
const providedCallback = args.options?.onResponse;
|
|
253
|
+
const callback = (rawResponse, flatResponse2) => {
|
|
254
|
+
currentRawResponse = rawResponse;
|
|
255
|
+
providedCallback?.(rawResponse, flatResponse2);
|
|
256
|
+
};
|
|
257
|
+
const updatedArgs = {
|
|
258
|
+
...args,
|
|
259
|
+
options: {
|
|
260
|
+
...args.options,
|
|
261
|
+
onResponse: callback
|
|
262
|
+
}
|
|
263
|
+
};
|
|
264
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
265
|
+
return {
|
|
266
|
+
flatResponse,
|
|
267
|
+
rawResponse: {
|
|
268
|
+
statusCode: currentRawResponse.status,
|
|
269
|
+
body: currentRawResponse.parsedBody,
|
|
270
|
+
headers: currentRawResponse.headers.toJSON()
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
const lro = (0, import_lroImpl.createLroSpec)({
|
|
275
|
+
sendOperationFn,
|
|
276
|
+
args: { resourceGroupName, cacheName, storageTargetName, options },
|
|
277
|
+
spec: invalidateOperationSpec
|
|
278
|
+
});
|
|
279
|
+
const poller = await (0, import_core_lro.createHttpPoller)(lro, {
|
|
280
|
+
restoreFrom: options?.resumeFrom,
|
|
281
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
282
|
+
resourceLocationConfig: "azure-async-operation"
|
|
283
|
+
});
|
|
284
|
+
await poller.poll();
|
|
285
|
+
return poller;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Invalidate all cached data for a storage target. Cached files are discarded and fetched from the
|
|
289
|
+
* back end on the next request.
|
|
290
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
291
|
+
* @param cacheName Name of cache. Length of name must not be greater than 80 and chars must be from
|
|
292
|
+
* the [-0-9a-zA-Z_] char class.
|
|
293
|
+
* @param storageTargetName Name of Storage Target.
|
|
294
|
+
* @param options The options parameters.
|
|
295
|
+
*/
|
|
296
|
+
async beginInvalidateAndWait(resourceGroupName, cacheName, storageTargetName, options) {
|
|
297
|
+
const poller = await this.beginInvalidate(
|
|
298
|
+
resourceGroupName,
|
|
299
|
+
cacheName,
|
|
300
|
+
storageTargetName,
|
|
301
|
+
options
|
|
302
|
+
);
|
|
303
|
+
return poller.pollUntilDone();
|
|
304
|
+
}
|
|
270
305
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
306
|
+
const serializer = coreClient.createSerializer(
|
|
307
|
+
Mappers,
|
|
308
|
+
/* isXml */
|
|
309
|
+
false
|
|
310
|
+
);
|
|
274
311
|
const flushOperationSpec = {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
312
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
|
|
313
|
+
httpMethod: "POST",
|
|
314
|
+
responses: {
|
|
315
|
+
200: {},
|
|
316
|
+
201: {},
|
|
317
|
+
202: {},
|
|
318
|
+
204: {},
|
|
319
|
+
default: {
|
|
320
|
+
bodyMapper: Mappers.CloudError
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
queryParameters: [Parameters.apiVersion],
|
|
324
|
+
urlParameters: [
|
|
325
|
+
Parameters.$host,
|
|
326
|
+
Parameters.subscriptionId,
|
|
327
|
+
Parameters.resourceGroupName,
|
|
328
|
+
Parameters.cacheName,
|
|
329
|
+
Parameters.storageTargetName
|
|
330
|
+
],
|
|
331
|
+
headerParameters: [Parameters.accept],
|
|
332
|
+
serializer
|
|
296
333
|
};
|
|
297
334
|
const suspendOperationSpec = {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
335
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
|
|
336
|
+
httpMethod: "POST",
|
|
337
|
+
responses: {
|
|
338
|
+
200: {},
|
|
339
|
+
201: {},
|
|
340
|
+
202: {},
|
|
341
|
+
204: {},
|
|
342
|
+
default: {
|
|
343
|
+
bodyMapper: Mappers.CloudError
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
|
347
|
+
urlParameters: [
|
|
348
|
+
Parameters.$host,
|
|
349
|
+
Parameters.subscriptionId,
|
|
350
|
+
Parameters.resourceGroupName,
|
|
351
|
+
Parameters.cacheName,
|
|
352
|
+
Parameters.storageTargetName
|
|
353
|
+
],
|
|
354
|
+
headerParameters: [Parameters.accept],
|
|
355
|
+
serializer
|
|
319
356
|
};
|
|
320
357
|
const resumeOperationSpec = {
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
358
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
|
|
359
|
+
httpMethod: "POST",
|
|
360
|
+
responses: {
|
|
361
|
+
200: {},
|
|
362
|
+
201: {},
|
|
363
|
+
202: {},
|
|
364
|
+
204: {},
|
|
365
|
+
default: {
|
|
366
|
+
bodyMapper: Mappers.CloudError
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
queryParameters: [Parameters.apiVersion],
|
|
370
|
+
urlParameters: [
|
|
371
|
+
Parameters.$host,
|
|
372
|
+
Parameters.subscriptionId,
|
|
373
|
+
Parameters.resourceGroupName,
|
|
374
|
+
Parameters.cacheName,
|
|
375
|
+
Parameters.storageTargetName
|
|
376
|
+
],
|
|
377
|
+
headerParameters: [Parameters.accept],
|
|
378
|
+
serializer
|
|
342
379
|
};
|
|
343
380
|
const invalidateOperationSpec = {
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
381
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/invalidate",
|
|
382
|
+
httpMethod: "POST",
|
|
383
|
+
responses: {
|
|
384
|
+
200: {},
|
|
385
|
+
201: {},
|
|
386
|
+
202: {},
|
|
387
|
+
204: {},
|
|
388
|
+
default: {
|
|
389
|
+
bodyMapper: Mappers.CloudError
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
queryParameters: [Parameters.apiVersion],
|
|
393
|
+
urlParameters: [
|
|
394
|
+
Parameters.$host,
|
|
395
|
+
Parameters.subscriptionId,
|
|
396
|
+
Parameters.resourceGroupName,
|
|
397
|
+
Parameters.cacheName,
|
|
398
|
+
Parameters.storageTargetName
|
|
399
|
+
],
|
|
400
|
+
headerParameters: [Parameters.accept],
|
|
401
|
+
serializer
|
|
365
402
|
};
|
|
366
|
-
|
|
403
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
404
|
+
0 && (module.exports = {
|
|
405
|
+
StorageTargetOperationsImpl
|
|
406
|
+
});
|