@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,451 +3,378 @@
|
|
|
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
|
|
11
|
-
import
|
|
12
|
-
import
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { TableOperations } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
13
14
|
import * as Parameters from "../models/parameters";
|
|
14
15
|
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
16
|
+
import {
|
|
17
|
+
Table,
|
|
18
|
+
TableOperationsListNextOptionalParams,
|
|
19
|
+
TableOperationsListOptionalParams,
|
|
20
|
+
TableOperationsCreateOptionalParams,
|
|
21
|
+
TableOperationsCreateResponse,
|
|
22
|
+
TableOperationsUpdateOptionalParams,
|
|
23
|
+
TableOperationsUpdateResponse,
|
|
24
|
+
TableOperationsGetOptionalParams,
|
|
25
|
+
TableOperationsGetResponse,
|
|
26
|
+
TableOperationsDeleteOptionalParams,
|
|
27
|
+
TableOperationsListResponse,
|
|
28
|
+
TableOperationsListNextResponse
|
|
29
|
+
} from "../models";
|
|
15
30
|
|
|
31
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
32
|
/** Class representing a TableOperations. */
|
|
17
|
-
export class TableOperations {
|
|
33
|
+
export class TableOperationsImpl implements TableOperations {
|
|
18
34
|
private readonly client: StorageManagementClientContext;
|
|
19
35
|
|
|
20
36
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
37
|
+
* Initialize a new instance of the class TableOperations class.
|
|
38
|
+
* @param client Reference to the service client
|
|
23
39
|
*/
|
|
24
40
|
constructor(client: StorageManagementClientContext) {
|
|
25
41
|
this.client = client;
|
|
26
42
|
}
|
|
27
43
|
|
|
28
44
|
/**
|
|
29
|
-
*
|
|
30
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
31
|
-
*
|
|
32
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
33
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
34
|
-
* letters only.
|
|
35
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
36
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
37
|
-
* numeric character.
|
|
38
|
-
* @param [options] The optional parameters
|
|
39
|
-
* @returns Promise<Models.TableCreateResponse>
|
|
40
|
-
*/
|
|
41
|
-
create(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise<Models.TableCreateResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
44
|
-
* is case insensitive.
|
|
45
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
46
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
47
|
-
* letters only.
|
|
48
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
49
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
50
|
-
* numeric character.
|
|
51
|
-
* @param callback The callback
|
|
52
|
-
*/
|
|
53
|
-
create(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback<Models.Table>): void;
|
|
54
|
-
/**
|
|
55
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
56
|
-
* is case insensitive.
|
|
45
|
+
* Gets a list of all the tables under the specified storage account
|
|
46
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
47
|
+
* case insensitive.
|
|
57
48
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
* @param
|
|
61
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
62
|
-
* numeric character.
|
|
63
|
-
* @param options The optional parameters
|
|
64
|
-
* @param callback The callback
|
|
49
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
50
|
+
* only.
|
|
51
|
+
* @param options The options parameters.
|
|
65
52
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
53
|
+
public list(
|
|
54
|
+
resourceGroupName: string,
|
|
55
|
+
accountName: string,
|
|
56
|
+
options?: TableOperationsListOptionalParams
|
|
57
|
+
): PagedAsyncIterableIterator<Table> {
|
|
58
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
59
|
+
return {
|
|
60
|
+
next() {
|
|
61
|
+
return iter.next();
|
|
62
|
+
},
|
|
63
|
+
[Symbol.asyncIterator]() {
|
|
64
|
+
return this;
|
|
65
|
+
},
|
|
66
|
+
byPage: () => {
|
|
67
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
private async *listPagingPage(
|
|
73
|
+
resourceGroupName: string,
|
|
74
|
+
accountName: string,
|
|
75
|
+
options?: TableOperationsListOptionalParams
|
|
76
|
+
): AsyncIterableIterator<Table[]> {
|
|
77
|
+
let result = await this._list(resourceGroupName, accountName, options);
|
|
78
|
+
yield result.value || [];
|
|
79
|
+
let continuationToken = result.nextLink;
|
|
80
|
+
while (continuationToken) {
|
|
81
|
+
result = await this._listNext(
|
|
70
82
|
resourceGroupName,
|
|
71
83
|
accountName,
|
|
72
|
-
|
|
84
|
+
continuationToken,
|
|
73
85
|
options
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
86
|
+
);
|
|
87
|
+
continuationToken = result.nextLink;
|
|
88
|
+
yield result.value || [];
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
private async *listPagingAll(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
accountName: string,
|
|
95
|
+
options?: TableOperationsListOptionalParams
|
|
96
|
+
): AsyncIterableIterator<Table> {
|
|
97
|
+
for await (const page of this.listPagingPage(
|
|
98
|
+
resourceGroupName,
|
|
99
|
+
accountName,
|
|
100
|
+
options
|
|
101
|
+
)) {
|
|
102
|
+
yield* page;
|
|
103
|
+
}
|
|
77
104
|
}
|
|
78
105
|
|
|
79
106
|
/**
|
|
80
107
|
* Creates a new table with the specified table name, under the specified account.
|
|
81
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
82
|
-
*
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
109
|
+
* case insensitive.
|
|
83
110
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* @param
|
|
90
|
-
* @returns Promise<Models.TableUpdateResponse>
|
|
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.
|
|
91
117
|
*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
update(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback<Models.Table>): void;
|
|
118
|
+
create(
|
|
119
|
+
resourceGroupName: string,
|
|
120
|
+
accountName: string,
|
|
121
|
+
tableName: string,
|
|
122
|
+
options?: TableOperationsCreateOptionalParams
|
|
123
|
+
): Promise<TableOperationsCreateResponse> {
|
|
124
|
+
return this.client.sendOperationRequest(
|
|
125
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
126
|
+
createOperationSpec
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
105
130
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
131
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
132
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
133
|
+
* case insensitive.
|
|
108
134
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
* @param options The
|
|
115
|
-
* @param callback The callback
|
|
135
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
136
|
+
* only.
|
|
137
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
138
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
139
|
+
* character.
|
|
140
|
+
* @param options The options parameters.
|
|
116
141
|
*/
|
|
117
|
-
update(
|
|
118
|
-
|
|
142
|
+
update(
|
|
143
|
+
resourceGroupName: string,
|
|
144
|
+
accountName: string,
|
|
145
|
+
tableName: string,
|
|
146
|
+
options?: TableOperationsUpdateOptionalParams
|
|
147
|
+
): Promise<TableOperationsUpdateResponse> {
|
|
119
148
|
return this.client.sendOperationRequest(
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
tableName,
|
|
124
|
-
options
|
|
125
|
-
},
|
|
126
|
-
updateOperationSpec,
|
|
127
|
-
callback) as Promise<Models.TableUpdateResponse>;
|
|
149
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
150
|
+
updateOperationSpec
|
|
151
|
+
);
|
|
128
152
|
}
|
|
129
153
|
|
|
130
154
|
/**
|
|
131
155
|
* Gets the table with the specified table name, under the specified account if it exists.
|
|
132
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
133
|
-
*
|
|
134
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
135
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
136
|
-
* letters only.
|
|
137
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
138
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
139
|
-
* numeric character.
|
|
140
|
-
* @param [options] The optional parameters
|
|
141
|
-
* @returns Promise<Models.TableGetResponse>
|
|
142
|
-
*/
|
|
143
|
-
get(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase): Promise<Models.TableGetResponse>;
|
|
144
|
-
/**
|
|
145
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
146
|
-
* is case insensitive.
|
|
147
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
148
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
149
|
-
* letters only.
|
|
150
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
151
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
152
|
-
* numeric character.
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
get(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback<Models.Table>): void;
|
|
156
|
-
/**
|
|
157
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
158
|
-
* is case insensitive.
|
|
156
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
157
|
+
* case insensitive.
|
|
159
158
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* @param options The
|
|
166
|
-
* @param callback The callback
|
|
159
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
160
|
+
* only.
|
|
161
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
162
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
163
|
+
* character.
|
|
164
|
+
* @param options The options parameters.
|
|
167
165
|
*/
|
|
168
|
-
get(
|
|
169
|
-
|
|
166
|
+
get(
|
|
167
|
+
resourceGroupName: string,
|
|
168
|
+
accountName: string,
|
|
169
|
+
tableName: string,
|
|
170
|
+
options?: TableOperationsGetOptionalParams
|
|
171
|
+
): Promise<TableOperationsGetResponse> {
|
|
170
172
|
return this.client.sendOperationRequest(
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
tableName,
|
|
175
|
-
options
|
|
176
|
-
},
|
|
177
|
-
getOperationSpec,
|
|
178
|
-
callback) as Promise<Models.TableGetResponse>;
|
|
173
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
174
|
+
getOperationSpec
|
|
175
|
+
);
|
|
179
176
|
}
|
|
180
177
|
|
|
181
178
|
/**
|
|
182
179
|
* Deletes the table with the specified table name, under the specified account if it exists.
|
|
183
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
184
|
-
*
|
|
180
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
181
|
+
* case insensitive.
|
|
185
182
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
* @param
|
|
192
|
-
* @returns Promise<msRest.RestResponse>
|
|
183
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
184
|
+
* only.
|
|
185
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
186
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
187
|
+
* character.
|
|
188
|
+
* @param options The options parameters.
|
|
193
189
|
*/
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
* letters only.
|
|
201
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
202
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
203
|
-
* numeric character.
|
|
204
|
-
* @param callback The callback
|
|
205
|
-
*/
|
|
206
|
-
deleteMethod(resourceGroupName: string, accountName: string, tableName: string, callback: msRest.ServiceCallback<void>): void;
|
|
207
|
-
/**
|
|
208
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
209
|
-
* is case insensitive.
|
|
210
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
211
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
212
|
-
* letters only.
|
|
213
|
-
* @param tableName A table name must be unique within a storage account and must be between 3 and
|
|
214
|
-
* 63 characters.The name must comprise of only alphanumeric characters and it cannot begin with a
|
|
215
|
-
* numeric character.
|
|
216
|
-
* @param options The optional parameters
|
|
217
|
-
* @param callback The callback
|
|
218
|
-
*/
|
|
219
|
-
deleteMethod(resourceGroupName: string, accountName: string, tableName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
220
|
-
deleteMethod(resourceGroupName: string, accountName: string, tableName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
190
|
+
delete(
|
|
191
|
+
resourceGroupName: string,
|
|
192
|
+
accountName: string,
|
|
193
|
+
tableName: string,
|
|
194
|
+
options?: TableOperationsDeleteOptionalParams
|
|
195
|
+
): Promise<void> {
|
|
221
196
|
return this.client.sendOperationRequest(
|
|
222
|
-
{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
tableName,
|
|
226
|
-
options
|
|
227
|
-
},
|
|
228
|
-
deleteMethodOperationSpec,
|
|
229
|
-
callback);
|
|
197
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
198
|
+
deleteOperationSpec
|
|
199
|
+
);
|
|
230
200
|
}
|
|
231
201
|
|
|
232
202
|
/**
|
|
233
203
|
* Gets a list of all the tables under the specified storage account
|
|
234
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
235
|
-
*
|
|
236
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
237
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
238
|
-
* letters only.
|
|
239
|
-
* @param [options] The optional parameters
|
|
240
|
-
* @returns Promise<Models.TableListResponse>
|
|
241
|
-
*/
|
|
242
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.TableListResponse>;
|
|
243
|
-
/**
|
|
244
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
245
|
-
* is case insensitive.
|
|
204
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
205
|
+
* case insensitive.
|
|
246
206
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* @param
|
|
207
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
208
|
+
* only.
|
|
209
|
+
* @param options The options parameters.
|
|
250
210
|
*/
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
257
|
-
* letters only.
|
|
258
|
-
* @param options The optional parameters
|
|
259
|
-
* @param callback The callback
|
|
260
|
-
*/
|
|
261
|
-
list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ListTableResource>): void;
|
|
262
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ListTableResource>, callback?: msRest.ServiceCallback<Models.ListTableResource>): Promise<Models.TableListResponse> {
|
|
211
|
+
private _list(
|
|
212
|
+
resourceGroupName: string,
|
|
213
|
+
accountName: string,
|
|
214
|
+
options?: TableOperationsListOptionalParams
|
|
215
|
+
): Promise<TableOperationsListResponse> {
|
|
263
216
|
return this.client.sendOperationRequest(
|
|
264
|
-
{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
options
|
|
268
|
-
},
|
|
269
|
-
listOperationSpec,
|
|
270
|
-
callback) as Promise<Models.TableListResponse>;
|
|
217
|
+
{ resourceGroupName, accountName, options },
|
|
218
|
+
listOperationSpec
|
|
219
|
+
);
|
|
271
220
|
}
|
|
272
221
|
|
|
273
222
|
/**
|
|
274
|
-
*
|
|
275
|
-
* @param
|
|
276
|
-
*
|
|
277
|
-
* @
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
* @param
|
|
282
|
-
* @param callback The callback
|
|
283
|
-
*/
|
|
284
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListTableResource>): void;
|
|
285
|
-
/**
|
|
286
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
287
|
-
* @param options The optional parameters
|
|
288
|
-
* @param callback The callback
|
|
223
|
+
* ListNext
|
|
224
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
225
|
+
* case insensitive.
|
|
226
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
227
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
228
|
+
* only.
|
|
229
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
230
|
+
* @param options The options parameters.
|
|
289
231
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
232
|
+
private _listNext(
|
|
233
|
+
resourceGroupName: string,
|
|
234
|
+
accountName: string,
|
|
235
|
+
nextLink: string,
|
|
236
|
+
options?: TableOperationsListNextOptionalParams
|
|
237
|
+
): Promise<TableOperationsListNextResponse> {
|
|
292
238
|
return this.client.sendOperationRequest(
|
|
293
|
-
{
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
},
|
|
297
|
-
listNextOperationSpec,
|
|
298
|
-
callback) as Promise<Models.TableListNextResponse>;
|
|
239
|
+
{ resourceGroupName, accountName, nextLink, options },
|
|
240
|
+
listNextOperationSpec
|
|
241
|
+
);
|
|
299
242
|
}
|
|
300
243
|
}
|
|
301
|
-
|
|
302
244
|
// Operation Specifications
|
|
303
|
-
const serializer =
|
|
304
|
-
|
|
245
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
246
|
+
|
|
247
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
248
|
+
path:
|
|
249
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
305
250
|
httpMethod: "PUT",
|
|
306
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
307
|
-
urlParameters: [
|
|
308
|
-
Parameters.resourceGroupName,
|
|
309
|
-
Parameters.accountName,
|
|
310
|
-
Parameters.subscriptionId,
|
|
311
|
-
Parameters.tableName
|
|
312
|
-
],
|
|
313
|
-
queryParameters: [
|
|
314
|
-
Parameters.apiVersion
|
|
315
|
-
],
|
|
316
|
-
headerParameters: [
|
|
317
|
-
Parameters.acceptLanguage
|
|
318
|
-
],
|
|
319
251
|
responses: {
|
|
320
252
|
200: {
|
|
321
253
|
bodyMapper: Mappers.Table
|
|
322
254
|
},
|
|
323
255
|
default: {
|
|
324
|
-
bodyMapper: Mappers.
|
|
256
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
325
257
|
}
|
|
326
258
|
},
|
|
327
|
-
|
|
328
|
-
};
|
|
329
|
-
|
|
330
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
|
331
|
-
httpMethod: "PATCH",
|
|
332
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
259
|
+
queryParameters: [Parameters.apiVersion],
|
|
333
260
|
urlParameters: [
|
|
334
|
-
Parameters
|
|
335
|
-
Parameters.accountName,
|
|
261
|
+
Parameters.$host,
|
|
336
262
|
Parameters.subscriptionId,
|
|
263
|
+
Parameters.resourceGroupName,
|
|
264
|
+
Parameters.accountName1,
|
|
337
265
|
Parameters.tableName
|
|
338
266
|
],
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
267
|
+
headerParameters: [Parameters.accept],
|
|
268
|
+
serializer
|
|
269
|
+
};
|
|
270
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
271
|
+
path:
|
|
272
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
273
|
+
httpMethod: "PATCH",
|
|
345
274
|
responses: {
|
|
346
275
|
200: {
|
|
347
276
|
bodyMapper: Mappers.Table
|
|
348
277
|
},
|
|
349
278
|
default: {
|
|
350
|
-
bodyMapper: Mappers.
|
|
279
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
351
280
|
}
|
|
352
281
|
},
|
|
353
|
-
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
357
|
-
httpMethod: "GET",
|
|
358
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
282
|
+
queryParameters: [Parameters.apiVersion],
|
|
359
283
|
urlParameters: [
|
|
360
|
-
Parameters
|
|
361
|
-
Parameters.accountName,
|
|
284
|
+
Parameters.$host,
|
|
362
285
|
Parameters.subscriptionId,
|
|
286
|
+
Parameters.resourceGroupName,
|
|
287
|
+
Parameters.accountName1,
|
|
363
288
|
Parameters.tableName
|
|
364
289
|
],
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
290
|
+
headerParameters: [Parameters.accept],
|
|
291
|
+
serializer
|
|
292
|
+
};
|
|
293
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
294
|
+
path:
|
|
295
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
296
|
+
httpMethod: "GET",
|
|
371
297
|
responses: {
|
|
372
298
|
200: {
|
|
373
299
|
bodyMapper: Mappers.Table
|
|
374
300
|
},
|
|
375
301
|
default: {
|
|
376
|
-
bodyMapper: Mappers.
|
|
302
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
377
303
|
}
|
|
378
304
|
},
|
|
379
|
-
|
|
380
|
-
};
|
|
381
|
-
|
|
382
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
383
|
-
httpMethod: "DELETE",
|
|
384
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
305
|
+
queryParameters: [Parameters.apiVersion],
|
|
385
306
|
urlParameters: [
|
|
386
|
-
Parameters
|
|
387
|
-
Parameters.accountName,
|
|
307
|
+
Parameters.$host,
|
|
388
308
|
Parameters.subscriptionId,
|
|
309
|
+
Parameters.resourceGroupName,
|
|
310
|
+
Parameters.accountName1,
|
|
389
311
|
Parameters.tableName
|
|
390
312
|
],
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
313
|
+
headerParameters: [Parameters.accept],
|
|
314
|
+
serializer
|
|
315
|
+
};
|
|
316
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
317
|
+
path:
|
|
318
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
319
|
+
httpMethod: "DELETE",
|
|
397
320
|
responses: {
|
|
398
321
|
204: {},
|
|
399
322
|
default: {
|
|
400
|
-
bodyMapper: Mappers.
|
|
323
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
401
324
|
}
|
|
402
325
|
},
|
|
403
|
-
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
407
|
-
httpMethod: "GET",
|
|
408
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
326
|
+
queryParameters: [Parameters.apiVersion],
|
|
409
327
|
urlParameters: [
|
|
328
|
+
Parameters.$host,
|
|
329
|
+
Parameters.subscriptionId,
|
|
410
330
|
Parameters.resourceGroupName,
|
|
411
|
-
Parameters.
|
|
412
|
-
Parameters.
|
|
413
|
-
],
|
|
414
|
-
queryParameters: [
|
|
415
|
-
Parameters.apiVersion
|
|
416
|
-
],
|
|
417
|
-
headerParameters: [
|
|
418
|
-
Parameters.acceptLanguage
|
|
331
|
+
Parameters.accountName1,
|
|
332
|
+
Parameters.tableName
|
|
419
333
|
],
|
|
334
|
+
headerParameters: [Parameters.accept],
|
|
335
|
+
serializer
|
|
336
|
+
};
|
|
337
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
338
|
+
path:
|
|
339
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
340
|
+
httpMethod: "GET",
|
|
420
341
|
responses: {
|
|
421
342
|
200: {
|
|
422
343
|
bodyMapper: Mappers.ListTableResource
|
|
423
344
|
},
|
|
424
345
|
default: {
|
|
425
|
-
bodyMapper: Mappers.
|
|
346
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
426
347
|
}
|
|
427
348
|
},
|
|
349
|
+
queryParameters: [Parameters.apiVersion],
|
|
350
|
+
urlParameters: [
|
|
351
|
+
Parameters.$host,
|
|
352
|
+
Parameters.subscriptionId,
|
|
353
|
+
Parameters.resourceGroupName,
|
|
354
|
+
Parameters.accountName1
|
|
355
|
+
],
|
|
356
|
+
headerParameters: [Parameters.accept],
|
|
428
357
|
serializer
|
|
429
358
|
};
|
|
430
|
-
|
|
431
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
432
|
-
httpMethod: "GET",
|
|
433
|
-
baseUrl: "https://management.azure.com",
|
|
359
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
434
360
|
path: "{nextLink}",
|
|
435
|
-
|
|
436
|
-
Parameters.nextPageLink
|
|
437
|
-
],
|
|
438
|
-
queryParameters: [
|
|
439
|
-
Parameters.apiVersion
|
|
440
|
-
],
|
|
441
|
-
headerParameters: [
|
|
442
|
-
Parameters.acceptLanguage
|
|
443
|
-
],
|
|
361
|
+
httpMethod: "GET",
|
|
444
362
|
responses: {
|
|
445
363
|
200: {
|
|
446
364
|
bodyMapper: Mappers.ListTableResource
|
|
447
365
|
},
|
|
448
366
|
default: {
|
|
449
|
-
bodyMapper: Mappers.
|
|
367
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
450
368
|
}
|
|
451
369
|
},
|
|
370
|
+
queryParameters: [Parameters.apiVersion],
|
|
371
|
+
urlParameters: [
|
|
372
|
+
Parameters.$host,
|
|
373
|
+
Parameters.subscriptionId,
|
|
374
|
+
Parameters.resourceGroupName,
|
|
375
|
+
Parameters.accountName1,
|
|
376
|
+
Parameters.nextLink
|
|
377
|
+
],
|
|
378
|
+
headerParameters: [Parameters.accept],
|
|
452
379
|
serializer
|
|
453
380
|
};
|