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