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