@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1
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 +26 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +63 -80
- package/dist/index.js +10964 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +5002 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +2673 -4395
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +331 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +146 -138
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +2734 -2563
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +59 -33
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +267 -159
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/blobContainers.d.ts +213 -561
- package/esm/operations/blobContainers.d.ts.map +1 -1
- package/esm/operations/blobContainers.js +578 -429
- package/esm/operations/blobContainers.js.map +1 -1
- package/esm/operations/blobInventoryPolicies.d.ts +47 -109
- package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
- package/esm/operations/blobInventoryPolicies.js +163 -105
- package/esm/operations/blobInventoryPolicies.js.map +1 -1
- package/esm/operations/blobServices.d.ts +39 -89
- package/esm/operations/blobServices.d.ts.map +1 -1
- package/esm/operations/blobServices.js +133 -89
- package/esm/operations/blobServices.js.map +1 -1
- package/esm/operations/deletedAccounts.d.ts +20 -47
- package/esm/operations/deletedAccounts.d.ts.map +1 -1
- package/esm/operations/deletedAccounts.js +111 -69
- package/esm/operations/deletedAccounts.js.map +1 -1
- package/esm/operations/encryptionScopes.d.ts +65 -166
- package/esm/operations/encryptionScopes.d.ts.map +1 -1
- package/esm/operations/encryptionScopes.js +211 -131
- package/esm/operations/encryptionScopes.js.map +1 -1
- package/esm/operations/fileServices.d.ts +25 -89
- package/esm/operations/fileServices.d.ts.map +1 -1
- package/esm/operations/fileServices.js +86 -83
- package/esm/operations/fileServices.js.map +1 -1
- package/esm/operations/fileShares.d.ts +100 -256
- package/esm/operations/fileShares.d.ts.map +1 -1
- package/esm/operations/fileShares.js +316 -164
- package/esm/operations/fileShares.js.map +1 -1
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +1 -2
- package/esm/operations/index.js.map +1 -1
- package/esm/operations/managementPolicies.d.ts +30 -89
- package/esm/operations/managementPolicies.d.ts.map +1 -1
- package/esm/operations/managementPolicies.js +89 -92
- package/esm/operations/managementPolicies.js.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
- package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/esm/operations/operations.d.ts +14 -15
- package/esm/operations/operations.d.ts.map +1 -1
- package/esm/operations/operations.js +67 -29
- package/esm/operations/operations.js.map +1 -1
- package/esm/operations/privateEndpointConnections.d.ts +46 -126
- package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/esm/operations/privateEndpointConnections.js +171 -103
- package/esm/operations/privateEndpointConnections.js.map +1 -1
- package/esm/operations/privateLinkResources.d.ts +11 -31
- package/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/esm/operations/privateLinkResources.js +32 -36
- package/esm/operations/privateLinkResources.js.map +1 -1
- package/esm/operations/queue.d.ts +69 -196
- package/esm/operations/queue.d.ts.map +1 -1
- package/esm/operations/queue.js +230 -162
- package/esm/operations/queue.js.map +1 -1
- package/esm/operations/queueServices.d.ts +29 -87
- package/esm/operations/queueServices.d.ts.map +1 -1
- package/esm/operations/queueServices.js +86 -87
- package/esm/operations/queueServices.js.map +1 -1
- package/esm/operations/skus.d.ts +14 -15
- package/esm/operations/skus.d.ts.map +1 -1
- package/esm/operations/skus.js +67 -32
- package/esm/operations/skus.js.map +1 -1
- package/esm/operations/storageAccounts.d.ts +163 -381
- package/esm/operations/storageAccounts.d.ts.map +1 -1
- package/esm/operations/storageAccounts.js +605 -501
- package/esm/operations/storageAccounts.js.map +1 -1
- package/esm/operations/tableOperations.d.ts +67 -184
- package/esm/operations/tableOperations.d.ts.map +1 -1
- package/esm/operations/tableOperations.js +220 -143
- package/esm/operations/tableOperations.js.map +1 -1
- package/esm/operations/tableServices.d.ts +29 -87
- package/esm/operations/tableServices.d.ts.map +1 -1
- package/esm/operations/tableServices.js +86 -87
- package/esm/operations/tableServices.js.map +1 -1
- package/esm/operations/usages.d.ts +15 -18
- package/esm/operations/usages.d.ts.map +1 -1
- package/esm/operations/usages.js +73 -34
- package/esm/operations/usages.js.map +1 -1
- package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
- package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
- package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
- package/esm/operationsInterfaces/blobContainers.js.map +1 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
- package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/esm/operationsInterfaces/blobServices.d.ts +41 -0
- package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
- package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
- package/esm/operationsInterfaces/blobServices.js.map +1 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
- package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.js +9 -0
- package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/esm/operationsInterfaces/fileServices.d.ts +39 -0
- package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileServices.js +9 -0
- package/esm/operationsInterfaces/fileServices.js.map +1 -0
- package/esm/operationsInterfaces/fileShares.d.ts +102 -0
- package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileShares.js +9 -0
- package/esm/operationsInterfaces/fileShares.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +20 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +27 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.js +9 -0
- package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/esm/operationsInterfaces/operations.d.ts +12 -0
- package/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/esm/operationsInterfaces/operations.js +9 -0
- package/esm/operationsInterfaces/operations.js.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/esm/operationsInterfaces/queue.d.ts +71 -0
- package/esm/operationsInterfaces/queue.d.ts.map +1 -0
- package/esm/operationsInterfaces/queue.js +9 -0
- package/esm/operationsInterfaces/queue.js.map +1 -0
- package/esm/operationsInterfaces/queueServices.d.ts +39 -0
- package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/queueServices.js +9 -0
- package/esm/operationsInterfaces/queueServices.js.map +1 -0
- package/esm/operationsInterfaces/skus.d.ts +12 -0
- package/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/esm/operationsInterfaces/skus.js +9 -0
- package/esm/operationsInterfaces/skus.js.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.js +9 -0
- package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
- package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
- package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableOperations.js +9 -0
- package/esm/operationsInterfaces/tableOperations.js.map +1 -0
- package/esm/operationsInterfaces/tableServices.d.ts +39 -0
- package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableServices.js +9 -0
- package/esm/operationsInterfaces/tableServices.js.map +1 -0
- package/esm/operationsInterfaces/usages.d.ts +13 -0
- package/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/esm/operationsInterfaces/usages.js +9 -0
- package/esm/operationsInterfaces/usages.js.map +1 -0
- package/esm/storageManagementClient.d.ts +26 -35
- package/esm/storageManagementClient.d.ts.map +1 -1
- package/esm/storageManagementClient.js +27 -42
- package/esm/storageManagementClient.js.map +1 -1
- package/esm/storageManagementClientContext.d.ts +10 -16
- package/esm/storageManagementClientContext.d.ts.map +1 -1
- package/esm/storageManagementClientContext.js +32 -44
- package/esm/storageManagementClientContext.js.map +1 -1
- package/package.json +57 -18
- package/review/arm-storage.api.md +2659 -0
- package/rollup.config.js +181 -30
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +2813 -4492
- package/src/models/mappers.ts +2745 -2553
- package/src/models/parameters.ts +354 -160
- package/src/operations/blobContainers.ts +719 -1037
- package/src/operations/blobInventoryPolicies.ts +182 -211
- package/src/operations/blobServices.ts +150 -177
- package/src/operations/deletedAccounts.ts +111 -112
- package/src/operations/encryptionScopes.ts +233 -291
- package/src/operations/fileServices.ts +99 -171
- package/src/operations/fileShares.ts +335 -560
- package/src/operations/index.ts +1 -2
- package/src/operations/managementPolicies.ts +102 -175
- package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
- package/src/operations/operations.ts +61 -38
- package/src/operations/privateEndpointConnections.ts +177 -214
- package/src/operations/privateLinkResources.ts +37 -60
- package/src/operations/queue.ts +269 -365
- package/src/operations/queueServices.ts +103 -173
- package/src/operations/skus.ts +59 -41
- package/src/operations/storageAccounts.ts +779 -872
- package/src/operations/tableOperations.ts +255 -328
- package/src/operations/tableServices.ts +103 -173
- package/src/operations/usages.ts +73 -45
- package/src/operationsInterfaces/blobContainers.ts +366 -0
- package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
- package/src/operationsInterfaces/blobServices.ts +70 -0
- package/src/operationsInterfaces/deletedAccounts.ts +39 -0
- package/src/operationsInterfaces/encryptionScopes.ts +103 -0
- package/src/operationsInterfaces/fileServices.ts +68 -0
- package/src/operationsInterfaces/fileShares.ts +163 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
- package/src/operationsInterfaces/operations.ts +23 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/queue.ts +117 -0
- package/src/operationsInterfaces/queueServices.ts +68 -0
- package/src/operationsInterfaces/skus.ts +23 -0
- package/src/operationsInterfaces/storageAccounts.ts +320 -0
- package/src/operationsInterfaces/tableOperations.ts +112 -0
- package/src/operationsInterfaces/tableServices.ts +68 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/src/storageManagementClient.ts +94 -67
- package/src/storageManagementClientContext.ts +42 -46
- package/tsconfig.json +2 -1
- package/dist/arm-storage.js +0 -10687
- package/dist/arm-storage.js.map +0 -1
- package/dist/arm-storage.min.js +0 -1
- package/dist/arm-storage.min.js.map +0 -1
- package/esm/models/blobContainersMappers.d.ts +0 -2
- package/esm/models/blobContainersMappers.d.ts.map +0 -1
- package/esm/models/blobContainersMappers.js +0 -9
- package/esm/models/blobContainersMappers.js.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
- package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.js +0 -9
- package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
- package/esm/models/blobServicesMappers.d.ts +0 -2
- package/esm/models/blobServicesMappers.d.ts.map +0 -1
- package/esm/models/blobServicesMappers.js +0 -9
- package/esm/models/blobServicesMappers.js.map +0 -1
- package/esm/models/deletedAccountsMappers.d.ts +0 -2
- package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
- package/esm/models/deletedAccountsMappers.js +0 -9
- package/esm/models/deletedAccountsMappers.js.map +0 -1
- package/esm/models/encryptionScopesMappers.d.ts +0 -2
- package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
- package/esm/models/encryptionScopesMappers.js +0 -9
- package/esm/models/encryptionScopesMappers.js.map +0 -1
- package/esm/models/fileServicesMappers.d.ts +0 -2
- package/esm/models/fileServicesMappers.d.ts.map +0 -1
- package/esm/models/fileServicesMappers.js +0 -9
- package/esm/models/fileServicesMappers.js.map +0 -1
- package/esm/models/fileSharesMappers.d.ts +0 -2
- package/esm/models/fileSharesMappers.d.ts.map +0 -1
- package/esm/models/fileSharesMappers.js +0 -9
- package/esm/models/fileSharesMappers.js.map +0 -1
- package/esm/models/managementPoliciesMappers.d.ts +0 -2
- package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/managementPoliciesMappers.js +0 -9
- package/esm/models/managementPoliciesMappers.js.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
- package/esm/models/objectReplicationPoliciesOperationsMappers.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.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/queueMappers.d.ts +0 -2
- package/esm/models/queueMappers.d.ts.map +0 -1
- package/esm/models/queueMappers.js +0 -9
- package/esm/models/queueMappers.js.map +0 -1
- package/esm/models/queueServicesMappers.d.ts +0 -2
- package/esm/models/queueServicesMappers.d.ts.map +0 -1
- package/esm/models/queueServicesMappers.js +0 -9
- package/esm/models/queueServicesMappers.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.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/models/tableOperationsMappers.d.ts +0 -2
- package/esm/models/tableOperationsMappers.d.ts.map +0 -1
- package/esm/models/tableOperationsMappers.js +0 -9
- package/esm/models/tableOperationsMappers.js.map +0 -1
- package/esm/models/tableServicesMappers.d.ts +0 -2
- package/esm/models/tableServicesMappers.d.ts.map +0 -1
- package/esm/models/tableServicesMappers.js +0 -9
- package/esm/models/tableServicesMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js.map +0 -1
- package/src/models/blobContainersMappers.ts +0 -106
- package/src/models/blobInventoryPoliciesMappers.ts +0 -99
- package/src/models/blobServicesMappers.ts +0 -98
- package/src/models/deletedAccountsMappers.ts +0 -99
- package/src/models/encryptionScopesMappers.ts +0 -100
- package/src/models/fileServicesMappers.ts +0 -98
- package/src/models/fileSharesMappers.ts +0 -99
- package/src/models/managementPoliciesMappers.ts +0 -97
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
- package/src/models/privateEndpointConnectionsMappers.ts +0 -100
- package/src/models/privateLinkResourcesMappers.ts +0 -98
- package/src/models/queueMappers.ts +0 -98
- package/src/models/queueServicesMappers.ts +0 -98
- package/src/models/storageAccountsMappers.ts +0 -109
- package/src/models/tableOperationsMappers.ts +0 -98
- package/src/models/tableServicesMappers.ts +0 -98
package/esm/operations/index.js
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
export * from "./operations";
|
|
10
9
|
export * from "./skus";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,109 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as Models from "../models";
|
|
1
|
+
import { ManagementPolicies } from "../operationsInterfaces";
|
|
3
2
|
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
3
|
+
import { ManagementPolicyName, ManagementPoliciesGetOptionalParams, ManagementPoliciesGetResponse, ManagementPolicy, ManagementPoliciesCreateOrUpdateOptionalParams, ManagementPoliciesCreateOrUpdateResponse, ManagementPoliciesDeleteOptionalParams } from "../models";
|
|
4
4
|
/** Class representing a ManagementPolicies. */
|
|
5
|
-
export declare class ManagementPolicies {
|
|
5
|
+
export declare class ManagementPoliciesImpl implements ManagementPolicies {
|
|
6
6
|
private readonly client;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
8
|
+
* Initialize a new instance of the class ManagementPolicies class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
10
|
*/
|
|
11
11
|
constructor(client: StorageManagementClientContext);
|
|
12
12
|
/**
|
|
13
13
|
* Gets the managementpolicy associated with the specified storage account.
|
|
14
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
15
|
-
*
|
|
14
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
15
|
+
* case insensitive.
|
|
16
16
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @param
|
|
20
|
-
*
|
|
17
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
18
|
+
* only.
|
|
19
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
20
|
+
* 'default'
|
|
21
|
+
* @param options The options parameters.
|
|
21
22
|
*/
|
|
22
|
-
get(resourceGroupName: string, accountName: string, options?:
|
|
23
|
-
/**
|
|
24
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
25
|
-
* is case insensitive.
|
|
26
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
27
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
28
|
-
* letters only.
|
|
29
|
-
* @param callback The callback
|
|
30
|
-
*/
|
|
31
|
-
get(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ManagementPolicy>): void;
|
|
32
|
-
/**
|
|
33
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
34
|
-
* is case insensitive.
|
|
35
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
36
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
37
|
-
* letters only.
|
|
38
|
-
* @param options The optional parameters
|
|
39
|
-
* @param callback The callback
|
|
40
|
-
*/
|
|
41
|
-
get(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementPolicy>): void;
|
|
23
|
+
get(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesGetOptionalParams): Promise<ManagementPoliciesGetResponse>;
|
|
42
24
|
/**
|
|
43
25
|
* Sets the managementpolicy to the specified storage account.
|
|
44
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
45
|
-
*
|
|
46
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
47
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
48
|
-
* letters only.
|
|
49
|
-
* @param policy The Storage Account ManagementPolicy, in JSON format. See more details in:
|
|
50
|
-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
|
51
|
-
* @param [options] The optional parameters
|
|
52
|
-
* @returns Promise<Models.ManagementPoliciesCreateOrUpdateResponse>
|
|
53
|
-
*/
|
|
54
|
-
createOrUpdate(resourceGroupName: string, accountName: string, policy: Models.ManagementPolicySchema, options?: msRest.RequestOptionsBase): Promise<Models.ManagementPoliciesCreateOrUpdateResponse>;
|
|
55
|
-
/**
|
|
56
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
57
|
-
* is case insensitive.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
27
|
+
* case insensitive.
|
|
58
28
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* @param
|
|
62
|
-
*
|
|
63
|
-
* @param
|
|
29
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
30
|
+
* only.
|
|
31
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
32
|
+
* 'default'
|
|
33
|
+
* @param properties The ManagementPolicy set to a storage account.
|
|
34
|
+
* @param options The options parameters.
|
|
64
35
|
*/
|
|
65
|
-
createOrUpdate(resourceGroupName: string, accountName: string,
|
|
66
|
-
/**
|
|
67
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
68
|
-
* is case insensitive.
|
|
69
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
70
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
71
|
-
* letters only.
|
|
72
|
-
* @param policy The Storage Account ManagementPolicy, in JSON format. See more details in:
|
|
73
|
-
* https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts.
|
|
74
|
-
* @param options The optional parameters
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
createOrUpdate(resourceGroupName: string, accountName: string, policy: Models.ManagementPolicySchema, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ManagementPolicy>): void;
|
|
36
|
+
createOrUpdate(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, properties: ManagementPolicy, options?: ManagementPoliciesCreateOrUpdateOptionalParams): Promise<ManagementPoliciesCreateOrUpdateResponse>;
|
|
78
37
|
/**
|
|
79
38
|
* Deletes the managementpolicy associated with the specified storage account.
|
|
80
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
81
|
-
*
|
|
82
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
83
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
84
|
-
* letters only.
|
|
85
|
-
* @param [options] The optional parameters
|
|
86
|
-
* @returns Promise<msRest.RestResponse>
|
|
87
|
-
*/
|
|
88
|
-
deleteMethod(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
89
|
-
/**
|
|
90
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
91
|
-
* is case insensitive.
|
|
92
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
93
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
94
|
-
* letters only.
|
|
95
|
-
* @param callback The callback
|
|
96
|
-
*/
|
|
97
|
-
deleteMethod(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<void>): void;
|
|
98
|
-
/**
|
|
99
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
100
|
-
* is case insensitive.
|
|
39
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
40
|
+
* case insensitive.
|
|
101
41
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
* @param
|
|
105
|
-
*
|
|
42
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
43
|
+
* only.
|
|
44
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
45
|
+
* 'default'
|
|
46
|
+
* @param options The options parameters.
|
|
106
47
|
*/
|
|
107
|
-
|
|
48
|
+
delete(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesDeleteOptionalParams): Promise<void>;
|
|
108
49
|
}
|
|
109
50
|
//# sourceMappingURL=managementPolicies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managementPolicies.d.ts","sourceRoot":"","sources":["../../src/operations/managementPolicies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"managementPolicies.d.ts","sourceRoot":"","sources":["../../src/operations/managementPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAI7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,oBAAoB,EACpB,mCAAmC,EACnC,6BAA6B,EAC7B,gBAAgB,EAChB,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACvC,MAAM,WAAW,CAAC;AAEnB,+CAA+C;AAC/C,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -3,127 +3,124 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import * as Mappers from "../models/managementPoliciesMappers";
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
12
10
|
import * as Parameters from "../models/parameters";
|
|
13
11
|
/** Class representing a ManagementPolicies. */
|
|
14
|
-
|
|
12
|
+
export class ManagementPoliciesImpl {
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @param
|
|
14
|
+
* Initialize a new instance of the class ManagementPolicies class.
|
|
15
|
+
* @param client Reference to the service client
|
|
18
16
|
*/
|
|
19
|
-
|
|
17
|
+
constructor(client) {
|
|
20
18
|
this.client = client;
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
20
|
+
/**
|
|
21
|
+
* Gets the managementpolicy associated with the specified storage account.
|
|
22
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
23
|
+
* case insensitive.
|
|
24
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
25
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
26
|
+
* only.
|
|
27
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
28
|
+
* 'default'
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
get(resourceGroupName, accountName, managementPolicyName, options) {
|
|
32
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, getOperationSpec);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Sets the managementpolicy to the specified storage account.
|
|
36
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
37
|
+
* case insensitive.
|
|
38
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
39
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
40
|
+
* only.
|
|
41
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
42
|
+
* 'default'
|
|
43
|
+
* @param properties The ManagementPolicy set to a storage account.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
createOrUpdate(resourceGroupName, accountName, managementPolicyName, properties, options) {
|
|
38
47
|
return this.client.sendOperationRequest({
|
|
39
|
-
resourceGroupName
|
|
40
|
-
accountName
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
|
|
48
|
+
resourceGroupName,
|
|
49
|
+
accountName,
|
|
50
|
+
managementPolicyName,
|
|
51
|
+
properties,
|
|
52
|
+
options
|
|
53
|
+
}, createOrUpdateOperationSpec);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Deletes the managementpolicy associated with the specified storage account.
|
|
57
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
58
|
+
* case insensitive.
|
|
59
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
60
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
61
|
+
* only.
|
|
62
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
63
|
+
* 'default'
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
delete(resourceGroupName, accountName, managementPolicyName, options) {
|
|
67
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, deleteOperationSpec);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
47
70
|
// Operation Specifications
|
|
48
|
-
|
|
49
|
-
|
|
71
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
72
|
+
const getOperationSpec = {
|
|
73
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
50
74
|
httpMethod: "GET",
|
|
51
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
52
|
-
urlParameters: [
|
|
53
|
-
Parameters.resourceGroupName,
|
|
54
|
-
Parameters.accountName,
|
|
55
|
-
Parameters.subscriptionId,
|
|
56
|
-
Parameters.managementPolicyName
|
|
57
|
-
],
|
|
58
|
-
queryParameters: [
|
|
59
|
-
Parameters.apiVersion
|
|
60
|
-
],
|
|
61
|
-
headerParameters: [
|
|
62
|
-
Parameters.acceptLanguage
|
|
63
|
-
],
|
|
64
75
|
responses: {
|
|
65
76
|
200: {
|
|
66
77
|
bodyMapper: Mappers.ManagementPolicy
|
|
67
|
-
},
|
|
68
|
-
default: {
|
|
69
|
-
bodyMapper: Mappers.CloudError
|
|
70
78
|
}
|
|
71
79
|
},
|
|
72
|
-
|
|
73
|
-
};
|
|
74
|
-
var createOrUpdateOperationSpec = {
|
|
75
|
-
httpMethod: "PUT",
|
|
76
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
80
|
+
queryParameters: [Parameters.apiVersion],
|
|
77
81
|
urlParameters: [
|
|
78
|
-
Parameters
|
|
79
|
-
Parameters.accountName,
|
|
82
|
+
Parameters.$host,
|
|
80
83
|
Parameters.subscriptionId,
|
|
84
|
+
Parameters.resourceGroupName,
|
|
85
|
+
Parameters.accountName1,
|
|
81
86
|
Parameters.managementPolicyName
|
|
82
87
|
],
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
requestBody: {
|
|
90
|
-
parameterPath: {
|
|
91
|
-
policy: "policy"
|
|
92
|
-
},
|
|
93
|
-
mapper: __assign(__assign({}, Mappers.ManagementPolicy), { required: true })
|
|
94
|
-
},
|
|
88
|
+
headerParameters: [Parameters.accept],
|
|
89
|
+
serializer
|
|
90
|
+
};
|
|
91
|
+
const createOrUpdateOperationSpec = {
|
|
92
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
93
|
+
httpMethod: "PUT",
|
|
95
94
|
responses: {
|
|
96
95
|
200: {
|
|
97
96
|
bodyMapper: Mappers.ManagementPolicy
|
|
98
|
-
},
|
|
99
|
-
default: {
|
|
100
|
-
bodyMapper: Mappers.CloudError
|
|
101
97
|
}
|
|
102
98
|
},
|
|
103
|
-
|
|
99
|
+
requestBody: Parameters.properties,
|
|
100
|
+
queryParameters: [Parameters.apiVersion],
|
|
101
|
+
urlParameters: [
|
|
102
|
+
Parameters.$host,
|
|
103
|
+
Parameters.subscriptionId,
|
|
104
|
+
Parameters.resourceGroupName,
|
|
105
|
+
Parameters.accountName1,
|
|
106
|
+
Parameters.managementPolicyName
|
|
107
|
+
],
|
|
108
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
109
|
+
mediaType: "json",
|
|
110
|
+
serializer
|
|
104
111
|
};
|
|
105
|
-
|
|
112
|
+
const deleteOperationSpec = {
|
|
113
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
106
114
|
httpMethod: "DELETE",
|
|
107
|
-
|
|
115
|
+
responses: { 200: {}, 204: {} },
|
|
116
|
+
queryParameters: [Parameters.apiVersion],
|
|
108
117
|
urlParameters: [
|
|
109
|
-
Parameters
|
|
110
|
-
Parameters.accountName,
|
|
118
|
+
Parameters.$host,
|
|
111
119
|
Parameters.subscriptionId,
|
|
120
|
+
Parameters.resourceGroupName,
|
|
121
|
+
Parameters.accountName1,
|
|
112
122
|
Parameters.managementPolicyName
|
|
113
123
|
],
|
|
114
|
-
|
|
115
|
-
Parameters.apiVersion
|
|
116
|
-
],
|
|
117
|
-
headerParameters: [
|
|
118
|
-
Parameters.acceptLanguage
|
|
119
|
-
],
|
|
120
|
-
responses: {
|
|
121
|
-
200: {},
|
|
122
|
-
204: {},
|
|
123
|
-
default: {
|
|
124
|
-
bodyMapper: Mappers.CloudError
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
serializer: serializer
|
|
124
|
+
serializer
|
|
128
125
|
};
|
|
129
126
|
//# sourceMappingURL=managementPolicies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managementPolicies.js","sourceRoot":"","sources":["../../src/operations/managementPolicies.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"managementPolicies.js","sourceRoot":"","sources":["../../src/operations/managementPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,+CAA+C;AAC/C,MAAM,OAAO,sBAAsB;IAGjC;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAyB,EACzB,WAAmB,EACnB,oBAA0C,EAC1C,OAA6C;QAE7C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,OAAO,EAAE,EACjE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,iBAAyB,EACzB,WAAmB,EACnB,oBAA0C,EAC1C,UAA4B,EAC5B,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB;YACjB,WAAW;YACX,oBAAoB;YACpB,UAAU;YACV,OAAO;SACR,EACD,2BAA2B,CAC5B,CAAC;IACJ,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAyB,EACzB,WAAmB,EACnB,oBAA0C,EAC1C,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,EAAE,OAAO,EAAE,EACjE,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,wKAAwK;IAC1K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,oBAAoB;KAChC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,2BAA2B,GAA6B;IAC5D,IAAI,EACF,wKAAwK;IAC1K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,UAAU;IAClC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,oBAAoB;KAChC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,wKAAwK;IAC1K,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;IAC/B,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,oBAAoB;KAChC;IACD,UAAU;CACX,CAAC"}
|
|
@@ -1,157 +1,81 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "@azure/core-paging";
|
|
2
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
3
|
+
import { ObjectReplicationPoliciesOperations } from "../operationsInterfaces";
|
|
3
4
|
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
5
|
+
import { ObjectReplicationPolicy, ObjectReplicationPoliciesOperationsListOptionalParams, ObjectReplicationPoliciesOperationsGetOptionalParams, ObjectReplicationPoliciesOperationsGetResponse, ObjectReplicationPoliciesOperationsCreateOrUpdateOptionalParams, ObjectReplicationPoliciesOperationsCreateOrUpdateResponse, ObjectReplicationPoliciesOperationsDeleteOptionalParams } from "../models";
|
|
4
6
|
/** Class representing a ObjectReplicationPoliciesOperations. */
|
|
5
|
-
export declare class ObjectReplicationPoliciesOperations {
|
|
7
|
+
export declare class ObjectReplicationPoliciesOperationsImpl implements ObjectReplicationPoliciesOperations {
|
|
6
8
|
private readonly client;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
10
|
+
* Initialize a new instance of the class ObjectReplicationPoliciesOperations class.
|
|
11
|
+
* @param client Reference to the service client
|
|
10
12
|
*/
|
|
11
13
|
constructor(client: StorageManagementClientContext);
|
|
12
14
|
/**
|
|
13
15
|
* List the object replication policies associated with the storage account.
|
|
14
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
15
|
-
*
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
17
|
+
* case insensitive.
|
|
16
18
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @param
|
|
20
|
-
* @returns Promise<Models.ObjectReplicationPoliciesListResponse>
|
|
19
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
20
|
+
* only.
|
|
21
|
+
* @param options The options parameters.
|
|
21
22
|
*/
|
|
22
|
-
list(resourceGroupName: string, accountName: string, options?:
|
|
23
|
+
list(resourceGroupName: string, accountName: string, options?: ObjectReplicationPoliciesOperationsListOptionalParams): PagedAsyncIterableIterator<ObjectReplicationPolicy>;
|
|
24
|
+
private listPagingPage;
|
|
25
|
+
private listPagingAll;
|
|
23
26
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
28
|
-
* letters only.
|
|
29
|
-
* @param callback The callback
|
|
30
|
-
*/
|
|
31
|
-
list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ObjectReplicationPolicies>): void;
|
|
32
|
-
/**
|
|
33
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
34
|
-
* is case insensitive.
|
|
27
|
+
* List the object replication policies associated with the storage account.
|
|
28
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
29
|
+
* case insensitive.
|
|
35
30
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* @param options The
|
|
39
|
-
* @param callback The callback
|
|
31
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
32
|
+
* only.
|
|
33
|
+
* @param options The options parameters.
|
|
40
34
|
*/
|
|
41
|
-
|
|
35
|
+
private _list;
|
|
42
36
|
/**
|
|
43
37
|
* Get the object replication policy of the storage account by policy ID.
|
|
44
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
45
|
-
*
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
39
|
+
* case insensitive.
|
|
46
40
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* @param objectReplicationPolicyId
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
41
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
42
|
+
* only.
|
|
43
|
+
* @param objectReplicationPolicyId For the destination account, provide the value 'default'. Configure
|
|
44
|
+
* the policy on the destination account first. For the source account, provide the value of the policy
|
|
45
|
+
* ID that is returned when you download the policy that was defined on the destination account. The
|
|
46
|
+
* policy is downloaded as a JSON file.
|
|
47
|
+
* @param options The options parameters.
|
|
53
48
|
*/
|
|
54
|
-
get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?:
|
|
55
|
-
/**
|
|
56
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
57
|
-
* is case insensitive.
|
|
58
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
59
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
60
|
-
* letters only.
|
|
61
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
62
|
-
* ID is unknown.
|
|
63
|
-
* @param callback The callback
|
|
64
|
-
*/
|
|
65
|
-
get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, callback: msRest.ServiceCallback<Models.ObjectReplicationPolicy>): void;
|
|
66
|
-
/**
|
|
67
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
68
|
-
* is case insensitive.
|
|
69
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
70
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
71
|
-
* letters only.
|
|
72
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
73
|
-
* ID is unknown.
|
|
74
|
-
* @param options The optional parameters
|
|
75
|
-
* @param callback The callback
|
|
76
|
-
*/
|
|
77
|
-
get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ObjectReplicationPolicy>): void;
|
|
49
|
+
get(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesOperationsGetOptionalParams): Promise<ObjectReplicationPoliciesOperationsGetResponse>;
|
|
78
50
|
/**
|
|
79
51
|
* Create or update the object replication policy of the storage account.
|
|
80
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
81
|
-
*
|
|
82
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
83
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
84
|
-
* letters only.
|
|
85
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
86
|
-
* ID is unknown.
|
|
87
|
-
* @param properties The object replication policy set to a storage account. A unique policy ID
|
|
88
|
-
* will be created if absent.
|
|
89
|
-
* @param [options] The optional parameters
|
|
90
|
-
* @returns Promise<Models.ObjectReplicationPoliciesCreateOrUpdateResponse>
|
|
91
|
-
*/
|
|
92
|
-
createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties: Models.ObjectReplicationPolicy, options?: msRest.RequestOptionsBase): Promise<Models.ObjectReplicationPoliciesCreateOrUpdateResponse>;
|
|
93
|
-
/**
|
|
94
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
95
|
-
* is case insensitive.
|
|
96
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
97
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
98
|
-
* letters only.
|
|
99
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
100
|
-
* ID is unknown.
|
|
101
|
-
* @param properties The object replication policy set to a storage account. A unique policy ID
|
|
102
|
-
* will be created if absent.
|
|
103
|
-
* @param callback The callback
|
|
104
|
-
*/
|
|
105
|
-
createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties: Models.ObjectReplicationPolicy, callback: msRest.ServiceCallback<Models.ObjectReplicationPolicy>): void;
|
|
106
|
-
/**
|
|
107
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
108
|
-
* is case insensitive.
|
|
52
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
53
|
+
* case insensitive.
|
|
109
54
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* @param objectReplicationPolicyId
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
* @param
|
|
117
|
-
*
|
|
55
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
56
|
+
* only.
|
|
57
|
+
* @param objectReplicationPolicyId For the destination account, provide the value 'default'. Configure
|
|
58
|
+
* the policy on the destination account first. For the source account, provide the value of the policy
|
|
59
|
+
* ID that is returned when you download the policy that was defined on the destination account. The
|
|
60
|
+
* policy is downloaded as a JSON file.
|
|
61
|
+
* @param properties The object replication policy set to a storage account. A unique policy ID will be
|
|
62
|
+
* created if absent.
|
|
63
|
+
* @param options The options parameters.
|
|
118
64
|
*/
|
|
119
|
-
createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties:
|
|
65
|
+
createOrUpdate(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, properties: ObjectReplicationPolicy, options?: ObjectReplicationPoliciesOperationsCreateOrUpdateOptionalParams): Promise<ObjectReplicationPoliciesOperationsCreateOrUpdateResponse>;
|
|
120
66
|
/**
|
|
121
67
|
* Deletes the object replication policy associated with the specified storage account.
|
|
122
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
123
|
-
*
|
|
124
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
125
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
126
|
-
* letters only.
|
|
127
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
128
|
-
* ID is unknown.
|
|
129
|
-
* @param [options] The optional parameters
|
|
130
|
-
* @returns Promise<msRest.RestResponse>
|
|
131
|
-
*/
|
|
132
|
-
deleteMethod(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
133
|
-
/**
|
|
134
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
135
|
-
* is case insensitive.
|
|
136
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
137
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
138
|
-
* letters only.
|
|
139
|
-
* @param objectReplicationPolicyId The ID of object replication policy or 'default' if the policy
|
|
140
|
-
* ID is unknown.
|
|
141
|
-
* @param callback The callback
|
|
142
|
-
*/
|
|
143
|
-
deleteMethod(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, callback: msRest.ServiceCallback<void>): void;
|
|
144
|
-
/**
|
|
145
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
146
|
-
* is case insensitive.
|
|
68
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
69
|
+
* case insensitive.
|
|
147
70
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* @param objectReplicationPolicyId
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
71
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
72
|
+
* only.
|
|
73
|
+
* @param objectReplicationPolicyId For the destination account, provide the value 'default'. Configure
|
|
74
|
+
* the policy on the destination account first. For the source account, provide the value of the policy
|
|
75
|
+
* ID that is returned when you download the policy that was defined on the destination account. The
|
|
76
|
+
* policy is downloaded as a JSON file.
|
|
77
|
+
* @param options The options parameters.
|
|
154
78
|
*/
|
|
155
|
-
|
|
79
|
+
delete(resourceGroupName: string, accountName: string, objectReplicationPolicyId: string, options?: ObjectReplicationPoliciesOperationsDeleteOptionalParams): Promise<void>;
|
|
156
80
|
}
|
|
157
81
|
//# sourceMappingURL=objectReplicationPoliciesOperations.d.ts.map
|