@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +63 -80
- package/dist/index.js +10964 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +5002 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +2673 -4395
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +331 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +146 -138
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +2734 -2563
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +59 -33
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +267 -159
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/blobContainers.d.ts +213 -561
- package/esm/operations/blobContainers.d.ts.map +1 -1
- package/esm/operations/blobContainers.js +578 -429
- package/esm/operations/blobContainers.js.map +1 -1
- package/esm/operations/blobInventoryPolicies.d.ts +47 -109
- package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
- package/esm/operations/blobInventoryPolicies.js +163 -105
- package/esm/operations/blobInventoryPolicies.js.map +1 -1
- package/esm/operations/blobServices.d.ts +39 -89
- package/esm/operations/blobServices.d.ts.map +1 -1
- package/esm/operations/blobServices.js +133 -89
- package/esm/operations/blobServices.js.map +1 -1
- package/esm/operations/deletedAccounts.d.ts +20 -47
- package/esm/operations/deletedAccounts.d.ts.map +1 -1
- package/esm/operations/deletedAccounts.js +111 -69
- package/esm/operations/deletedAccounts.js.map +1 -1
- package/esm/operations/encryptionScopes.d.ts +65 -166
- package/esm/operations/encryptionScopes.d.ts.map +1 -1
- package/esm/operations/encryptionScopes.js +211 -131
- package/esm/operations/encryptionScopes.js.map +1 -1
- package/esm/operations/fileServices.d.ts +25 -89
- package/esm/operations/fileServices.d.ts.map +1 -1
- package/esm/operations/fileServices.js +86 -83
- package/esm/operations/fileServices.js.map +1 -1
- package/esm/operations/fileShares.d.ts +100 -256
- package/esm/operations/fileShares.d.ts.map +1 -1
- package/esm/operations/fileShares.js +316 -164
- package/esm/operations/fileShares.js.map +1 -1
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +1 -2
- package/esm/operations/index.js.map +1 -1
- package/esm/operations/managementPolicies.d.ts +30 -89
- package/esm/operations/managementPolicies.d.ts.map +1 -1
- package/esm/operations/managementPolicies.js +89 -92
- package/esm/operations/managementPolicies.js.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
- package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/esm/operations/operations.d.ts +14 -15
- package/esm/operations/operations.d.ts.map +1 -1
- package/esm/operations/operations.js +67 -29
- package/esm/operations/operations.js.map +1 -1
- package/esm/operations/privateEndpointConnections.d.ts +46 -126
- package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/esm/operations/privateEndpointConnections.js +171 -103
- package/esm/operations/privateEndpointConnections.js.map +1 -1
- package/esm/operations/privateLinkResources.d.ts +11 -31
- package/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/esm/operations/privateLinkResources.js +32 -36
- package/esm/operations/privateLinkResources.js.map +1 -1
- package/esm/operations/queue.d.ts +69 -196
- package/esm/operations/queue.d.ts.map +1 -1
- package/esm/operations/queue.js +230 -162
- package/esm/operations/queue.js.map +1 -1
- package/esm/operations/queueServices.d.ts +29 -87
- package/esm/operations/queueServices.d.ts.map +1 -1
- package/esm/operations/queueServices.js +86 -87
- package/esm/operations/queueServices.js.map +1 -1
- package/esm/operations/skus.d.ts +14 -15
- package/esm/operations/skus.d.ts.map +1 -1
- package/esm/operations/skus.js +67 -32
- package/esm/operations/skus.js.map +1 -1
- package/esm/operations/storageAccounts.d.ts +163 -381
- package/esm/operations/storageAccounts.d.ts.map +1 -1
- package/esm/operations/storageAccounts.js +605 -501
- package/esm/operations/storageAccounts.js.map +1 -1
- package/esm/operations/tableOperations.d.ts +67 -184
- package/esm/operations/tableOperations.d.ts.map +1 -1
- package/esm/operations/tableOperations.js +220 -143
- package/esm/operations/tableOperations.js.map +1 -1
- package/esm/operations/tableServices.d.ts +29 -87
- package/esm/operations/tableServices.d.ts.map +1 -1
- package/esm/operations/tableServices.js +86 -87
- package/esm/operations/tableServices.js.map +1 -1
- package/esm/operations/usages.d.ts +15 -18
- package/esm/operations/usages.d.ts.map +1 -1
- package/esm/operations/usages.js +73 -34
- package/esm/operations/usages.js.map +1 -1
- package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
- package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
- package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
- package/esm/operationsInterfaces/blobContainers.js.map +1 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
- package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/esm/operationsInterfaces/blobServices.d.ts +41 -0
- package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
- package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
- package/esm/operationsInterfaces/blobServices.js.map +1 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
- package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.js +9 -0
- package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/esm/operationsInterfaces/fileServices.d.ts +39 -0
- package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileServices.js +9 -0
- package/esm/operationsInterfaces/fileServices.js.map +1 -0
- package/esm/operationsInterfaces/fileShares.d.ts +102 -0
- package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileShares.js +9 -0
- package/esm/operationsInterfaces/fileShares.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +20 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +27 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.js +9 -0
- package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/esm/operationsInterfaces/operations.d.ts +12 -0
- package/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/esm/operationsInterfaces/operations.js +9 -0
- package/esm/operationsInterfaces/operations.js.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/esm/operationsInterfaces/queue.d.ts +71 -0
- package/esm/operationsInterfaces/queue.d.ts.map +1 -0
- package/esm/operationsInterfaces/queue.js +9 -0
- package/esm/operationsInterfaces/queue.js.map +1 -0
- package/esm/operationsInterfaces/queueServices.d.ts +39 -0
- package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/queueServices.js +9 -0
- package/esm/operationsInterfaces/queueServices.js.map +1 -0
- package/esm/operationsInterfaces/skus.d.ts +12 -0
- package/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/esm/operationsInterfaces/skus.js +9 -0
- package/esm/operationsInterfaces/skus.js.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.js +9 -0
- package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
- package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
- package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableOperations.js +9 -0
- package/esm/operationsInterfaces/tableOperations.js.map +1 -0
- package/esm/operationsInterfaces/tableServices.d.ts +39 -0
- package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableServices.js +9 -0
- package/esm/operationsInterfaces/tableServices.js.map +1 -0
- package/esm/operationsInterfaces/usages.d.ts +13 -0
- package/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/esm/operationsInterfaces/usages.js +9 -0
- package/esm/operationsInterfaces/usages.js.map +1 -0
- package/esm/storageManagementClient.d.ts +26 -35
- package/esm/storageManagementClient.d.ts.map +1 -1
- package/esm/storageManagementClient.js +27 -42
- package/esm/storageManagementClient.js.map +1 -1
- package/esm/storageManagementClientContext.d.ts +10 -16
- package/esm/storageManagementClientContext.d.ts.map +1 -1
- package/esm/storageManagementClientContext.js +32 -44
- package/esm/storageManagementClientContext.js.map +1 -1
- package/package.json +57 -18
- package/review/arm-storage.api.md +2659 -0
- package/rollup.config.js +181 -30
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +2813 -4492
- package/src/models/mappers.ts +2745 -2553
- package/src/models/parameters.ts +354 -160
- package/src/operations/blobContainers.ts +719 -1037
- package/src/operations/blobInventoryPolicies.ts +182 -211
- package/src/operations/blobServices.ts +150 -177
- package/src/operations/deletedAccounts.ts +111 -112
- package/src/operations/encryptionScopes.ts +233 -291
- package/src/operations/fileServices.ts +99 -171
- package/src/operations/fileShares.ts +335 -560
- package/src/operations/index.ts +1 -2
- package/src/operations/managementPolicies.ts +102 -175
- package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
- package/src/operations/operations.ts +61 -38
- package/src/operations/privateEndpointConnections.ts +177 -214
- package/src/operations/privateLinkResources.ts +37 -60
- package/src/operations/queue.ts +269 -365
- package/src/operations/queueServices.ts +103 -173
- package/src/operations/skus.ts +59 -41
- package/src/operations/storageAccounts.ts +779 -872
- package/src/operations/tableOperations.ts +255 -328
- package/src/operations/tableServices.ts +103 -173
- package/src/operations/usages.ts +73 -45
- package/src/operationsInterfaces/blobContainers.ts +366 -0
- package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
- package/src/operationsInterfaces/blobServices.ts +70 -0
- package/src/operationsInterfaces/deletedAccounts.ts +39 -0
- package/src/operationsInterfaces/encryptionScopes.ts +103 -0
- package/src/operationsInterfaces/fileServices.ts +68 -0
- package/src/operationsInterfaces/fileShares.ts +163 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
- package/src/operationsInterfaces/operations.ts +23 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/queue.ts +117 -0
- package/src/operationsInterfaces/queueServices.ts +68 -0
- package/src/operationsInterfaces/skus.ts +23 -0
- package/src/operationsInterfaces/storageAccounts.ts +320 -0
- package/src/operationsInterfaces/tableOperations.ts +112 -0
- package/src/operationsInterfaces/tableServices.ts +68 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/src/storageManagementClient.ts +94 -67
- package/src/storageManagementClientContext.ts +42 -46
- package/tsconfig.json +2 -1
- package/dist/arm-storage.js +0 -10687
- package/dist/arm-storage.js.map +0 -1
- package/dist/arm-storage.min.js +0 -1
- package/dist/arm-storage.min.js.map +0 -1
- package/esm/models/blobContainersMappers.d.ts +0 -2
- package/esm/models/blobContainersMappers.d.ts.map +0 -1
- package/esm/models/blobContainersMappers.js +0 -9
- package/esm/models/blobContainersMappers.js.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
- package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.js +0 -9
- package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
- package/esm/models/blobServicesMappers.d.ts +0 -2
- package/esm/models/blobServicesMappers.d.ts.map +0 -1
- package/esm/models/blobServicesMappers.js +0 -9
- package/esm/models/blobServicesMappers.js.map +0 -1
- package/esm/models/deletedAccountsMappers.d.ts +0 -2
- package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
- package/esm/models/deletedAccountsMappers.js +0 -9
- package/esm/models/deletedAccountsMappers.js.map +0 -1
- package/esm/models/encryptionScopesMappers.d.ts +0 -2
- package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
- package/esm/models/encryptionScopesMappers.js +0 -9
- package/esm/models/encryptionScopesMappers.js.map +0 -1
- package/esm/models/fileServicesMappers.d.ts +0 -2
- package/esm/models/fileServicesMappers.d.ts.map +0 -1
- package/esm/models/fileServicesMappers.js +0 -9
- package/esm/models/fileServicesMappers.js.map +0 -1
- package/esm/models/fileSharesMappers.d.ts +0 -2
- package/esm/models/fileSharesMappers.d.ts.map +0 -1
- package/esm/models/fileSharesMappers.js +0 -9
- package/esm/models/fileSharesMappers.js.map +0 -1
- package/esm/models/managementPoliciesMappers.d.ts +0 -2
- package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/managementPoliciesMappers.js +0 -9
- package/esm/models/managementPoliciesMappers.js.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
- package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/queueMappers.d.ts +0 -2
- package/esm/models/queueMappers.d.ts.map +0 -1
- package/esm/models/queueMappers.js +0 -9
- package/esm/models/queueMappers.js.map +0 -1
- package/esm/models/queueServicesMappers.d.ts +0 -2
- package/esm/models/queueServicesMappers.d.ts.map +0 -1
- package/esm/models/queueServicesMappers.js +0 -9
- package/esm/models/queueServicesMappers.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/models/tableOperationsMappers.d.ts +0 -2
- package/esm/models/tableOperationsMappers.d.ts.map +0 -1
- package/esm/models/tableOperationsMappers.js +0 -9
- package/esm/models/tableOperationsMappers.js.map +0 -1
- package/esm/models/tableServicesMappers.d.ts +0 -2
- package/esm/models/tableServicesMappers.d.ts.map +0 -1
- package/esm/models/tableServicesMappers.js +0 -9
- package/esm/models/tableServicesMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js.map +0 -1
- package/src/models/blobContainersMappers.ts +0 -106
- package/src/models/blobInventoryPoliciesMappers.ts +0 -99
- package/src/models/blobServicesMappers.ts +0 -98
- package/src/models/deletedAccountsMappers.ts +0 -99
- package/src/models/encryptionScopesMappers.ts +0 -100
- package/src/models/fileServicesMappers.ts +0 -98
- package/src/models/fileSharesMappers.ts +0 -99
- package/src/models/managementPoliciesMappers.ts +0 -97
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
- package/src/models/privateEndpointConnectionsMappers.ts +0 -100
- package/src/models/privateLinkResourcesMappers.ts +0 -98
- package/src/models/queueMappers.ts +0 -98
- package/src/models/queueServicesMappers.ts +0 -98
- package/src/models/storageAccountsMappers.ts +0 -109
- package/src/models/tableOperationsMappers.ts +0 -98
- package/src/models/tableServicesMappers.ts +0 -98
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import {
|
|
12
|
+
ListQueue,
|
|
13
|
+
QueueListOptionalParams,
|
|
14
|
+
StorageQueue,
|
|
15
|
+
QueueCreateOptionalParams,
|
|
16
|
+
QueueCreateResponse,
|
|
17
|
+
QueueUpdateOptionalParams,
|
|
18
|
+
QueueUpdateResponse,
|
|
19
|
+
QueueGetOptionalParams,
|
|
20
|
+
QueueGetResponse,
|
|
21
|
+
QueueDeleteOptionalParams
|
|
22
|
+
} from "../models";
|
|
23
|
+
|
|
24
|
+
/// <reference lib="esnext.asynciterable" />
|
|
25
|
+
/** Interface representing a Queue. */
|
|
26
|
+
export interface Queue {
|
|
27
|
+
/**
|
|
28
|
+
* Gets a list of all the queues under the specified storage account
|
|
29
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
30
|
+
* case insensitive.
|
|
31
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
32
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
33
|
+
* only.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
list(
|
|
37
|
+
resourceGroupName: string,
|
|
38
|
+
accountName: string,
|
|
39
|
+
options?: QueueListOptionalParams
|
|
40
|
+
): PagedAsyncIterableIterator<ListQueue>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a new queue with the specified queue name, under the specified account.
|
|
43
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
44
|
+
* 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 letters
|
|
47
|
+
* only.
|
|
48
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
49
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
50
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
51
|
+
* @param queue Queue properties and metadata to be created with
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
create(
|
|
55
|
+
resourceGroupName: string,
|
|
56
|
+
accountName: string,
|
|
57
|
+
queueName: string,
|
|
58
|
+
queue: StorageQueue,
|
|
59
|
+
options?: QueueCreateOptionalParams
|
|
60
|
+
): Promise<QueueCreateResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Creates a new queue with the specified queue name, under the specified account.
|
|
63
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
64
|
+
* case insensitive.
|
|
65
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
66
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
67
|
+
* only.
|
|
68
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
69
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
70
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
71
|
+
* @param queue Queue properties and metadata to be created with
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
update(
|
|
75
|
+
resourceGroupName: string,
|
|
76
|
+
accountName: string,
|
|
77
|
+
queueName: string,
|
|
78
|
+
queue: StorageQueue,
|
|
79
|
+
options?: QueueUpdateOptionalParams
|
|
80
|
+
): Promise<QueueUpdateResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Gets the queue with the specified queue name, under the specified account if it exists.
|
|
83
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
84
|
+
* case insensitive.
|
|
85
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
86
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
87
|
+
* only.
|
|
88
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
89
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
90
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
get(
|
|
94
|
+
resourceGroupName: string,
|
|
95
|
+
accountName: string,
|
|
96
|
+
queueName: string,
|
|
97
|
+
options?: QueueGetOptionalParams
|
|
98
|
+
): Promise<QueueGetResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
101
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
102
|
+
* case insensitive.
|
|
103
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
104
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
105
|
+
* only.
|
|
106
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
107
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
108
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
delete(
|
|
112
|
+
resourceGroupName: string,
|
|
113
|
+
accountName: string,
|
|
114
|
+
queueName: string,
|
|
115
|
+
options?: QueueDeleteOptionalParams
|
|
116
|
+
): Promise<void>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
QueueServicesListOptionalParams,
|
|
11
|
+
QueueServicesListResponse,
|
|
12
|
+
QueueServiceProperties,
|
|
13
|
+
QueueServicesSetServicePropertiesOptionalParams,
|
|
14
|
+
QueueServicesSetServicePropertiesResponse,
|
|
15
|
+
QueueServicesGetServicePropertiesOptionalParams,
|
|
16
|
+
QueueServicesGetServicePropertiesResponse
|
|
17
|
+
} from "../models";
|
|
18
|
+
|
|
19
|
+
/** Interface representing a QueueServices. */
|
|
20
|
+
export interface QueueServices {
|
|
21
|
+
/**
|
|
22
|
+
* List all queue services for the storage account
|
|
23
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
24
|
+
* case insensitive.
|
|
25
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
26
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
27
|
+
* only.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
list(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
accountName: string,
|
|
33
|
+
options?: QueueServicesListOptionalParams
|
|
34
|
+
): Promise<QueueServicesListResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Sets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
37
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
39
|
+
* case insensitive.
|
|
40
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
41
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
42
|
+
* only.
|
|
43
|
+
* @param parameters The properties of a storage account’s Queue service, only properties for Storage
|
|
44
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
setServiceProperties(
|
|
48
|
+
resourceGroupName: string,
|
|
49
|
+
accountName: string,
|
|
50
|
+
parameters: QueueServiceProperties,
|
|
51
|
+
options?: QueueServicesSetServicePropertiesOptionalParams
|
|
52
|
+
): Promise<QueueServicesSetServicePropertiesResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
55
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
56
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
57
|
+
* case insensitive.
|
|
58
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
59
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
60
|
+
* only.
|
|
61
|
+
* @param options The options parameters.
|
|
62
|
+
*/
|
|
63
|
+
getServiceProperties(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
accountName: string,
|
|
66
|
+
options?: QueueServicesGetServicePropertiesOptionalParams
|
|
67
|
+
): Promise<QueueServicesGetServicePropertiesResponse>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { SkuInformation, SkusListOptionalParams } from "../models";
|
|
12
|
+
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Interface representing a Skus. */
|
|
15
|
+
export interface Skus {
|
|
16
|
+
/**
|
|
17
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
options?: SkusListOptionalParams
|
|
22
|
+
): PagedAsyncIterableIterator<SkuInformation>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
12
|
+
import {
|
|
13
|
+
StorageAccount,
|
|
14
|
+
StorageAccountsListOptionalParams,
|
|
15
|
+
StorageAccountsListByResourceGroupOptionalParams,
|
|
16
|
+
StorageAccountCheckNameAvailabilityParameters,
|
|
17
|
+
StorageAccountsCheckNameAvailabilityOptionalParams,
|
|
18
|
+
StorageAccountsCheckNameAvailabilityResponse,
|
|
19
|
+
StorageAccountCreateParameters,
|
|
20
|
+
StorageAccountsCreateOptionalParams,
|
|
21
|
+
StorageAccountsCreateResponse,
|
|
22
|
+
StorageAccountsDeleteOptionalParams,
|
|
23
|
+
StorageAccountsGetPropertiesOptionalParams,
|
|
24
|
+
StorageAccountsGetPropertiesResponse,
|
|
25
|
+
StorageAccountUpdateParameters,
|
|
26
|
+
StorageAccountsUpdateOptionalParams,
|
|
27
|
+
StorageAccountsUpdateResponse,
|
|
28
|
+
StorageAccountsListKeysOptionalParams,
|
|
29
|
+
StorageAccountsListKeysResponse,
|
|
30
|
+
StorageAccountRegenerateKeyParameters,
|
|
31
|
+
StorageAccountsRegenerateKeyOptionalParams,
|
|
32
|
+
StorageAccountsRegenerateKeyResponse,
|
|
33
|
+
AccountSasParameters,
|
|
34
|
+
StorageAccountsListAccountSASOptionalParams,
|
|
35
|
+
StorageAccountsListAccountSASResponse,
|
|
36
|
+
ServiceSasParameters,
|
|
37
|
+
StorageAccountsListServiceSASOptionalParams,
|
|
38
|
+
StorageAccountsListServiceSASResponse,
|
|
39
|
+
StorageAccountsFailoverOptionalParams,
|
|
40
|
+
BlobRestoreParameters,
|
|
41
|
+
StorageAccountsRestoreBlobRangesOptionalParams,
|
|
42
|
+
StorageAccountsRestoreBlobRangesResponse,
|
|
43
|
+
StorageAccountsRevokeUserDelegationKeysOptionalParams
|
|
44
|
+
} from "../models";
|
|
45
|
+
|
|
46
|
+
/// <reference lib="esnext.asynciterable" />
|
|
47
|
+
/** Interface representing a StorageAccounts. */
|
|
48
|
+
export interface StorageAccounts {
|
|
49
|
+
/**
|
|
50
|
+
* Lists all the storage accounts available under the subscription. Note that storage keys are not
|
|
51
|
+
* returned; use the ListKeys operation for this.
|
|
52
|
+
* @param options The options parameters.
|
|
53
|
+
*/
|
|
54
|
+
list(
|
|
55
|
+
options?: StorageAccountsListOptionalParams
|
|
56
|
+
): PagedAsyncIterableIterator<StorageAccount>;
|
|
57
|
+
/**
|
|
58
|
+
* Lists all the storage accounts available under the given resource group. Note that storage keys are
|
|
59
|
+
* not returned; use the ListKeys operation for this.
|
|
60
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
61
|
+
* case insensitive.
|
|
62
|
+
* @param options The options parameters.
|
|
63
|
+
*/
|
|
64
|
+
listByResourceGroup(
|
|
65
|
+
resourceGroupName: string,
|
|
66
|
+
options?: StorageAccountsListByResourceGroupOptionalParams
|
|
67
|
+
): PagedAsyncIterableIterator<StorageAccount>;
|
|
68
|
+
/**
|
|
69
|
+
* Checks that the storage account name is valid and is not already in use.
|
|
70
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
71
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
72
|
+
* only.
|
|
73
|
+
* @param options The options parameters.
|
|
74
|
+
*/
|
|
75
|
+
checkNameAvailability(
|
|
76
|
+
accountName: StorageAccountCheckNameAvailabilityParameters,
|
|
77
|
+
options?: StorageAccountsCheckNameAvailabilityOptionalParams
|
|
78
|
+
): Promise<StorageAccountsCheckNameAvailabilityResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Asynchronously creates a new storage account with the specified parameters. If an account is already
|
|
81
|
+
* created and a subsequent create request is issued with different properties, the account properties
|
|
82
|
+
* will be updated. If an account is already created and a subsequent create or update request is
|
|
83
|
+
* issued with the exact same set of properties, the request will succeed.
|
|
84
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
85
|
+
* case insensitive.
|
|
86
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
87
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
88
|
+
* only.
|
|
89
|
+
* @param parameters The parameters to provide for the created account.
|
|
90
|
+
* @param options The options parameters.
|
|
91
|
+
*/
|
|
92
|
+
beginCreate(
|
|
93
|
+
resourceGroupName: string,
|
|
94
|
+
accountName: string,
|
|
95
|
+
parameters: StorageAccountCreateParameters,
|
|
96
|
+
options?: StorageAccountsCreateOptionalParams
|
|
97
|
+
): Promise<
|
|
98
|
+
PollerLike<
|
|
99
|
+
PollOperationState<StorageAccountsCreateResponse>,
|
|
100
|
+
StorageAccountsCreateResponse
|
|
101
|
+
>
|
|
102
|
+
>;
|
|
103
|
+
/**
|
|
104
|
+
* Asynchronously creates a new storage account with the specified parameters. If an account is already
|
|
105
|
+
* created and a subsequent create request is issued with different properties, the account properties
|
|
106
|
+
* will be updated. If an account is already created and a subsequent create or update request is
|
|
107
|
+
* issued with the exact same set of properties, the request will succeed.
|
|
108
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
109
|
+
* case insensitive.
|
|
110
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
111
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
112
|
+
* only.
|
|
113
|
+
* @param parameters The parameters to provide for the created account.
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
beginCreateAndWait(
|
|
117
|
+
resourceGroupName: string,
|
|
118
|
+
accountName: string,
|
|
119
|
+
parameters: StorageAccountCreateParameters,
|
|
120
|
+
options?: StorageAccountsCreateOptionalParams
|
|
121
|
+
): Promise<StorageAccountsCreateResponse>;
|
|
122
|
+
/**
|
|
123
|
+
* Deletes a storage account in Microsoft Azure.
|
|
124
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
125
|
+
* case insensitive.
|
|
126
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
127
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
128
|
+
* only.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
delete(
|
|
132
|
+
resourceGroupName: string,
|
|
133
|
+
accountName: string,
|
|
134
|
+
options?: StorageAccountsDeleteOptionalParams
|
|
135
|
+
): Promise<void>;
|
|
136
|
+
/**
|
|
137
|
+
* Returns the properties for the specified storage account including but not limited to name, SKU
|
|
138
|
+
* name, location, and account status. The ListKeys operation should be used to retrieve storage keys.
|
|
139
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
140
|
+
* case insensitive.
|
|
141
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
142
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
143
|
+
* only.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
getProperties(
|
|
147
|
+
resourceGroupName: string,
|
|
148
|
+
accountName: string,
|
|
149
|
+
options?: StorageAccountsGetPropertiesOptionalParams
|
|
150
|
+
): Promise<StorageAccountsGetPropertiesResponse>;
|
|
151
|
+
/**
|
|
152
|
+
* The update operation can be used to update the SKU, encryption, access tier, or tags for a storage
|
|
153
|
+
* account. It can also be used to map the account to a custom domain. Only one custom domain is
|
|
154
|
+
* supported per storage account; the replacement/change of custom domain is not supported. In order to
|
|
155
|
+
* replace an old custom domain, the old value must be cleared/unregistered before a new value can be
|
|
156
|
+
* set. The update of multiple properties is supported. This call does not change the storage keys for
|
|
157
|
+
* the account. If you want to change the storage account keys, use the regenerate keys operation. The
|
|
158
|
+
* location and name of the storage account cannot be changed after creation.
|
|
159
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
160
|
+
* case insensitive.
|
|
161
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
162
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
163
|
+
* only.
|
|
164
|
+
* @param parameters The parameters to provide for the updated account.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
update(
|
|
168
|
+
resourceGroupName: string,
|
|
169
|
+
accountName: string,
|
|
170
|
+
parameters: StorageAccountUpdateParameters,
|
|
171
|
+
options?: StorageAccountsUpdateOptionalParams
|
|
172
|
+
): Promise<StorageAccountsUpdateResponse>;
|
|
173
|
+
/**
|
|
174
|
+
* Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage
|
|
175
|
+
* account.
|
|
176
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
177
|
+
* case insensitive.
|
|
178
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
179
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
180
|
+
* only.
|
|
181
|
+
* @param options The options parameters.
|
|
182
|
+
*/
|
|
183
|
+
listKeys(
|
|
184
|
+
resourceGroupName: string,
|
|
185
|
+
accountName: string,
|
|
186
|
+
options?: StorageAccountsListKeysOptionalParams
|
|
187
|
+
): Promise<StorageAccountsListKeysResponse>;
|
|
188
|
+
/**
|
|
189
|
+
* Regenerates one of the access keys or Kerberos keys for the specified storage account.
|
|
190
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
191
|
+
* case insensitive.
|
|
192
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
193
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
194
|
+
* only.
|
|
195
|
+
* @param regenerateKey Specifies name of the key which should be regenerated -- key1, key2, kerb1,
|
|
196
|
+
* kerb2.
|
|
197
|
+
* @param options The options parameters.
|
|
198
|
+
*/
|
|
199
|
+
regenerateKey(
|
|
200
|
+
resourceGroupName: string,
|
|
201
|
+
accountName: string,
|
|
202
|
+
regenerateKey: StorageAccountRegenerateKeyParameters,
|
|
203
|
+
options?: StorageAccountsRegenerateKeyOptionalParams
|
|
204
|
+
): Promise<StorageAccountsRegenerateKeyResponse>;
|
|
205
|
+
/**
|
|
206
|
+
* List SAS credentials of a storage account.
|
|
207
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
208
|
+
* case insensitive.
|
|
209
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
210
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
211
|
+
* only.
|
|
212
|
+
* @param parameters The parameters to provide to list SAS credentials for the storage account.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
listAccountSAS(
|
|
216
|
+
resourceGroupName: string,
|
|
217
|
+
accountName: string,
|
|
218
|
+
parameters: AccountSasParameters,
|
|
219
|
+
options?: StorageAccountsListAccountSASOptionalParams
|
|
220
|
+
): Promise<StorageAccountsListAccountSASResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* List service SAS credentials of a specific resource.
|
|
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 parameters The parameters to provide to list service SAS credentials.
|
|
229
|
+
* @param options The options parameters.
|
|
230
|
+
*/
|
|
231
|
+
listServiceSAS(
|
|
232
|
+
resourceGroupName: string,
|
|
233
|
+
accountName: string,
|
|
234
|
+
parameters: ServiceSasParameters,
|
|
235
|
+
options?: StorageAccountsListServiceSASOptionalParams
|
|
236
|
+
): Promise<StorageAccountsListServiceSASResponse>;
|
|
237
|
+
/**
|
|
238
|
+
* Failover request can be triggered for a storage account in case of availability issues. The failover
|
|
239
|
+
* occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
|
|
240
|
+
* secondary cluster will become primary after failover.
|
|
241
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
242
|
+
* case insensitive.
|
|
243
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
244
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
245
|
+
* only.
|
|
246
|
+
* @param options The options parameters.
|
|
247
|
+
*/
|
|
248
|
+
beginFailover(
|
|
249
|
+
resourceGroupName: string,
|
|
250
|
+
accountName: string,
|
|
251
|
+
options?: StorageAccountsFailoverOptionalParams
|
|
252
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
253
|
+
/**
|
|
254
|
+
* Failover request can be triggered for a storage account in case of availability issues. The failover
|
|
255
|
+
* occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The
|
|
256
|
+
* secondary cluster will become primary after failover.
|
|
257
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
258
|
+
* case insensitive.
|
|
259
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
260
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
261
|
+
* only.
|
|
262
|
+
* @param options The options parameters.
|
|
263
|
+
*/
|
|
264
|
+
beginFailoverAndWait(
|
|
265
|
+
resourceGroupName: string,
|
|
266
|
+
accountName: string,
|
|
267
|
+
options?: StorageAccountsFailoverOptionalParams
|
|
268
|
+
): Promise<void>;
|
|
269
|
+
/**
|
|
270
|
+
* Restore blobs in the specified blob ranges
|
|
271
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
272
|
+
* case insensitive.
|
|
273
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
274
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
275
|
+
* only.
|
|
276
|
+
* @param parameters The parameters to provide for restore blob ranges.
|
|
277
|
+
* @param options The options parameters.
|
|
278
|
+
*/
|
|
279
|
+
beginRestoreBlobRanges(
|
|
280
|
+
resourceGroupName: string,
|
|
281
|
+
accountName: string,
|
|
282
|
+
parameters: BlobRestoreParameters,
|
|
283
|
+
options?: StorageAccountsRestoreBlobRangesOptionalParams
|
|
284
|
+
): Promise<
|
|
285
|
+
PollerLike<
|
|
286
|
+
PollOperationState<StorageAccountsRestoreBlobRangesResponse>,
|
|
287
|
+
StorageAccountsRestoreBlobRangesResponse
|
|
288
|
+
>
|
|
289
|
+
>;
|
|
290
|
+
/**
|
|
291
|
+
* Restore blobs in the specified blob ranges
|
|
292
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
293
|
+
* case insensitive.
|
|
294
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
295
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
296
|
+
* only.
|
|
297
|
+
* @param parameters The parameters to provide for restore blob ranges.
|
|
298
|
+
* @param options The options parameters.
|
|
299
|
+
*/
|
|
300
|
+
beginRestoreBlobRangesAndWait(
|
|
301
|
+
resourceGroupName: string,
|
|
302
|
+
accountName: string,
|
|
303
|
+
parameters: BlobRestoreParameters,
|
|
304
|
+
options?: StorageAccountsRestoreBlobRangesOptionalParams
|
|
305
|
+
): Promise<StorageAccountsRestoreBlobRangesResponse>;
|
|
306
|
+
/**
|
|
307
|
+
* Revoke user delegation keys.
|
|
308
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
309
|
+
* case insensitive.
|
|
310
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
311
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
312
|
+
* only.
|
|
313
|
+
* @param options The options parameters.
|
|
314
|
+
*/
|
|
315
|
+
revokeUserDelegationKeys(
|
|
316
|
+
resourceGroupName: string,
|
|
317
|
+
accountName: string,
|
|
318
|
+
options?: StorageAccountsRevokeUserDelegationKeysOptionalParams
|
|
319
|
+
): Promise<void>;
|
|
320
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
11
|
+
import {
|
|
12
|
+
Table,
|
|
13
|
+
TableOperationsListOptionalParams,
|
|
14
|
+
TableOperationsCreateOptionalParams,
|
|
15
|
+
TableOperationsCreateResponse,
|
|
16
|
+
TableOperationsUpdateOptionalParams,
|
|
17
|
+
TableOperationsUpdateResponse,
|
|
18
|
+
TableOperationsGetOptionalParams,
|
|
19
|
+
TableOperationsGetResponse,
|
|
20
|
+
TableOperationsDeleteOptionalParams
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a TableOperations. */
|
|
25
|
+
export interface TableOperations {
|
|
26
|
+
/**
|
|
27
|
+
* Gets a list of all the tables under the specified storage account
|
|
28
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
29
|
+
* case insensitive.
|
|
30
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
31
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
32
|
+
* only.
|
|
33
|
+
* @param options The options parameters.
|
|
34
|
+
*/
|
|
35
|
+
list(
|
|
36
|
+
resourceGroupName: string,
|
|
37
|
+
accountName: string,
|
|
38
|
+
options?: TableOperationsListOptionalParams
|
|
39
|
+
): PagedAsyncIterableIterator<Table>;
|
|
40
|
+
/**
|
|
41
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
42
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
43
|
+
* case insensitive.
|
|
44
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
45
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
46
|
+
* only.
|
|
47
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
48
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
49
|
+
* character.
|
|
50
|
+
* @param options The options parameters.
|
|
51
|
+
*/
|
|
52
|
+
create(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
accountName: string,
|
|
55
|
+
tableName: string,
|
|
56
|
+
options?: TableOperationsCreateOptionalParams
|
|
57
|
+
): Promise<TableOperationsCreateResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Creates a new table with the specified table name, under the specified account.
|
|
60
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
61
|
+
* case insensitive.
|
|
62
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
63
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
64
|
+
* only.
|
|
65
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
66
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
67
|
+
* character.
|
|
68
|
+
* @param options The options parameters.
|
|
69
|
+
*/
|
|
70
|
+
update(
|
|
71
|
+
resourceGroupName: string,
|
|
72
|
+
accountName: string,
|
|
73
|
+
tableName: string,
|
|
74
|
+
options?: TableOperationsUpdateOptionalParams
|
|
75
|
+
): Promise<TableOperationsUpdateResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Gets the table with the specified table name, under the specified account if it exists.
|
|
78
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
79
|
+
* case insensitive.
|
|
80
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
81
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
82
|
+
* only.
|
|
83
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
84
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
85
|
+
* character.
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
get(
|
|
89
|
+
resourceGroupName: string,
|
|
90
|
+
accountName: string,
|
|
91
|
+
tableName: string,
|
|
92
|
+
options?: TableOperationsGetOptionalParams
|
|
93
|
+
): Promise<TableOperationsGetResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* Deletes the table with the specified table name, under the specified account if it exists.
|
|
96
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
97
|
+
* case insensitive.
|
|
98
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
99
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
100
|
+
* only.
|
|
101
|
+
* @param tableName A table name must be unique within a storage account and must be between 3 and 63
|
|
102
|
+
* characters.The name must comprise of only alphanumeric characters and it cannot begin with a numeric
|
|
103
|
+
* character.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
delete(
|
|
107
|
+
resourceGroupName: string,
|
|
108
|
+
accountName: string,
|
|
109
|
+
tableName: string,
|
|
110
|
+
options?: TableOperationsDeleteOptionalParams
|
|
111
|
+
): Promise<void>;
|
|
112
|
+
}
|