@azure/arm-storage 16.1.2 → 17.0.0-alpha.20211206.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +69 -80
- package/dist/index.js +10847 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3500 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +351 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +150 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2840 -2487
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +61 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +273 -155
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/blobContainers.d.ts +278 -0
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -0
- package/dist-esm/src/operations/blobContainers.js +721 -0
- package/dist-esm/src/operations/blobContainers.js.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operations/blobServices.d.ts +60 -0
- package/dist-esm/src/operations/blobServices.d.ts.map +1 -0
- package/dist-esm/src/operations/blobServices.js +170 -0
- package/dist-esm/src/operations/blobServices.js.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts +39 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.js +154 -0
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.js +278 -0
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operations/fileServices.d.ts +47 -0
- package/dist-esm/src/operations/fileServices.d.ts.map +1 -0
- package/dist-esm/src/operations/fileServices.js +130 -0
- package/dist-esm/src/operations/fileServices.js.map +1 -0
- package/dist-esm/src/operations/fileShares.d.ts +132 -0
- package/dist-esm/src/operations/fileShares.d.ts.map +1 -0
- package/dist-esm/src/operations/fileShares.js +398 -0
- package/dist-esm/src/operations/fileShares.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
- package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/managementPolicies.js +126 -0
- package/dist-esm/src/operations/managementPolicies.js.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +80 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +228 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +53 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/queue.d.ts +101 -0
- package/dist-esm/src/operations/queue.d.ts.map +1 -0
- package/dist-esm/src/operations/queue.js +306 -0
- package/dist-esm/src/operations/queue.js.map +1 -0
- package/dist-esm/src/operations/queueServices.d.ts +47 -0
- package/dist-esm/src/operations/queueServices.d.ts.map +1 -0
- package/dist-esm/src/operations/queueServices.js +130 -0
- package/dist-esm/src/operations/queueServices.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +26 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +87 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/storageAccounts.d.ts +284 -0
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/storageAccounts.js +920 -0
- package/dist-esm/src/operations/storageAccounts.js.map +1 -0
- package/dist-esm/src/operations/tableOperations.d.ts +99 -0
- package/dist-esm/src/operations/tableOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/tableOperations.js +292 -0
- package/dist-esm/src/operations/tableOperations.js.map +1 -0
- package/dist-esm/src/operations/tableServices.d.ts +47 -0
- package/dist-esm/src/operations/tableServices.d.ts.map +1 -0
- package/dist-esm/src/operations/tableServices.js +130 -0
- package/dist-esm/src/operations/tableServices.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +28 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +93 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts +246 -0
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -0
- package/{src/models/usagesMappers.ts → dist-esm/src/operationsInterfaces/blobContainers.js} +2 -7
- package/dist-esm/src/operationsInterfaces/blobContainers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/{esm/models/usagesMappers.js → dist-esm/src/operationsInterfaces/blobInventoryPolicies.js} +2 -2
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobServices.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/blobServices.d.ts.map +1 -0
- package/{src/models/skusMappers.ts → dist-esm/src/operationsInterfaces/blobServices.js} +2 -8
- package/dist-esm/src/operationsInterfaces/blobServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/fileServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileShares.d.ts +101 -0
- package/dist-esm/src/operationsInterfaces/fileShares.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileShares.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileShares.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +27 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queue.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/queue.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queue.js +9 -0
- package/dist-esm/src/operationsInterfaces/queue.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queueServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/queueServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queueServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/queueServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/skus.js} +2 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +244 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/tableServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/tableServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +36 -0
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
- package/dist-esm/src/storageManagementClient.js +69 -0
- package/dist-esm/src/storageManagementClient.js.map +1 -0
- package/dist-esm/test/storage_examples.d.ts +4 -0
- package/dist-esm/test/storage_examples.d.ts.map +1 -0
- package/dist-esm/test/storage_examples.js +196 -0
- package/dist-esm/test/storage_examples.js.map +1 -0
- package/package.json +64 -21
- package/review/arm-storage.api.md +2730 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -9
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2869 -4433
- package/src/models/mappers.ts +2917 -2532
- package/src/models/parameters.ts +361 -156
- package/src/operations/blobContainers.ts +724 -1041
- package/src/operations/blobInventoryPolicies.ts +185 -215
- package/src/operations/blobServices.ts +153 -181
- package/src/operations/deletedAccounts.ts +114 -116
- package/src/operations/encryptionScopes.ts +236 -295
- package/src/operations/fileServices.ts +103 -175
- package/src/operations/fileShares.ts +338 -564
- package/src/operations/index.ts +1 -2
- package/src/operations/managementPolicies.ts +106 -179
- package/src/operations/objectReplicationPoliciesOperations.ts +190 -231
- package/src/operations/operations.ts +64 -42
- package/src/operations/privateEndpointConnections.ts +180 -218
- package/src/operations/privateLinkResources.ts +41 -64
- package/src/operations/queue.ts +272 -369
- package/src/operations/queueServices.ts +107 -177
- package/src/operations/skus.ts +62 -45
- package/src/operations/storageAccounts.ts +978 -831
- package/src/operations/tableOperations.ts +258 -332
- package/src/operations/tableServices.ts +107 -177
- package/src/operations/usages.ts +76 -49
- package/src/operationsInterfaces/blobContainers.ts +365 -0
- package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
- package/src/operationsInterfaces/blobServices.ts +69 -0
- package/src/operationsInterfaces/deletedAccounts.ts +38 -0
- package/src/operationsInterfaces/encryptionScopes.ts +102 -0
- package/src/operationsInterfaces/fileServices.ts +68 -0
- package/src/operationsInterfaces/fileShares.ts +162 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +97 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/queue.ts +116 -0
- package/src/operationsInterfaces/queueServices.ts +68 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/storageAccounts.ts +387 -0
- package/src/operationsInterfaces/tableOperations.ts +111 -0
- package/src/operationsInterfaces/tableServices.ts +68 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/storageManagementClient.ts +138 -68
- package/tsconfig.json +3 -3
- package/types/arm-storage.d.ts +5155 -0
- package/types/tsdoc-metadata.json +11 -0
- 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/index.d.ts +0 -5116
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.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/mappers.d.ts +0 -139
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.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/parameters.d.ts +0 -34
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.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 +0 -9
- 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/esm/operations/blobContainers.d.ts +0 -627
- package/esm/operations/blobContainers.d.ts.map +0 -1
- package/esm/operations/blobContainers.js +0 -569
- package/esm/operations/blobContainers.js.map +0 -1
- package/esm/operations/blobInventoryPolicies.d.ts +0 -136
- package/esm/operations/blobInventoryPolicies.d.ts.map +0 -1
- package/esm/operations/blobInventoryPolicies.js +0 -164
- package/esm/operations/blobInventoryPolicies.js.map +0 -1
- package/esm/operations/blobServices.d.ts +0 -111
- package/esm/operations/blobServices.d.ts.map +0 -1
- package/esm/operations/blobServices.js +0 -127
- package/esm/operations/blobServices.js.map +0 -1
- package/esm/operations/deletedAccounts.d.ts +0 -67
- package/esm/operations/deletedAccounts.d.ts.map +0 -1
- package/esm/operations/deletedAccounts.js +0 -113
- package/esm/operations/deletedAccounts.js.map +0 -1
- package/esm/operations/encryptionScopes.d.ts +0 -196
- package/esm/operations/encryptionScopes.d.ts.map +0 -1
- package/esm/operations/encryptionScopes.js +0 -199
- package/esm/operations/encryptionScopes.js.map +0 -1
- package/esm/operations/fileServices.d.ts +0 -111
- package/esm/operations/fileServices.d.ts.map +0 -1
- package/esm/operations/fileServices.js +0 -127
- package/esm/operations/fileServices.js.map +0 -1
- package/esm/operations/fileShares.d.ts +0 -289
- package/esm/operations/fileShares.d.ts.map +0 -1
- package/esm/operations/fileShares.js +0 -247
- package/esm/operations/fileShares.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementPolicies.d.ts +0 -109
- package/esm/operations/managementPolicies.d.ts.map +0 -1
- package/esm/operations/managementPolicies.js +0 -129
- package/esm/operations/managementPolicies.js.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +0 -161
- package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -154
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -161
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -43
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -57
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/queue.d.ts +0 -229
- package/esm/operations/queue.d.ts.map +0 -1
- package/esm/operations/queue.js +0 -239
- package/esm/operations/queue.js.map +0 -1
- package/esm/operations/queueServices.d.ts +0 -105
- package/esm/operations/queueServices.d.ts.map +0 -1
- package/esm/operations/queueServices.js +0 -131
- package/esm/operations/queueServices.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -28
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -53
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/storageAccounts.d.ts +0 -455
- package/esm/operations/storageAccounts.d.ts.map +0 -1
- package/esm/operations/storageAccounts.js +0 -642
- package/esm/operations/storageAccounts.js.map +0 -1
- package/esm/operations/tableOperations.d.ts +0 -217
- package/esm/operations/tableOperations.d.ts.map +0 -1
- package/esm/operations/tableOperations.js +0 -216
- package/esm/operations/tableOperations.js.map +0 -1
- package/esm/operations/tableServices.d.ts +0 -105
- package/esm/operations/tableServices.d.ts.map +0 -1
- package/esm/operations/tableServices.js +0 -131
- package/esm/operations/tableServices.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -32
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -55
- package/esm/operations/usages.js.map +0 -1
- package/esm/storageManagementClient.d.ts +0 -42
- package/esm/storageManagementClient.d.ts.map +0 -1
- package/esm/storageManagementClient.js +0 -55
- package/esm/storageManagementClient.js.map +0 -1
- package/esm/storageManagementClientContext.d.ts +0 -22
- package/esm/storageManagementClientContext.d.ts.map +0 -1
- package/esm/storageManagementClientContext.js +0 -61
- package/esm/storageManagementClientContext.js.map +0 -1
- package/src/models/blobContainersMappers.ts +0 -106
- package/src/models/blobInventoryPoliciesMappers.ts +0 -99
- package/src/models/blobServicesMappers.ts +0 -98
- package/src/models/deletedAccountsMappers.ts +0 -99
- package/src/models/encryptionScopesMappers.ts +0 -100
- package/src/models/fileServicesMappers.ts +0 -98
- package/src/models/fileSharesMappers.ts +0 -99
- package/src/models/managementPoliciesMappers.ts +0 -97
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
- package/src/models/privateEndpointConnectionsMappers.ts +0 -100
- package/src/models/privateLinkResourcesMappers.ts +0 -98
- package/src/models/queueMappers.ts +0 -98
- package/src/models/queueServicesMappers.ts +0 -98
- package/src/models/storageAccountsMappers.ts +0 -109
- package/src/models/tableOperationsMappers.ts +0 -98
- package/src/models/tableServicesMappers.ts +0 -98
- package/src/storageManagementClientContext.ts +0 -74
|
@@ -3,451 +3,377 @@
|
|
|
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 * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { TableOperations } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
Table,
|
|
17
|
+
TableListNextOptionalParams,
|
|
18
|
+
TableListOptionalParams,
|
|
19
|
+
TableCreateOptionalParams,
|
|
20
|
+
TableCreateResponse,
|
|
21
|
+
TableUpdateOptionalParams,
|
|
22
|
+
TableUpdateResponse,
|
|
23
|
+
TableGetOptionalParams,
|
|
24
|
+
TableGetResponse,
|
|
25
|
+
TableDeleteOptionalParams,
|
|
26
|
+
TableListResponse,
|
|
27
|
+
TableListNextResponse
|
|
28
|
+
} from "../models";
|
|
15
29
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
31
|
+
/** Class containing TableOperations operations. */
|
|
32
|
+
export class TableOperationsImpl implements TableOperations {
|
|
33
|
+
private readonly client: StorageManagementClient;
|
|
19
34
|
|
|
20
35
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
36
|
+
* Initialize a new instance of the class TableOperations class.
|
|
37
|
+
* @param client Reference to the service client
|
|
23
38
|
*/
|
|
24
|
-
constructor(client:
|
|
39
|
+
constructor(client: StorageManagementClient) {
|
|
25
40
|
this.client = client;
|
|
26
41
|
}
|
|
27
42
|
|
|
28
43
|
/**
|
|
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.
|
|
44
|
+
* Gets a list of all the tables under the specified storage account
|
|
45
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
46
|
+
* case insensitive.
|
|
57
47
|
* @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
|
|
48
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
49
|
+
* only.
|
|
50
|
+
* @param options The options parameters.
|
|
65
51
|
*/
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
52
|
+
public list(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
accountName: string,
|
|
55
|
+
options?: TableListOptionalParams
|
|
56
|
+
): PagedAsyncIterableIterator<Table> {
|
|
57
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
58
|
+
return {
|
|
59
|
+
next() {
|
|
60
|
+
return iter.next();
|
|
61
|
+
},
|
|
62
|
+
[Symbol.asyncIterator]() {
|
|
63
|
+
return this;
|
|
64
|
+
},
|
|
65
|
+
byPage: () => {
|
|
66
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private async *listPagingPage(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
accountName: string,
|
|
74
|
+
options?: TableListOptionalParams
|
|
75
|
+
): AsyncIterableIterator<Table[]> {
|
|
76
|
+
let result = await this._list(resourceGroupName, accountName, options);
|
|
77
|
+
yield result.value || [];
|
|
78
|
+
let continuationToken = result.nextLink;
|
|
79
|
+
while (continuationToken) {
|
|
80
|
+
result = await this._listNext(
|
|
70
81
|
resourceGroupName,
|
|
71
82
|
accountName,
|
|
72
|
-
|
|
83
|
+
continuationToken,
|
|
73
84
|
options
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
85
|
+
);
|
|
86
|
+
continuationToken = result.nextLink;
|
|
87
|
+
yield result.value || [];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private async *listPagingAll(
|
|
92
|
+
resourceGroupName: string,
|
|
93
|
+
accountName: string,
|
|
94
|
+
options?: TableListOptionalParams
|
|
95
|
+
): AsyncIterableIterator<Table> {
|
|
96
|
+
for await (const page of this.listPagingPage(
|
|
97
|
+
resourceGroupName,
|
|
98
|
+
accountName,
|
|
99
|
+
options
|
|
100
|
+
)) {
|
|
101
|
+
yield* page;
|
|
102
|
+
}
|
|
77
103
|
}
|
|
78
104
|
|
|
79
105
|
/**
|
|
80
106
|
* 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
|
-
*
|
|
107
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
108
|
+
* case insensitive.
|
|
83
109
|
* @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>
|
|
110
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
111
|
+
* only.
|
|
112
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
113
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
114
|
+
* character.
|
|
115
|
+
* @param options The options parameters.
|
|
91
116
|
*/
|
|
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;
|
|
117
|
+
create(
|
|
118
|
+
resourceGroupName: string,
|
|
119
|
+
accountName: string,
|
|
120
|
+
tableName: string,
|
|
121
|
+
options?: TableCreateOptionalParams
|
|
122
|
+
): Promise<TableCreateResponse> {
|
|
123
|
+
return this.client.sendOperationRequest(
|
|
124
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
125
|
+
createOperationSpec
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
|
|
105
129
|
/**
|
|
106
|
-
*
|
|
107
|
-
*
|
|
130
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
131
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
132
|
+
* case insensitive.
|
|
108
133
|
* @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
|
|
134
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
135
|
+
* only.
|
|
136
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
137
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
138
|
+
* character.
|
|
139
|
+
* @param options The options parameters.
|
|
116
140
|
*/
|
|
117
|
-
update(
|
|
118
|
-
|
|
141
|
+
update(
|
|
142
|
+
resourceGroupName: string,
|
|
143
|
+
accountName: string,
|
|
144
|
+
tableName: string,
|
|
145
|
+
options?: TableUpdateOptionalParams
|
|
146
|
+
): Promise<TableUpdateResponse> {
|
|
119
147
|
return this.client.sendOperationRequest(
|
|
120
|
-
{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
tableName,
|
|
124
|
-
options
|
|
125
|
-
},
|
|
126
|
-
updateOperationSpec,
|
|
127
|
-
callback) as Promise<Models.TableUpdateResponse>;
|
|
148
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
149
|
+
updateOperationSpec
|
|
150
|
+
);
|
|
128
151
|
}
|
|
129
152
|
|
|
130
153
|
/**
|
|
131
154
|
* 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.
|
|
155
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
156
|
+
* case insensitive.
|
|
159
157
|
* @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
|
|
158
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
159
|
+
* only.
|
|
160
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
161
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
162
|
+
* character.
|
|
163
|
+
* @param options The options parameters.
|
|
167
164
|
*/
|
|
168
|
-
get(
|
|
169
|
-
|
|
165
|
+
get(
|
|
166
|
+
resourceGroupName: string,
|
|
167
|
+
accountName: string,
|
|
168
|
+
tableName: string,
|
|
169
|
+
options?: TableGetOptionalParams
|
|
170
|
+
): Promise<TableGetResponse> {
|
|
170
171
|
return this.client.sendOperationRequest(
|
|
171
|
-
{
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
tableName,
|
|
175
|
-
options
|
|
176
|
-
},
|
|
177
|
-
getOperationSpec,
|
|
178
|
-
callback) as Promise<Models.TableGetResponse>;
|
|
172
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
173
|
+
getOperationSpec
|
|
174
|
+
);
|
|
179
175
|
}
|
|
180
176
|
|
|
181
177
|
/**
|
|
182
178
|
* 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
|
-
*
|
|
179
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
180
|
+
* case insensitive.
|
|
185
181
|
* @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>
|
|
182
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
183
|
+
* only.
|
|
184
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
185
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
186
|
+
* character.
|
|
187
|
+
* @param options The options parameters.
|
|
193
188
|
*/
|
|
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> {
|
|
189
|
+
delete(
|
|
190
|
+
resourceGroupName: string,
|
|
191
|
+
accountName: string,
|
|
192
|
+
tableName: string,
|
|
193
|
+
options?: TableDeleteOptionalParams
|
|
194
|
+
): Promise<void> {
|
|
221
195
|
return this.client.sendOperationRequest(
|
|
222
|
-
{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
tableName,
|
|
226
|
-
options
|
|
227
|
-
},
|
|
228
|
-
deleteMethodOperationSpec,
|
|
229
|
-
callback);
|
|
196
|
+
{ resourceGroupName, accountName, tableName, options },
|
|
197
|
+
deleteOperationSpec
|
|
198
|
+
);
|
|
230
199
|
}
|
|
231
200
|
|
|
232
201
|
/**
|
|
233
202
|
* 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.
|
|
203
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
204
|
+
* case insensitive.
|
|
246
205
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
247
|
-
*
|
|
248
|
-
*
|
|
249
|
-
* @param
|
|
206
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
207
|
+
* only.
|
|
208
|
+
* @param options The options parameters.
|
|
250
209
|
*/
|
|
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> {
|
|
210
|
+
private _list(
|
|
211
|
+
resourceGroupName: string,
|
|
212
|
+
accountName: string,
|
|
213
|
+
options?: TableListOptionalParams
|
|
214
|
+
): Promise<TableListResponse> {
|
|
263
215
|
return this.client.sendOperationRequest(
|
|
264
|
-
{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
options
|
|
268
|
-
},
|
|
269
|
-
listOperationSpec,
|
|
270
|
-
callback) as Promise<Models.TableListResponse>;
|
|
216
|
+
{ resourceGroupName, accountName, options },
|
|
217
|
+
listOperationSpec
|
|
218
|
+
);
|
|
271
219
|
}
|
|
272
220
|
|
|
273
221
|
/**
|
|
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
|
|
222
|
+
* ListNext
|
|
223
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
224
|
+
* case insensitive.
|
|
225
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
226
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
227
|
+
* only.
|
|
228
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
229
|
+
* @param options The options parameters.
|
|
289
230
|
*/
|
|
290
|
-
|
|
291
|
-
|
|
231
|
+
private _listNext(
|
|
232
|
+
resourceGroupName: string,
|
|
233
|
+
accountName: string,
|
|
234
|
+
nextLink: string,
|
|
235
|
+
options?: TableListNextOptionalParams
|
|
236
|
+
): Promise<TableListNextResponse> {
|
|
292
237
|
return this.client.sendOperationRequest(
|
|
293
|
-
{
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
},
|
|
297
|
-
listNextOperationSpec,
|
|
298
|
-
callback) as Promise<Models.TableListNextResponse>;
|
|
238
|
+
{ resourceGroupName, accountName, nextLink, options },
|
|
239
|
+
listNextOperationSpec
|
|
240
|
+
);
|
|
299
241
|
}
|
|
300
242
|
}
|
|
301
|
-
|
|
302
243
|
// Operation Specifications
|
|
303
|
-
const serializer =
|
|
304
|
-
|
|
244
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
245
|
+
|
|
246
|
+
const createOperationSpec: coreClient.OperationSpec = {
|
|
247
|
+
path:
|
|
248
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
305
249
|
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
250
|
responses: {
|
|
320
251
|
200: {
|
|
321
252
|
bodyMapper: Mappers.Table
|
|
322
253
|
},
|
|
323
254
|
default: {
|
|
324
|
-
bodyMapper: Mappers.
|
|
255
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
325
256
|
}
|
|
326
257
|
},
|
|
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}",
|
|
258
|
+
queryParameters: [Parameters.apiVersion],
|
|
333
259
|
urlParameters: [
|
|
334
|
-
Parameters
|
|
335
|
-
Parameters.accountName,
|
|
260
|
+
Parameters.$host,
|
|
336
261
|
Parameters.subscriptionId,
|
|
262
|
+
Parameters.resourceGroupName,
|
|
263
|
+
Parameters.accountName1,
|
|
337
264
|
Parameters.tableName
|
|
338
265
|
],
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
266
|
+
headerParameters: [Parameters.accept],
|
|
267
|
+
serializer
|
|
268
|
+
};
|
|
269
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
270
|
+
path:
|
|
271
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
272
|
+
httpMethod: "PATCH",
|
|
345
273
|
responses: {
|
|
346
274
|
200: {
|
|
347
275
|
bodyMapper: Mappers.Table
|
|
348
276
|
},
|
|
349
277
|
default: {
|
|
350
|
-
bodyMapper: Mappers.
|
|
278
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
351
279
|
}
|
|
352
280
|
},
|
|
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}",
|
|
281
|
+
queryParameters: [Parameters.apiVersion],
|
|
359
282
|
urlParameters: [
|
|
360
|
-
Parameters
|
|
361
|
-
Parameters.accountName,
|
|
283
|
+
Parameters.$host,
|
|
362
284
|
Parameters.subscriptionId,
|
|
285
|
+
Parameters.resourceGroupName,
|
|
286
|
+
Parameters.accountName1,
|
|
363
287
|
Parameters.tableName
|
|
364
288
|
],
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
289
|
+
headerParameters: [Parameters.accept],
|
|
290
|
+
serializer
|
|
291
|
+
};
|
|
292
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
293
|
+
path:
|
|
294
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
295
|
+
httpMethod: "GET",
|
|
371
296
|
responses: {
|
|
372
297
|
200: {
|
|
373
298
|
bodyMapper: Mappers.Table
|
|
374
299
|
},
|
|
375
300
|
default: {
|
|
376
|
-
bodyMapper: Mappers.
|
|
301
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
377
302
|
}
|
|
378
303
|
},
|
|
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}",
|
|
304
|
+
queryParameters: [Parameters.apiVersion],
|
|
385
305
|
urlParameters: [
|
|
386
|
-
Parameters
|
|
387
|
-
Parameters.accountName,
|
|
306
|
+
Parameters.$host,
|
|
388
307
|
Parameters.subscriptionId,
|
|
308
|
+
Parameters.resourceGroupName,
|
|
309
|
+
Parameters.accountName1,
|
|
389
310
|
Parameters.tableName
|
|
390
311
|
],
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
312
|
+
headerParameters: [Parameters.accept],
|
|
313
|
+
serializer
|
|
314
|
+
};
|
|
315
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
316
|
+
path:
|
|
317
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}",
|
|
318
|
+
httpMethod: "DELETE",
|
|
397
319
|
responses: {
|
|
398
320
|
204: {},
|
|
399
321
|
default: {
|
|
400
|
-
bodyMapper: Mappers.
|
|
322
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
401
323
|
}
|
|
402
324
|
},
|
|
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",
|
|
325
|
+
queryParameters: [Parameters.apiVersion],
|
|
409
326
|
urlParameters: [
|
|
327
|
+
Parameters.$host,
|
|
328
|
+
Parameters.subscriptionId,
|
|
410
329
|
Parameters.resourceGroupName,
|
|
411
|
-
Parameters.
|
|
412
|
-
Parameters.
|
|
413
|
-
],
|
|
414
|
-
queryParameters: [
|
|
415
|
-
Parameters.apiVersion
|
|
416
|
-
],
|
|
417
|
-
headerParameters: [
|
|
418
|
-
Parameters.acceptLanguage
|
|
330
|
+
Parameters.accountName1,
|
|
331
|
+
Parameters.tableName
|
|
419
332
|
],
|
|
333
|
+
headerParameters: [Parameters.accept],
|
|
334
|
+
serializer
|
|
335
|
+
};
|
|
336
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
337
|
+
path:
|
|
338
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables",
|
|
339
|
+
httpMethod: "GET",
|
|
420
340
|
responses: {
|
|
421
341
|
200: {
|
|
422
342
|
bodyMapper: Mappers.ListTableResource
|
|
423
343
|
},
|
|
424
344
|
default: {
|
|
425
|
-
bodyMapper: Mappers.
|
|
345
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
426
346
|
}
|
|
427
347
|
},
|
|
348
|
+
queryParameters: [Parameters.apiVersion],
|
|
349
|
+
urlParameters: [
|
|
350
|
+
Parameters.$host,
|
|
351
|
+
Parameters.subscriptionId,
|
|
352
|
+
Parameters.resourceGroupName,
|
|
353
|
+
Parameters.accountName1
|
|
354
|
+
],
|
|
355
|
+
headerParameters: [Parameters.accept],
|
|
428
356
|
serializer
|
|
429
357
|
};
|
|
430
|
-
|
|
431
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
432
|
-
httpMethod: "GET",
|
|
433
|
-
baseUrl: "https://management.azure.com",
|
|
358
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
434
359
|
path: "{nextLink}",
|
|
435
|
-
|
|
436
|
-
Parameters.nextPageLink
|
|
437
|
-
],
|
|
438
|
-
queryParameters: [
|
|
439
|
-
Parameters.apiVersion
|
|
440
|
-
],
|
|
441
|
-
headerParameters: [
|
|
442
|
-
Parameters.acceptLanguage
|
|
443
|
-
],
|
|
360
|
+
httpMethod: "GET",
|
|
444
361
|
responses: {
|
|
445
362
|
200: {
|
|
446
363
|
bodyMapper: Mappers.ListTableResource
|
|
447
364
|
},
|
|
448
365
|
default: {
|
|
449
|
-
bodyMapper: Mappers.
|
|
366
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
450
367
|
}
|
|
451
368
|
},
|
|
369
|
+
queryParameters: [Parameters.apiVersion],
|
|
370
|
+
urlParameters: [
|
|
371
|
+
Parameters.$host,
|
|
372
|
+
Parameters.subscriptionId,
|
|
373
|
+
Parameters.resourceGroupName,
|
|
374
|
+
Parameters.accountName1,
|
|
375
|
+
Parameters.nextLink
|
|
376
|
+
],
|
|
377
|
+
headerParameters: [Parameters.accept],
|
|
452
378
|
serializer
|
|
453
379
|
};
|