@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
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
|
|
9
|
+
import {
|
|
10
|
+
TableServicesListOptionalParams,
|
|
11
|
+
TableServicesListResponse,
|
|
12
|
+
TableServiceProperties,
|
|
13
|
+
TableServicesSetServicePropertiesOptionalParams,
|
|
14
|
+
TableServicesSetServicePropertiesResponse,
|
|
15
|
+
TableServicesGetServicePropertiesOptionalParams,
|
|
16
|
+
TableServicesGetServicePropertiesResponse
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/** Interface representing a TableServices. */
|
|
20
|
+
export interface TableServices {
|
|
21
|
+
/**
|
|
22
|
+
* List all table services for the storage account.
|
|
23
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
24
|
+
* case insensitive.
|
|
25
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
26
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
27
|
+
* only.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
accountName: string,
|
|
33
|
+
options?: TableServicesListOptionalParams
|
|
34
|
+
): Promise<TableServicesListResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
37
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
39
|
+
* case insensitive.
|
|
40
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
41
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
42
|
+
* only.
|
|
43
|
+
* @param parameters The properties of a storage account’s Table service, only properties for Storage
|
|
44
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
setServiceProperties(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
accountName: string,
|
|
50
|
+
parameters: TableServiceProperties,
|
|
51
|
+
options?: TableServicesSetServicePropertiesOptionalParams
|
|
52
|
+
): Promise<TableServicesSetServicePropertiesResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
55
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
57
|
+
* 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 letters
|
|
60
|
+
* only.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
getServiceProperties(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
accountName: string,
|
|
66
|
+
options?: TableServicesGetServicePropertiesOptionalParams
|
|
67
|
+
): Promise<TableServicesGetServicePropertiesResponse>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { Usage, UsagesListByLocationOptionalParams } from "../models";
|
|
12
|
+
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Interface representing a Usages. */
|
|
15
|
+
export interface Usages {
|
|
16
|
+
/**
|
|
17
|
+
* Gets the current usage count and the limit for the resources of the location under the subscription.
|
|
18
|
+
* @param location The location of the Azure Storage resource.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listByLocation(
|
|
22
|
+
location: string,
|
|
23
|
+
options?: UsagesListByLocationOptionalParams
|
|
24
|
+
): PagedAsyncIterableIterator<Usage>;
|
|
25
|
+
}
|
|
@@ -3,81 +3,108 @@
|
|
|
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
|
|
|
10
|
-
import * as
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
import * as coreAuth from "@azure/core-auth";
|
|
10
|
+
import {
|
|
11
|
+
OperationsImpl,
|
|
12
|
+
SkusImpl,
|
|
13
|
+
StorageAccountsImpl,
|
|
14
|
+
DeletedAccountsImpl,
|
|
15
|
+
UsagesImpl,
|
|
16
|
+
ManagementPoliciesImpl,
|
|
17
|
+
BlobInventoryPoliciesImpl,
|
|
18
|
+
PrivateEndpointConnectionsImpl,
|
|
19
|
+
PrivateLinkResourcesImpl,
|
|
20
|
+
ObjectReplicationPoliciesOperationsImpl,
|
|
21
|
+
EncryptionScopesImpl,
|
|
22
|
+
BlobServicesImpl,
|
|
23
|
+
BlobContainersImpl,
|
|
24
|
+
FileServicesImpl,
|
|
25
|
+
FileSharesImpl,
|
|
26
|
+
QueueServicesImpl,
|
|
27
|
+
QueueImpl,
|
|
28
|
+
TableServicesImpl,
|
|
29
|
+
TableOperationsImpl
|
|
30
|
+
} from "./operations";
|
|
31
|
+
import {
|
|
32
|
+
Operations,
|
|
33
|
+
Skus,
|
|
34
|
+
StorageAccounts,
|
|
35
|
+
DeletedAccounts,
|
|
36
|
+
Usages,
|
|
37
|
+
ManagementPolicies,
|
|
38
|
+
BlobInventoryPolicies,
|
|
39
|
+
PrivateEndpointConnections,
|
|
40
|
+
PrivateLinkResources,
|
|
41
|
+
ObjectReplicationPoliciesOperations,
|
|
42
|
+
EncryptionScopes,
|
|
43
|
+
BlobServices,
|
|
44
|
+
BlobContainers,
|
|
45
|
+
FileServices,
|
|
46
|
+
FileShares,
|
|
47
|
+
QueueServices,
|
|
48
|
+
Queue,
|
|
49
|
+
TableServices,
|
|
50
|
+
TableOperations
|
|
51
|
+
} from "./operationsInterfaces";
|
|
15
52
|
import { StorageManagementClientContext } from "./storageManagementClientContext";
|
|
53
|
+
import { StorageManagementClientOptionalParams } from "./models";
|
|
16
54
|
|
|
17
|
-
|
|
18
|
-
class StorageManagementClient extends StorageManagementClientContext {
|
|
19
|
-
// Operation groups
|
|
20
|
-
operations: operations.Operations;
|
|
21
|
-
skus: operations.Skus;
|
|
22
|
-
storageAccounts: operations.StorageAccounts;
|
|
23
|
-
deletedAccounts: operations.DeletedAccounts;
|
|
24
|
-
usages: operations.Usages;
|
|
25
|
-
managementPolicies: operations.ManagementPolicies;
|
|
26
|
-
blobInventoryPolicies: operations.BlobInventoryPolicies;
|
|
27
|
-
privateEndpointConnections: operations.PrivateEndpointConnections;
|
|
28
|
-
privateLinkResources: operations.PrivateLinkResources;
|
|
29
|
-
objectReplicationPolicies: operations.ObjectReplicationPoliciesOperations;
|
|
30
|
-
encryptionScopes: operations.EncryptionScopes;
|
|
31
|
-
blobServices: operations.BlobServices;
|
|
32
|
-
blobContainers: operations.BlobContainers;
|
|
33
|
-
fileServices: operations.FileServices;
|
|
34
|
-
fileShares: operations.FileShares;
|
|
35
|
-
queueServices: operations.QueueServices;
|
|
36
|
-
queue: operations.Queue;
|
|
37
|
-
tableServices: operations.TableServices;
|
|
38
|
-
table: operations.TableOperations;
|
|
39
|
-
|
|
55
|
+
export class StorageManagementClient extends StorageManagementClientContext {
|
|
40
56
|
/**
|
|
41
57
|
* Initializes a new instance of the StorageManagementClient class.
|
|
42
|
-
* @param credentials
|
|
43
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
44
|
-
* more information about these credentials, see
|
|
45
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
46
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
47
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
58
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
48
59
|
* @param subscriptionId The ID of the target subscription.
|
|
49
|
-
* @param
|
|
60
|
+
* @param options The parameter options
|
|
50
61
|
*/
|
|
51
|
-
constructor(
|
|
62
|
+
constructor(
|
|
63
|
+
credentials: coreAuth.TokenCredential,
|
|
64
|
+
subscriptionId: string,
|
|
65
|
+
options?: StorageManagementClientOptionalParams
|
|
66
|
+
) {
|
|
52
67
|
super(credentials, subscriptionId, options);
|
|
53
|
-
this.operations = new
|
|
54
|
-
this.skus = new
|
|
55
|
-
this.storageAccounts = new
|
|
56
|
-
this.deletedAccounts = new
|
|
57
|
-
this.usages = new
|
|
58
|
-
this.managementPolicies = new
|
|
59
|
-
this.blobInventoryPolicies = new
|
|
60
|
-
this.privateEndpointConnections = new
|
|
61
|
-
this.privateLinkResources = new
|
|
62
|
-
this.
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
this.
|
|
66
|
-
this.
|
|
67
|
-
this.
|
|
68
|
-
this.
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
68
|
+
this.operations = new OperationsImpl(this);
|
|
69
|
+
this.skus = new SkusImpl(this);
|
|
70
|
+
this.storageAccounts = new StorageAccountsImpl(this);
|
|
71
|
+
this.deletedAccounts = new DeletedAccountsImpl(this);
|
|
72
|
+
this.usages = new UsagesImpl(this);
|
|
73
|
+
this.managementPolicies = new ManagementPoliciesImpl(this);
|
|
74
|
+
this.blobInventoryPolicies = new BlobInventoryPoliciesImpl(this);
|
|
75
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
76
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
77
|
+
this.objectReplicationPoliciesOperations = new ObjectReplicationPoliciesOperationsImpl(
|
|
78
|
+
this
|
|
79
|
+
);
|
|
80
|
+
this.encryptionScopes = new EncryptionScopesImpl(this);
|
|
81
|
+
this.blobServices = new BlobServicesImpl(this);
|
|
82
|
+
this.blobContainers = new BlobContainersImpl(this);
|
|
83
|
+
this.fileServices = new FileServicesImpl(this);
|
|
84
|
+
this.fileShares = new FileSharesImpl(this);
|
|
85
|
+
this.queueServices = new QueueServicesImpl(this);
|
|
86
|
+
this.queue = new QueueImpl(this);
|
|
87
|
+
this.tableServices = new TableServicesImpl(this);
|
|
88
|
+
this.tableOperations = new TableOperationsImpl(this);
|
|
72
89
|
}
|
|
73
|
-
}
|
|
74
90
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
91
|
+
operations: Operations;
|
|
92
|
+
skus: Skus;
|
|
93
|
+
storageAccounts: StorageAccounts;
|
|
94
|
+
deletedAccounts: DeletedAccounts;
|
|
95
|
+
usages: Usages;
|
|
96
|
+
managementPolicies: ManagementPolicies;
|
|
97
|
+
blobInventoryPolicies: BlobInventoryPolicies;
|
|
98
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
99
|
+
privateLinkResources: PrivateLinkResources;
|
|
100
|
+
objectReplicationPoliciesOperations: ObjectReplicationPoliciesOperations;
|
|
101
|
+
encryptionScopes: EncryptionScopes;
|
|
102
|
+
blobServices: BlobServices;
|
|
103
|
+
blobContainers: BlobContainers;
|
|
104
|
+
fileServices: FileServices;
|
|
105
|
+
fileShares: FileShares;
|
|
106
|
+
queueServices: QueueServices;
|
|
107
|
+
queue: Queue;
|
|
108
|
+
tableServices: TableServices;
|
|
109
|
+
tableOperations: TableOperations;
|
|
110
|
+
}
|
|
@@ -3,72 +3,68 @@
|
|
|
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
|
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import {
|
|
13
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as coreAuth from "@azure/core-auth";
|
|
11
|
+
import { StorageManagementClientOptionalParams } from "./models";
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export class StorageManagementClientContext extends msRestAzure.AzureServiceClient {
|
|
19
|
-
credentials: msRest.ServiceClientCredentials | TokenCredential;
|
|
13
|
+
export class StorageManagementClientContext extends coreClient.ServiceClient {
|
|
14
|
+
$host: string;
|
|
15
|
+
apiVersion: string;
|
|
20
16
|
subscriptionId: string;
|
|
21
|
-
apiVersion?: string;
|
|
22
17
|
|
|
23
18
|
/**
|
|
24
|
-
* Initializes a new instance of the
|
|
25
|
-
* @param credentials
|
|
26
|
-
* implementing the TokenCredential interface from the @azure/identity package are recommended. For
|
|
27
|
-
* more information about these credentials, see
|
|
28
|
-
* {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
|
|
29
|
-
* ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
|
|
30
|
-
* @azure/ms-rest-browserauth are also supported.
|
|
19
|
+
* Initializes a new instance of the StorageManagementClientContext class.
|
|
20
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
31
21
|
* @param subscriptionId The ID of the target subscription.
|
|
32
|
-
* @param
|
|
22
|
+
* @param options The parameter options
|
|
33
23
|
*/
|
|
34
24
|
constructor(
|
|
35
|
-
credentials:
|
|
25
|
+
credentials: coreAuth.TokenCredential,
|
|
36
26
|
subscriptionId: string,
|
|
37
|
-
options?:
|
|
27
|
+
options?: StorageManagementClientOptionalParams
|
|
38
28
|
) {
|
|
39
|
-
if (credentials
|
|
40
|
-
throw new Error("'credentials' cannot be null
|
|
29
|
+
if (credentials === undefined) {
|
|
30
|
+
throw new Error("'credentials' cannot be null");
|
|
41
31
|
}
|
|
42
|
-
if (subscriptionId
|
|
43
|
-
throw new Error("'subscriptionId' cannot be null
|
|
32
|
+
if (subscriptionId === undefined) {
|
|
33
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
44
34
|
}
|
|
45
35
|
|
|
36
|
+
// Initializing default values for options
|
|
46
37
|
if (!options) {
|
|
47
38
|
options = {};
|
|
48
39
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
40
|
+
const defaults: StorageManagementClientOptionalParams = {
|
|
41
|
+
requestContentType: "application/json; charset=utf-8",
|
|
42
|
+
credential: credentials
|
|
43
|
+
};
|
|
53
44
|
|
|
54
|
-
|
|
45
|
+
const packageDetails = `azsdk-js-arm-storage/17.0.0-beta.1`;
|
|
46
|
+
const userAgentPrefix =
|
|
47
|
+
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
48
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
49
|
+
: `${packageDetails}`;
|
|
55
50
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
51
|
+
if (!options.credentialScopes) {
|
|
52
|
+
options.credentialScopes = ["https://management.azure.com/.default"];
|
|
53
|
+
}
|
|
54
|
+
const optionsWithDefaults = {
|
|
55
|
+
...defaults,
|
|
56
|
+
...options,
|
|
57
|
+
userAgentOptions: {
|
|
58
|
+
userAgentPrefix
|
|
59
|
+
},
|
|
60
|
+
baseUri: options.endpoint || "https://management.azure.com"
|
|
61
|
+
};
|
|
62
|
+
super(optionsWithDefaults);
|
|
63
|
+
// Parameter assignments
|
|
62
64
|
this.subscriptionId = subscriptionId;
|
|
63
65
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
if (
|
|
68
|
-
options.longRunningOperationRetryTimeout !== null &&
|
|
69
|
-
options.longRunningOperationRetryTimeout !== undefined
|
|
70
|
-
) {
|
|
71
|
-
this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
|
|
72
|
-
}
|
|
66
|
+
// Assigning values to Constant parameters
|
|
67
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
68
|
+
this.apiVersion = options.apiVersion || "2021-04-01";
|
|
73
69
|
}
|
|
74
70
|
}
|
package/tsconfig.json
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
"module": "es6",
|
|
4
4
|
"moduleResolution": "node",
|
|
5
5
|
"strict": true,
|
|
6
|
-
"target": "
|
|
6
|
+
"target": "es6",
|
|
7
7
|
"sourceMap": true,
|
|
8
8
|
"declarationMap": true,
|
|
9
9
|
"esModuleInterop": true,
|
|
10
10
|
"allowSyntheticDefaultImports": true,
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
|
12
|
+
"preserveConstEnums": true,
|
|
12
13
|
"lib": ["es6", "dom"],
|
|
13
14
|
"declaration": true,
|
|
14
15
|
"outDir": "./esm",
|