@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
|
@@ -3,214 +3,291 @@
|
|
|
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
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
11
12
|
import * as Parameters from "../models/parameters";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
12
14
|
/** Class representing a TableOperations. */
|
|
13
|
-
|
|
15
|
+
export class TableOperationsImpl {
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param
|
|
17
|
+
* Initialize a new instance of the class TableOperations class.
|
|
18
|
+
* @param client Reference to the service client
|
|
17
19
|
*/
|
|
18
|
-
|
|
20
|
+
constructor(client) {
|
|
19
21
|
this.client = client;
|
|
20
22
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Gets a list of all the tables under the specified storage account
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
27
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
28
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
29
|
+
* only.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(resourceGroupName, accountName, options) {
|
|
33
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: () => {
|
|
42
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
listPagingPage(resourceGroupName, accountName, options) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
48
|
+
let result = yield __await(this._list(resourceGroupName, accountName, options));
|
|
49
|
+
yield yield __await(result.value || []);
|
|
50
|
+
let continuationToken = result.nextLink;
|
|
51
|
+
while (continuationToken) {
|
|
52
|
+
result = yield __await(this._listNext(resourceGroupName, accountName, continuationToken, options));
|
|
53
|
+
continuationToken = result.nextLink;
|
|
54
|
+
yield yield __await(result.value || []);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
listPagingAll(resourceGroupName, accountName, options) {
|
|
59
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
60
|
+
var e_1, _a;
|
|
61
|
+
try {
|
|
62
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
63
|
+
const page = _c.value;
|
|
64
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
68
|
+
finally {
|
|
69
|
+
try {
|
|
70
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
71
|
+
}
|
|
72
|
+
finally { if (e_1) throw e_1.error; }
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
78
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
79
|
+
* case insensitive.
|
|
80
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
81
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
82
|
+
* only.
|
|
83
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
84
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
85
|
+
* character.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
create(resourceGroupName, accountName, tableName, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, createOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
94
|
+
* case insensitive.
|
|
95
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
96
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
97
|
+
* only.
|
|
98
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
99
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
100
|
+
* character.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
update(resourceGroupName, accountName, tableName, options) {
|
|
104
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, updateOperationSpec);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Gets the table with the specified table name, under the specified account if it exists.
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
109
|
+
* case insensitive.
|
|
110
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
111
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
112
|
+
* only.
|
|
113
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
114
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
115
|
+
* character.
|
|
116
|
+
* @param options The options parameters.
|
|
117
|
+
*/
|
|
118
|
+
get(resourceGroupName, accountName, tableName, options) {
|
|
119
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, getOperationSpec);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Deletes the table with the specified table name, under the specified account if it exists.
|
|
123
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
124
|
+
* case insensitive.
|
|
125
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
126
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
127
|
+
* only.
|
|
128
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
129
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
130
|
+
* character.
|
|
131
|
+
* @param options The options parameters.
|
|
132
|
+
*/
|
|
133
|
+
delete(resourceGroupName, accountName, tableName, options) {
|
|
134
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, tableName, options }, deleteOperationSpec);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Gets a list of all the tables under the specified storage account
|
|
138
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
139
|
+
* case insensitive.
|
|
140
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
141
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
142
|
+
* only.
|
|
143
|
+
* @param options The options parameters.
|
|
144
|
+
*/
|
|
145
|
+
_list(resourceGroupName, accountName, options) {
|
|
146
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* ListNext
|
|
150
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
151
|
+
* case insensitive.
|
|
152
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
153
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
154
|
+
* only.
|
|
155
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
156
|
+
* @param options The options parameters.
|
|
157
|
+
*/
|
|
158
|
+
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
159
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
69
162
|
// Operation Specifications
|
|
70
|
-
|
|
71
|
-
|
|
163
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
164
|
+
const createOperationSpec = {
|
|
165
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
72
166
|
httpMethod: "PUT",
|
|
73
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
74
|
-
urlParameters: [
|
|
75
|
-
Parameters.resourceGroupName,
|
|
76
|
-
Parameters.accountName,
|
|
77
|
-
Parameters.subscriptionId,
|
|
78
|
-
Parameters.tableName
|
|
79
|
-
],
|
|
80
|
-
queryParameters: [
|
|
81
|
-
Parameters.apiVersion
|
|
82
|
-
],
|
|
83
|
-
headerParameters: [
|
|
84
|
-
Parameters.acceptLanguage
|
|
85
|
-
],
|
|
86
167
|
responses: {
|
|
87
168
|
200: {
|
|
88
169
|
bodyMapper: Mappers.Table
|
|
89
170
|
},
|
|
90
171
|
default: {
|
|
91
|
-
bodyMapper: Mappers.
|
|
172
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
92
173
|
}
|
|
93
174
|
},
|
|
94
|
-
|
|
95
|
-
};
|
|
96
|
-
var updateOperationSpec = {
|
|
97
|
-
httpMethod: "PATCH",
|
|
98
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
175
|
+
queryParameters: [Parameters.apiVersion],
|
|
99
176
|
urlParameters: [
|
|
100
|
-
Parameters
|
|
101
|
-
Parameters.accountName,
|
|
177
|
+
Parameters.$host,
|
|
102
178
|
Parameters.subscriptionId,
|
|
179
|
+
Parameters.resourceGroupName,
|
|
180
|
+
Parameters.accountName1,
|
|
103
181
|
Parameters.tableName
|
|
104
182
|
],
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
183
|
+
headerParameters: [Parameters.accept],
|
|
184
|
+
serializer
|
|
185
|
+
};
|
|
186
|
+
const updateOperationSpec = {
|
|
187
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
188
|
+
httpMethod: "PATCH",
|
|
111
189
|
responses: {
|
|
112
190
|
200: {
|
|
113
191
|
bodyMapper: Mappers.Table
|
|
114
192
|
},
|
|
115
193
|
default: {
|
|
116
|
-
bodyMapper: Mappers.
|
|
194
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
117
195
|
}
|
|
118
196
|
},
|
|
119
|
-
|
|
120
|
-
};
|
|
121
|
-
var getOperationSpec = {
|
|
122
|
-
httpMethod: "GET",
|
|
123
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
197
|
+
queryParameters: [Parameters.apiVersion],
|
|
124
198
|
urlParameters: [
|
|
125
|
-
Parameters
|
|
126
|
-
Parameters.accountName,
|
|
199
|
+
Parameters.$host,
|
|
127
200
|
Parameters.subscriptionId,
|
|
201
|
+
Parameters.resourceGroupName,
|
|
202
|
+
Parameters.accountName1,
|
|
128
203
|
Parameters.tableName
|
|
129
204
|
],
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
205
|
+
headerParameters: [Parameters.accept],
|
|
206
|
+
serializer
|
|
207
|
+
};
|
|
208
|
+
const getOperationSpec = {
|
|
209
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
210
|
+
httpMethod: "GET",
|
|
136
211
|
responses: {
|
|
137
212
|
200: {
|
|
138
213
|
bodyMapper: Mappers.Table
|
|
139
214
|
},
|
|
140
215
|
default: {
|
|
141
|
-
bodyMapper: Mappers.
|
|
216
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
142
217
|
}
|
|
143
218
|
},
|
|
144
|
-
|
|
145
|
-
};
|
|
146
|
-
var deleteMethodOperationSpec = {
|
|
147
|
-
httpMethod: "DELETE",
|
|
148
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
219
|
+
queryParameters: [Parameters.apiVersion],
|
|
149
220
|
urlParameters: [
|
|
150
|
-
Parameters
|
|
151
|
-
Parameters.accountName,
|
|
221
|
+
Parameters.$host,
|
|
152
222
|
Parameters.subscriptionId,
|
|
223
|
+
Parameters.resourceGroupName,
|
|
224
|
+
Parameters.accountName1,
|
|
153
225
|
Parameters.tableName
|
|
154
226
|
],
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
227
|
+
headerParameters: [Parameters.accept],
|
|
228
|
+
serializer
|
|
229
|
+
};
|
|
230
|
+
const deleteOperationSpec = {
|
|
231
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
232
|
+
httpMethod: "DELETE",
|
|
161
233
|
responses: {
|
|
162
234
|
204: {},
|
|
163
235
|
default: {
|
|
164
|
-
bodyMapper: Mappers.
|
|
236
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
165
237
|
}
|
|
166
238
|
},
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
var listOperationSpec = {
|
|
170
|
-
httpMethod: "GET",
|
|
171
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
239
|
+
queryParameters: [Parameters.apiVersion],
|
|
172
240
|
urlParameters: [
|
|
241
|
+
Parameters.$host,
|
|
242
|
+
Parameters.subscriptionId,
|
|
173
243
|
Parameters.resourceGroupName,
|
|
174
|
-
Parameters.
|
|
175
|
-
Parameters.
|
|
176
|
-
],
|
|
177
|
-
queryParameters: [
|
|
178
|
-
Parameters.apiVersion
|
|
179
|
-
],
|
|
180
|
-
headerParameters: [
|
|
181
|
-
Parameters.acceptLanguage
|
|
244
|
+
Parameters.accountName1,
|
|
245
|
+
Parameters.tableName
|
|
182
246
|
],
|
|
247
|
+
headerParameters: [Parameters.accept],
|
|
248
|
+
serializer
|
|
249
|
+
};
|
|
250
|
+
const listOperationSpec = {
|
|
251
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
252
|
+
httpMethod: "GET",
|
|
183
253
|
responses: {
|
|
184
254
|
200: {
|
|
185
255
|
bodyMapper: Mappers.ListTableResource
|
|
186
256
|
},
|
|
187
257
|
default: {
|
|
188
|
-
bodyMapper: Mappers.
|
|
258
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
189
259
|
}
|
|
190
260
|
},
|
|
191
|
-
|
|
192
|
-
};
|
|
193
|
-
var listNextOperationSpec = {
|
|
194
|
-
httpMethod: "GET",
|
|
195
|
-
baseUrl: "https://management.azure.com",
|
|
196
|
-
path: "{nextLink}",
|
|
261
|
+
queryParameters: [Parameters.apiVersion],
|
|
197
262
|
urlParameters: [
|
|
198
|
-
Parameters
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
Parameters.
|
|
202
|
-
],
|
|
203
|
-
headerParameters: [
|
|
204
|
-
Parameters.acceptLanguage
|
|
263
|
+
Parameters.$host,
|
|
264
|
+
Parameters.subscriptionId,
|
|
265
|
+
Parameters.resourceGroupName,
|
|
266
|
+
Parameters.accountName1
|
|
205
267
|
],
|
|
268
|
+
headerParameters: [Parameters.accept],
|
|
269
|
+
serializer
|
|
270
|
+
};
|
|
271
|
+
const listNextOperationSpec = {
|
|
272
|
+
path: "{nextLink}",
|
|
273
|
+
httpMethod: "GET",
|
|
206
274
|
responses: {
|
|
207
275
|
200: {
|
|
208
276
|
bodyMapper: Mappers.ListTableResource
|
|
209
277
|
},
|
|
210
278
|
default: {
|
|
211
|
-
bodyMapper: Mappers.
|
|
279
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
212
280
|
}
|
|
213
281
|
},
|
|
214
|
-
|
|
282
|
+
queryParameters: [Parameters.apiVersion],
|
|
283
|
+
urlParameters: [
|
|
284
|
+
Parameters.$host,
|
|
285
|
+
Parameters.subscriptionId,
|
|
286
|
+
Parameters.resourceGroupName,
|
|
287
|
+
Parameters.accountName1,
|
|
288
|
+
Parameters.nextLink
|
|
289
|
+
],
|
|
290
|
+
headerParameters: [Parameters.accept],
|
|
291
|
+
serializer
|
|
215
292
|
};
|
|
216
293
|
//# sourceMappingURL=tableOperations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableOperations.js","sourceRoot":"","sources":["../../src/operations/tableOperations.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"tableOperations.js","sourceRoot":"","sources":["../../src/operations/tableOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,oBAAoB,CAAC;AAG5B,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAiBnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;YACtE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,WAAmB,EACnB,OAA2C;;YAE3C,IAAI,MAAM,GAAG,cAAM,IAAI,CAA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;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,105 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as Models from "../models";
|
|
1
|
+
import { TableServices } from "../operationsInterfaces";
|
|
3
2
|
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
3
|
+
import { TableServicesListOptionalParams, TableServicesListResponse, TableServiceProperties, TableServicesSetServicePropertiesOptionalParams, TableServicesSetServicePropertiesResponse, TableServicesGetServicePropertiesOptionalParams, TableServicesGetServicePropertiesResponse } from "../models";
|
|
4
4
|
/** Class representing a TableServices. */
|
|
5
|
-
export declare class TableServices {
|
|
5
|
+
export declare class TableServicesImpl implements TableServices {
|
|
6
6
|
private readonly client;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
8
|
+
* Initialize a new instance of the class TableServices class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
10
|
*/
|
|
11
11
|
constructor(client: StorageManagementClientContext);
|
|
12
12
|
/**
|
|
13
13
|
* List all table services for the 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
|
-
* @returns Promise<Models.TableServicesListResponse>
|
|
17
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
18
|
+
* only.
|
|
19
|
+
* @param options The options parameters.
|
|
21
20
|
*/
|
|
22
|
-
list(resourceGroupName: string, accountName: string, options?:
|
|
21
|
+
list(resourceGroupName: string, accountName: string, options?: TableServicesListOptionalParams): Promise<TableServicesListResponse>;
|
|
23
22
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* Sets the properties of a storage account’s Table service, including properties for Storage Analytics
|
|
24
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
26
27
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
* @param
|
|
28
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
29
|
+
* only.
|
|
30
|
+
* @param parameters The properties of a storage account’s Table service, only properties for Storage
|
|
31
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
|
|
32
|
+
* @param options The options parameters.
|
|
30
33
|
*/
|
|
31
|
-
|
|
34
|
+
setServiceProperties(resourceGroupName: string, accountName: string, parameters: TableServiceProperties, options?: TableServicesSetServicePropertiesOptionalParams): Promise<TableServicesSetServicePropertiesResponse>;
|
|
32
35
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
36
|
+
* Gets 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.
|
|
35
40
|
* @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
|
|
41
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
42
|
+
* only.
|
|
43
|
+
* @param options The options parameters.
|
|
40
44
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Sets the properties of a storage account’s Table service, including properties for Storage
|
|
44
|
-
* Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
45
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
46
|
-
* is case insensitive.
|
|
47
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
48
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
49
|
-
* letters only.
|
|
50
|
-
* @param [options] The optional parameters
|
|
51
|
-
* @returns Promise<Models.TableServicesSetServicePropertiesResponse>
|
|
52
|
-
*/
|
|
53
|
-
setServiceProperties(resourceGroupName: string, accountName: string, options?: Models.TableServicesSetServicePropertiesOptionalParams): Promise<Models.TableServicesSetServicePropertiesResponse>;
|
|
54
|
-
/**
|
|
55
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
56
|
-
* is case insensitive.
|
|
57
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
58
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
59
|
-
* letters only.
|
|
60
|
-
* @param callback The callback
|
|
61
|
-
*/
|
|
62
|
-
setServiceProperties(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.TableServiceProperties>): void;
|
|
63
|
-
/**
|
|
64
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
65
|
-
* is case insensitive.
|
|
66
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
67
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
68
|
-
* letters only.
|
|
69
|
-
* @param options The optional parameters
|
|
70
|
-
* @param callback The callback
|
|
71
|
-
*/
|
|
72
|
-
setServiceProperties(resourceGroupName: string, accountName: string, options: Models.TableServicesSetServicePropertiesOptionalParams, callback: msRest.ServiceCallback<Models.TableServiceProperties>): void;
|
|
73
|
-
/**
|
|
74
|
-
* Gets the properties of a storage account’s Table service, including properties for Storage
|
|
75
|
-
* Analytics and CORS (Cross-Origin Resource Sharing) rules.
|
|
76
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
77
|
-
* is case insensitive.
|
|
78
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
79
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
80
|
-
* letters only.
|
|
81
|
-
* @param [options] The optional parameters
|
|
82
|
-
* @returns Promise<Models.TableServicesGetServicePropertiesResponse>
|
|
83
|
-
*/
|
|
84
|
-
getServiceProperties(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.TableServicesGetServicePropertiesResponse>;
|
|
85
|
-
/**
|
|
86
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
87
|
-
* is case insensitive.
|
|
88
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
89
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
90
|
-
* letters only.
|
|
91
|
-
* @param callback The callback
|
|
92
|
-
*/
|
|
93
|
-
getServiceProperties(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.TableServiceProperties>): void;
|
|
94
|
-
/**
|
|
95
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
96
|
-
* is case insensitive.
|
|
97
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
98
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
99
|
-
* letters only.
|
|
100
|
-
* @param options The optional parameters
|
|
101
|
-
* @param callback The callback
|
|
102
|
-
*/
|
|
103
|
-
getServiceProperties(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TableServiceProperties>): void;
|
|
45
|
+
getServiceProperties(resourceGroupName: string, accountName: string, options?: TableServicesGetServicePropertiesOptionalParams): Promise<TableServicesGetServicePropertiesResponse>;
|
|
104
46
|
}
|
|
105
47
|
//# sourceMappingURL=tableServices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tableServices.d.ts","sourceRoot":"","sources":["../../src/operations/tableServices.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tableServices.d.ts","sourceRoot":"","sources":["../../src/operations/tableServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,sBAAsB,EACtB,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAEnB,0CAA0C;AAC1C,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAiC;IAExD;;;OAGG;gBACS,MAAM,EAAE,8BAA8B;IAIlD;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;CAMtD"}
|