@azure/arm-storagecache 4.3.0 → 5.0.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/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +70 -78
- package/dist/index.js +3916 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/ascOperationsGet.d.ts +2 -0
- package/dist-esm/samples-dev/ascOperationsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/ascOperationsGet.js +31 -0
- package/dist-esm/samples-dev/ascOperationsGet.js.map +1 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdate.js +89 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.d.ts +2 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.js +75 -0
- package/dist-esm/samples-dev/cachesCreateOrUpdateLdapOnly.js.map +1 -0
- package/dist-esm/samples-dev/cachesDebugInfo.d.ts +2 -0
- package/dist-esm/samples-dev/cachesDebugInfo.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesDebugInfo.js +31 -0
- package/dist-esm/samples-dev/cachesDebugInfo.js.map +1 -0
- package/dist-esm/samples-dev/cachesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/cachesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesDelete.js +31 -0
- package/dist-esm/samples-dev/cachesDelete.js.map +1 -0
- package/dist-esm/samples-dev/cachesDnsRefresh.d.ts +2 -0
- package/dist-esm/samples-dev/cachesDnsRefresh.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesDnsRefresh.js +32 -0
- package/dist-esm/samples-dev/cachesDnsRefresh.js.map +1 -0
- package/dist-esm/samples-dev/cachesFlush.d.ts +2 -0
- package/dist-esm/samples-dev/cachesFlush.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesFlush.js +31 -0
- package/dist-esm/samples-dev/cachesFlush.js.map +1 -0
- package/dist-esm/samples-dev/cachesGet.d.ts +2 -0
- package/dist-esm/samples-dev/cachesGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesGet.js +31 -0
- package/dist-esm/samples-dev/cachesGet.js.map +1 -0
- package/dist-esm/samples-dev/cachesList.d.ts +2 -0
- package/dist-esm/samples-dev/cachesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesList.js +43 -0
- package/dist-esm/samples-dev/cachesList.js.map +1 -0
- package/dist-esm/samples-dev/cachesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/cachesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/cachesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/cachesStart.d.ts +2 -0
- package/dist-esm/samples-dev/cachesStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesStart.js +31 -0
- package/dist-esm/samples-dev/cachesStart.js.map +1 -0
- package/dist-esm/samples-dev/cachesStop.d.ts +2 -0
- package/dist-esm/samples-dev/cachesStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesStop.js +31 -0
- package/dist-esm/samples-dev/cachesStop.js.map +1 -0
- package/dist-esm/samples-dev/cachesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/cachesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesUpdate.js +101 -0
- package/dist-esm/samples-dev/cachesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/cachesUpdateLdapOnly.d.ts +2 -0
- package/dist-esm/samples-dev/cachesUpdateLdapOnly.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesUpdateLdapOnly.js +103 -0
- package/dist-esm/samples-dev/cachesUpdateLdapOnly.js.map +1 -0
- package/dist-esm/samples-dev/cachesUpgradeFirmware.d.ts +2 -0
- package/dist-esm/samples-dev/cachesUpgradeFirmware.d.ts.map +1 -0
- package/dist-esm/samples-dev/cachesUpgradeFirmware.js +31 -0
- package/dist-esm/samples-dev/cachesUpgradeFirmware.js.map +1 -0
- package/dist-esm/samples-dev/skusList.d.ts +2 -0
- package/dist-esm/samples-dev/skusList.d.ts.map +1 -0
- package/dist-esm/samples-dev/skusList.js +43 -0
- package/dist-esm/samples-dev/skusList.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.js +51 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.js +41 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateBlobNfs.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.js +37 -0
- package/dist-esm/samples-dev/storageTargetsCreateOrUpdateNoJunctions.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsDelete.js +32 -0
- package/dist-esm/samples-dev/storageTargetsDelete.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsFlush.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsFlush.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsFlush.js +32 -0
- package/dist-esm/samples-dev/storageTargetsFlush.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsGet.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsGet.js +32 -0
- package/dist-esm/samples-dev/storageTargetsGet.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsList.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsList.js +45 -0
- package/dist-esm/samples-dev/storageTargetsList.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsResume.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsResume.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsResume.js +32 -0
- package/dist-esm/samples-dev/storageTargetsResume.js.map +1 -0
- package/dist-esm/samples-dev/storageTargetsSuspend.d.ts +2 -0
- package/dist-esm/samples-dev/storageTargetsSuspend.d.ts.map +1 -0
- package/dist-esm/samples-dev/storageTargetsSuspend.js +32 -0
- package/dist-esm/samples-dev/storageTargetsSuspend.js.map +1 -0
- package/dist-esm/samples-dev/usageModelsList.d.ts +2 -0
- package/dist-esm/samples-dev/usageModelsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/usageModelsList.js +43 -0
- package/dist-esm/samples-dev/usageModelsList.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/ascOperationsMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +1030 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +114 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +49 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +848 -893
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +71 -42
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/ascOperations.d.ts +20 -0
- package/dist-esm/src/operations/ascOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/ascOperations.js +53 -0
- package/dist-esm/src/operations/ascOperations.js.map +1 -0
- package/dist-esm/src/operations/caches.d.ts +184 -0
- package/dist-esm/src/operations/caches.d.ts.map +1 -0
- package/dist-esm/src/operations/caches.js +825 -0
- package/dist-esm/src/operations/caches.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +32 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +124 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/storageTargetOperations.d.ts +70 -0
- package/dist-esm/src/operations/storageTargetOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTargetOperations.js +259 -0
- package/dist-esm/src/operations/storageTargetOperations.js.map +1 -0
- package/dist-esm/src/operations/storageTargets.d.ts +115 -0
- package/dist-esm/src/operations/storageTargets.d.ts.map +1 -0
- package/dist-esm/src/operations/storageTargets.js +424 -0
- package/dist-esm/src/operations/storageTargets.js.map +1 -0
- package/dist-esm/src/operations/usageModels.d.ts +32 -0
- package/dist-esm/src/operations/usageModels.d.ts.map +1 -0
- package/dist-esm/src/operations/usageModels.js +124 -0
- package/dist-esm/src/operations/usageModels.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/ascOperations.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/ascOperations.d.ts.map +1 -0
- package/{src/models/ascOperationsMappers.ts → dist-esm/src/operationsInterfaces/ascOperations.js} +2 -6
- package/dist-esm/src/operationsInterfaces/ascOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/caches.d.ts +148 -0
- package/dist-esm/src/operationsInterfaces/caches.d.ts.map +1 -0
- package/{src/models/storageTargetOperationsMappers.ts → dist-esm/src/operationsInterfaces/caches.js} +2 -4
- package/dist-esm/src/operationsInterfaces/caches.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +15 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/{esm/models/storageTargetOperationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/skus.js} +2 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTargetOperations.d.ts +62 -0
- package/dist-esm/src/operationsInterfaces/storageTargetOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTargetOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTargetOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTargets.d.ts +88 -0
- package/dist-esm/src/operationsInterfaces/storageTargets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageTargets.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageTargets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageModels.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/usageModels.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageModels.js +9 -0
- package/dist-esm/src/operationsInterfaces/usageModels.js.map +1 -0
- package/dist-esm/src/storageCacheManagementClient.d.ts +25 -0
- package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -0
- package/dist-esm/src/storageCacheManagementClient.js +58 -0
- package/dist-esm/src/storageCacheManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +80 -33
- package/review/arm-storagecache.api.md +883 -0
- package/rollup.config.js +181 -30
- package/src/{models/skusMappers.ts → index.ts} +4 -8
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +819 -1303
- package/src/models/mappers.ts +856 -900
- package/src/models/parameters.ts +92 -43
- package/src/operations/ascOperations.ts +37 -51
- package/src/operations/caches.ts +844 -504
- package/src/operations/index.ts +1 -2
- package/src/operations/operations.ts +85 -73
- package/src/operations/skus.ts +87 -76
- package/src/operations/storageTargetOperations.ts +284 -124
- package/src/operations/storageTargets.ts +458 -271
- package/src/operations/usageModels.ts +90 -76
- package/src/operationsInterfaces/ascOperations.ts +27 -0
- package/src/operationsInterfaces/caches.ts +245 -0
- package/src/{models/operationsMappers.ts → operationsInterfaces/index.ts} +7 -9
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/storageTargetOperations.ts +104 -0
- package/src/operationsInterfaces/storageTargets.ts +150 -0
- package/src/operationsInterfaces/usageModels.ts +22 -0
- package/src/storageCacheManagementClient.ts +90 -46
- package/tsconfig.json +5 -4
- package/types/arm-storagecache.d.ts +1507 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storagecache.js +0 -3545
- package/dist/arm-storagecache.js.map +0 -1
- package/dist/arm-storagecache.min.js +0 -1
- package/dist/arm-storagecache.min.js.map +0 -1
- package/esm/models/ascOperationsMappers.d.ts +0 -2
- package/esm/models/ascOperationsMappers.d.ts.map +0 -1
- package/esm/models/ascOperationsMappers.js.map +0 -1
- package/esm/models/cachesMappers.d.ts +0 -2
- package/esm/models/cachesMappers.d.ts.map +0 -1
- package/esm/models/cachesMappers.js +0 -9
- package/esm/models/cachesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1541
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -50
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -12
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js +0 -9
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/storageTargetOperationsMappers.d.ts +0 -2
- package/esm/models/storageTargetOperationsMappers.d.ts.map +0 -1
- package/esm/models/storageTargetOperationsMappers.js.map +0 -1
- package/esm/models/storageTargetsMappers.d.ts +0 -2
- package/esm/models/storageTargetsMappers.d.ts.map +0 -1
- package/esm/models/storageTargetsMappers.js +0 -9
- package/esm/models/storageTargetsMappers.js.map +0 -1
- package/esm/models/usageModelsMappers.d.ts +0 -2
- package/esm/models/usageModelsMappers.d.ts.map +0 -1
- package/esm/models/usageModelsMappers.js +0 -9
- package/esm/models/usageModelsMappers.js.map +0 -1
- package/esm/operations/ascOperations.d.ts +0 -34
- package/esm/operations/ascOperations.d.ts.map +0 -1
- package/esm/operations/ascOperations.js +0 -57
- package/esm/operations/ascOperations.js.map +0 -1
- package/esm/operations/caches.d.ts +0 -261
- package/esm/operations/caches.d.ts.map +0 -1
- package/esm/operations/caches.js +0 -581
- package/esm/operations/caches.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -79
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -46
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -82
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/storageTargetOperations.d.ts +0 -75
- package/esm/operations/storageTargetOperations.d.ts.map +0 -1
- package/esm/operations/storageTargetOperations.js +0 -193
- package/esm/operations/storageTargetOperations.js.map +0 -1
- package/esm/operations/storageTargets.d.ts +0 -153
- package/esm/operations/storageTargets.d.ts.map +0 -1
- package/esm/operations/storageTargets.js +0 -305
- package/esm/operations/storageTargets.js.map +0 -1
- package/esm/operations/usageModels.d.ts +0 -46
- package/esm/operations/usageModels.d.ts.map +0 -1
- package/esm/operations/usageModels.js +0 -82
- package/esm/operations/usageModels.js.map +0 -1
- package/esm/storageCacheManagementClient.d.ts +0 -31
- package/esm/storageCacheManagementClient.d.ts.map +0 -1
- package/esm/storageCacheManagementClient.js +0 -44
- package/esm/storageCacheManagementClient.js.map +0 -1
- package/esm/storageCacheManagementClientContext.d.ts +0 -23
- package/esm/storageCacheManagementClientContext.d.ts.map +0 -1
- package/esm/storageCacheManagementClientContext.js +0 -61
- package/esm/storageCacheManagementClientContext.js.map +0 -1
- package/src/models/cachesMappers.ts +0 -40
- package/src/models/storageTargetsMappers.ts +0 -40
- package/src/models/usageModelsMappers.ts +0 -14
- package/src/storageCacheManagementClientContext.ts +0 -68
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/operationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a Operations. */
|
|
13
|
-
var Operations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a Operations.
|
|
16
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function Operations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
Operations.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
nextPageLink: nextPageLink,
|
|
29
|
-
options: options
|
|
30
|
-
}, listNextOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
return Operations;
|
|
33
|
-
}());
|
|
34
|
-
export { Operations };
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
-
var listOperationSpec = {
|
|
38
|
-
httpMethod: "GET",
|
|
39
|
-
path: "providers/Microsoft.StorageCache/operations",
|
|
40
|
-
queryParameters: [
|
|
41
|
-
Parameters.apiVersion
|
|
42
|
-
],
|
|
43
|
-
headerParameters: [
|
|
44
|
-
Parameters.acceptLanguage
|
|
45
|
-
],
|
|
46
|
-
responses: {
|
|
47
|
-
200: {
|
|
48
|
-
bodyMapper: Mappers.ApiOperationListResult
|
|
49
|
-
},
|
|
50
|
-
default: {
|
|
51
|
-
bodyMapper: Mappers.CloudError
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
serializer: serializer
|
|
55
|
-
};
|
|
56
|
-
var listNextOperationSpec = {
|
|
57
|
-
httpMethod: "GET",
|
|
58
|
-
baseUrl: "https://management.azure.com",
|
|
59
|
-
path: "{nextLink}",
|
|
60
|
-
urlParameters: [
|
|
61
|
-
Parameters.nextPageLink
|
|
62
|
-
],
|
|
63
|
-
queryParameters: [
|
|
64
|
-
Parameters.apiVersion
|
|
65
|
-
],
|
|
66
|
-
headerParameters: [
|
|
67
|
-
Parameters.acceptLanguage
|
|
68
|
-
],
|
|
69
|
-
responses: {
|
|
70
|
-
200: {
|
|
71
|
-
bodyMapper: Mappers.ApiOperationListResult
|
|
72
|
-
},
|
|
73
|
-
default: {
|
|
74
|
-
bodyMapper: Mappers.CloudError
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
serializer: serializer
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=operations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAiBD,yBAAI,GAAJ,UAAK,OAA2F,EAAE,QAAgE;QAChK,OAA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DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as Models from "../models";
|
|
3
|
-
import { StorageCacheManagementClientContext } from "../storageCacheManagementClientContext";
|
|
4
|
-
/** Class representing a Skus. */
|
|
5
|
-
export declare class Skus {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a Skus.
|
|
9
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: StorageCacheManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Get the list of StorageCache.Cache SKUs available to this subscription.
|
|
14
|
-
* @param [options] The optional parameters
|
|
15
|
-
* @returns Promise<Models.SkusListResponse>
|
|
16
|
-
*/
|
|
17
|
-
list(options?: msRest.RequestOptionsBase): Promise<Models.SkusListResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @param callback The callback
|
|
20
|
-
*/
|
|
21
|
-
list(callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
|
22
|
-
/**
|
|
23
|
-
* @param options The optional parameters
|
|
24
|
-
* @param callback The callback
|
|
25
|
-
*/
|
|
26
|
-
list(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
|
27
|
-
/**
|
|
28
|
-
* Get the list of StorageCache.Cache SKUs available to this subscription.
|
|
29
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
30
|
-
* @param [options] The optional parameters
|
|
31
|
-
* @returns Promise<Models.SkusListNextResponse>
|
|
32
|
-
*/
|
|
33
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SkusListNextResponse>;
|
|
34
|
-
/**
|
|
35
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
41
|
-
* @param options The optional parameters
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
|
45
|
-
}
|
|
46
|
-
//# sourceMappingURL=skus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../src/operations/skus.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAE7F,iCAAiC;AACjC,qBAAa,IAAI;IACf,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC;IAC3E;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IACvE;;;OAGG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IAU3G;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACzG;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;IACjG;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kBAAkB,CAAC,GAAG,IAAI;CAUtI"}
|
package/esm/operations/skus.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/skusMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a Skus. */
|
|
13
|
-
var Skus = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a Skus.
|
|
16
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function Skus(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
Skus.prototype.list = function (options, callback) {
|
|
22
|
-
return this.client.sendOperationRequest({
|
|
23
|
-
options: options
|
|
24
|
-
}, listOperationSpec, callback);
|
|
25
|
-
};
|
|
26
|
-
Skus.prototype.listNext = function (nextPageLink, options, callback) {
|
|
27
|
-
return this.client.sendOperationRequest({
|
|
28
|
-
nextPageLink: nextPageLink,
|
|
29
|
-
options: options
|
|
30
|
-
}, listNextOperationSpec, callback);
|
|
31
|
-
};
|
|
32
|
-
return Skus;
|
|
33
|
-
}());
|
|
34
|
-
export { Skus };
|
|
35
|
-
// Operation Specifications
|
|
36
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
37
|
-
var listOperationSpec = {
|
|
38
|
-
httpMethod: "GET",
|
|
39
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus",
|
|
40
|
-
urlParameters: [
|
|
41
|
-
Parameters.subscriptionId
|
|
42
|
-
],
|
|
43
|
-
queryParameters: [
|
|
44
|
-
Parameters.apiVersion
|
|
45
|
-
],
|
|
46
|
-
headerParameters: [
|
|
47
|
-
Parameters.acceptLanguage
|
|
48
|
-
],
|
|
49
|
-
responses: {
|
|
50
|
-
200: {
|
|
51
|
-
bodyMapper: Mappers.ResourceSkusResult
|
|
52
|
-
},
|
|
53
|
-
default: {
|
|
54
|
-
bodyMapper: Mappers.CloudError
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
serializer: serializer
|
|
58
|
-
};
|
|
59
|
-
var listNextOperationSpec = {
|
|
60
|
-
httpMethod: "GET",
|
|
61
|
-
baseUrl: "https://management.azure.com",
|
|
62
|
-
path: "{nextLink}",
|
|
63
|
-
urlParameters: [
|
|
64
|
-
Parameters.nextPageLink
|
|
65
|
-
],
|
|
66
|
-
queryParameters: [
|
|
67
|
-
Parameters.apiVersion
|
|
68
|
-
],
|
|
69
|
-
headerParameters: [
|
|
70
|
-
Parameters.acceptLanguage
|
|
71
|
-
],
|
|
72
|
-
responses: {
|
|
73
|
-
200: {
|
|
74
|
-
bodyMapper: Mappers.ResourceSkusResult
|
|
75
|
-
},
|
|
76
|
-
default: {
|
|
77
|
-
bodyMapper: Mappers.CloudError
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
serializer: serializer
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=skus.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"skus.js","sourceRoot":"","sources":["../../src/operations/skus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAA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gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import { StorageCacheManagementClientContext } from "../storageCacheManagementClientContext";
|
|
4
|
-
/** Class representing a StorageTargetOperations. */
|
|
5
|
-
export declare class StorageTargetOperations {
|
|
6
|
-
private readonly client;
|
|
7
|
-
/**
|
|
8
|
-
* Create a StorageTargetOperations.
|
|
9
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
10
|
-
*/
|
|
11
|
-
constructor(client: StorageCacheManagementClientContext);
|
|
12
|
-
/**
|
|
13
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
14
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
15
|
-
* @param resourceGroupName Target resource group.
|
|
16
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
17
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
18
|
-
* @param storageTargetName Name of Storage Target.
|
|
19
|
-
* @param [options] The optional parameters
|
|
20
|
-
* @returns Promise<msRest.RestResponse>
|
|
21
|
-
*/
|
|
22
|
-
flush(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Suspends client access to a storage target.
|
|
25
|
-
* @param resourceGroupName Target resource group.
|
|
26
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
27
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
28
|
-
* @param storageTargetName Name of Storage Target.
|
|
29
|
-
* @param [options] The optional parameters
|
|
30
|
-
* @returns Promise<msRest.RestResponse>
|
|
31
|
-
*/
|
|
32
|
-
suspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
33
|
-
/**
|
|
34
|
-
* Resumes client access to a previously suspended storage target.
|
|
35
|
-
* @param resourceGroupName Target resource group.
|
|
36
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
37
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
38
|
-
* @param storageTargetName Name of Storage Target.
|
|
39
|
-
* @param [options] The optional parameters
|
|
40
|
-
* @returns Promise<msRest.RestResponse>
|
|
41
|
-
*/
|
|
42
|
-
resume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
43
|
-
/**
|
|
44
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
45
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
46
|
-
* @param resourceGroupName Target resource group.
|
|
47
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
48
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
49
|
-
* @param storageTargetName Name of Storage Target.
|
|
50
|
-
* @param [options] The optional parameters
|
|
51
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
52
|
-
*/
|
|
53
|
-
beginFlush(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
54
|
-
/**
|
|
55
|
-
* Suspends client access to a storage target.
|
|
56
|
-
* @param resourceGroupName Target resource group.
|
|
57
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
58
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
59
|
-
* @param storageTargetName Name of Storage Target.
|
|
60
|
-
* @param [options] The optional parameters
|
|
61
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
62
|
-
*/
|
|
63
|
-
beginSuspend(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
64
|
-
/**
|
|
65
|
-
* Resumes client access to a previously suspended storage target.
|
|
66
|
-
* @param resourceGroupName Target resource group.
|
|
67
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
68
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
69
|
-
* @param storageTargetName Name of Storage Target.
|
|
70
|
-
* @param [options] The optional parameters
|
|
71
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
72
|
-
*/
|
|
73
|
-
beginResume(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=storageTargetOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageTargetOperations.d.ts","sourceRoot":"","sources":["../../src/operations/storageTargetOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAGvD,OAAO,EAAE,mCAAmC,EAAE,MAAM,wCAAwC,CAAC;AAE7F,oDAAoD;AACpD,qBAAa,uBAAuB;IAClC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAsC;IAE7D;;;OAGG;gBACS,MAAM,EAAE,mCAAmC;IAIvD;;;;;;;;;OASG;IACH,KAAK,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IAKjJ;;;;;;;;OAQG;IACH,OAAO,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IAKnJ;;;;;;;;OAQG;IACH,MAAM,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;IAKlJ;;;;;;;;;OASG;IACH,UAAU,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAYxJ;;;;;;;;OAQG;IACH,YAAY,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAY1J;;;;;;;;OAQG;IACH,WAAW,CAAC,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAW1J"}
|
|
@@ -1,193 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
8
|
-
*/
|
|
9
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
10
|
-
import * as Mappers from "../models/storageTargetOperationsMappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
12
|
-
/** Class representing a StorageTargetOperations. */
|
|
13
|
-
var StorageTargetOperations = /** @class */ (function () {
|
|
14
|
-
/**
|
|
15
|
-
* Create a StorageTargetOperations.
|
|
16
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
17
|
-
*/
|
|
18
|
-
function StorageTargetOperations(client) {
|
|
19
|
-
this.client = client;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
23
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
24
|
-
* @param resourceGroupName Target resource group.
|
|
25
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
26
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
27
|
-
* @param storageTargetName Name of Storage Target.
|
|
28
|
-
* @param [options] The optional parameters
|
|
29
|
-
* @returns Promise<msRest.RestResponse>
|
|
30
|
-
*/
|
|
31
|
-
StorageTargetOperations.prototype.flush = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
32
|
-
return this.beginFlush(resourceGroupName, cacheName, storageTargetName, options)
|
|
33
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Suspends client access to a storage target.
|
|
37
|
-
* @param resourceGroupName Target resource group.
|
|
38
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
39
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
40
|
-
* @param storageTargetName Name of Storage Target.
|
|
41
|
-
* @param [options] The optional parameters
|
|
42
|
-
* @returns Promise<msRest.RestResponse>
|
|
43
|
-
*/
|
|
44
|
-
StorageTargetOperations.prototype.suspend = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
45
|
-
return this.beginSuspend(resourceGroupName, cacheName, storageTargetName, options)
|
|
46
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Resumes client access to a previously suspended storage target.
|
|
50
|
-
* @param resourceGroupName Target resource group.
|
|
51
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
52
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
53
|
-
* @param storageTargetName Name of Storage Target.
|
|
54
|
-
* @param [options] The optional parameters
|
|
55
|
-
* @returns Promise<msRest.RestResponse>
|
|
56
|
-
*/
|
|
57
|
-
StorageTargetOperations.prototype.resume = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
58
|
-
return this.beginResume(resourceGroupName, cacheName, storageTargetName, options)
|
|
59
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
63
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
64
|
-
* @param resourceGroupName Target resource group.
|
|
65
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
66
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
67
|
-
* @param storageTargetName Name of Storage Target.
|
|
68
|
-
* @param [options] The optional parameters
|
|
69
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
70
|
-
*/
|
|
71
|
-
StorageTargetOperations.prototype.beginFlush = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
72
|
-
return this.client.sendLRORequest({
|
|
73
|
-
resourceGroupName: resourceGroupName,
|
|
74
|
-
cacheName: cacheName,
|
|
75
|
-
storageTargetName: storageTargetName,
|
|
76
|
-
options: options
|
|
77
|
-
}, beginFlushOperationSpec, options);
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Suspends client access to a storage target.
|
|
81
|
-
* @param resourceGroupName Target resource group.
|
|
82
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
83
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
84
|
-
* @param storageTargetName Name of Storage Target.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
87
|
-
*/
|
|
88
|
-
StorageTargetOperations.prototype.beginSuspend = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
89
|
-
return this.client.sendLRORequest({
|
|
90
|
-
resourceGroupName: resourceGroupName,
|
|
91
|
-
cacheName: cacheName,
|
|
92
|
-
storageTargetName: storageTargetName,
|
|
93
|
-
options: options
|
|
94
|
-
}, beginSuspendOperationSpec, options);
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Resumes client access to a previously suspended storage target.
|
|
98
|
-
* @param resourceGroupName Target resource group.
|
|
99
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
100
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
101
|
-
* @param storageTargetName Name of Storage Target.
|
|
102
|
-
* @param [options] The optional parameters
|
|
103
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
104
|
-
*/
|
|
105
|
-
StorageTargetOperations.prototype.beginResume = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
106
|
-
return this.client.sendLRORequest({
|
|
107
|
-
resourceGroupName: resourceGroupName,
|
|
108
|
-
cacheName: cacheName,
|
|
109
|
-
storageTargetName: storageTargetName,
|
|
110
|
-
options: options
|
|
111
|
-
}, beginResumeOperationSpec, options);
|
|
112
|
-
};
|
|
113
|
-
return StorageTargetOperations;
|
|
114
|
-
}());
|
|
115
|
-
export { StorageTargetOperations };
|
|
116
|
-
// Operation Specifications
|
|
117
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
118
|
-
var beginFlushOperationSpec = {
|
|
119
|
-
httpMethod: "POST",
|
|
120
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
|
|
121
|
-
urlParameters: [
|
|
122
|
-
Parameters.resourceGroupName,
|
|
123
|
-
Parameters.subscriptionId,
|
|
124
|
-
Parameters.cacheName,
|
|
125
|
-
Parameters.storageTargetName
|
|
126
|
-
],
|
|
127
|
-
queryParameters: [
|
|
128
|
-
Parameters.apiVersion
|
|
129
|
-
],
|
|
130
|
-
headerParameters: [
|
|
131
|
-
Parameters.acceptLanguage
|
|
132
|
-
],
|
|
133
|
-
responses: {
|
|
134
|
-
200: {},
|
|
135
|
-
202: {},
|
|
136
|
-
204: {},
|
|
137
|
-
default: {
|
|
138
|
-
bodyMapper: Mappers.CloudError
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
serializer: serializer
|
|
142
|
-
};
|
|
143
|
-
var beginSuspendOperationSpec = {
|
|
144
|
-
httpMethod: "POST",
|
|
145
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
|
|
146
|
-
urlParameters: [
|
|
147
|
-
Parameters.resourceGroupName,
|
|
148
|
-
Parameters.subscriptionId,
|
|
149
|
-
Parameters.cacheName,
|
|
150
|
-
Parameters.storageTargetName
|
|
151
|
-
],
|
|
152
|
-
queryParameters: [
|
|
153
|
-
Parameters.apiVersion
|
|
154
|
-
],
|
|
155
|
-
headerParameters: [
|
|
156
|
-
Parameters.acceptLanguage
|
|
157
|
-
],
|
|
158
|
-
responses: {
|
|
159
|
-
200: {},
|
|
160
|
-
202: {},
|
|
161
|
-
204: {},
|
|
162
|
-
default: {
|
|
163
|
-
bodyMapper: Mappers.CloudError
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
serializer: serializer
|
|
167
|
-
};
|
|
168
|
-
var beginResumeOperationSpec = {
|
|
169
|
-
httpMethod: "POST",
|
|
170
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
|
|
171
|
-
urlParameters: [
|
|
172
|
-
Parameters.resourceGroupName,
|
|
173
|
-
Parameters.subscriptionId,
|
|
174
|
-
Parameters.cacheName,
|
|
175
|
-
Parameters.storageTargetName
|
|
176
|
-
],
|
|
177
|
-
queryParameters: [
|
|
178
|
-
Parameters.apiVersion
|
|
179
|
-
],
|
|
180
|
-
headerParameters: [
|
|
181
|
-
Parameters.acceptLanguage
|
|
182
|
-
],
|
|
183
|
-
responses: {
|
|
184
|
-
200: {},
|
|
185
|
-
202: {},
|
|
186
|
-
204: {},
|
|
187
|
-
default: {
|
|
188
|
-
bodyMapper: Mappers.CloudError
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
serializer: serializer
|
|
192
|
-
};
|
|
193
|
-
//# sourceMappingURL=storageTargetOperations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"storageTargetOperations.js","sourceRoot":"","sources":["../../src/operations/storageTargetOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,0CAA0C,CAAC;AACpE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,oDAAoD;AACpD;IAGE;;;OAGG;IACH,iCAAY,MAA2C;QACrD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACH,uCAAK,GAAL,UAAM,iBAAyB,EAAE,SAAiB,EAAE,iBAAyB,EAAE,OAAmC;QAChH,OAAO,IAAI,CAAC,UAAU,CAAC,iBAAiB,EAAC,SAAS,EAAC,iBAAiB,EAAC,OAAO,CAAC;aAC1E,IAAI,CAAC,UAAA,SAAS,IAAI,OAAA,SAAS,CAAC,iBAAiB,EAAE,EAA7B,CAA6B,CAAC,CAAC;IACtD,CAAC;IAED;;;;;;;;OAQG;IACH,yCAAO,GAAP,UAAQ,iBAAyB,EAAE,SAAiB,EAAE,iBAAyB,EAA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iKAAiK;IACvK,aAAa,EAAE;QACb,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;KAC7B;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
2
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
3
|
-
import * as Models from "../models";
|
|
4
|
-
import { StorageCacheManagementClientContext } from "../storageCacheManagementClientContext";
|
|
5
|
-
/** Class representing a StorageTargets. */
|
|
6
|
-
export declare class StorageTargets {
|
|
7
|
-
private readonly client;
|
|
8
|
-
/**
|
|
9
|
-
* Create a StorageTargets.
|
|
10
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
11
|
-
*/
|
|
12
|
-
constructor(client: StorageCacheManagementClientContext);
|
|
13
|
-
/**
|
|
14
|
-
* Tells a storage target to refresh its DNS information.
|
|
15
|
-
* @param resourceGroupName Target resource group.
|
|
16
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
17
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
18
|
-
* @param storageTargetName Name of Storage Target.
|
|
19
|
-
* @param [options] The optional parameters
|
|
20
|
-
* @returns Promise<msRest.RestResponse>
|
|
21
|
-
*/
|
|
22
|
-
dnsRefresh(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
23
|
-
/**
|
|
24
|
-
* Returns a list of Storage Targets for the specified Cache.
|
|
25
|
-
* @param resourceGroupName Target resource group.
|
|
26
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
27
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
28
|
-
* @param [options] The optional parameters
|
|
29
|
-
* @returns Promise<Models.StorageTargetsListByCacheResponse>
|
|
30
|
-
*/
|
|
31
|
-
listByCache(resourceGroupName: string, cacheName: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageTargetsListByCacheResponse>;
|
|
32
|
-
/**
|
|
33
|
-
* @param resourceGroupName Target resource group.
|
|
34
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
35
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
36
|
-
* @param callback The callback
|
|
37
|
-
*/
|
|
38
|
-
listByCache(resourceGroupName: string, cacheName: string, callback: msRest.ServiceCallback<Models.StorageTargetsResult>): void;
|
|
39
|
-
/**
|
|
40
|
-
* @param resourceGroupName Target resource group.
|
|
41
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
42
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
43
|
-
* @param options The optional parameters
|
|
44
|
-
* @param callback The callback
|
|
45
|
-
*/
|
|
46
|
-
listByCache(resourceGroupName: string, cacheName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageTargetsResult>): void;
|
|
47
|
-
/**
|
|
48
|
-
* Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache
|
|
49
|
-
* is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
|
|
50
|
-
* healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
|
|
51
|
-
* flushed before the Storage Target will be deleted.
|
|
52
|
-
* @param resourceGroupName Target resource group.
|
|
53
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
54
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
55
|
-
* @param storageTargetName Name of Storage Target.
|
|
56
|
-
* @param [options] The optional parameters
|
|
57
|
-
* @returns Promise<msRest.RestResponse>
|
|
58
|
-
*/
|
|
59
|
-
deleteMethod(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: Models.StorageTargetsDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* Returns a Storage Target from a Cache.
|
|
62
|
-
* @param resourceGroupName Target resource group.
|
|
63
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
64
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
65
|
-
* @param storageTargetName Name of Storage Target.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<Models.StorageTargetsGetResponse>
|
|
68
|
-
*/
|
|
69
|
-
get(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageTargetsGetResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* @param resourceGroupName Target resource group.
|
|
72
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
73
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
74
|
-
* @param storageTargetName Name of Storage Target.
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, cacheName: string, storageTargetName: string, callback: msRest.ServiceCallback<Models.StorageTarget>): void;
|
|
78
|
-
/**
|
|
79
|
-
* @param resourceGroupName Target resource group.
|
|
80
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
81
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
82
|
-
* @param storageTargetName Name of Storage Target.
|
|
83
|
-
* @param options The optional parameters
|
|
84
|
-
* @param callback The callback
|
|
85
|
-
*/
|
|
86
|
-
get(resourceGroupName: string, cacheName: string, storageTargetName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageTarget>): void;
|
|
87
|
-
/**
|
|
88
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the Cache is
|
|
89
|
-
* down or unhealthy, the actual creation/modification of the Storage Target may be delayed until
|
|
90
|
-
* the Cache is healthy again.
|
|
91
|
-
* @param resourceGroupName Target resource group.
|
|
92
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
93
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
94
|
-
* @param storageTargetName Name of Storage Target.
|
|
95
|
-
* @param [options] The optional parameters
|
|
96
|
-
* @returns Promise<Models.StorageTargetsCreateOrUpdateResponse>
|
|
97
|
-
*/
|
|
98
|
-
createOrUpdate(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: Models.StorageTargetsCreateOrUpdateOptionalParams): Promise<Models.StorageTargetsCreateOrUpdateResponse>;
|
|
99
|
-
/**
|
|
100
|
-
* Tells a storage target to refresh its DNS information.
|
|
101
|
-
* @param resourceGroupName Target resource group.
|
|
102
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
103
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
104
|
-
* @param storageTargetName Name of Storage Target.
|
|
105
|
-
* @param [options] The optional parameters
|
|
106
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
107
|
-
*/
|
|
108
|
-
beginDnsRefresh(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
|
|
109
|
-
/**
|
|
110
|
-
* Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache
|
|
111
|
-
* is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
|
|
112
|
-
* healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
|
|
113
|
-
* flushed before the Storage Target will be deleted.
|
|
114
|
-
* @param resourceGroupName Target resource group.
|
|
115
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
116
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
117
|
-
* @param storageTargetName Name of Storage Target.
|
|
118
|
-
* @param [options] The optional parameters
|
|
119
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
120
|
-
*/
|
|
121
|
-
beginDeleteMethod(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: Models.StorageTargetsBeginDeleteMethodOptionalParams): Promise<msRestAzure.LROPoller>;
|
|
122
|
-
/**
|
|
123
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the Cache is
|
|
124
|
-
* down or unhealthy, the actual creation/modification of the Storage Target may be delayed until
|
|
125
|
-
* the Cache is healthy again.
|
|
126
|
-
* @param resourceGroupName Target resource group.
|
|
127
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
128
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
129
|
-
* @param storageTargetName Name of Storage Target.
|
|
130
|
-
* @param [options] The optional parameters
|
|
131
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
132
|
-
*/
|
|
133
|
-
beginCreateOrUpdate(resourceGroupName: string, cacheName: string, storageTargetName: string, options?: Models.StorageTargetsBeginCreateOrUpdateOptionalParams): Promise<msRestAzure.LROPoller>;
|
|
134
|
-
/**
|
|
135
|
-
* Returns a list of Storage Targets for the specified Cache.
|
|
136
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
137
|
-
* @param [options] The optional parameters
|
|
138
|
-
* @returns Promise<Models.StorageTargetsListByCacheNextResponse>
|
|
139
|
-
*/
|
|
140
|
-
listByCacheNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.StorageTargetsListByCacheNextResponse>;
|
|
141
|
-
/**
|
|
142
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
143
|
-
* @param callback The callback
|
|
144
|
-
*/
|
|
145
|
-
listByCacheNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.StorageTargetsResult>): void;
|
|
146
|
-
/**
|
|
147
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
148
|
-
* @param options The optional parameters
|
|
149
|
-
* @param callback The callback
|
|
150
|
-
*/
|
|
151
|
-
listByCacheNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.StorageTargetsResult>): void;
|
|
152
|
-
}
|
|
153
|
-
//# sourceMappingURL=storageTargets.d.ts.map
|