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