@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
package/dist/arm-storagecache.js
DELETED
|
@@ -1,3545 +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 regenerated.
|
|
7
|
-
*/
|
|
8
|
-
(function (global, factory) {
|
|
9
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-azure-js'), require('@azure/ms-rest-js')) :
|
|
10
|
-
typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-azure-js', '@azure/ms-rest-js'], factory) :
|
|
11
|
-
(global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmStoragecache = {}), global.msRestAzure, global.msRest));
|
|
12
|
-
}(this, (function (exports, msRestAzure, msRest) { 'use strict';
|
|
13
|
-
|
|
14
|
-
/*! *****************************************************************************
|
|
15
|
-
Copyright (c) Microsoft Corporation.
|
|
16
|
-
|
|
17
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
18
|
-
purpose with or without fee is hereby granted.
|
|
19
|
-
|
|
20
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
21
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
22
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
23
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
24
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
25
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
26
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
27
|
-
***************************************************************************** */
|
|
28
|
-
/* global Reflect, Promise */
|
|
29
|
-
|
|
30
|
-
var extendStatics = function(d, b) {
|
|
31
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
33
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
34
|
-
return extendStatics(d, b);
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
function __extends(d, b) {
|
|
38
|
-
extendStatics(d, b);
|
|
39
|
-
function __() { this.constructor = d; }
|
|
40
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
var __assign = function() {
|
|
44
|
-
__assign = Object.assign || function __assign(t) {
|
|
45
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
46
|
-
s = arguments[i];
|
|
47
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
48
|
-
}
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
return __assign.apply(this, arguments);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
/*
|
|
55
|
-
* Copyright (c) Microsoft Corporation.
|
|
56
|
-
* Licensed under the MIT License.
|
|
57
|
-
*
|
|
58
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
59
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
60
|
-
*/
|
|
61
|
-
|
|
62
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
63
|
-
__proto__: null
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
/*
|
|
67
|
-
* Copyright (c) Microsoft Corporation.
|
|
68
|
-
* Licensed under the MIT License.
|
|
69
|
-
*
|
|
70
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
71
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
72
|
-
*/
|
|
73
|
-
var CloudError = msRestAzure.CloudErrorMapper;
|
|
74
|
-
var BaseResource = msRestAzure.BaseResourceMapper;
|
|
75
|
-
var ApiOperationDisplay = {
|
|
76
|
-
serializedName: "ApiOperation_display",
|
|
77
|
-
type: {
|
|
78
|
-
name: "Composite",
|
|
79
|
-
className: "ApiOperationDisplay",
|
|
80
|
-
modelProperties: {
|
|
81
|
-
operation: {
|
|
82
|
-
serializedName: "operation",
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
provider: {
|
|
88
|
-
serializedName: "provider",
|
|
89
|
-
type: {
|
|
90
|
-
name: "String"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
resource: {
|
|
94
|
-
serializedName: "resource",
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
description: {
|
|
100
|
-
serializedName: "description",
|
|
101
|
-
type: {
|
|
102
|
-
name: "String"
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
var MetricDimension = {
|
|
109
|
-
serializedName: "MetricDimension",
|
|
110
|
-
type: {
|
|
111
|
-
name: "Composite",
|
|
112
|
-
className: "MetricDimension",
|
|
113
|
-
modelProperties: {
|
|
114
|
-
name: {
|
|
115
|
-
serializedName: "name",
|
|
116
|
-
type: {
|
|
117
|
-
name: "String"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
displayName: {
|
|
121
|
-
serializedName: "displayName",
|
|
122
|
-
type: {
|
|
123
|
-
name: "String"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
internalName: {
|
|
127
|
-
serializedName: "internalName",
|
|
128
|
-
type: {
|
|
129
|
-
name: "String"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
toBeExportedForShoebox: {
|
|
133
|
-
serializedName: "toBeExportedForShoebox",
|
|
134
|
-
type: {
|
|
135
|
-
name: "Boolean"
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
};
|
|
141
|
-
var MetricSpecification = {
|
|
142
|
-
serializedName: "MetricSpecification",
|
|
143
|
-
type: {
|
|
144
|
-
name: "Composite",
|
|
145
|
-
className: "MetricSpecification",
|
|
146
|
-
modelProperties: {
|
|
147
|
-
name: {
|
|
148
|
-
serializedName: "name",
|
|
149
|
-
type: {
|
|
150
|
-
name: "String"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
displayName: {
|
|
154
|
-
serializedName: "displayName",
|
|
155
|
-
type: {
|
|
156
|
-
name: "String"
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
displayDescription: {
|
|
160
|
-
serializedName: "displayDescription",
|
|
161
|
-
type: {
|
|
162
|
-
name: "String"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
unit: {
|
|
166
|
-
serializedName: "unit",
|
|
167
|
-
type: {
|
|
168
|
-
name: "String"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
aggregationType: {
|
|
172
|
-
serializedName: "aggregationType",
|
|
173
|
-
type: {
|
|
174
|
-
name: "String"
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
supportedAggregationTypes: {
|
|
178
|
-
serializedName: "supportedAggregationTypes",
|
|
179
|
-
type: {
|
|
180
|
-
name: "Sequence",
|
|
181
|
-
element: {
|
|
182
|
-
type: {
|
|
183
|
-
name: "String"
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
metricClass: {
|
|
189
|
-
serializedName: "metricClass",
|
|
190
|
-
type: {
|
|
191
|
-
name: "String"
|
|
192
|
-
}
|
|
193
|
-
},
|
|
194
|
-
dimensions: {
|
|
195
|
-
serializedName: "dimensions",
|
|
196
|
-
type: {
|
|
197
|
-
name: "Sequence",
|
|
198
|
-
element: {
|
|
199
|
-
type: {
|
|
200
|
-
name: "Composite",
|
|
201
|
-
className: "MetricDimension"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
var ApiOperationPropertiesServiceSpecification = {
|
|
210
|
-
serializedName: "ApiOperation_properties_serviceSpecification",
|
|
211
|
-
type: {
|
|
212
|
-
name: "Composite",
|
|
213
|
-
className: "ApiOperationPropertiesServiceSpecification",
|
|
214
|
-
modelProperties: {
|
|
215
|
-
metricSpecifications: {
|
|
216
|
-
serializedName: "metricSpecifications",
|
|
217
|
-
type: {
|
|
218
|
-
name: "Sequence",
|
|
219
|
-
element: {
|
|
220
|
-
type: {
|
|
221
|
-
name: "Composite",
|
|
222
|
-
className: "MetricSpecification"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
var ApiOperation = {
|
|
231
|
-
serializedName: "ApiOperation",
|
|
232
|
-
type: {
|
|
233
|
-
name: "Composite",
|
|
234
|
-
className: "ApiOperation",
|
|
235
|
-
modelProperties: {
|
|
236
|
-
display: {
|
|
237
|
-
serializedName: "display",
|
|
238
|
-
type: {
|
|
239
|
-
name: "Composite",
|
|
240
|
-
className: "ApiOperationDisplay"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
origin: {
|
|
244
|
-
serializedName: "origin",
|
|
245
|
-
type: {
|
|
246
|
-
name: "String"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
isDataAction: {
|
|
250
|
-
serializedName: "isDataAction",
|
|
251
|
-
type: {
|
|
252
|
-
name: "Boolean"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
|
-
name: {
|
|
256
|
-
serializedName: "name",
|
|
257
|
-
type: {
|
|
258
|
-
name: "String"
|
|
259
|
-
}
|
|
260
|
-
},
|
|
261
|
-
serviceSpecification: {
|
|
262
|
-
serializedName: "properties.serviceSpecification",
|
|
263
|
-
type: {
|
|
264
|
-
name: "Composite",
|
|
265
|
-
className: "ApiOperationPropertiesServiceSpecification"
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
};
|
|
271
|
-
var CloudErrorBody = {
|
|
272
|
-
serializedName: "CloudErrorBody",
|
|
273
|
-
type: {
|
|
274
|
-
name: "Composite",
|
|
275
|
-
className: "CloudErrorBody",
|
|
276
|
-
modelProperties: {
|
|
277
|
-
code: {
|
|
278
|
-
serializedName: "code",
|
|
279
|
-
type: {
|
|
280
|
-
name: "String"
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
details: {
|
|
284
|
-
serializedName: "details",
|
|
285
|
-
type: {
|
|
286
|
-
name: "Sequence",
|
|
287
|
-
element: {
|
|
288
|
-
type: {
|
|
289
|
-
name: "Composite",
|
|
290
|
-
className: "CloudErrorBody"
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
message: {
|
|
296
|
-
serializedName: "message",
|
|
297
|
-
type: {
|
|
298
|
-
name: "String"
|
|
299
|
-
}
|
|
300
|
-
},
|
|
301
|
-
target: {
|
|
302
|
-
serializedName: "target",
|
|
303
|
-
type: {
|
|
304
|
-
name: "String"
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
var ErrorResponse = {
|
|
311
|
-
serializedName: "ErrorResponse",
|
|
312
|
-
type: {
|
|
313
|
-
name: "Composite",
|
|
314
|
-
className: "ErrorResponse",
|
|
315
|
-
modelProperties: {
|
|
316
|
-
code: {
|
|
317
|
-
serializedName: "code",
|
|
318
|
-
type: {
|
|
319
|
-
name: "String"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
message: {
|
|
323
|
-
serializedName: "message",
|
|
324
|
-
type: {
|
|
325
|
-
name: "String"
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
var AscOperation = {
|
|
332
|
-
serializedName: "AscOperation",
|
|
333
|
-
type: {
|
|
334
|
-
name: "Composite",
|
|
335
|
-
className: "AscOperation",
|
|
336
|
-
modelProperties: {
|
|
337
|
-
id: {
|
|
338
|
-
serializedName: "id",
|
|
339
|
-
type: {
|
|
340
|
-
name: "String"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
name: {
|
|
344
|
-
serializedName: "name",
|
|
345
|
-
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
startTime: {
|
|
350
|
-
serializedName: "startTime",
|
|
351
|
-
type: {
|
|
352
|
-
name: "String"
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
endTime: {
|
|
356
|
-
serializedName: "endTime",
|
|
357
|
-
type: {
|
|
358
|
-
name: "String"
|
|
359
|
-
}
|
|
360
|
-
},
|
|
361
|
-
status: {
|
|
362
|
-
serializedName: "status",
|
|
363
|
-
type: {
|
|
364
|
-
name: "String"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
error: {
|
|
368
|
-
serializedName: "error",
|
|
369
|
-
type: {
|
|
370
|
-
name: "Composite",
|
|
371
|
-
className: "ErrorResponse"
|
|
372
|
-
}
|
|
373
|
-
},
|
|
374
|
-
output: {
|
|
375
|
-
serializedName: "properties.output",
|
|
376
|
-
type: {
|
|
377
|
-
name: "Dictionary",
|
|
378
|
-
value: {
|
|
379
|
-
type: {
|
|
380
|
-
name: "Object"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
var CacheIdentityUserAssignedIdentitiesValue = {
|
|
389
|
-
serializedName: "CacheIdentity_userAssignedIdentitiesValue",
|
|
390
|
-
type: {
|
|
391
|
-
name: "Composite",
|
|
392
|
-
className: "CacheIdentityUserAssignedIdentitiesValue",
|
|
393
|
-
modelProperties: {
|
|
394
|
-
principalId: {
|
|
395
|
-
readOnly: true,
|
|
396
|
-
serializedName: "principalId",
|
|
397
|
-
type: {
|
|
398
|
-
name: "String"
|
|
399
|
-
}
|
|
400
|
-
},
|
|
401
|
-
clientId: {
|
|
402
|
-
readOnly: true,
|
|
403
|
-
serializedName: "clientId",
|
|
404
|
-
type: {
|
|
405
|
-
name: "String"
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
};
|
|
411
|
-
var CacheIdentity = {
|
|
412
|
-
serializedName: "CacheIdentity",
|
|
413
|
-
type: {
|
|
414
|
-
name: "Composite",
|
|
415
|
-
className: "CacheIdentity",
|
|
416
|
-
modelProperties: {
|
|
417
|
-
principalId: {
|
|
418
|
-
readOnly: true,
|
|
419
|
-
serializedName: "principalId",
|
|
420
|
-
type: {
|
|
421
|
-
name: "String"
|
|
422
|
-
}
|
|
423
|
-
},
|
|
424
|
-
tenantId: {
|
|
425
|
-
readOnly: true,
|
|
426
|
-
serializedName: "tenantId",
|
|
427
|
-
type: {
|
|
428
|
-
name: "String"
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
type: {
|
|
432
|
-
serializedName: "type",
|
|
433
|
-
type: {
|
|
434
|
-
name: "Enum",
|
|
435
|
-
allowedValues: [
|
|
436
|
-
"SystemAssigned",
|
|
437
|
-
"UserAssigned",
|
|
438
|
-
"SystemAssigned, UserAssigned",
|
|
439
|
-
"None"
|
|
440
|
-
]
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
userAssignedIdentities: {
|
|
444
|
-
serializedName: "userAssignedIdentities",
|
|
445
|
-
type: {
|
|
446
|
-
name: "Dictionary",
|
|
447
|
-
value: {
|
|
448
|
-
type: {
|
|
449
|
-
name: "Composite",
|
|
450
|
-
className: "CacheIdentityUserAssignedIdentitiesValue"
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
};
|
|
458
|
-
var SystemData = {
|
|
459
|
-
serializedName: "systemData",
|
|
460
|
-
type: {
|
|
461
|
-
name: "Composite",
|
|
462
|
-
className: "SystemData",
|
|
463
|
-
modelProperties: {
|
|
464
|
-
createdBy: {
|
|
465
|
-
serializedName: "createdBy",
|
|
466
|
-
type: {
|
|
467
|
-
name: "String"
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
createdByType: {
|
|
471
|
-
serializedName: "createdByType",
|
|
472
|
-
type: {
|
|
473
|
-
name: "String"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
|
-
createdAt: {
|
|
477
|
-
serializedName: "createdAt",
|
|
478
|
-
type: {
|
|
479
|
-
name: "DateTime"
|
|
480
|
-
}
|
|
481
|
-
},
|
|
482
|
-
lastModifiedBy: {
|
|
483
|
-
serializedName: "lastModifiedBy",
|
|
484
|
-
type: {
|
|
485
|
-
name: "String"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
lastModifiedByType: {
|
|
489
|
-
serializedName: "lastModifiedByType",
|
|
490
|
-
type: {
|
|
491
|
-
name: "String"
|
|
492
|
-
}
|
|
493
|
-
},
|
|
494
|
-
lastModifiedAt: {
|
|
495
|
-
serializedName: "lastModifiedAt",
|
|
496
|
-
type: {
|
|
497
|
-
name: "DateTime"
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
};
|
|
503
|
-
var Condition = {
|
|
504
|
-
serializedName: "Condition",
|
|
505
|
-
type: {
|
|
506
|
-
name: "Composite",
|
|
507
|
-
className: "Condition",
|
|
508
|
-
modelProperties: {
|
|
509
|
-
timestamp: {
|
|
510
|
-
readOnly: true,
|
|
511
|
-
serializedName: "timestamp",
|
|
512
|
-
type: {
|
|
513
|
-
name: "DateTime"
|
|
514
|
-
}
|
|
515
|
-
},
|
|
516
|
-
message: {
|
|
517
|
-
readOnly: true,
|
|
518
|
-
serializedName: "message",
|
|
519
|
-
type: {
|
|
520
|
-
name: "String"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
};
|
|
526
|
-
var CacheHealth = {
|
|
527
|
-
serializedName: "CacheHealth",
|
|
528
|
-
type: {
|
|
529
|
-
name: "Composite",
|
|
530
|
-
className: "CacheHealth",
|
|
531
|
-
modelProperties: {
|
|
532
|
-
state: {
|
|
533
|
-
serializedName: "state",
|
|
534
|
-
type: {
|
|
535
|
-
name: "String"
|
|
536
|
-
}
|
|
537
|
-
},
|
|
538
|
-
statusDescription: {
|
|
539
|
-
serializedName: "statusDescription",
|
|
540
|
-
type: {
|
|
541
|
-
name: "String"
|
|
542
|
-
}
|
|
543
|
-
},
|
|
544
|
-
conditions: {
|
|
545
|
-
readOnly: true,
|
|
546
|
-
serializedName: "conditions",
|
|
547
|
-
type: {
|
|
548
|
-
name: "Sequence",
|
|
549
|
-
element: {
|
|
550
|
-
type: {
|
|
551
|
-
name: "Composite",
|
|
552
|
-
className: "Condition"
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
var CacheUpgradeStatus = {
|
|
561
|
-
serializedName: "CacheUpgradeStatus",
|
|
562
|
-
type: {
|
|
563
|
-
name: "Composite",
|
|
564
|
-
className: "CacheUpgradeStatus",
|
|
565
|
-
modelProperties: {
|
|
566
|
-
currentFirmwareVersion: {
|
|
567
|
-
readOnly: true,
|
|
568
|
-
serializedName: "currentFirmwareVersion",
|
|
569
|
-
type: {
|
|
570
|
-
name: "String"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
firmwareUpdateStatus: {
|
|
574
|
-
readOnly: true,
|
|
575
|
-
serializedName: "firmwareUpdateStatus",
|
|
576
|
-
type: {
|
|
577
|
-
name: "String"
|
|
578
|
-
}
|
|
579
|
-
},
|
|
580
|
-
firmwareUpdateDeadline: {
|
|
581
|
-
readOnly: true,
|
|
582
|
-
serializedName: "firmwareUpdateDeadline",
|
|
583
|
-
type: {
|
|
584
|
-
name: "DateTime"
|
|
585
|
-
}
|
|
586
|
-
},
|
|
587
|
-
lastFirmwareUpdate: {
|
|
588
|
-
readOnly: true,
|
|
589
|
-
serializedName: "lastFirmwareUpdate",
|
|
590
|
-
type: {
|
|
591
|
-
name: "DateTime"
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
pendingFirmwareVersion: {
|
|
595
|
-
readOnly: true,
|
|
596
|
-
serializedName: "pendingFirmwareVersion",
|
|
597
|
-
type: {
|
|
598
|
-
name: "String"
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
var CacheNetworkSettings = {
|
|
605
|
-
serializedName: "CacheNetworkSettings",
|
|
606
|
-
type: {
|
|
607
|
-
name: "Composite",
|
|
608
|
-
className: "CacheNetworkSettings",
|
|
609
|
-
modelProperties: {
|
|
610
|
-
mtu: {
|
|
611
|
-
serializedName: "mtu",
|
|
612
|
-
defaultValue: 1500,
|
|
613
|
-
constraints: {
|
|
614
|
-
InclusiveMaximum: 1500,
|
|
615
|
-
InclusiveMinimum: 576
|
|
616
|
-
},
|
|
617
|
-
type: {
|
|
618
|
-
name: "Number"
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
utilityAddresses: {
|
|
622
|
-
readOnly: true,
|
|
623
|
-
serializedName: "utilityAddresses",
|
|
624
|
-
type: {
|
|
625
|
-
name: "Sequence",
|
|
626
|
-
element: {
|
|
627
|
-
type: {
|
|
628
|
-
name: "String"
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
}
|
|
632
|
-
},
|
|
633
|
-
dnsServers: {
|
|
634
|
-
serializedName: "dnsServers",
|
|
635
|
-
type: {
|
|
636
|
-
name: "Sequence",
|
|
637
|
-
element: {
|
|
638
|
-
type: {
|
|
639
|
-
name: "String"
|
|
640
|
-
}
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
},
|
|
644
|
-
dnsSearchDomain: {
|
|
645
|
-
serializedName: "dnsSearchDomain",
|
|
646
|
-
type: {
|
|
647
|
-
name: "String"
|
|
648
|
-
}
|
|
649
|
-
},
|
|
650
|
-
ntpServer: {
|
|
651
|
-
serializedName: "ntpServer",
|
|
652
|
-
defaultValue: 'time.windows.com',
|
|
653
|
-
type: {
|
|
654
|
-
name: "String"
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
};
|
|
660
|
-
var KeyVaultKeyReferenceSourceVault = {
|
|
661
|
-
serializedName: "KeyVaultKeyReference_sourceVault",
|
|
662
|
-
type: {
|
|
663
|
-
name: "Composite",
|
|
664
|
-
className: "KeyVaultKeyReferenceSourceVault",
|
|
665
|
-
modelProperties: {
|
|
666
|
-
id: {
|
|
667
|
-
serializedName: "id",
|
|
668
|
-
type: {
|
|
669
|
-
name: "String"
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
};
|
|
675
|
-
var KeyVaultKeyReference = {
|
|
676
|
-
serializedName: "KeyVaultKeyReference",
|
|
677
|
-
type: {
|
|
678
|
-
name: "Composite",
|
|
679
|
-
className: "KeyVaultKeyReference",
|
|
680
|
-
modelProperties: {
|
|
681
|
-
keyUrl: {
|
|
682
|
-
required: true,
|
|
683
|
-
serializedName: "keyUrl",
|
|
684
|
-
type: {
|
|
685
|
-
name: "String"
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
sourceVault: {
|
|
689
|
-
required: true,
|
|
690
|
-
serializedName: "sourceVault",
|
|
691
|
-
type: {
|
|
692
|
-
name: "Composite",
|
|
693
|
-
className: "KeyVaultKeyReferenceSourceVault"
|
|
694
|
-
}
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
};
|
|
699
|
-
var CacheEncryptionSettings = {
|
|
700
|
-
serializedName: "CacheEncryptionSettings",
|
|
701
|
-
type: {
|
|
702
|
-
name: "Composite",
|
|
703
|
-
className: "CacheEncryptionSettings",
|
|
704
|
-
modelProperties: {
|
|
705
|
-
keyEncryptionKey: {
|
|
706
|
-
serializedName: "keyEncryptionKey",
|
|
707
|
-
type: {
|
|
708
|
-
name: "Composite",
|
|
709
|
-
className: "KeyVaultKeyReference"
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
rotationToLatestKeyVersionEnabled: {
|
|
713
|
-
serializedName: "rotationToLatestKeyVersionEnabled",
|
|
714
|
-
type: {
|
|
715
|
-
name: "Boolean"
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
};
|
|
721
|
-
var NfsAccessRule = {
|
|
722
|
-
serializedName: "NfsAccessRule",
|
|
723
|
-
type: {
|
|
724
|
-
name: "Composite",
|
|
725
|
-
className: "NfsAccessRule",
|
|
726
|
-
modelProperties: {
|
|
727
|
-
scope: {
|
|
728
|
-
required: true,
|
|
729
|
-
serializedName: "scope",
|
|
730
|
-
type: {
|
|
731
|
-
name: "String"
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
filter: {
|
|
735
|
-
serializedName: "filter",
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
},
|
|
740
|
-
access: {
|
|
741
|
-
required: true,
|
|
742
|
-
serializedName: "access",
|
|
743
|
-
type: {
|
|
744
|
-
name: "String"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
suid: {
|
|
748
|
-
serializedName: "suid",
|
|
749
|
-
type: {
|
|
750
|
-
name: "Boolean"
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
submountAccess: {
|
|
754
|
-
serializedName: "submountAccess",
|
|
755
|
-
type: {
|
|
756
|
-
name: "Boolean"
|
|
757
|
-
}
|
|
758
|
-
},
|
|
759
|
-
rootSquash: {
|
|
760
|
-
serializedName: "rootSquash",
|
|
761
|
-
type: {
|
|
762
|
-
name: "Boolean"
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
anonymousUID: {
|
|
766
|
-
serializedName: "anonymousUID",
|
|
767
|
-
type: {
|
|
768
|
-
name: "String"
|
|
769
|
-
}
|
|
770
|
-
},
|
|
771
|
-
anonymousGID: {
|
|
772
|
-
serializedName: "anonymousGID",
|
|
773
|
-
type: {
|
|
774
|
-
name: "String"
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
};
|
|
780
|
-
var NfsAccessPolicy = {
|
|
781
|
-
serializedName: "NfsAccessPolicy",
|
|
782
|
-
type: {
|
|
783
|
-
name: "Composite",
|
|
784
|
-
className: "NfsAccessPolicy",
|
|
785
|
-
modelProperties: {
|
|
786
|
-
name: {
|
|
787
|
-
required: true,
|
|
788
|
-
serializedName: "name",
|
|
789
|
-
type: {
|
|
790
|
-
name: "String"
|
|
791
|
-
}
|
|
792
|
-
},
|
|
793
|
-
accessRules: {
|
|
794
|
-
required: true,
|
|
795
|
-
serializedName: "accessRules",
|
|
796
|
-
type: {
|
|
797
|
-
name: "Sequence",
|
|
798
|
-
element: {
|
|
799
|
-
type: {
|
|
800
|
-
name: "Composite",
|
|
801
|
-
className: "NfsAccessRule"
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
};
|
|
809
|
-
var CacheSecuritySettings = {
|
|
810
|
-
serializedName: "CacheSecuritySettings",
|
|
811
|
-
type: {
|
|
812
|
-
name: "Composite",
|
|
813
|
-
className: "CacheSecuritySettings",
|
|
814
|
-
modelProperties: {
|
|
815
|
-
accessPolicies: {
|
|
816
|
-
serializedName: "accessPolicies",
|
|
817
|
-
type: {
|
|
818
|
-
name: "Sequence",
|
|
819
|
-
element: {
|
|
820
|
-
type: {
|
|
821
|
-
name: "Composite",
|
|
822
|
-
className: "NfsAccessPolicy"
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
};
|
|
830
|
-
var CacheActiveDirectorySettingsCredentials = {
|
|
831
|
-
serializedName: "CacheActiveDirectorySettings_credentials",
|
|
832
|
-
type: {
|
|
833
|
-
name: "Composite",
|
|
834
|
-
className: "CacheActiveDirectorySettingsCredentials",
|
|
835
|
-
modelProperties: {
|
|
836
|
-
username: {
|
|
837
|
-
required: true,
|
|
838
|
-
serializedName: "username",
|
|
839
|
-
type: {
|
|
840
|
-
name: "String"
|
|
841
|
-
}
|
|
842
|
-
},
|
|
843
|
-
password: {
|
|
844
|
-
required: true,
|
|
845
|
-
serializedName: "password",
|
|
846
|
-
type: {
|
|
847
|
-
name: "String"
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
};
|
|
853
|
-
var CacheActiveDirectorySettings = {
|
|
854
|
-
serializedName: "CacheActiveDirectorySettings",
|
|
855
|
-
type: {
|
|
856
|
-
name: "Composite",
|
|
857
|
-
className: "CacheActiveDirectorySettings",
|
|
858
|
-
modelProperties: {
|
|
859
|
-
primaryDnsIpAddress: {
|
|
860
|
-
required: true,
|
|
861
|
-
serializedName: "primaryDnsIpAddress",
|
|
862
|
-
type: {
|
|
863
|
-
name: "String"
|
|
864
|
-
}
|
|
865
|
-
},
|
|
866
|
-
secondaryDnsIpAddress: {
|
|
867
|
-
serializedName: "secondaryDnsIpAddress",
|
|
868
|
-
type: {
|
|
869
|
-
name: "String"
|
|
870
|
-
}
|
|
871
|
-
},
|
|
872
|
-
domainName: {
|
|
873
|
-
required: true,
|
|
874
|
-
serializedName: "domainName",
|
|
875
|
-
type: {
|
|
876
|
-
name: "String"
|
|
877
|
-
}
|
|
878
|
-
},
|
|
879
|
-
domainNetBiosName: {
|
|
880
|
-
required: true,
|
|
881
|
-
serializedName: "domainNetBiosName",
|
|
882
|
-
type: {
|
|
883
|
-
name: "String"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
cacheNetBiosName: {
|
|
887
|
-
required: true,
|
|
888
|
-
serializedName: "cacheNetBiosName",
|
|
889
|
-
constraints: {
|
|
890
|
-
Pattern: /^[-0-9a-zA-Z]{1,15}$/
|
|
891
|
-
},
|
|
892
|
-
type: {
|
|
893
|
-
name: "String"
|
|
894
|
-
}
|
|
895
|
-
},
|
|
896
|
-
domainJoined: {
|
|
897
|
-
readOnly: true,
|
|
898
|
-
serializedName: "domainJoined",
|
|
899
|
-
type: {
|
|
900
|
-
name: "String"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
credentials: {
|
|
904
|
-
serializedName: "credentials",
|
|
905
|
-
type: {
|
|
906
|
-
name: "Composite",
|
|
907
|
-
className: "CacheActiveDirectorySettingsCredentials"
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
};
|
|
913
|
-
var CacheUsernameDownloadSettingsCredentials = {
|
|
914
|
-
serializedName: "CacheUsernameDownloadSettings_credentials",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Composite",
|
|
917
|
-
className: "CacheUsernameDownloadSettingsCredentials",
|
|
918
|
-
modelProperties: {
|
|
919
|
-
bindDn: {
|
|
920
|
-
serializedName: "bindDn",
|
|
921
|
-
type: {
|
|
922
|
-
name: "String"
|
|
923
|
-
}
|
|
924
|
-
},
|
|
925
|
-
bindPassword: {
|
|
926
|
-
serializedName: "bindPassword",
|
|
927
|
-
type: {
|
|
928
|
-
name: "String"
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
};
|
|
934
|
-
var CacheUsernameDownloadSettings = {
|
|
935
|
-
serializedName: "CacheUsernameDownloadSettings",
|
|
936
|
-
type: {
|
|
937
|
-
name: "Composite",
|
|
938
|
-
className: "CacheUsernameDownloadSettings",
|
|
939
|
-
modelProperties: {
|
|
940
|
-
extendedGroups: {
|
|
941
|
-
serializedName: "extendedGroups",
|
|
942
|
-
type: {
|
|
943
|
-
name: "Boolean"
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
usernameSource: {
|
|
947
|
-
serializedName: "usernameSource",
|
|
948
|
-
defaultValue: 'None',
|
|
949
|
-
type: {
|
|
950
|
-
name: "String"
|
|
951
|
-
}
|
|
952
|
-
},
|
|
953
|
-
groupFileURI: {
|
|
954
|
-
serializedName: "groupFileURI",
|
|
955
|
-
type: {
|
|
956
|
-
name: "String"
|
|
957
|
-
}
|
|
958
|
-
},
|
|
959
|
-
userFileURI: {
|
|
960
|
-
serializedName: "userFileURI",
|
|
961
|
-
type: {
|
|
962
|
-
name: "String"
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
ldapServer: {
|
|
966
|
-
serializedName: "ldapServer",
|
|
967
|
-
type: {
|
|
968
|
-
name: "String"
|
|
969
|
-
}
|
|
970
|
-
},
|
|
971
|
-
ldapBaseDN: {
|
|
972
|
-
serializedName: "ldapBaseDN",
|
|
973
|
-
type: {
|
|
974
|
-
name: "String"
|
|
975
|
-
}
|
|
976
|
-
},
|
|
977
|
-
encryptLdapConnection: {
|
|
978
|
-
serializedName: "encryptLdapConnection",
|
|
979
|
-
type: {
|
|
980
|
-
name: "Boolean"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
requireValidCertificate: {
|
|
984
|
-
serializedName: "requireValidCertificate",
|
|
985
|
-
type: {
|
|
986
|
-
name: "Boolean"
|
|
987
|
-
}
|
|
988
|
-
},
|
|
989
|
-
autoDownloadCertificate: {
|
|
990
|
-
serializedName: "autoDownloadCertificate",
|
|
991
|
-
type: {
|
|
992
|
-
name: "Boolean"
|
|
993
|
-
}
|
|
994
|
-
},
|
|
995
|
-
caCertificateURI: {
|
|
996
|
-
serializedName: "caCertificateURI",
|
|
997
|
-
type: {
|
|
998
|
-
name: "String"
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
usernameDownloaded: {
|
|
1002
|
-
readOnly: true,
|
|
1003
|
-
serializedName: "usernameDownloaded",
|
|
1004
|
-
type: {
|
|
1005
|
-
name: "String"
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
credentials: {
|
|
1009
|
-
serializedName: "credentials",
|
|
1010
|
-
type: {
|
|
1011
|
-
name: "Composite",
|
|
1012
|
-
className: "CacheUsernameDownloadSettingsCredentials"
|
|
1013
|
-
}
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
var CacheDirectorySettings = {
|
|
1019
|
-
serializedName: "CacheDirectorySettings",
|
|
1020
|
-
type: {
|
|
1021
|
-
name: "Composite",
|
|
1022
|
-
className: "CacheDirectorySettings",
|
|
1023
|
-
modelProperties: {
|
|
1024
|
-
activeDirectory: {
|
|
1025
|
-
serializedName: "activeDirectory",
|
|
1026
|
-
type: {
|
|
1027
|
-
name: "Composite",
|
|
1028
|
-
className: "CacheActiveDirectorySettings"
|
|
1029
|
-
}
|
|
1030
|
-
},
|
|
1031
|
-
usernameDownload: {
|
|
1032
|
-
serializedName: "usernameDownload",
|
|
1033
|
-
type: {
|
|
1034
|
-
name: "Composite",
|
|
1035
|
-
className: "CacheUsernameDownloadSettings"
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
};
|
|
1041
|
-
var CacheSku = {
|
|
1042
|
-
serializedName: "Cache_sku",
|
|
1043
|
-
type: {
|
|
1044
|
-
name: "Composite",
|
|
1045
|
-
className: "CacheSku",
|
|
1046
|
-
modelProperties: {
|
|
1047
|
-
name: {
|
|
1048
|
-
serializedName: "name",
|
|
1049
|
-
type: {
|
|
1050
|
-
name: "String"
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
};
|
|
1056
|
-
var Cache = {
|
|
1057
|
-
serializedName: "Cache",
|
|
1058
|
-
type: {
|
|
1059
|
-
name: "Composite",
|
|
1060
|
-
className: "Cache",
|
|
1061
|
-
modelProperties: {
|
|
1062
|
-
tags: {
|
|
1063
|
-
serializedName: "tags",
|
|
1064
|
-
type: {
|
|
1065
|
-
name: "Dictionary",
|
|
1066
|
-
value: {
|
|
1067
|
-
type: {
|
|
1068
|
-
name: "String"
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
},
|
|
1073
|
-
id: {
|
|
1074
|
-
readOnly: true,
|
|
1075
|
-
serializedName: "id",
|
|
1076
|
-
type: {
|
|
1077
|
-
name: "String"
|
|
1078
|
-
}
|
|
1079
|
-
},
|
|
1080
|
-
location: {
|
|
1081
|
-
serializedName: "location",
|
|
1082
|
-
type: {
|
|
1083
|
-
name: "String"
|
|
1084
|
-
}
|
|
1085
|
-
},
|
|
1086
|
-
name: {
|
|
1087
|
-
readOnly: true,
|
|
1088
|
-
serializedName: "name",
|
|
1089
|
-
type: {
|
|
1090
|
-
name: "String"
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
type: {
|
|
1094
|
-
readOnly: true,
|
|
1095
|
-
serializedName: "type",
|
|
1096
|
-
type: {
|
|
1097
|
-
name: "String"
|
|
1098
|
-
}
|
|
1099
|
-
},
|
|
1100
|
-
identity: {
|
|
1101
|
-
serializedName: "identity",
|
|
1102
|
-
type: {
|
|
1103
|
-
name: "Composite",
|
|
1104
|
-
className: "CacheIdentity"
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
systemData: {
|
|
1108
|
-
readOnly: true,
|
|
1109
|
-
serializedName: "systemData",
|
|
1110
|
-
type: {
|
|
1111
|
-
name: "Composite",
|
|
1112
|
-
className: "SystemData"
|
|
1113
|
-
}
|
|
1114
|
-
},
|
|
1115
|
-
cacheSizeGB: {
|
|
1116
|
-
serializedName: "properties.cacheSizeGB",
|
|
1117
|
-
type: {
|
|
1118
|
-
name: "Number"
|
|
1119
|
-
}
|
|
1120
|
-
},
|
|
1121
|
-
health: {
|
|
1122
|
-
readOnly: true,
|
|
1123
|
-
serializedName: "properties.health",
|
|
1124
|
-
type: {
|
|
1125
|
-
name: "Composite",
|
|
1126
|
-
className: "CacheHealth"
|
|
1127
|
-
}
|
|
1128
|
-
},
|
|
1129
|
-
mountAddresses: {
|
|
1130
|
-
readOnly: true,
|
|
1131
|
-
serializedName: "properties.mountAddresses",
|
|
1132
|
-
type: {
|
|
1133
|
-
name: "Sequence",
|
|
1134
|
-
element: {
|
|
1135
|
-
type: {
|
|
1136
|
-
name: "String"
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
}
|
|
1140
|
-
},
|
|
1141
|
-
provisioningState: {
|
|
1142
|
-
readOnly: true,
|
|
1143
|
-
serializedName: "properties.provisioningState",
|
|
1144
|
-
type: {
|
|
1145
|
-
name: "String"
|
|
1146
|
-
}
|
|
1147
|
-
},
|
|
1148
|
-
subnet: {
|
|
1149
|
-
serializedName: "properties.subnet",
|
|
1150
|
-
type: {
|
|
1151
|
-
name: "String"
|
|
1152
|
-
}
|
|
1153
|
-
},
|
|
1154
|
-
upgradeStatus: {
|
|
1155
|
-
readOnly: true,
|
|
1156
|
-
serializedName: "properties.upgradeStatus",
|
|
1157
|
-
type: {
|
|
1158
|
-
name: "Composite",
|
|
1159
|
-
className: "CacheUpgradeStatus"
|
|
1160
|
-
}
|
|
1161
|
-
},
|
|
1162
|
-
networkSettings: {
|
|
1163
|
-
serializedName: "properties.networkSettings",
|
|
1164
|
-
type: {
|
|
1165
|
-
name: "Composite",
|
|
1166
|
-
className: "CacheNetworkSettings"
|
|
1167
|
-
}
|
|
1168
|
-
},
|
|
1169
|
-
encryptionSettings: {
|
|
1170
|
-
serializedName: "properties.encryptionSettings",
|
|
1171
|
-
type: {
|
|
1172
|
-
name: "Composite",
|
|
1173
|
-
className: "CacheEncryptionSettings"
|
|
1174
|
-
}
|
|
1175
|
-
},
|
|
1176
|
-
securitySettings: {
|
|
1177
|
-
serializedName: "properties.securitySettings",
|
|
1178
|
-
type: {
|
|
1179
|
-
name: "Composite",
|
|
1180
|
-
className: "CacheSecuritySettings"
|
|
1181
|
-
}
|
|
1182
|
-
},
|
|
1183
|
-
directoryServicesSettings: {
|
|
1184
|
-
serializedName: "properties.directoryServicesSettings",
|
|
1185
|
-
type: {
|
|
1186
|
-
name: "Composite",
|
|
1187
|
-
className: "CacheDirectorySettings"
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
sku: {
|
|
1191
|
-
serializedName: "sku",
|
|
1192
|
-
type: {
|
|
1193
|
-
name: "Composite",
|
|
1194
|
-
className: "CacheSku"
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
};
|
|
1200
|
-
var NamespaceJunction = {
|
|
1201
|
-
serializedName: "NamespaceJunction",
|
|
1202
|
-
type: {
|
|
1203
|
-
name: "Composite",
|
|
1204
|
-
className: "NamespaceJunction",
|
|
1205
|
-
modelProperties: {
|
|
1206
|
-
namespacePath: {
|
|
1207
|
-
serializedName: "namespacePath",
|
|
1208
|
-
type: {
|
|
1209
|
-
name: "String"
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
targetPath: {
|
|
1213
|
-
serializedName: "targetPath",
|
|
1214
|
-
type: {
|
|
1215
|
-
name: "String"
|
|
1216
|
-
}
|
|
1217
|
-
},
|
|
1218
|
-
nfsExport: {
|
|
1219
|
-
serializedName: "nfsExport",
|
|
1220
|
-
type: {
|
|
1221
|
-
name: "String"
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
nfsAccessPolicy: {
|
|
1225
|
-
serializedName: "nfsAccessPolicy",
|
|
1226
|
-
defaultValue: 'default',
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "String"
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
};
|
|
1234
|
-
var Nfs3Target = {
|
|
1235
|
-
serializedName: "Nfs3Target",
|
|
1236
|
-
type: {
|
|
1237
|
-
name: "Composite",
|
|
1238
|
-
className: "Nfs3Target",
|
|
1239
|
-
modelProperties: {
|
|
1240
|
-
target: {
|
|
1241
|
-
serializedName: "target",
|
|
1242
|
-
constraints: {
|
|
1243
|
-
Pattern: /^[-.,0-9a-zA-Z]+$/
|
|
1244
|
-
},
|
|
1245
|
-
type: {
|
|
1246
|
-
name: "String"
|
|
1247
|
-
}
|
|
1248
|
-
},
|
|
1249
|
-
usageModel: {
|
|
1250
|
-
serializedName: "usageModel",
|
|
1251
|
-
type: {
|
|
1252
|
-
name: "String"
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
};
|
|
1258
|
-
var ClfsTarget = {
|
|
1259
|
-
serializedName: "ClfsTarget",
|
|
1260
|
-
type: {
|
|
1261
|
-
name: "Composite",
|
|
1262
|
-
className: "ClfsTarget",
|
|
1263
|
-
modelProperties: {
|
|
1264
|
-
target: {
|
|
1265
|
-
serializedName: "target",
|
|
1266
|
-
type: {
|
|
1267
|
-
name: "String"
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
};
|
|
1273
|
-
var UnknownTarget = {
|
|
1274
|
-
serializedName: "UnknownTarget",
|
|
1275
|
-
type: {
|
|
1276
|
-
name: "Composite",
|
|
1277
|
-
className: "UnknownTarget",
|
|
1278
|
-
modelProperties: {
|
|
1279
|
-
attributes: {
|
|
1280
|
-
serializedName: "attributes",
|
|
1281
|
-
type: {
|
|
1282
|
-
name: "Dictionary",
|
|
1283
|
-
value: {
|
|
1284
|
-
type: {
|
|
1285
|
-
name: "String"
|
|
1286
|
-
}
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
};
|
|
1293
|
-
var BlobNfsTarget = {
|
|
1294
|
-
serializedName: "BlobNfsTarget",
|
|
1295
|
-
type: {
|
|
1296
|
-
name: "Composite",
|
|
1297
|
-
className: "BlobNfsTarget",
|
|
1298
|
-
modelProperties: {
|
|
1299
|
-
target: {
|
|
1300
|
-
serializedName: "target",
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "String"
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
usageModel: {
|
|
1306
|
-
serializedName: "usageModel",
|
|
1307
|
-
type: {
|
|
1308
|
-
name: "String"
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
};
|
|
1314
|
-
var StorageTargetResource = {
|
|
1315
|
-
serializedName: "StorageTargetResource",
|
|
1316
|
-
type: {
|
|
1317
|
-
name: "Composite",
|
|
1318
|
-
className: "StorageTargetResource",
|
|
1319
|
-
modelProperties: {
|
|
1320
|
-
name: {
|
|
1321
|
-
readOnly: true,
|
|
1322
|
-
serializedName: "name",
|
|
1323
|
-
type: {
|
|
1324
|
-
name: "String"
|
|
1325
|
-
}
|
|
1326
|
-
},
|
|
1327
|
-
id: {
|
|
1328
|
-
readOnly: true,
|
|
1329
|
-
serializedName: "id",
|
|
1330
|
-
type: {
|
|
1331
|
-
name: "String"
|
|
1332
|
-
}
|
|
1333
|
-
},
|
|
1334
|
-
type: {
|
|
1335
|
-
readOnly: true,
|
|
1336
|
-
serializedName: "type",
|
|
1337
|
-
type: {
|
|
1338
|
-
name: "String"
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
location: {
|
|
1342
|
-
readOnly: true,
|
|
1343
|
-
serializedName: "location",
|
|
1344
|
-
type: {
|
|
1345
|
-
name: "String"
|
|
1346
|
-
}
|
|
1347
|
-
},
|
|
1348
|
-
systemData: {
|
|
1349
|
-
readOnly: true,
|
|
1350
|
-
serializedName: "systemData",
|
|
1351
|
-
type: {
|
|
1352
|
-
name: "Composite",
|
|
1353
|
-
className: "SystemData"
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
}
|
|
1358
|
-
};
|
|
1359
|
-
var StorageTarget = {
|
|
1360
|
-
serializedName: "StorageTarget",
|
|
1361
|
-
type: {
|
|
1362
|
-
name: "Composite",
|
|
1363
|
-
className: "StorageTarget",
|
|
1364
|
-
modelProperties: __assign(__assign({}, StorageTargetResource.type.modelProperties), { junctions: {
|
|
1365
|
-
serializedName: "properties.junctions",
|
|
1366
|
-
type: {
|
|
1367
|
-
name: "Sequence",
|
|
1368
|
-
element: {
|
|
1369
|
-
type: {
|
|
1370
|
-
name: "Composite",
|
|
1371
|
-
className: "NamespaceJunction"
|
|
1372
|
-
}
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
}, targetType: {
|
|
1376
|
-
required: true,
|
|
1377
|
-
serializedName: "properties.targetType",
|
|
1378
|
-
type: {
|
|
1379
|
-
name: "String"
|
|
1380
|
-
}
|
|
1381
|
-
}, provisioningState: {
|
|
1382
|
-
readOnly: true,
|
|
1383
|
-
serializedName: "properties.provisioningState",
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "String"
|
|
1386
|
-
}
|
|
1387
|
-
}, state: {
|
|
1388
|
-
serializedName: "properties.state",
|
|
1389
|
-
type: {
|
|
1390
|
-
name: "String"
|
|
1391
|
-
}
|
|
1392
|
-
}, nfs3: {
|
|
1393
|
-
serializedName: "properties.nfs3",
|
|
1394
|
-
type: {
|
|
1395
|
-
name: "Composite",
|
|
1396
|
-
className: "Nfs3Target"
|
|
1397
|
-
}
|
|
1398
|
-
}, clfs: {
|
|
1399
|
-
serializedName: "properties.clfs",
|
|
1400
|
-
type: {
|
|
1401
|
-
name: "Composite",
|
|
1402
|
-
className: "ClfsTarget"
|
|
1403
|
-
}
|
|
1404
|
-
}, unknown: {
|
|
1405
|
-
serializedName: "properties.unknown",
|
|
1406
|
-
type: {
|
|
1407
|
-
name: "Composite",
|
|
1408
|
-
className: "UnknownTarget"
|
|
1409
|
-
}
|
|
1410
|
-
}, blobNfs: {
|
|
1411
|
-
serializedName: "properties.blobNfs",
|
|
1412
|
-
type: {
|
|
1413
|
-
name: "Composite",
|
|
1414
|
-
className: "BlobNfsTarget"
|
|
1415
|
-
}
|
|
1416
|
-
} })
|
|
1417
|
-
}
|
|
1418
|
-
};
|
|
1419
|
-
var ResourceSkuCapabilities = {
|
|
1420
|
-
serializedName: "ResourceSkuCapabilities",
|
|
1421
|
-
type: {
|
|
1422
|
-
name: "Composite",
|
|
1423
|
-
className: "ResourceSkuCapabilities",
|
|
1424
|
-
modelProperties: {
|
|
1425
|
-
name: {
|
|
1426
|
-
serializedName: "name",
|
|
1427
|
-
type: {
|
|
1428
|
-
name: "String"
|
|
1429
|
-
}
|
|
1430
|
-
},
|
|
1431
|
-
value: {
|
|
1432
|
-
serializedName: "value",
|
|
1433
|
-
type: {
|
|
1434
|
-
name: "String"
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
};
|
|
1440
|
-
var ResourceSkuLocationInfo = {
|
|
1441
|
-
serializedName: "ResourceSkuLocationInfo",
|
|
1442
|
-
type: {
|
|
1443
|
-
name: "Composite",
|
|
1444
|
-
className: "ResourceSkuLocationInfo",
|
|
1445
|
-
modelProperties: {
|
|
1446
|
-
location: {
|
|
1447
|
-
serializedName: "location",
|
|
1448
|
-
type: {
|
|
1449
|
-
name: "String"
|
|
1450
|
-
}
|
|
1451
|
-
},
|
|
1452
|
-
zones: {
|
|
1453
|
-
serializedName: "zones",
|
|
1454
|
-
type: {
|
|
1455
|
-
name: "Sequence",
|
|
1456
|
-
element: {
|
|
1457
|
-
type: {
|
|
1458
|
-
name: "String"
|
|
1459
|
-
}
|
|
1460
|
-
}
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
};
|
|
1466
|
-
var Restriction = {
|
|
1467
|
-
serializedName: "Restriction",
|
|
1468
|
-
type: {
|
|
1469
|
-
name: "Composite",
|
|
1470
|
-
className: "Restriction",
|
|
1471
|
-
modelProperties: {
|
|
1472
|
-
type: {
|
|
1473
|
-
readOnly: true,
|
|
1474
|
-
serializedName: "type",
|
|
1475
|
-
type: {
|
|
1476
|
-
name: "String"
|
|
1477
|
-
}
|
|
1478
|
-
},
|
|
1479
|
-
values: {
|
|
1480
|
-
readOnly: true,
|
|
1481
|
-
serializedName: "values",
|
|
1482
|
-
type: {
|
|
1483
|
-
name: "Sequence",
|
|
1484
|
-
element: {
|
|
1485
|
-
type: {
|
|
1486
|
-
name: "String"
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
},
|
|
1491
|
-
reasonCode: {
|
|
1492
|
-
serializedName: "reasonCode",
|
|
1493
|
-
type: {
|
|
1494
|
-
name: "String"
|
|
1495
|
-
}
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
};
|
|
1500
|
-
var ResourceSku = {
|
|
1501
|
-
serializedName: "ResourceSku",
|
|
1502
|
-
type: {
|
|
1503
|
-
name: "Composite",
|
|
1504
|
-
className: "ResourceSku",
|
|
1505
|
-
modelProperties: {
|
|
1506
|
-
resourceType: {
|
|
1507
|
-
readOnly: true,
|
|
1508
|
-
serializedName: "resourceType",
|
|
1509
|
-
type: {
|
|
1510
|
-
name: "String"
|
|
1511
|
-
}
|
|
1512
|
-
},
|
|
1513
|
-
capabilities: {
|
|
1514
|
-
serializedName: "capabilities",
|
|
1515
|
-
type: {
|
|
1516
|
-
name: "Sequence",
|
|
1517
|
-
element: {
|
|
1518
|
-
type: {
|
|
1519
|
-
name: "Composite",
|
|
1520
|
-
className: "ResourceSkuCapabilities"
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
|
-
locations: {
|
|
1526
|
-
readOnly: true,
|
|
1527
|
-
serializedName: "locations",
|
|
1528
|
-
type: {
|
|
1529
|
-
name: "Sequence",
|
|
1530
|
-
element: {
|
|
1531
|
-
type: {
|
|
1532
|
-
name: "String"
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
}
|
|
1536
|
-
},
|
|
1537
|
-
locationInfo: {
|
|
1538
|
-
serializedName: "locationInfo",
|
|
1539
|
-
type: {
|
|
1540
|
-
name: "Sequence",
|
|
1541
|
-
element: {
|
|
1542
|
-
type: {
|
|
1543
|
-
name: "Composite",
|
|
1544
|
-
className: "ResourceSkuLocationInfo"
|
|
1545
|
-
}
|
|
1546
|
-
}
|
|
1547
|
-
}
|
|
1548
|
-
},
|
|
1549
|
-
name: {
|
|
1550
|
-
serializedName: "name",
|
|
1551
|
-
type: {
|
|
1552
|
-
name: "String"
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
restrictions: {
|
|
1556
|
-
serializedName: "restrictions",
|
|
1557
|
-
type: {
|
|
1558
|
-
name: "Sequence",
|
|
1559
|
-
element: {
|
|
1560
|
-
type: {
|
|
1561
|
-
name: "Composite",
|
|
1562
|
-
className: "Restriction"
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
var UsageModelDisplay = {
|
|
1571
|
-
serializedName: "UsageModel_display",
|
|
1572
|
-
type: {
|
|
1573
|
-
name: "Composite",
|
|
1574
|
-
className: "UsageModelDisplay",
|
|
1575
|
-
modelProperties: {
|
|
1576
|
-
description: {
|
|
1577
|
-
serializedName: "description",
|
|
1578
|
-
type: {
|
|
1579
|
-
name: "String"
|
|
1580
|
-
}
|
|
1581
|
-
}
|
|
1582
|
-
}
|
|
1583
|
-
}
|
|
1584
|
-
};
|
|
1585
|
-
var UsageModel = {
|
|
1586
|
-
serializedName: "UsageModel",
|
|
1587
|
-
type: {
|
|
1588
|
-
name: "Composite",
|
|
1589
|
-
className: "UsageModel",
|
|
1590
|
-
modelProperties: {
|
|
1591
|
-
display: {
|
|
1592
|
-
serializedName: "display",
|
|
1593
|
-
type: {
|
|
1594
|
-
name: "Composite",
|
|
1595
|
-
className: "UsageModelDisplay"
|
|
1596
|
-
}
|
|
1597
|
-
},
|
|
1598
|
-
modelName: {
|
|
1599
|
-
serializedName: "modelName",
|
|
1600
|
-
type: {
|
|
1601
|
-
name: "String"
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
targetType: {
|
|
1605
|
-
serializedName: "targetType",
|
|
1606
|
-
type: {
|
|
1607
|
-
name: "String"
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
}
|
|
1612
|
-
};
|
|
1613
|
-
var ApiOperationListResult = {
|
|
1614
|
-
serializedName: "ApiOperationListResult",
|
|
1615
|
-
type: {
|
|
1616
|
-
name: "Composite",
|
|
1617
|
-
className: "ApiOperationListResult",
|
|
1618
|
-
modelProperties: {
|
|
1619
|
-
nextLink: {
|
|
1620
|
-
serializedName: "nextLink",
|
|
1621
|
-
type: {
|
|
1622
|
-
name: "String"
|
|
1623
|
-
}
|
|
1624
|
-
},
|
|
1625
|
-
value: {
|
|
1626
|
-
serializedName: "",
|
|
1627
|
-
type: {
|
|
1628
|
-
name: "Sequence",
|
|
1629
|
-
element: {
|
|
1630
|
-
type: {
|
|
1631
|
-
name: "Composite",
|
|
1632
|
-
className: "ApiOperation"
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
}
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
};
|
|
1640
|
-
var ResourceSkusResult = {
|
|
1641
|
-
serializedName: "ResourceSkusResult",
|
|
1642
|
-
type: {
|
|
1643
|
-
name: "Composite",
|
|
1644
|
-
className: "ResourceSkusResult",
|
|
1645
|
-
modelProperties: {
|
|
1646
|
-
nextLink: {
|
|
1647
|
-
serializedName: "nextLink",
|
|
1648
|
-
type: {
|
|
1649
|
-
name: "String"
|
|
1650
|
-
}
|
|
1651
|
-
},
|
|
1652
|
-
value: {
|
|
1653
|
-
readOnly: true,
|
|
1654
|
-
serializedName: "",
|
|
1655
|
-
type: {
|
|
1656
|
-
name: "Sequence",
|
|
1657
|
-
element: {
|
|
1658
|
-
type: {
|
|
1659
|
-
name: "Composite",
|
|
1660
|
-
className: "ResourceSku"
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
}
|
|
1667
|
-
};
|
|
1668
|
-
var UsageModelsResult = {
|
|
1669
|
-
serializedName: "UsageModelsResult",
|
|
1670
|
-
type: {
|
|
1671
|
-
name: "Composite",
|
|
1672
|
-
className: "UsageModelsResult",
|
|
1673
|
-
modelProperties: {
|
|
1674
|
-
nextLink: {
|
|
1675
|
-
serializedName: "nextLink",
|
|
1676
|
-
type: {
|
|
1677
|
-
name: "String"
|
|
1678
|
-
}
|
|
1679
|
-
},
|
|
1680
|
-
value: {
|
|
1681
|
-
serializedName: "",
|
|
1682
|
-
type: {
|
|
1683
|
-
name: "Sequence",
|
|
1684
|
-
element: {
|
|
1685
|
-
type: {
|
|
1686
|
-
name: "Composite",
|
|
1687
|
-
className: "UsageModel"
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
};
|
|
1695
|
-
var CachesListResult = {
|
|
1696
|
-
serializedName: "CachesListResult",
|
|
1697
|
-
type: {
|
|
1698
|
-
name: "Composite",
|
|
1699
|
-
className: "CachesListResult",
|
|
1700
|
-
modelProperties: {
|
|
1701
|
-
nextLink: {
|
|
1702
|
-
serializedName: "nextLink",
|
|
1703
|
-
type: {
|
|
1704
|
-
name: "String"
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
value: {
|
|
1708
|
-
serializedName: "",
|
|
1709
|
-
type: {
|
|
1710
|
-
name: "Sequence",
|
|
1711
|
-
element: {
|
|
1712
|
-
type: {
|
|
1713
|
-
name: "Composite",
|
|
1714
|
-
className: "Cache"
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
};
|
|
1722
|
-
var StorageTargetsResult = {
|
|
1723
|
-
serializedName: "StorageTargetsResult",
|
|
1724
|
-
type: {
|
|
1725
|
-
name: "Composite",
|
|
1726
|
-
className: "StorageTargetsResult",
|
|
1727
|
-
modelProperties: {
|
|
1728
|
-
nextLink: {
|
|
1729
|
-
serializedName: "nextLink",
|
|
1730
|
-
type: {
|
|
1731
|
-
name: "String"
|
|
1732
|
-
}
|
|
1733
|
-
},
|
|
1734
|
-
value: {
|
|
1735
|
-
serializedName: "",
|
|
1736
|
-
type: {
|
|
1737
|
-
name: "Sequence",
|
|
1738
|
-
element: {
|
|
1739
|
-
type: {
|
|
1740
|
-
name: "Composite",
|
|
1741
|
-
className: "StorageTarget"
|
|
1742
|
-
}
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
}
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
};
|
|
1749
|
-
|
|
1750
|
-
var mappers = /*#__PURE__*/Object.freeze({
|
|
1751
|
-
__proto__: null,
|
|
1752
|
-
CloudError: CloudError,
|
|
1753
|
-
BaseResource: BaseResource,
|
|
1754
|
-
ApiOperationDisplay: ApiOperationDisplay,
|
|
1755
|
-
MetricDimension: MetricDimension,
|
|
1756
|
-
MetricSpecification: MetricSpecification,
|
|
1757
|
-
ApiOperationPropertiesServiceSpecification: ApiOperationPropertiesServiceSpecification,
|
|
1758
|
-
ApiOperation: ApiOperation,
|
|
1759
|
-
CloudErrorBody: CloudErrorBody,
|
|
1760
|
-
ErrorResponse: ErrorResponse,
|
|
1761
|
-
AscOperation: AscOperation,
|
|
1762
|
-
CacheIdentityUserAssignedIdentitiesValue: CacheIdentityUserAssignedIdentitiesValue,
|
|
1763
|
-
CacheIdentity: CacheIdentity,
|
|
1764
|
-
SystemData: SystemData,
|
|
1765
|
-
Condition: Condition,
|
|
1766
|
-
CacheHealth: CacheHealth,
|
|
1767
|
-
CacheUpgradeStatus: CacheUpgradeStatus,
|
|
1768
|
-
CacheNetworkSettings: CacheNetworkSettings,
|
|
1769
|
-
KeyVaultKeyReferenceSourceVault: KeyVaultKeyReferenceSourceVault,
|
|
1770
|
-
KeyVaultKeyReference: KeyVaultKeyReference,
|
|
1771
|
-
CacheEncryptionSettings: CacheEncryptionSettings,
|
|
1772
|
-
NfsAccessRule: NfsAccessRule,
|
|
1773
|
-
NfsAccessPolicy: NfsAccessPolicy,
|
|
1774
|
-
CacheSecuritySettings: CacheSecuritySettings,
|
|
1775
|
-
CacheActiveDirectorySettingsCredentials: CacheActiveDirectorySettingsCredentials,
|
|
1776
|
-
CacheActiveDirectorySettings: CacheActiveDirectorySettings,
|
|
1777
|
-
CacheUsernameDownloadSettingsCredentials: CacheUsernameDownloadSettingsCredentials,
|
|
1778
|
-
CacheUsernameDownloadSettings: CacheUsernameDownloadSettings,
|
|
1779
|
-
CacheDirectorySettings: CacheDirectorySettings,
|
|
1780
|
-
CacheSku: CacheSku,
|
|
1781
|
-
Cache: Cache,
|
|
1782
|
-
NamespaceJunction: NamespaceJunction,
|
|
1783
|
-
Nfs3Target: Nfs3Target,
|
|
1784
|
-
ClfsTarget: ClfsTarget,
|
|
1785
|
-
UnknownTarget: UnknownTarget,
|
|
1786
|
-
BlobNfsTarget: BlobNfsTarget,
|
|
1787
|
-
StorageTargetResource: StorageTargetResource,
|
|
1788
|
-
StorageTarget: StorageTarget,
|
|
1789
|
-
ResourceSkuCapabilities: ResourceSkuCapabilities,
|
|
1790
|
-
ResourceSkuLocationInfo: ResourceSkuLocationInfo,
|
|
1791
|
-
Restriction: Restriction,
|
|
1792
|
-
ResourceSku: ResourceSku,
|
|
1793
|
-
UsageModelDisplay: UsageModelDisplay,
|
|
1794
|
-
UsageModel: UsageModel,
|
|
1795
|
-
ApiOperationListResult: ApiOperationListResult,
|
|
1796
|
-
ResourceSkusResult: ResourceSkusResult,
|
|
1797
|
-
UsageModelsResult: UsageModelsResult,
|
|
1798
|
-
CachesListResult: CachesListResult,
|
|
1799
|
-
StorageTargetsResult: StorageTargetsResult
|
|
1800
|
-
});
|
|
1801
|
-
|
|
1802
|
-
/*
|
|
1803
|
-
* Copyright (c) Microsoft Corporation.
|
|
1804
|
-
* Licensed under the MIT License.
|
|
1805
|
-
*
|
|
1806
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1807
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1808
|
-
*/
|
|
1809
|
-
|
|
1810
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
1811
|
-
__proto__: null,
|
|
1812
|
-
ApiOperation: ApiOperation,
|
|
1813
|
-
ApiOperationDisplay: ApiOperationDisplay,
|
|
1814
|
-
ApiOperationListResult: ApiOperationListResult,
|
|
1815
|
-
ApiOperationPropertiesServiceSpecification: ApiOperationPropertiesServiceSpecification,
|
|
1816
|
-
CloudError: CloudError,
|
|
1817
|
-
MetricDimension: MetricDimension,
|
|
1818
|
-
MetricSpecification: MetricSpecification
|
|
1819
|
-
});
|
|
1820
|
-
|
|
1821
|
-
/*
|
|
1822
|
-
* Copyright (c) Microsoft Corporation.
|
|
1823
|
-
* Licensed under the MIT License.
|
|
1824
|
-
*
|
|
1825
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1826
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1827
|
-
* regenerated.
|
|
1828
|
-
*/
|
|
1829
|
-
var acceptLanguage = {
|
|
1830
|
-
parameterPath: "acceptLanguage",
|
|
1831
|
-
mapper: {
|
|
1832
|
-
serializedName: "accept-language",
|
|
1833
|
-
defaultValue: 'en-US',
|
|
1834
|
-
type: {
|
|
1835
|
-
name: "String"
|
|
1836
|
-
}
|
|
1837
|
-
}
|
|
1838
|
-
};
|
|
1839
|
-
var apiVersion = {
|
|
1840
|
-
parameterPath: "apiVersion",
|
|
1841
|
-
mapper: {
|
|
1842
|
-
required: true,
|
|
1843
|
-
serializedName: "api-version",
|
|
1844
|
-
type: {
|
|
1845
|
-
name: "String"
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
};
|
|
1849
|
-
var cacheName = {
|
|
1850
|
-
parameterPath: "cacheName",
|
|
1851
|
-
mapper: {
|
|
1852
|
-
required: true,
|
|
1853
|
-
serializedName: "cacheName",
|
|
1854
|
-
constraints: {
|
|
1855
|
-
Pattern: /^[-0-9a-zA-Z_]{1,80}$/
|
|
1856
|
-
},
|
|
1857
|
-
type: {
|
|
1858
|
-
name: "String"
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
};
|
|
1862
|
-
var force = {
|
|
1863
|
-
parameterPath: [
|
|
1864
|
-
"options",
|
|
1865
|
-
"force"
|
|
1866
|
-
],
|
|
1867
|
-
mapper: {
|
|
1868
|
-
serializedName: "force",
|
|
1869
|
-
type: {
|
|
1870
|
-
name: "String"
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
};
|
|
1874
|
-
var location = {
|
|
1875
|
-
parameterPath: "location",
|
|
1876
|
-
mapper: {
|
|
1877
|
-
required: true,
|
|
1878
|
-
serializedName: "location",
|
|
1879
|
-
type: {
|
|
1880
|
-
name: "String"
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
};
|
|
1884
|
-
var nextPageLink = {
|
|
1885
|
-
parameterPath: "nextPageLink",
|
|
1886
|
-
mapper: {
|
|
1887
|
-
required: true,
|
|
1888
|
-
serializedName: "nextLink",
|
|
1889
|
-
type: {
|
|
1890
|
-
name: "String"
|
|
1891
|
-
}
|
|
1892
|
-
},
|
|
1893
|
-
skipEncoding: true
|
|
1894
|
-
};
|
|
1895
|
-
var operationId = {
|
|
1896
|
-
parameterPath: "operationId",
|
|
1897
|
-
mapper: {
|
|
1898
|
-
required: true,
|
|
1899
|
-
serializedName: "operationId",
|
|
1900
|
-
type: {
|
|
1901
|
-
name: "String"
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
};
|
|
1905
|
-
var resourceGroupName = {
|
|
1906
|
-
parameterPath: "resourceGroupName",
|
|
1907
|
-
mapper: {
|
|
1908
|
-
required: true,
|
|
1909
|
-
serializedName: "resourceGroupName",
|
|
1910
|
-
type: {
|
|
1911
|
-
name: "String"
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
};
|
|
1915
|
-
var storageTargetName = {
|
|
1916
|
-
parameterPath: "storageTargetName",
|
|
1917
|
-
mapper: {
|
|
1918
|
-
required: true,
|
|
1919
|
-
serializedName: "storageTargetName",
|
|
1920
|
-
constraints: {
|
|
1921
|
-
Pattern: /^[-0-9a-zA-Z_]{1,80}$/
|
|
1922
|
-
},
|
|
1923
|
-
type: {
|
|
1924
|
-
name: "String"
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
};
|
|
1928
|
-
var subscriptionId = {
|
|
1929
|
-
parameterPath: "subscriptionId",
|
|
1930
|
-
mapper: {
|
|
1931
|
-
required: true,
|
|
1932
|
-
serializedName: "subscriptionId",
|
|
1933
|
-
type: {
|
|
1934
|
-
name: "String"
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
};
|
|
1938
|
-
|
|
1939
|
-
/*
|
|
1940
|
-
* Copyright (c) Microsoft Corporation.
|
|
1941
|
-
* Licensed under the MIT License.
|
|
1942
|
-
*
|
|
1943
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1944
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
1945
|
-
* regenerated.
|
|
1946
|
-
*/
|
|
1947
|
-
/** Class representing a Operations. */
|
|
1948
|
-
var Operations = /** @class */ (function () {
|
|
1949
|
-
/**
|
|
1950
|
-
* Create a Operations.
|
|
1951
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
1952
|
-
*/
|
|
1953
|
-
function Operations(client) {
|
|
1954
|
-
this.client = client;
|
|
1955
|
-
}
|
|
1956
|
-
Operations.prototype.list = function (options, callback) {
|
|
1957
|
-
return this.client.sendOperationRequest({
|
|
1958
|
-
options: options
|
|
1959
|
-
}, listOperationSpec, callback);
|
|
1960
|
-
};
|
|
1961
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
|
1962
|
-
return this.client.sendOperationRequest({
|
|
1963
|
-
nextPageLink: nextPageLink,
|
|
1964
|
-
options: options
|
|
1965
|
-
}, listNextOperationSpec, callback);
|
|
1966
|
-
};
|
|
1967
|
-
return Operations;
|
|
1968
|
-
}());
|
|
1969
|
-
// Operation Specifications
|
|
1970
|
-
var serializer = new msRest.Serializer(Mappers);
|
|
1971
|
-
var listOperationSpec = {
|
|
1972
|
-
httpMethod: "GET",
|
|
1973
|
-
path: "providers/Microsoft.StorageCache/operations",
|
|
1974
|
-
queryParameters: [
|
|
1975
|
-
apiVersion
|
|
1976
|
-
],
|
|
1977
|
-
headerParameters: [
|
|
1978
|
-
acceptLanguage
|
|
1979
|
-
],
|
|
1980
|
-
responses: {
|
|
1981
|
-
200: {
|
|
1982
|
-
bodyMapper: ApiOperationListResult
|
|
1983
|
-
},
|
|
1984
|
-
default: {
|
|
1985
|
-
bodyMapper: CloudError
|
|
1986
|
-
}
|
|
1987
|
-
},
|
|
1988
|
-
serializer: serializer
|
|
1989
|
-
};
|
|
1990
|
-
var listNextOperationSpec = {
|
|
1991
|
-
httpMethod: "GET",
|
|
1992
|
-
baseUrl: "https://management.azure.com",
|
|
1993
|
-
path: "{nextLink}",
|
|
1994
|
-
urlParameters: [
|
|
1995
|
-
nextPageLink
|
|
1996
|
-
],
|
|
1997
|
-
queryParameters: [
|
|
1998
|
-
apiVersion
|
|
1999
|
-
],
|
|
2000
|
-
headerParameters: [
|
|
2001
|
-
acceptLanguage
|
|
2002
|
-
],
|
|
2003
|
-
responses: {
|
|
2004
|
-
200: {
|
|
2005
|
-
bodyMapper: ApiOperationListResult
|
|
2006
|
-
},
|
|
2007
|
-
default: {
|
|
2008
|
-
bodyMapper: CloudError
|
|
2009
|
-
}
|
|
2010
|
-
},
|
|
2011
|
-
serializer: serializer
|
|
2012
|
-
};
|
|
2013
|
-
|
|
2014
|
-
/*
|
|
2015
|
-
* Copyright (c) Microsoft Corporation.
|
|
2016
|
-
* Licensed under the MIT License.
|
|
2017
|
-
*
|
|
2018
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2019
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2020
|
-
*/
|
|
2021
|
-
|
|
2022
|
-
var Mappers$1 = /*#__PURE__*/Object.freeze({
|
|
2023
|
-
__proto__: null,
|
|
2024
|
-
CloudError: CloudError,
|
|
2025
|
-
ResourceSku: ResourceSku,
|
|
2026
|
-
ResourceSkuCapabilities: ResourceSkuCapabilities,
|
|
2027
|
-
ResourceSkuLocationInfo: ResourceSkuLocationInfo,
|
|
2028
|
-
ResourceSkusResult: ResourceSkusResult,
|
|
2029
|
-
Restriction: Restriction
|
|
2030
|
-
});
|
|
2031
|
-
|
|
2032
|
-
/*
|
|
2033
|
-
* Copyright (c) Microsoft Corporation.
|
|
2034
|
-
* Licensed under the MIT License.
|
|
2035
|
-
*
|
|
2036
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2037
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2038
|
-
* regenerated.
|
|
2039
|
-
*/
|
|
2040
|
-
/** Class representing a Skus. */
|
|
2041
|
-
var Skus = /** @class */ (function () {
|
|
2042
|
-
/**
|
|
2043
|
-
* Create a Skus.
|
|
2044
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
2045
|
-
*/
|
|
2046
|
-
function Skus(client) {
|
|
2047
|
-
this.client = client;
|
|
2048
|
-
}
|
|
2049
|
-
Skus.prototype.list = function (options, callback) {
|
|
2050
|
-
return this.client.sendOperationRequest({
|
|
2051
|
-
options: options
|
|
2052
|
-
}, listOperationSpec$1, callback);
|
|
2053
|
-
};
|
|
2054
|
-
Skus.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2055
|
-
return this.client.sendOperationRequest({
|
|
2056
|
-
nextPageLink: nextPageLink,
|
|
2057
|
-
options: options
|
|
2058
|
-
}, listNextOperationSpec$1, callback);
|
|
2059
|
-
};
|
|
2060
|
-
return Skus;
|
|
2061
|
-
}());
|
|
2062
|
-
// Operation Specifications
|
|
2063
|
-
var serializer$1 = new msRest.Serializer(Mappers$1);
|
|
2064
|
-
var listOperationSpec$1 = {
|
|
2065
|
-
httpMethod: "GET",
|
|
2066
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/skus",
|
|
2067
|
-
urlParameters: [
|
|
2068
|
-
subscriptionId
|
|
2069
|
-
],
|
|
2070
|
-
queryParameters: [
|
|
2071
|
-
apiVersion
|
|
2072
|
-
],
|
|
2073
|
-
headerParameters: [
|
|
2074
|
-
acceptLanguage
|
|
2075
|
-
],
|
|
2076
|
-
responses: {
|
|
2077
|
-
200: {
|
|
2078
|
-
bodyMapper: ResourceSkusResult
|
|
2079
|
-
},
|
|
2080
|
-
default: {
|
|
2081
|
-
bodyMapper: CloudError
|
|
2082
|
-
}
|
|
2083
|
-
},
|
|
2084
|
-
serializer: serializer$1
|
|
2085
|
-
};
|
|
2086
|
-
var listNextOperationSpec$1 = {
|
|
2087
|
-
httpMethod: "GET",
|
|
2088
|
-
baseUrl: "https://management.azure.com",
|
|
2089
|
-
path: "{nextLink}",
|
|
2090
|
-
urlParameters: [
|
|
2091
|
-
nextPageLink
|
|
2092
|
-
],
|
|
2093
|
-
queryParameters: [
|
|
2094
|
-
apiVersion
|
|
2095
|
-
],
|
|
2096
|
-
headerParameters: [
|
|
2097
|
-
acceptLanguage
|
|
2098
|
-
],
|
|
2099
|
-
responses: {
|
|
2100
|
-
200: {
|
|
2101
|
-
bodyMapper: ResourceSkusResult
|
|
2102
|
-
},
|
|
2103
|
-
default: {
|
|
2104
|
-
bodyMapper: CloudError
|
|
2105
|
-
}
|
|
2106
|
-
},
|
|
2107
|
-
serializer: serializer$1
|
|
2108
|
-
};
|
|
2109
|
-
|
|
2110
|
-
/*
|
|
2111
|
-
* Copyright (c) Microsoft Corporation.
|
|
2112
|
-
* Licensed under the MIT License.
|
|
2113
|
-
*
|
|
2114
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2115
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2116
|
-
*/
|
|
2117
|
-
|
|
2118
|
-
var Mappers$2 = /*#__PURE__*/Object.freeze({
|
|
2119
|
-
__proto__: null,
|
|
2120
|
-
CloudError: CloudError,
|
|
2121
|
-
UsageModel: UsageModel,
|
|
2122
|
-
UsageModelDisplay: UsageModelDisplay,
|
|
2123
|
-
UsageModelsResult: UsageModelsResult
|
|
2124
|
-
});
|
|
2125
|
-
|
|
2126
|
-
/*
|
|
2127
|
-
* Copyright (c) Microsoft Corporation.
|
|
2128
|
-
* Licensed under the MIT License.
|
|
2129
|
-
*
|
|
2130
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2131
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2132
|
-
* regenerated.
|
|
2133
|
-
*/
|
|
2134
|
-
/** Class representing a UsageModels. */
|
|
2135
|
-
var UsageModels = /** @class */ (function () {
|
|
2136
|
-
/**
|
|
2137
|
-
* Create a UsageModels.
|
|
2138
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
2139
|
-
*/
|
|
2140
|
-
function UsageModels(client) {
|
|
2141
|
-
this.client = client;
|
|
2142
|
-
}
|
|
2143
|
-
UsageModels.prototype.list = function (options, callback) {
|
|
2144
|
-
return this.client.sendOperationRequest({
|
|
2145
|
-
options: options
|
|
2146
|
-
}, listOperationSpec$2, callback);
|
|
2147
|
-
};
|
|
2148
|
-
UsageModels.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2149
|
-
return this.client.sendOperationRequest({
|
|
2150
|
-
nextPageLink: nextPageLink,
|
|
2151
|
-
options: options
|
|
2152
|
-
}, listNextOperationSpec$2, callback);
|
|
2153
|
-
};
|
|
2154
|
-
return UsageModels;
|
|
2155
|
-
}());
|
|
2156
|
-
// Operation Specifications
|
|
2157
|
-
var serializer$2 = new msRest.Serializer(Mappers$2);
|
|
2158
|
-
var listOperationSpec$2 = {
|
|
2159
|
-
httpMethod: "GET",
|
|
2160
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/usageModels",
|
|
2161
|
-
urlParameters: [
|
|
2162
|
-
subscriptionId
|
|
2163
|
-
],
|
|
2164
|
-
queryParameters: [
|
|
2165
|
-
apiVersion
|
|
2166
|
-
],
|
|
2167
|
-
headerParameters: [
|
|
2168
|
-
acceptLanguage
|
|
2169
|
-
],
|
|
2170
|
-
responses: {
|
|
2171
|
-
200: {
|
|
2172
|
-
bodyMapper: UsageModelsResult
|
|
2173
|
-
},
|
|
2174
|
-
default: {
|
|
2175
|
-
bodyMapper: CloudError
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
serializer: serializer$2
|
|
2179
|
-
};
|
|
2180
|
-
var listNextOperationSpec$2 = {
|
|
2181
|
-
httpMethod: "GET",
|
|
2182
|
-
baseUrl: "https://management.azure.com",
|
|
2183
|
-
path: "{nextLink}",
|
|
2184
|
-
urlParameters: [
|
|
2185
|
-
nextPageLink
|
|
2186
|
-
],
|
|
2187
|
-
queryParameters: [
|
|
2188
|
-
apiVersion
|
|
2189
|
-
],
|
|
2190
|
-
headerParameters: [
|
|
2191
|
-
acceptLanguage
|
|
2192
|
-
],
|
|
2193
|
-
responses: {
|
|
2194
|
-
200: {
|
|
2195
|
-
bodyMapper: UsageModelsResult
|
|
2196
|
-
},
|
|
2197
|
-
default: {
|
|
2198
|
-
bodyMapper: CloudError
|
|
2199
|
-
}
|
|
2200
|
-
},
|
|
2201
|
-
serializer: serializer$2
|
|
2202
|
-
};
|
|
2203
|
-
|
|
2204
|
-
/*
|
|
2205
|
-
* Copyright (c) Microsoft Corporation.
|
|
2206
|
-
* Licensed under the MIT License.
|
|
2207
|
-
*
|
|
2208
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2209
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2210
|
-
*/
|
|
2211
|
-
|
|
2212
|
-
var Mappers$3 = /*#__PURE__*/Object.freeze({
|
|
2213
|
-
__proto__: null,
|
|
2214
|
-
AscOperation: AscOperation,
|
|
2215
|
-
CloudError: CloudError,
|
|
2216
|
-
ErrorResponse: ErrorResponse
|
|
2217
|
-
});
|
|
2218
|
-
|
|
2219
|
-
/*
|
|
2220
|
-
* Copyright (c) Microsoft Corporation.
|
|
2221
|
-
* Licensed under the MIT License.
|
|
2222
|
-
*
|
|
2223
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2224
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2225
|
-
* regenerated.
|
|
2226
|
-
*/
|
|
2227
|
-
/** Class representing a AscOperations. */
|
|
2228
|
-
var AscOperations = /** @class */ (function () {
|
|
2229
|
-
/**
|
|
2230
|
-
* Create a AscOperations.
|
|
2231
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
2232
|
-
*/
|
|
2233
|
-
function AscOperations(client) {
|
|
2234
|
-
this.client = client;
|
|
2235
|
-
}
|
|
2236
|
-
AscOperations.prototype.get = function (location, operationId, options, callback) {
|
|
2237
|
-
return this.client.sendOperationRequest({
|
|
2238
|
-
location: location,
|
|
2239
|
-
operationId: operationId,
|
|
2240
|
-
options: options
|
|
2241
|
-
}, getOperationSpec, callback);
|
|
2242
|
-
};
|
|
2243
|
-
return AscOperations;
|
|
2244
|
-
}());
|
|
2245
|
-
// Operation Specifications
|
|
2246
|
-
var serializer$3 = new msRest.Serializer(Mappers$3);
|
|
2247
|
-
var getOperationSpec = {
|
|
2248
|
-
httpMethod: "GET",
|
|
2249
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/locations/{location}/ascOperations/{operationId}",
|
|
2250
|
-
urlParameters: [
|
|
2251
|
-
subscriptionId,
|
|
2252
|
-
location,
|
|
2253
|
-
operationId
|
|
2254
|
-
],
|
|
2255
|
-
queryParameters: [
|
|
2256
|
-
apiVersion
|
|
2257
|
-
],
|
|
2258
|
-
headerParameters: [
|
|
2259
|
-
acceptLanguage
|
|
2260
|
-
],
|
|
2261
|
-
responses: {
|
|
2262
|
-
200: {
|
|
2263
|
-
bodyMapper: AscOperation
|
|
2264
|
-
},
|
|
2265
|
-
default: {
|
|
2266
|
-
bodyMapper: CloudError
|
|
2267
|
-
}
|
|
2268
|
-
},
|
|
2269
|
-
serializer: serializer$3
|
|
2270
|
-
};
|
|
2271
|
-
|
|
2272
|
-
/*
|
|
2273
|
-
* Copyright (c) Microsoft Corporation.
|
|
2274
|
-
* Licensed under the MIT License.
|
|
2275
|
-
*
|
|
2276
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2277
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2278
|
-
*/
|
|
2279
|
-
|
|
2280
|
-
var Mappers$4 = /*#__PURE__*/Object.freeze({
|
|
2281
|
-
__proto__: null,
|
|
2282
|
-
BaseResource: BaseResource,
|
|
2283
|
-
BlobNfsTarget: BlobNfsTarget,
|
|
2284
|
-
Cache: Cache,
|
|
2285
|
-
CacheActiveDirectorySettings: CacheActiveDirectorySettings,
|
|
2286
|
-
CacheActiveDirectorySettingsCredentials: CacheActiveDirectorySettingsCredentials,
|
|
2287
|
-
CacheDirectorySettings: CacheDirectorySettings,
|
|
2288
|
-
CacheEncryptionSettings: CacheEncryptionSettings,
|
|
2289
|
-
CacheHealth: CacheHealth,
|
|
2290
|
-
CacheIdentity: CacheIdentity,
|
|
2291
|
-
CacheIdentityUserAssignedIdentitiesValue: CacheIdentityUserAssignedIdentitiesValue,
|
|
2292
|
-
CacheNetworkSettings: CacheNetworkSettings,
|
|
2293
|
-
CacheSecuritySettings: CacheSecuritySettings,
|
|
2294
|
-
CacheSku: CacheSku,
|
|
2295
|
-
CachesListResult: CachesListResult,
|
|
2296
|
-
CacheUpgradeStatus: CacheUpgradeStatus,
|
|
2297
|
-
CacheUsernameDownloadSettings: CacheUsernameDownloadSettings,
|
|
2298
|
-
CacheUsernameDownloadSettingsCredentials: CacheUsernameDownloadSettingsCredentials,
|
|
2299
|
-
ClfsTarget: ClfsTarget,
|
|
2300
|
-
CloudError: CloudError,
|
|
2301
|
-
Condition: Condition,
|
|
2302
|
-
KeyVaultKeyReference: KeyVaultKeyReference,
|
|
2303
|
-
KeyVaultKeyReferenceSourceVault: KeyVaultKeyReferenceSourceVault,
|
|
2304
|
-
NamespaceJunction: NamespaceJunction,
|
|
2305
|
-
Nfs3Target: Nfs3Target,
|
|
2306
|
-
NfsAccessPolicy: NfsAccessPolicy,
|
|
2307
|
-
NfsAccessRule: NfsAccessRule,
|
|
2308
|
-
StorageTarget: StorageTarget,
|
|
2309
|
-
StorageTargetResource: StorageTargetResource,
|
|
2310
|
-
SystemData: SystemData,
|
|
2311
|
-
UnknownTarget: UnknownTarget
|
|
2312
|
-
});
|
|
2313
|
-
|
|
2314
|
-
/*
|
|
2315
|
-
* Copyright (c) Microsoft Corporation.
|
|
2316
|
-
* Licensed under the MIT License.
|
|
2317
|
-
*
|
|
2318
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2319
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2320
|
-
* regenerated.
|
|
2321
|
-
*/
|
|
2322
|
-
/** Class representing a Caches. */
|
|
2323
|
-
var Caches = /** @class */ (function () {
|
|
2324
|
-
/**
|
|
2325
|
-
* Create a Caches.
|
|
2326
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
2327
|
-
*/
|
|
2328
|
-
function Caches(client) {
|
|
2329
|
-
this.client = client;
|
|
2330
|
-
}
|
|
2331
|
-
Caches.prototype.list = function (options, callback) {
|
|
2332
|
-
return this.client.sendOperationRequest({
|
|
2333
|
-
options: options
|
|
2334
|
-
}, listOperationSpec$3, callback);
|
|
2335
|
-
};
|
|
2336
|
-
Caches.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
|
|
2337
|
-
return this.client.sendOperationRequest({
|
|
2338
|
-
resourceGroupName: resourceGroupName,
|
|
2339
|
-
options: options
|
|
2340
|
-
}, listByResourceGroupOperationSpec, callback);
|
|
2341
|
-
};
|
|
2342
|
-
/**
|
|
2343
|
-
* Schedules a Cache for deletion.
|
|
2344
|
-
* @param resourceGroupName Target resource group.
|
|
2345
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2346
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2347
|
-
* @param [options] The optional parameters
|
|
2348
|
-
* @returns Promise<msRest.RestResponse>
|
|
2349
|
-
*/
|
|
2350
|
-
Caches.prototype.deleteMethod = function (resourceGroupName, cacheName, options) {
|
|
2351
|
-
return this.beginDeleteMethod(resourceGroupName, cacheName, options)
|
|
2352
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2353
|
-
};
|
|
2354
|
-
Caches.prototype.get = function (resourceGroupName, cacheName, options, callback) {
|
|
2355
|
-
return this.client.sendOperationRequest({
|
|
2356
|
-
resourceGroupName: resourceGroupName,
|
|
2357
|
-
cacheName: cacheName,
|
|
2358
|
-
options: options
|
|
2359
|
-
}, getOperationSpec$1, callback);
|
|
2360
|
-
};
|
|
2361
|
-
/**
|
|
2362
|
-
* Create or update a Cache.
|
|
2363
|
-
* @param resourceGroupName Target resource group.
|
|
2364
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2365
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2366
|
-
* @param [options] The optional parameters
|
|
2367
|
-
* @returns Promise<Models.CachesCreateOrUpdateResponse>
|
|
2368
|
-
*/
|
|
2369
|
-
Caches.prototype.createOrUpdate = function (resourceGroupName, cacheName, options) {
|
|
2370
|
-
return this.beginCreateOrUpdate(resourceGroupName, cacheName, options)
|
|
2371
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2372
|
-
};
|
|
2373
|
-
Caches.prototype.update = function (resourceGroupName, cacheName, options, callback) {
|
|
2374
|
-
return this.client.sendOperationRequest({
|
|
2375
|
-
resourceGroupName: resourceGroupName,
|
|
2376
|
-
cacheName: cacheName,
|
|
2377
|
-
options: options
|
|
2378
|
-
}, updateOperationSpec, callback);
|
|
2379
|
-
};
|
|
2380
|
-
/**
|
|
2381
|
-
* Tells a Cache to write generate debug info for support to process.
|
|
2382
|
-
* @param resourceGroupName Target resource group.
|
|
2383
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2384
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2385
|
-
* @param [options] The optional parameters
|
|
2386
|
-
* @returns Promise<msRest.RestResponse>
|
|
2387
|
-
*/
|
|
2388
|
-
Caches.prototype.debugInfo = function (resourceGroupName, cacheName, options) {
|
|
2389
|
-
return this.beginDebugInfo(resourceGroupName, cacheName, options)
|
|
2390
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2391
|
-
};
|
|
2392
|
-
/**
|
|
2393
|
-
* Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will
|
|
2394
|
-
* see errors returned until the flush is complete.
|
|
2395
|
-
* @param resourceGroupName Target resource group.
|
|
2396
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2397
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2398
|
-
* @param [options] The optional parameters
|
|
2399
|
-
* @returns Promise<msRest.RestResponse>
|
|
2400
|
-
*/
|
|
2401
|
-
Caches.prototype.flush = function (resourceGroupName, cacheName, options) {
|
|
2402
|
-
return this.beginFlush(resourceGroupName, cacheName, options)
|
|
2403
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2404
|
-
};
|
|
2405
|
-
/**
|
|
2406
|
-
* Tells a Stopped state Cache to transition to Active state.
|
|
2407
|
-
* @param resourceGroupName Target resource group.
|
|
2408
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2409
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2410
|
-
* @param [options] The optional parameters
|
|
2411
|
-
* @returns Promise<msRest.RestResponse>
|
|
2412
|
-
*/
|
|
2413
|
-
Caches.prototype.start = function (resourceGroupName, cacheName, options) {
|
|
2414
|
-
return this.beginStart(resourceGroupName, cacheName, options)
|
|
2415
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2416
|
-
};
|
|
2417
|
-
/**
|
|
2418
|
-
* Tells an Active Cache to transition to Stopped state.
|
|
2419
|
-
* @param resourceGroupName Target resource group.
|
|
2420
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2421
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2422
|
-
* @param [options] The optional parameters
|
|
2423
|
-
* @returns Promise<msRest.RestResponse>
|
|
2424
|
-
*/
|
|
2425
|
-
Caches.prototype.stop = function (resourceGroupName, cacheName, options) {
|
|
2426
|
-
return this.beginStop(resourceGroupName, cacheName, options)
|
|
2427
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2428
|
-
};
|
|
2429
|
-
/**
|
|
2430
|
-
* Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no
|
|
2431
|
-
* effect.
|
|
2432
|
-
* @param resourceGroupName Target resource group.
|
|
2433
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2434
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2435
|
-
* @param [options] The optional parameters
|
|
2436
|
-
* @returns Promise<msRest.RestResponse>
|
|
2437
|
-
*/
|
|
2438
|
-
Caches.prototype.upgradeFirmware = function (resourceGroupName, cacheName, options) {
|
|
2439
|
-
return this.beginUpgradeFirmware(resourceGroupName, cacheName, options)
|
|
2440
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2441
|
-
};
|
|
2442
|
-
/**
|
|
2443
|
-
* Schedules a Cache for deletion.
|
|
2444
|
-
* @param resourceGroupName Target resource group.
|
|
2445
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2446
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2447
|
-
* @param [options] The optional parameters
|
|
2448
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2449
|
-
*/
|
|
2450
|
-
Caches.prototype.beginDeleteMethod = function (resourceGroupName, cacheName, options) {
|
|
2451
|
-
return this.client.sendLRORequest({
|
|
2452
|
-
resourceGroupName: resourceGroupName,
|
|
2453
|
-
cacheName: cacheName,
|
|
2454
|
-
options: options
|
|
2455
|
-
}, beginDeleteMethodOperationSpec, options);
|
|
2456
|
-
};
|
|
2457
|
-
/**
|
|
2458
|
-
* Create or update a Cache.
|
|
2459
|
-
* @param resourceGroupName Target resource group.
|
|
2460
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2461
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2462
|
-
* @param [options] The optional parameters
|
|
2463
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2464
|
-
*/
|
|
2465
|
-
Caches.prototype.beginCreateOrUpdate = function (resourceGroupName, cacheName, options) {
|
|
2466
|
-
return this.client.sendLRORequest({
|
|
2467
|
-
resourceGroupName: resourceGroupName,
|
|
2468
|
-
cacheName: cacheName,
|
|
2469
|
-
options: options
|
|
2470
|
-
}, beginCreateOrUpdateOperationSpec, options);
|
|
2471
|
-
};
|
|
2472
|
-
/**
|
|
2473
|
-
* Tells a Cache to write generate debug info for support to process.
|
|
2474
|
-
* @param resourceGroupName Target resource group.
|
|
2475
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2476
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2477
|
-
* @param [options] The optional parameters
|
|
2478
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2479
|
-
*/
|
|
2480
|
-
Caches.prototype.beginDebugInfo = function (resourceGroupName, cacheName, options) {
|
|
2481
|
-
return this.client.sendLRORequest({
|
|
2482
|
-
resourceGroupName: resourceGroupName,
|
|
2483
|
-
cacheName: cacheName,
|
|
2484
|
-
options: options
|
|
2485
|
-
}, beginDebugInfoOperationSpec, options);
|
|
2486
|
-
};
|
|
2487
|
-
/**
|
|
2488
|
-
* Tells a Cache to write all dirty data to the Storage Target(s). During the flush, clients will
|
|
2489
|
-
* see errors returned until the flush is complete.
|
|
2490
|
-
* @param resourceGroupName Target resource group.
|
|
2491
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2492
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2493
|
-
* @param [options] The optional parameters
|
|
2494
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2495
|
-
*/
|
|
2496
|
-
Caches.prototype.beginFlush = function (resourceGroupName, cacheName, options) {
|
|
2497
|
-
return this.client.sendLRORequest({
|
|
2498
|
-
resourceGroupName: resourceGroupName,
|
|
2499
|
-
cacheName: cacheName,
|
|
2500
|
-
options: options
|
|
2501
|
-
}, beginFlushOperationSpec, options);
|
|
2502
|
-
};
|
|
2503
|
-
/**
|
|
2504
|
-
* Tells a Stopped state Cache to transition to Active state.
|
|
2505
|
-
* @param resourceGroupName Target resource group.
|
|
2506
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2507
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2508
|
-
* @param [options] The optional parameters
|
|
2509
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2510
|
-
*/
|
|
2511
|
-
Caches.prototype.beginStart = function (resourceGroupName, cacheName, options) {
|
|
2512
|
-
return this.client.sendLRORequest({
|
|
2513
|
-
resourceGroupName: resourceGroupName,
|
|
2514
|
-
cacheName: cacheName,
|
|
2515
|
-
options: options
|
|
2516
|
-
}, beginStartOperationSpec, options);
|
|
2517
|
-
};
|
|
2518
|
-
/**
|
|
2519
|
-
* Tells an Active Cache to transition to Stopped state.
|
|
2520
|
-
* @param resourceGroupName Target resource group.
|
|
2521
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2522
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2523
|
-
* @param [options] The optional parameters
|
|
2524
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2525
|
-
*/
|
|
2526
|
-
Caches.prototype.beginStop = function (resourceGroupName, cacheName, options) {
|
|
2527
|
-
return this.client.sendLRORequest({
|
|
2528
|
-
resourceGroupName: resourceGroupName,
|
|
2529
|
-
cacheName: cacheName,
|
|
2530
|
-
options: options
|
|
2531
|
-
}, beginStopOperationSpec, options);
|
|
2532
|
-
};
|
|
2533
|
-
/**
|
|
2534
|
-
* Upgrade a Cache's firmware if a new version is available. Otherwise, this operation has no
|
|
2535
|
-
* effect.
|
|
2536
|
-
* @param resourceGroupName Target resource group.
|
|
2537
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2538
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2539
|
-
* @param [options] The optional parameters
|
|
2540
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
2541
|
-
*/
|
|
2542
|
-
Caches.prototype.beginUpgradeFirmware = function (resourceGroupName, cacheName, options) {
|
|
2543
|
-
return this.client.sendLRORequest({
|
|
2544
|
-
resourceGroupName: resourceGroupName,
|
|
2545
|
-
cacheName: cacheName,
|
|
2546
|
-
options: options
|
|
2547
|
-
}, beginUpgradeFirmwareOperationSpec, options);
|
|
2548
|
-
};
|
|
2549
|
-
Caches.prototype.listNext = function (nextPageLink, options, callback) {
|
|
2550
|
-
return this.client.sendOperationRequest({
|
|
2551
|
-
nextPageLink: nextPageLink,
|
|
2552
|
-
options: options
|
|
2553
|
-
}, listNextOperationSpec$3, callback);
|
|
2554
|
-
};
|
|
2555
|
-
Caches.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
|
|
2556
|
-
return this.client.sendOperationRequest({
|
|
2557
|
-
nextPageLink: nextPageLink,
|
|
2558
|
-
options: options
|
|
2559
|
-
}, listByResourceGroupNextOperationSpec, callback);
|
|
2560
|
-
};
|
|
2561
|
-
return Caches;
|
|
2562
|
-
}());
|
|
2563
|
-
// Operation Specifications
|
|
2564
|
-
var serializer$4 = new msRest.Serializer(Mappers$4);
|
|
2565
|
-
var listOperationSpec$3 = {
|
|
2566
|
-
httpMethod: "GET",
|
|
2567
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.StorageCache/caches",
|
|
2568
|
-
urlParameters: [
|
|
2569
|
-
subscriptionId
|
|
2570
|
-
],
|
|
2571
|
-
queryParameters: [
|
|
2572
|
-
apiVersion
|
|
2573
|
-
],
|
|
2574
|
-
headerParameters: [
|
|
2575
|
-
acceptLanguage
|
|
2576
|
-
],
|
|
2577
|
-
responses: {
|
|
2578
|
-
200: {
|
|
2579
|
-
bodyMapper: CachesListResult
|
|
2580
|
-
},
|
|
2581
|
-
default: {
|
|
2582
|
-
bodyMapper: CloudError
|
|
2583
|
-
}
|
|
2584
|
-
},
|
|
2585
|
-
serializer: serializer$4
|
|
2586
|
-
};
|
|
2587
|
-
var listByResourceGroupOperationSpec = {
|
|
2588
|
-
httpMethod: "GET",
|
|
2589
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches",
|
|
2590
|
-
urlParameters: [
|
|
2591
|
-
resourceGroupName,
|
|
2592
|
-
subscriptionId
|
|
2593
|
-
],
|
|
2594
|
-
queryParameters: [
|
|
2595
|
-
apiVersion
|
|
2596
|
-
],
|
|
2597
|
-
headerParameters: [
|
|
2598
|
-
acceptLanguage
|
|
2599
|
-
],
|
|
2600
|
-
responses: {
|
|
2601
|
-
200: {
|
|
2602
|
-
bodyMapper: CachesListResult
|
|
2603
|
-
},
|
|
2604
|
-
default: {
|
|
2605
|
-
bodyMapper: CloudError
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
serializer: serializer$4
|
|
2609
|
-
};
|
|
2610
|
-
var getOperationSpec$1 = {
|
|
2611
|
-
httpMethod: "GET",
|
|
2612
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
2613
|
-
urlParameters: [
|
|
2614
|
-
resourceGroupName,
|
|
2615
|
-
cacheName,
|
|
2616
|
-
subscriptionId
|
|
2617
|
-
],
|
|
2618
|
-
queryParameters: [
|
|
2619
|
-
apiVersion
|
|
2620
|
-
],
|
|
2621
|
-
headerParameters: [
|
|
2622
|
-
acceptLanguage
|
|
2623
|
-
],
|
|
2624
|
-
responses: {
|
|
2625
|
-
200: {
|
|
2626
|
-
bodyMapper: Cache
|
|
2627
|
-
},
|
|
2628
|
-
default: {
|
|
2629
|
-
bodyMapper: CloudError
|
|
2630
|
-
}
|
|
2631
|
-
},
|
|
2632
|
-
serializer: serializer$4
|
|
2633
|
-
};
|
|
2634
|
-
var updateOperationSpec = {
|
|
2635
|
-
httpMethod: "PATCH",
|
|
2636
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
2637
|
-
urlParameters: [
|
|
2638
|
-
resourceGroupName,
|
|
2639
|
-
subscriptionId,
|
|
2640
|
-
cacheName
|
|
2641
|
-
],
|
|
2642
|
-
queryParameters: [
|
|
2643
|
-
apiVersion
|
|
2644
|
-
],
|
|
2645
|
-
headerParameters: [
|
|
2646
|
-
acceptLanguage
|
|
2647
|
-
],
|
|
2648
|
-
requestBody: {
|
|
2649
|
-
parameterPath: [
|
|
2650
|
-
"options",
|
|
2651
|
-
"cache"
|
|
2652
|
-
],
|
|
2653
|
-
mapper: Cache
|
|
2654
|
-
},
|
|
2655
|
-
responses: {
|
|
2656
|
-
200: {
|
|
2657
|
-
bodyMapper: Cache
|
|
2658
|
-
},
|
|
2659
|
-
default: {
|
|
2660
|
-
bodyMapper: CloudError
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
serializer: serializer$4
|
|
2664
|
-
};
|
|
2665
|
-
var beginDeleteMethodOperationSpec = {
|
|
2666
|
-
httpMethod: "DELETE",
|
|
2667
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
2668
|
-
urlParameters: [
|
|
2669
|
-
resourceGroupName,
|
|
2670
|
-
cacheName,
|
|
2671
|
-
subscriptionId
|
|
2672
|
-
],
|
|
2673
|
-
queryParameters: [
|
|
2674
|
-
apiVersion
|
|
2675
|
-
],
|
|
2676
|
-
headerParameters: [
|
|
2677
|
-
acceptLanguage
|
|
2678
|
-
],
|
|
2679
|
-
responses: {
|
|
2680
|
-
200: {},
|
|
2681
|
-
202: {},
|
|
2682
|
-
204: {},
|
|
2683
|
-
default: {
|
|
2684
|
-
bodyMapper: CloudError
|
|
2685
|
-
}
|
|
2686
|
-
},
|
|
2687
|
-
serializer: serializer$4
|
|
2688
|
-
};
|
|
2689
|
-
var beginCreateOrUpdateOperationSpec = {
|
|
2690
|
-
httpMethod: "PUT",
|
|
2691
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}",
|
|
2692
|
-
urlParameters: [
|
|
2693
|
-
resourceGroupName,
|
|
2694
|
-
subscriptionId,
|
|
2695
|
-
cacheName
|
|
2696
|
-
],
|
|
2697
|
-
queryParameters: [
|
|
2698
|
-
apiVersion
|
|
2699
|
-
],
|
|
2700
|
-
headerParameters: [
|
|
2701
|
-
acceptLanguage
|
|
2702
|
-
],
|
|
2703
|
-
requestBody: {
|
|
2704
|
-
parameterPath: [
|
|
2705
|
-
"options",
|
|
2706
|
-
"cache"
|
|
2707
|
-
],
|
|
2708
|
-
mapper: Cache
|
|
2709
|
-
},
|
|
2710
|
-
responses: {
|
|
2711
|
-
200: {
|
|
2712
|
-
bodyMapper: Cache
|
|
2713
|
-
},
|
|
2714
|
-
201: {
|
|
2715
|
-
bodyMapper: Cache
|
|
2716
|
-
},
|
|
2717
|
-
202: {},
|
|
2718
|
-
default: {
|
|
2719
|
-
bodyMapper: CloudError
|
|
2720
|
-
}
|
|
2721
|
-
},
|
|
2722
|
-
serializer: serializer$4
|
|
2723
|
-
};
|
|
2724
|
-
var beginDebugInfoOperationSpec = {
|
|
2725
|
-
httpMethod: "POST",
|
|
2726
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/debugInfo",
|
|
2727
|
-
urlParameters: [
|
|
2728
|
-
resourceGroupName,
|
|
2729
|
-
subscriptionId,
|
|
2730
|
-
cacheName
|
|
2731
|
-
],
|
|
2732
|
-
queryParameters: [
|
|
2733
|
-
apiVersion
|
|
2734
|
-
],
|
|
2735
|
-
headerParameters: [
|
|
2736
|
-
acceptLanguage
|
|
2737
|
-
],
|
|
2738
|
-
responses: {
|
|
2739
|
-
200: {},
|
|
2740
|
-
202: {},
|
|
2741
|
-
204: {},
|
|
2742
|
-
default: {
|
|
2743
|
-
bodyMapper: CloudError
|
|
2744
|
-
}
|
|
2745
|
-
},
|
|
2746
|
-
serializer: serializer$4
|
|
2747
|
-
};
|
|
2748
|
-
var beginFlushOperationSpec = {
|
|
2749
|
-
httpMethod: "POST",
|
|
2750
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/flush",
|
|
2751
|
-
urlParameters: [
|
|
2752
|
-
resourceGroupName,
|
|
2753
|
-
subscriptionId,
|
|
2754
|
-
cacheName
|
|
2755
|
-
],
|
|
2756
|
-
queryParameters: [
|
|
2757
|
-
apiVersion
|
|
2758
|
-
],
|
|
2759
|
-
headerParameters: [
|
|
2760
|
-
acceptLanguage
|
|
2761
|
-
],
|
|
2762
|
-
responses: {
|
|
2763
|
-
200: {},
|
|
2764
|
-
202: {},
|
|
2765
|
-
204: {},
|
|
2766
|
-
default: {
|
|
2767
|
-
bodyMapper: CloudError
|
|
2768
|
-
}
|
|
2769
|
-
},
|
|
2770
|
-
serializer: serializer$4
|
|
2771
|
-
};
|
|
2772
|
-
var beginStartOperationSpec = {
|
|
2773
|
-
httpMethod: "POST",
|
|
2774
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/start",
|
|
2775
|
-
urlParameters: [
|
|
2776
|
-
resourceGroupName,
|
|
2777
|
-
subscriptionId,
|
|
2778
|
-
cacheName
|
|
2779
|
-
],
|
|
2780
|
-
queryParameters: [
|
|
2781
|
-
apiVersion
|
|
2782
|
-
],
|
|
2783
|
-
headerParameters: [
|
|
2784
|
-
acceptLanguage
|
|
2785
|
-
],
|
|
2786
|
-
responses: {
|
|
2787
|
-
200: {},
|
|
2788
|
-
202: {},
|
|
2789
|
-
204: {},
|
|
2790
|
-
default: {
|
|
2791
|
-
bodyMapper: CloudError
|
|
2792
|
-
}
|
|
2793
|
-
},
|
|
2794
|
-
serializer: serializer$4
|
|
2795
|
-
};
|
|
2796
|
-
var beginStopOperationSpec = {
|
|
2797
|
-
httpMethod: "POST",
|
|
2798
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/stop",
|
|
2799
|
-
urlParameters: [
|
|
2800
|
-
resourceGroupName,
|
|
2801
|
-
subscriptionId,
|
|
2802
|
-
cacheName
|
|
2803
|
-
],
|
|
2804
|
-
queryParameters: [
|
|
2805
|
-
apiVersion
|
|
2806
|
-
],
|
|
2807
|
-
headerParameters: [
|
|
2808
|
-
acceptLanguage
|
|
2809
|
-
],
|
|
2810
|
-
responses: {
|
|
2811
|
-
200: {},
|
|
2812
|
-
202: {},
|
|
2813
|
-
204: {},
|
|
2814
|
-
default: {
|
|
2815
|
-
bodyMapper: CloudError
|
|
2816
|
-
}
|
|
2817
|
-
},
|
|
2818
|
-
serializer: serializer$4
|
|
2819
|
-
};
|
|
2820
|
-
var beginUpgradeFirmwareOperationSpec = {
|
|
2821
|
-
httpMethod: "POST",
|
|
2822
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/upgrade",
|
|
2823
|
-
urlParameters: [
|
|
2824
|
-
resourceGroupName,
|
|
2825
|
-
subscriptionId,
|
|
2826
|
-
cacheName
|
|
2827
|
-
],
|
|
2828
|
-
queryParameters: [
|
|
2829
|
-
apiVersion
|
|
2830
|
-
],
|
|
2831
|
-
headerParameters: [
|
|
2832
|
-
acceptLanguage
|
|
2833
|
-
],
|
|
2834
|
-
responses: {
|
|
2835
|
-
201: {},
|
|
2836
|
-
202: {},
|
|
2837
|
-
204: {},
|
|
2838
|
-
default: {
|
|
2839
|
-
bodyMapper: CloudError
|
|
2840
|
-
}
|
|
2841
|
-
},
|
|
2842
|
-
serializer: serializer$4
|
|
2843
|
-
};
|
|
2844
|
-
var listNextOperationSpec$3 = {
|
|
2845
|
-
httpMethod: "GET",
|
|
2846
|
-
baseUrl: "https://management.azure.com",
|
|
2847
|
-
path: "{nextLink}",
|
|
2848
|
-
urlParameters: [
|
|
2849
|
-
nextPageLink
|
|
2850
|
-
],
|
|
2851
|
-
queryParameters: [
|
|
2852
|
-
apiVersion
|
|
2853
|
-
],
|
|
2854
|
-
headerParameters: [
|
|
2855
|
-
acceptLanguage
|
|
2856
|
-
],
|
|
2857
|
-
responses: {
|
|
2858
|
-
200: {
|
|
2859
|
-
bodyMapper: CachesListResult
|
|
2860
|
-
},
|
|
2861
|
-
default: {
|
|
2862
|
-
bodyMapper: CloudError
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
serializer: serializer$4
|
|
2866
|
-
};
|
|
2867
|
-
var listByResourceGroupNextOperationSpec = {
|
|
2868
|
-
httpMethod: "GET",
|
|
2869
|
-
baseUrl: "https://management.azure.com",
|
|
2870
|
-
path: "{nextLink}",
|
|
2871
|
-
urlParameters: [
|
|
2872
|
-
nextPageLink
|
|
2873
|
-
],
|
|
2874
|
-
queryParameters: [
|
|
2875
|
-
apiVersion
|
|
2876
|
-
],
|
|
2877
|
-
headerParameters: [
|
|
2878
|
-
acceptLanguage
|
|
2879
|
-
],
|
|
2880
|
-
responses: {
|
|
2881
|
-
200: {
|
|
2882
|
-
bodyMapper: CachesListResult
|
|
2883
|
-
},
|
|
2884
|
-
default: {
|
|
2885
|
-
bodyMapper: CloudError
|
|
2886
|
-
}
|
|
2887
|
-
},
|
|
2888
|
-
serializer: serializer$4
|
|
2889
|
-
};
|
|
2890
|
-
|
|
2891
|
-
/*
|
|
2892
|
-
* Copyright (c) Microsoft Corporation.
|
|
2893
|
-
* Licensed under the MIT License.
|
|
2894
|
-
*
|
|
2895
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2896
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2897
|
-
*/
|
|
2898
|
-
|
|
2899
|
-
var Mappers$5 = /*#__PURE__*/Object.freeze({
|
|
2900
|
-
__proto__: null,
|
|
2901
|
-
BaseResource: BaseResource,
|
|
2902
|
-
BlobNfsTarget: BlobNfsTarget,
|
|
2903
|
-
Cache: Cache,
|
|
2904
|
-
CacheActiveDirectorySettings: CacheActiveDirectorySettings,
|
|
2905
|
-
CacheActiveDirectorySettingsCredentials: CacheActiveDirectorySettingsCredentials,
|
|
2906
|
-
CacheDirectorySettings: CacheDirectorySettings,
|
|
2907
|
-
CacheEncryptionSettings: CacheEncryptionSettings,
|
|
2908
|
-
CacheHealth: CacheHealth,
|
|
2909
|
-
CacheIdentity: CacheIdentity,
|
|
2910
|
-
CacheIdentityUserAssignedIdentitiesValue: CacheIdentityUserAssignedIdentitiesValue,
|
|
2911
|
-
CacheNetworkSettings: CacheNetworkSettings,
|
|
2912
|
-
CacheSecuritySettings: CacheSecuritySettings,
|
|
2913
|
-
CacheSku: CacheSku,
|
|
2914
|
-
CacheUpgradeStatus: CacheUpgradeStatus,
|
|
2915
|
-
CacheUsernameDownloadSettings: CacheUsernameDownloadSettings,
|
|
2916
|
-
CacheUsernameDownloadSettingsCredentials: CacheUsernameDownloadSettingsCredentials,
|
|
2917
|
-
ClfsTarget: ClfsTarget,
|
|
2918
|
-
CloudError: CloudError,
|
|
2919
|
-
Condition: Condition,
|
|
2920
|
-
KeyVaultKeyReference: KeyVaultKeyReference,
|
|
2921
|
-
KeyVaultKeyReferenceSourceVault: KeyVaultKeyReferenceSourceVault,
|
|
2922
|
-
NamespaceJunction: NamespaceJunction,
|
|
2923
|
-
Nfs3Target: Nfs3Target,
|
|
2924
|
-
NfsAccessPolicy: NfsAccessPolicy,
|
|
2925
|
-
NfsAccessRule: NfsAccessRule,
|
|
2926
|
-
StorageTarget: StorageTarget,
|
|
2927
|
-
StorageTargetResource: StorageTargetResource,
|
|
2928
|
-
StorageTargetsResult: StorageTargetsResult,
|
|
2929
|
-
SystemData: SystemData,
|
|
2930
|
-
UnknownTarget: UnknownTarget
|
|
2931
|
-
});
|
|
2932
|
-
|
|
2933
|
-
/*
|
|
2934
|
-
* Copyright (c) Microsoft Corporation.
|
|
2935
|
-
* Licensed under the MIT License.
|
|
2936
|
-
*
|
|
2937
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2938
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
2939
|
-
* regenerated.
|
|
2940
|
-
*/
|
|
2941
|
-
/** Class representing a StorageTargets. */
|
|
2942
|
-
var StorageTargets = /** @class */ (function () {
|
|
2943
|
-
/**
|
|
2944
|
-
* Create a StorageTargets.
|
|
2945
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
2946
|
-
*/
|
|
2947
|
-
function StorageTargets(client) {
|
|
2948
|
-
this.client = client;
|
|
2949
|
-
}
|
|
2950
|
-
/**
|
|
2951
|
-
* Tells a storage target to refresh its DNS information.
|
|
2952
|
-
* @param resourceGroupName Target resource group.
|
|
2953
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2954
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2955
|
-
* @param storageTargetName Name of Storage Target.
|
|
2956
|
-
* @param [options] The optional parameters
|
|
2957
|
-
* @returns Promise<msRest.RestResponse>
|
|
2958
|
-
*/
|
|
2959
|
-
StorageTargets.prototype.dnsRefresh = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
2960
|
-
return this.beginDnsRefresh(resourceGroupName, cacheName, storageTargetName, options)
|
|
2961
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2962
|
-
};
|
|
2963
|
-
StorageTargets.prototype.listByCache = function (resourceGroupName, cacheName, options, callback) {
|
|
2964
|
-
return this.client.sendOperationRequest({
|
|
2965
|
-
resourceGroupName: resourceGroupName,
|
|
2966
|
-
cacheName: cacheName,
|
|
2967
|
-
options: options
|
|
2968
|
-
}, listByCacheOperationSpec, callback);
|
|
2969
|
-
};
|
|
2970
|
-
/**
|
|
2971
|
-
* Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache
|
|
2972
|
-
* is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
|
|
2973
|
-
* healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
|
|
2974
|
-
* flushed before the Storage Target will be deleted.
|
|
2975
|
-
* @param resourceGroupName Target resource group.
|
|
2976
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
2977
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
2978
|
-
* @param storageTargetName Name of Storage Target.
|
|
2979
|
-
* @param [options] The optional parameters
|
|
2980
|
-
* @returns Promise<msRest.RestResponse>
|
|
2981
|
-
*/
|
|
2982
|
-
StorageTargets.prototype.deleteMethod = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
2983
|
-
return this.beginDeleteMethod(resourceGroupName, cacheName, storageTargetName, options)
|
|
2984
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
2985
|
-
};
|
|
2986
|
-
StorageTargets.prototype.get = function (resourceGroupName, cacheName, storageTargetName, options, callback) {
|
|
2987
|
-
return this.client.sendOperationRequest({
|
|
2988
|
-
resourceGroupName: resourceGroupName,
|
|
2989
|
-
cacheName: cacheName,
|
|
2990
|
-
storageTargetName: storageTargetName,
|
|
2991
|
-
options: options
|
|
2992
|
-
}, getOperationSpec$2, callback);
|
|
2993
|
-
};
|
|
2994
|
-
/**
|
|
2995
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the Cache is
|
|
2996
|
-
* down or unhealthy, the actual creation/modification of the Storage Target may be delayed until
|
|
2997
|
-
* the Cache is healthy again.
|
|
2998
|
-
* @param resourceGroupName Target resource group.
|
|
2999
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3000
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3001
|
-
* @param storageTargetName Name of Storage Target.
|
|
3002
|
-
* @param [options] The optional parameters
|
|
3003
|
-
* @returns Promise<Models.StorageTargetsCreateOrUpdateResponse>
|
|
3004
|
-
*/
|
|
3005
|
-
StorageTargets.prototype.createOrUpdate = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3006
|
-
return this.beginCreateOrUpdate(resourceGroupName, cacheName, storageTargetName, options)
|
|
3007
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3008
|
-
};
|
|
3009
|
-
/**
|
|
3010
|
-
* Tells a storage target to refresh its DNS information.
|
|
3011
|
-
* @param resourceGroupName Target resource group.
|
|
3012
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3013
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3014
|
-
* @param storageTargetName Name of Storage Target.
|
|
3015
|
-
* @param [options] The optional parameters
|
|
3016
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3017
|
-
*/
|
|
3018
|
-
StorageTargets.prototype.beginDnsRefresh = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3019
|
-
return this.client.sendLRORequest({
|
|
3020
|
-
resourceGroupName: resourceGroupName,
|
|
3021
|
-
cacheName: cacheName,
|
|
3022
|
-
storageTargetName: storageTargetName,
|
|
3023
|
-
options: options
|
|
3024
|
-
}, beginDnsRefreshOperationSpec, options);
|
|
3025
|
-
};
|
|
3026
|
-
/**
|
|
3027
|
-
* Removes a Storage Target from a Cache. This operation is allowed at any time, but if the Cache
|
|
3028
|
-
* is down or unhealthy, the actual removal of the Storage Target may be delayed until the Cache is
|
|
3029
|
-
* healthy again. Note that if the Cache has data to flush to the Storage Target, the data will be
|
|
3030
|
-
* flushed before the Storage Target will be deleted.
|
|
3031
|
-
* @param resourceGroupName Target resource group.
|
|
3032
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3033
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3034
|
-
* @param storageTargetName Name of Storage Target.
|
|
3035
|
-
* @param [options] The optional parameters
|
|
3036
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3037
|
-
*/
|
|
3038
|
-
StorageTargets.prototype.beginDeleteMethod = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3039
|
-
return this.client.sendLRORequest({
|
|
3040
|
-
resourceGroupName: resourceGroupName,
|
|
3041
|
-
cacheName: cacheName,
|
|
3042
|
-
storageTargetName: storageTargetName,
|
|
3043
|
-
options: options
|
|
3044
|
-
}, beginDeleteMethodOperationSpec$1, options);
|
|
3045
|
-
};
|
|
3046
|
-
/**
|
|
3047
|
-
* Create or update a Storage Target. This operation is allowed at any time, but if the Cache is
|
|
3048
|
-
* down or unhealthy, the actual creation/modification of the Storage Target may be delayed until
|
|
3049
|
-
* the Cache is healthy again.
|
|
3050
|
-
* @param resourceGroupName Target resource group.
|
|
3051
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3052
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3053
|
-
* @param storageTargetName Name of Storage Target.
|
|
3054
|
-
* @param [options] The optional parameters
|
|
3055
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3056
|
-
*/
|
|
3057
|
-
StorageTargets.prototype.beginCreateOrUpdate = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3058
|
-
return this.client.sendLRORequest({
|
|
3059
|
-
resourceGroupName: resourceGroupName,
|
|
3060
|
-
cacheName: cacheName,
|
|
3061
|
-
storageTargetName: storageTargetName,
|
|
3062
|
-
options: options
|
|
3063
|
-
}, beginCreateOrUpdateOperationSpec$1, options);
|
|
3064
|
-
};
|
|
3065
|
-
StorageTargets.prototype.listByCacheNext = function (nextPageLink, options, callback) {
|
|
3066
|
-
return this.client.sendOperationRequest({
|
|
3067
|
-
nextPageLink: nextPageLink,
|
|
3068
|
-
options: options
|
|
3069
|
-
}, listByCacheNextOperationSpec, callback);
|
|
3070
|
-
};
|
|
3071
|
-
return StorageTargets;
|
|
3072
|
-
}());
|
|
3073
|
-
// Operation Specifications
|
|
3074
|
-
var serializer$5 = new msRest.Serializer(Mappers$5);
|
|
3075
|
-
var listByCacheOperationSpec = {
|
|
3076
|
-
httpMethod: "GET",
|
|
3077
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets",
|
|
3078
|
-
urlParameters: [
|
|
3079
|
-
resourceGroupName,
|
|
3080
|
-
subscriptionId,
|
|
3081
|
-
cacheName
|
|
3082
|
-
],
|
|
3083
|
-
queryParameters: [
|
|
3084
|
-
apiVersion
|
|
3085
|
-
],
|
|
3086
|
-
headerParameters: [
|
|
3087
|
-
acceptLanguage
|
|
3088
|
-
],
|
|
3089
|
-
responses: {
|
|
3090
|
-
200: {
|
|
3091
|
-
bodyMapper: StorageTargetsResult
|
|
3092
|
-
},
|
|
3093
|
-
default: {
|
|
3094
|
-
bodyMapper: CloudError
|
|
3095
|
-
}
|
|
3096
|
-
},
|
|
3097
|
-
serializer: serializer$5
|
|
3098
|
-
};
|
|
3099
|
-
var getOperationSpec$2 = {
|
|
3100
|
-
httpMethod: "GET",
|
|
3101
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
3102
|
-
urlParameters: [
|
|
3103
|
-
resourceGroupName,
|
|
3104
|
-
subscriptionId,
|
|
3105
|
-
cacheName,
|
|
3106
|
-
storageTargetName
|
|
3107
|
-
],
|
|
3108
|
-
queryParameters: [
|
|
3109
|
-
apiVersion
|
|
3110
|
-
],
|
|
3111
|
-
headerParameters: [
|
|
3112
|
-
acceptLanguage
|
|
3113
|
-
],
|
|
3114
|
-
responses: {
|
|
3115
|
-
200: {
|
|
3116
|
-
bodyMapper: StorageTarget
|
|
3117
|
-
},
|
|
3118
|
-
default: {
|
|
3119
|
-
bodyMapper: CloudError
|
|
3120
|
-
}
|
|
3121
|
-
},
|
|
3122
|
-
serializer: serializer$5
|
|
3123
|
-
};
|
|
3124
|
-
var beginDnsRefreshOperationSpec = {
|
|
3125
|
-
httpMethod: "POST",
|
|
3126
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/dnsRefresh",
|
|
3127
|
-
urlParameters: [
|
|
3128
|
-
resourceGroupName,
|
|
3129
|
-
subscriptionId,
|
|
3130
|
-
cacheName,
|
|
3131
|
-
storageTargetName
|
|
3132
|
-
],
|
|
3133
|
-
queryParameters: [
|
|
3134
|
-
apiVersion
|
|
3135
|
-
],
|
|
3136
|
-
headerParameters: [
|
|
3137
|
-
acceptLanguage
|
|
3138
|
-
],
|
|
3139
|
-
responses: {
|
|
3140
|
-
200: {},
|
|
3141
|
-
202: {},
|
|
3142
|
-
default: {
|
|
3143
|
-
bodyMapper: CloudError
|
|
3144
|
-
}
|
|
3145
|
-
},
|
|
3146
|
-
serializer: serializer$5
|
|
3147
|
-
};
|
|
3148
|
-
var beginDeleteMethodOperationSpec$1 = {
|
|
3149
|
-
httpMethod: "DELETE",
|
|
3150
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
3151
|
-
urlParameters: [
|
|
3152
|
-
resourceGroupName,
|
|
3153
|
-
subscriptionId,
|
|
3154
|
-
cacheName,
|
|
3155
|
-
storageTargetName
|
|
3156
|
-
],
|
|
3157
|
-
queryParameters: [
|
|
3158
|
-
apiVersion,
|
|
3159
|
-
force
|
|
3160
|
-
],
|
|
3161
|
-
headerParameters: [
|
|
3162
|
-
acceptLanguage
|
|
3163
|
-
],
|
|
3164
|
-
responses: {
|
|
3165
|
-
200: {},
|
|
3166
|
-
202: {},
|
|
3167
|
-
204: {},
|
|
3168
|
-
default: {
|
|
3169
|
-
bodyMapper: CloudError
|
|
3170
|
-
}
|
|
3171
|
-
},
|
|
3172
|
-
serializer: serializer$5
|
|
3173
|
-
};
|
|
3174
|
-
var beginCreateOrUpdateOperationSpec$1 = {
|
|
3175
|
-
httpMethod: "PUT",
|
|
3176
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}",
|
|
3177
|
-
urlParameters: [
|
|
3178
|
-
resourceGroupName,
|
|
3179
|
-
subscriptionId,
|
|
3180
|
-
cacheName,
|
|
3181
|
-
storageTargetName
|
|
3182
|
-
],
|
|
3183
|
-
queryParameters: [
|
|
3184
|
-
apiVersion
|
|
3185
|
-
],
|
|
3186
|
-
headerParameters: [
|
|
3187
|
-
acceptLanguage
|
|
3188
|
-
],
|
|
3189
|
-
requestBody: {
|
|
3190
|
-
parameterPath: [
|
|
3191
|
-
"options",
|
|
3192
|
-
"storagetarget"
|
|
3193
|
-
],
|
|
3194
|
-
mapper: StorageTarget
|
|
3195
|
-
},
|
|
3196
|
-
responses: {
|
|
3197
|
-
200: {
|
|
3198
|
-
bodyMapper: StorageTarget
|
|
3199
|
-
},
|
|
3200
|
-
201: {
|
|
3201
|
-
bodyMapper: StorageTarget
|
|
3202
|
-
},
|
|
3203
|
-
202: {},
|
|
3204
|
-
default: {
|
|
3205
|
-
bodyMapper: CloudError
|
|
3206
|
-
}
|
|
3207
|
-
},
|
|
3208
|
-
serializer: serializer$5
|
|
3209
|
-
};
|
|
3210
|
-
var listByCacheNextOperationSpec = {
|
|
3211
|
-
httpMethod: "GET",
|
|
3212
|
-
baseUrl: "https://management.azure.com",
|
|
3213
|
-
path: "{nextLink}",
|
|
3214
|
-
urlParameters: [
|
|
3215
|
-
nextPageLink
|
|
3216
|
-
],
|
|
3217
|
-
queryParameters: [
|
|
3218
|
-
apiVersion
|
|
3219
|
-
],
|
|
3220
|
-
headerParameters: [
|
|
3221
|
-
acceptLanguage
|
|
3222
|
-
],
|
|
3223
|
-
responses: {
|
|
3224
|
-
200: {
|
|
3225
|
-
bodyMapper: StorageTargetsResult
|
|
3226
|
-
},
|
|
3227
|
-
default: {
|
|
3228
|
-
bodyMapper: CloudError
|
|
3229
|
-
}
|
|
3230
|
-
},
|
|
3231
|
-
serializer: serializer$5
|
|
3232
|
-
};
|
|
3233
|
-
|
|
3234
|
-
/*
|
|
3235
|
-
* Copyright (c) Microsoft Corporation.
|
|
3236
|
-
* Licensed under the MIT License.
|
|
3237
|
-
*
|
|
3238
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3239
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3240
|
-
*/
|
|
3241
|
-
|
|
3242
|
-
var Mappers$6 = /*#__PURE__*/Object.freeze({
|
|
3243
|
-
__proto__: null,
|
|
3244
|
-
CloudError: CloudError
|
|
3245
|
-
});
|
|
3246
|
-
|
|
3247
|
-
/*
|
|
3248
|
-
* Copyright (c) Microsoft Corporation.
|
|
3249
|
-
* Licensed under the MIT License.
|
|
3250
|
-
*
|
|
3251
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3252
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3253
|
-
* regenerated.
|
|
3254
|
-
*/
|
|
3255
|
-
/** Class representing a StorageTargetOperations. */
|
|
3256
|
-
var StorageTargetOperations = /** @class */ (function () {
|
|
3257
|
-
/**
|
|
3258
|
-
* Create a StorageTargetOperations.
|
|
3259
|
-
* @param {StorageCacheManagementClientContext} client Reference to the service client.
|
|
3260
|
-
*/
|
|
3261
|
-
function StorageTargetOperations(client) {
|
|
3262
|
-
this.client = client;
|
|
3263
|
-
}
|
|
3264
|
-
/**
|
|
3265
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
3266
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
3267
|
-
* @param resourceGroupName Target resource group.
|
|
3268
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3269
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3270
|
-
* @param storageTargetName Name of Storage Target.
|
|
3271
|
-
* @param [options] The optional parameters
|
|
3272
|
-
* @returns Promise<msRest.RestResponse>
|
|
3273
|
-
*/
|
|
3274
|
-
StorageTargetOperations.prototype.flush = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3275
|
-
return this.beginFlush(resourceGroupName, cacheName, storageTargetName, options)
|
|
3276
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3277
|
-
};
|
|
3278
|
-
/**
|
|
3279
|
-
* Suspends client access to a storage target.
|
|
3280
|
-
* @param resourceGroupName Target resource group.
|
|
3281
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3282
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3283
|
-
* @param storageTargetName Name of Storage Target.
|
|
3284
|
-
* @param [options] The optional parameters
|
|
3285
|
-
* @returns Promise<msRest.RestResponse>
|
|
3286
|
-
*/
|
|
3287
|
-
StorageTargetOperations.prototype.suspend = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3288
|
-
return this.beginSuspend(resourceGroupName, cacheName, storageTargetName, options)
|
|
3289
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3290
|
-
};
|
|
3291
|
-
/**
|
|
3292
|
-
* Resumes client access to a previously suspended storage target.
|
|
3293
|
-
* @param resourceGroupName Target resource group.
|
|
3294
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3295
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3296
|
-
* @param storageTargetName Name of Storage Target.
|
|
3297
|
-
* @param [options] The optional parameters
|
|
3298
|
-
* @returns Promise<msRest.RestResponse>
|
|
3299
|
-
*/
|
|
3300
|
-
StorageTargetOperations.prototype.resume = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3301
|
-
return this.beginResume(resourceGroupName, cacheName, storageTargetName, options)
|
|
3302
|
-
.then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
|
|
3303
|
-
};
|
|
3304
|
-
/**
|
|
3305
|
-
* Tells the cache to write all dirty data to the Storage Target's backend storage. Client requests
|
|
3306
|
-
* to this storage target's namespace will return errors until the flush operation completes.
|
|
3307
|
-
* @param resourceGroupName Target resource group.
|
|
3308
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3309
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3310
|
-
* @param storageTargetName Name of Storage Target.
|
|
3311
|
-
* @param [options] The optional parameters
|
|
3312
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3313
|
-
*/
|
|
3314
|
-
StorageTargetOperations.prototype.beginFlush = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3315
|
-
return this.client.sendLRORequest({
|
|
3316
|
-
resourceGroupName: resourceGroupName,
|
|
3317
|
-
cacheName: cacheName,
|
|
3318
|
-
storageTargetName: storageTargetName,
|
|
3319
|
-
options: options
|
|
3320
|
-
}, beginFlushOperationSpec$1, options);
|
|
3321
|
-
};
|
|
3322
|
-
/**
|
|
3323
|
-
* Suspends client access to a storage target.
|
|
3324
|
-
* @param resourceGroupName Target resource group.
|
|
3325
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3326
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3327
|
-
* @param storageTargetName Name of Storage Target.
|
|
3328
|
-
* @param [options] The optional parameters
|
|
3329
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3330
|
-
*/
|
|
3331
|
-
StorageTargetOperations.prototype.beginSuspend = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3332
|
-
return this.client.sendLRORequest({
|
|
3333
|
-
resourceGroupName: resourceGroupName,
|
|
3334
|
-
cacheName: cacheName,
|
|
3335
|
-
storageTargetName: storageTargetName,
|
|
3336
|
-
options: options
|
|
3337
|
-
}, beginSuspendOperationSpec, options);
|
|
3338
|
-
};
|
|
3339
|
-
/**
|
|
3340
|
-
* Resumes client access to a previously suspended storage target.
|
|
3341
|
-
* @param resourceGroupName Target resource group.
|
|
3342
|
-
* @param cacheName Name of Cache. Length of name must not be greater than 80 and chars must be
|
|
3343
|
-
* from the [-0-9a-zA-Z_] char class.
|
|
3344
|
-
* @param storageTargetName Name of Storage Target.
|
|
3345
|
-
* @param [options] The optional parameters
|
|
3346
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
3347
|
-
*/
|
|
3348
|
-
StorageTargetOperations.prototype.beginResume = function (resourceGroupName, cacheName, storageTargetName, options) {
|
|
3349
|
-
return this.client.sendLRORequest({
|
|
3350
|
-
resourceGroupName: resourceGroupName,
|
|
3351
|
-
cacheName: cacheName,
|
|
3352
|
-
storageTargetName: storageTargetName,
|
|
3353
|
-
options: options
|
|
3354
|
-
}, beginResumeOperationSpec, options);
|
|
3355
|
-
};
|
|
3356
|
-
return StorageTargetOperations;
|
|
3357
|
-
}());
|
|
3358
|
-
// Operation Specifications
|
|
3359
|
-
var serializer$6 = new msRest.Serializer(Mappers$6);
|
|
3360
|
-
var beginFlushOperationSpec$1 = {
|
|
3361
|
-
httpMethod: "POST",
|
|
3362
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/flush",
|
|
3363
|
-
urlParameters: [
|
|
3364
|
-
resourceGroupName,
|
|
3365
|
-
subscriptionId,
|
|
3366
|
-
cacheName,
|
|
3367
|
-
storageTargetName
|
|
3368
|
-
],
|
|
3369
|
-
queryParameters: [
|
|
3370
|
-
apiVersion
|
|
3371
|
-
],
|
|
3372
|
-
headerParameters: [
|
|
3373
|
-
acceptLanguage
|
|
3374
|
-
],
|
|
3375
|
-
responses: {
|
|
3376
|
-
200: {},
|
|
3377
|
-
202: {},
|
|
3378
|
-
204: {},
|
|
3379
|
-
default: {
|
|
3380
|
-
bodyMapper: CloudError
|
|
3381
|
-
}
|
|
3382
|
-
},
|
|
3383
|
-
serializer: serializer$6
|
|
3384
|
-
};
|
|
3385
|
-
var beginSuspendOperationSpec = {
|
|
3386
|
-
httpMethod: "POST",
|
|
3387
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/suspend",
|
|
3388
|
-
urlParameters: [
|
|
3389
|
-
resourceGroupName,
|
|
3390
|
-
subscriptionId,
|
|
3391
|
-
cacheName,
|
|
3392
|
-
storageTargetName
|
|
3393
|
-
],
|
|
3394
|
-
queryParameters: [
|
|
3395
|
-
apiVersion
|
|
3396
|
-
],
|
|
3397
|
-
headerParameters: [
|
|
3398
|
-
acceptLanguage
|
|
3399
|
-
],
|
|
3400
|
-
responses: {
|
|
3401
|
-
200: {},
|
|
3402
|
-
202: {},
|
|
3403
|
-
204: {},
|
|
3404
|
-
default: {
|
|
3405
|
-
bodyMapper: CloudError
|
|
3406
|
-
}
|
|
3407
|
-
},
|
|
3408
|
-
serializer: serializer$6
|
|
3409
|
-
};
|
|
3410
|
-
var beginResumeOperationSpec = {
|
|
3411
|
-
httpMethod: "POST",
|
|
3412
|
-
path: "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.StorageCache/caches/{cacheName}/storageTargets/{storageTargetName}/resume",
|
|
3413
|
-
urlParameters: [
|
|
3414
|
-
resourceGroupName,
|
|
3415
|
-
subscriptionId,
|
|
3416
|
-
cacheName,
|
|
3417
|
-
storageTargetName
|
|
3418
|
-
],
|
|
3419
|
-
queryParameters: [
|
|
3420
|
-
apiVersion
|
|
3421
|
-
],
|
|
3422
|
-
headerParameters: [
|
|
3423
|
-
acceptLanguage
|
|
3424
|
-
],
|
|
3425
|
-
responses: {
|
|
3426
|
-
200: {},
|
|
3427
|
-
202: {},
|
|
3428
|
-
204: {},
|
|
3429
|
-
default: {
|
|
3430
|
-
bodyMapper: CloudError
|
|
3431
|
-
}
|
|
3432
|
-
},
|
|
3433
|
-
serializer: serializer$6
|
|
3434
|
-
};
|
|
3435
|
-
|
|
3436
|
-
/*
|
|
3437
|
-
* Copyright (c) Microsoft Corporation.
|
|
3438
|
-
* Licensed under the MIT License.
|
|
3439
|
-
*
|
|
3440
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3441
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3442
|
-
* regenerated.
|
|
3443
|
-
*/
|
|
3444
|
-
var packageName = "@azure/arm-storagecache";
|
|
3445
|
-
var packageVersion = "4.3.0";
|
|
3446
|
-
var StorageCacheManagementClientContext = /** @class */ (function (_super) {
|
|
3447
|
-
__extends(StorageCacheManagementClientContext, _super);
|
|
3448
|
-
/**
|
|
3449
|
-
* Initializes a new instance of the StorageCacheManagementClient class.
|
|
3450
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3451
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3452
|
-
* more information about these credentials, see
|
|
3453
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3454
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3455
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3456
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
3457
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
3458
|
-
* @param [options] The parameter options
|
|
3459
|
-
*/
|
|
3460
|
-
function StorageCacheManagementClientContext(credentials, subscriptionId, options) {
|
|
3461
|
-
var _this = this;
|
|
3462
|
-
if (credentials == undefined) {
|
|
3463
|
-
throw new Error('\'credentials\' cannot be null.');
|
|
3464
|
-
}
|
|
3465
|
-
if (subscriptionId == undefined) {
|
|
3466
|
-
throw new Error('\'subscriptionId\' cannot be null.');
|
|
3467
|
-
}
|
|
3468
|
-
if (!options) {
|
|
3469
|
-
options = {};
|
|
3470
|
-
}
|
|
3471
|
-
if (!options.userAgent) {
|
|
3472
|
-
var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
|
|
3473
|
-
options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
|
|
3474
|
-
}
|
|
3475
|
-
_this = _super.call(this, credentials, options) || this;
|
|
3476
|
-
_this.apiVersion = '2021-09-01';
|
|
3477
|
-
_this.acceptLanguage = 'en-US';
|
|
3478
|
-
_this.longRunningOperationRetryTimeout = 30;
|
|
3479
|
-
_this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
|
|
3480
|
-
_this.requestContentType = "application/json; charset=utf-8";
|
|
3481
|
-
_this.credentials = credentials;
|
|
3482
|
-
_this.subscriptionId = subscriptionId;
|
|
3483
|
-
if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
|
|
3484
|
-
_this.acceptLanguage = options.acceptLanguage;
|
|
3485
|
-
}
|
|
3486
|
-
if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
|
|
3487
|
-
_this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
3488
|
-
}
|
|
3489
|
-
return _this;
|
|
3490
|
-
}
|
|
3491
|
-
return StorageCacheManagementClientContext;
|
|
3492
|
-
}(msRestAzure.AzureServiceClient));
|
|
3493
|
-
|
|
3494
|
-
/*
|
|
3495
|
-
* Copyright (c) Microsoft Corporation.
|
|
3496
|
-
* Licensed under the MIT License.
|
|
3497
|
-
*
|
|
3498
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3499
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
3500
|
-
* regenerated.
|
|
3501
|
-
*/
|
|
3502
|
-
var StorageCacheManagementClient = /** @class */ (function (_super) {
|
|
3503
|
-
__extends(StorageCacheManagementClient, _super);
|
|
3504
|
-
/**
|
|
3505
|
-
* Initializes a new instance of the StorageCacheManagementClient class.
|
|
3506
|
-
* @param credentials Credentials needed for the client to connect to Azure. Credentials
|
|
3507
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
3508
|
-
* more information about these credentials, see
|
|
3509
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
3510
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
3511
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
3512
|
-
* @param subscriptionId Subscription credentials which uniquely identify Microsoft Azure
|
|
3513
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
3514
|
-
* @param [options] The parameter options
|
|
3515
|
-
*/
|
|
3516
|
-
function StorageCacheManagementClient(credentials, subscriptionId, options) {
|
|
3517
|
-
var _this = _super.call(this, credentials, subscriptionId, options) || this;
|
|
3518
|
-
_this.operations = new Operations(_this);
|
|
3519
|
-
_this.skus = new Skus(_this);
|
|
3520
|
-
_this.usageModels = new UsageModels(_this);
|
|
3521
|
-
_this.ascOperations = new AscOperations(_this);
|
|
3522
|
-
_this.caches = new Caches(_this);
|
|
3523
|
-
_this.storageTargets = new StorageTargets(_this);
|
|
3524
|
-
_this.storageTarget = new StorageTargetOperations(_this);
|
|
3525
|
-
return _this;
|
|
3526
|
-
}
|
|
3527
|
-
return StorageCacheManagementClient;
|
|
3528
|
-
}(StorageCacheManagementClientContext));
|
|
3529
|
-
|
|
3530
|
-
exports.AscOperations = AscOperations;
|
|
3531
|
-
exports.Caches = Caches;
|
|
3532
|
-
exports.Operations = Operations;
|
|
3533
|
-
exports.Skus = Skus;
|
|
3534
|
-
exports.StorageCacheManagementClient = StorageCacheManagementClient;
|
|
3535
|
-
exports.StorageCacheManagementClientContext = StorageCacheManagementClientContext;
|
|
3536
|
-
exports.StorageCacheManagementMappers = mappers;
|
|
3537
|
-
exports.StorageCacheManagementModels = index;
|
|
3538
|
-
exports.StorageTargetOperations = StorageTargetOperations;
|
|
3539
|
-
exports.StorageTargets = StorageTargets;
|
|
3540
|
-
exports.UsageModels = UsageModels;
|
|
3541
|
-
|
|
3542
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3543
|
-
|
|
3544
|
-
})));
|
|
3545
|
-
//# sourceMappingURL=arm-storagecache.js.map
|