@azure/arm-storage 16.1.1 → 17.0.0-alpha.20211111.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +63 -80
- package/dist/index.js +10964 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +5002 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/{src/models/operationsMappers.ts → esm/lro/index.js} +5 -10
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/{models/operationsMappers.js → lro/passthrough.js} +8 -2
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +2673 -4395
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +331 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +146 -138
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +2734 -2563
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +59 -33
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +267 -159
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/blobContainers.d.ts +213 -561
- package/esm/operations/blobContainers.d.ts.map +1 -1
- package/esm/operations/blobContainers.js +578 -429
- package/esm/operations/blobContainers.js.map +1 -1
- package/esm/operations/blobInventoryPolicies.d.ts +47 -109
- package/esm/operations/blobInventoryPolicies.d.ts.map +1 -1
- package/esm/operations/blobInventoryPolicies.js +163 -105
- package/esm/operations/blobInventoryPolicies.js.map +1 -1
- package/esm/operations/blobServices.d.ts +39 -89
- package/esm/operations/blobServices.d.ts.map +1 -1
- package/esm/operations/blobServices.js +133 -89
- package/esm/operations/blobServices.js.map +1 -1
- package/esm/operations/deletedAccounts.d.ts +20 -47
- package/esm/operations/deletedAccounts.d.ts.map +1 -1
- package/esm/operations/deletedAccounts.js +111 -69
- package/esm/operations/deletedAccounts.js.map +1 -1
- package/esm/operations/encryptionScopes.d.ts +65 -166
- package/esm/operations/encryptionScopes.d.ts.map +1 -1
- package/esm/operations/encryptionScopes.js +211 -131
- package/esm/operations/encryptionScopes.js.map +1 -1
- package/esm/operations/fileServices.d.ts +25 -89
- package/esm/operations/fileServices.d.ts.map +1 -1
- package/esm/operations/fileServices.js +86 -83
- package/esm/operations/fileServices.js.map +1 -1
- package/esm/operations/fileShares.d.ts +100 -256
- package/esm/operations/fileShares.d.ts.map +1 -1
- package/esm/operations/fileShares.js +316 -164
- package/esm/operations/fileShares.js.map +1 -1
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +1 -2
- package/esm/operations/index.js.map +1 -1
- package/esm/operations/managementPolicies.d.ts +30 -89
- package/esm/operations/managementPolicies.d.ts.map +1 -1
- package/esm/operations/managementPolicies.js +89 -92
- package/esm/operations/managementPolicies.js.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +54 -130
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +170 -102
- package/esm/operations/objectReplicationPoliciesOperations.js.map +1 -1
- package/esm/operations/operations.d.ts +14 -15
- package/esm/operations/operations.d.ts.map +1 -1
- package/esm/operations/operations.js +67 -29
- package/esm/operations/operations.js.map +1 -1
- package/esm/operations/privateEndpointConnections.d.ts +46 -126
- package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/esm/operations/privateEndpointConnections.js +171 -103
- package/esm/operations/privateEndpointConnections.js.map +1 -1
- package/esm/operations/privateLinkResources.d.ts +11 -31
- package/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/esm/operations/privateLinkResources.js +32 -36
- package/esm/operations/privateLinkResources.js.map +1 -1
- package/esm/operations/queue.d.ts +69 -196
- package/esm/operations/queue.d.ts.map +1 -1
- package/esm/operations/queue.js +230 -162
- package/esm/operations/queue.js.map +1 -1
- package/esm/operations/queueServices.d.ts +29 -87
- package/esm/operations/queueServices.d.ts.map +1 -1
- package/esm/operations/queueServices.js +86 -87
- package/esm/operations/queueServices.js.map +1 -1
- package/esm/operations/skus.d.ts +14 -15
- package/esm/operations/skus.d.ts.map +1 -1
- package/esm/operations/skus.js +67 -32
- package/esm/operations/skus.js.map +1 -1
- package/esm/operations/storageAccounts.d.ts +163 -381
- package/esm/operations/storageAccounts.d.ts.map +1 -1
- package/esm/operations/storageAccounts.js +605 -501
- package/esm/operations/storageAccounts.js.map +1 -1
- package/esm/operations/tableOperations.d.ts +67 -184
- package/esm/operations/tableOperations.d.ts.map +1 -1
- package/esm/operations/tableOperations.js +220 -143
- package/esm/operations/tableOperations.js.map +1 -1
- package/esm/operations/tableServices.d.ts +29 -87
- package/esm/operations/tableServices.d.ts.map +1 -1
- package/esm/operations/tableServices.js +86 -87
- package/esm/operations/tableServices.js.map +1 -1
- package/esm/operations/usages.d.ts +15 -18
- package/esm/operations/usages.d.ts.map +1 -1
- package/esm/operations/usages.js +73 -34
- package/esm/operations/usages.js.map +1 -1
- package/esm/operationsInterfaces/blobContainers.d.ts +247 -0
- package/esm/operationsInterfaces/blobContainers.d.ts.map +1 -0
- package/{src/models/usagesMappers.ts → esm/operationsInterfaces/blobContainers.js} +2 -7
- package/esm/operationsInterfaces/blobContainers.js.map +1 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts +54 -0
- package/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/esm/{models/usagesMappers.js → operationsInterfaces/blobInventoryPolicies.js} +2 -2
- package/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/esm/operationsInterfaces/blobServices.d.ts +41 -0
- package/esm/operationsInterfaces/blobServices.d.ts.map +1 -0
- package/{src/models/skusMappers.ts → esm/operationsInterfaces/blobServices.js} +2 -8
- package/esm/operationsInterfaces/blobServices.js.map +1 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts +19 -0
- package/esm/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/esm/{models/skusMappers.js → operationsInterfaces/deletedAccounts.js} +2 -2
- package/esm/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts +64 -0
- package/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/esm/operationsInterfaces/encryptionScopes.js +9 -0
- package/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/esm/operationsInterfaces/fileServices.d.ts +39 -0
- package/esm/operationsInterfaces/fileServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileServices.js +9 -0
- package/esm/operationsInterfaces/fileServices.js.map +1 -0
- package/esm/operationsInterfaces/fileShares.d.ts +102 -0
- package/esm/operationsInterfaces/fileShares.d.ts.map +1 -0
- package/esm/operationsInterfaces/fileShares.js +9 -0
- package/esm/operationsInterfaces/fileShares.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +20 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +27 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/esm/operationsInterfaces/managementPolicies.js +9 -0
- package/esm/operationsInterfaces/managementPolicies.js.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +61 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/esm/operationsInterfaces/operations.d.ts +12 -0
- package/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/esm/operationsInterfaces/operations.js +9 -0
- package/esm/operationsInterfaces/operations.js.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts +54 -0
- package/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/esm/operationsInterfaces/queue.d.ts +71 -0
- package/esm/operationsInterfaces/queue.d.ts.map +1 -0
- package/esm/operationsInterfaces/queue.js +9 -0
- package/esm/operationsInterfaces/queue.js.map +1 -0
- package/esm/operationsInterfaces/queueServices.d.ts +39 -0
- package/esm/operationsInterfaces/queueServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/queueServices.js +9 -0
- package/esm/operationsInterfaces/queueServices.js.map +1 -0
- package/esm/operationsInterfaces/skus.d.ts +12 -0
- package/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/esm/operationsInterfaces/skus.js +9 -0
- package/esm/operationsInterfaces/skus.js.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts +197 -0
- package/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/esm/operationsInterfaces/storageAccounts.js +9 -0
- package/esm/operationsInterfaces/storageAccounts.js.map +1 -0
- package/esm/operationsInterfaces/tableOperations.d.ts +69 -0
- package/esm/operationsInterfaces/tableOperations.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableOperations.js +9 -0
- package/esm/operationsInterfaces/tableOperations.js.map +1 -0
- package/esm/operationsInterfaces/tableServices.d.ts +39 -0
- package/esm/operationsInterfaces/tableServices.d.ts.map +1 -0
- package/esm/operationsInterfaces/tableServices.js +9 -0
- package/esm/operationsInterfaces/tableServices.js.map +1 -0
- package/esm/operationsInterfaces/usages.d.ts +13 -0
- package/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/esm/operationsInterfaces/usages.js +9 -0
- package/esm/operationsInterfaces/usages.js.map +1 -0
- package/esm/storageManagementClient.d.ts +26 -35
- package/esm/storageManagementClient.d.ts.map +1 -1
- package/esm/storageManagementClient.js +27 -42
- package/esm/storageManagementClient.js.map +1 -1
- package/esm/storageManagementClientContext.d.ts +10 -16
- package/esm/storageManagementClientContext.d.ts.map +1 -1
- package/esm/storageManagementClientContext.js +32 -44
- package/esm/storageManagementClientContext.js.map +1 -1
- package/package.json +57 -18
- package/review/arm-storage.api.md +2659 -0
- package/rollup.config.js +181 -30
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +2813 -4492
- package/src/models/mappers.ts +2745 -2553
- package/src/models/parameters.ts +354 -160
- package/src/operations/blobContainers.ts +719 -1037
- package/src/operations/blobInventoryPolicies.ts +182 -211
- package/src/operations/blobServices.ts +150 -177
- package/src/operations/deletedAccounts.ts +111 -112
- package/src/operations/encryptionScopes.ts +233 -291
- package/src/operations/fileServices.ts +99 -171
- package/src/operations/fileShares.ts +335 -560
- package/src/operations/index.ts +1 -2
- package/src/operations/managementPolicies.ts +102 -175
- package/src/operations/objectReplicationPoliciesOperations.ts +187 -227
- package/src/operations/operations.ts +61 -38
- package/src/operations/privateEndpointConnections.ts +177 -214
- package/src/operations/privateLinkResources.ts +37 -60
- package/src/operations/queue.ts +269 -365
- package/src/operations/queueServices.ts +103 -173
- package/src/operations/skus.ts +59 -41
- package/src/operations/storageAccounts.ts +779 -872
- package/src/operations/tableOperations.ts +255 -328
- package/src/operations/tableServices.ts +103 -173
- package/src/operations/usages.ts +73 -45
- package/src/operationsInterfaces/blobContainers.ts +366 -0
- package/src/operationsInterfaces/blobInventoryPolicies.ts +92 -0
- package/src/operationsInterfaces/blobServices.ts +70 -0
- package/src/operationsInterfaces/deletedAccounts.ts +39 -0
- package/src/operationsInterfaces/encryptionScopes.ts +103 -0
- package/src/operationsInterfaces/fileServices.ts +68 -0
- package/src/operationsInterfaces/fileShares.ts +163 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +98 -0
- package/src/operationsInterfaces/operations.ts +23 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +91 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/queue.ts +117 -0
- package/src/operationsInterfaces/queueServices.ts +68 -0
- package/src/operationsInterfaces/skus.ts +23 -0
- package/src/operationsInterfaces/storageAccounts.ts +320 -0
- package/src/operationsInterfaces/tableOperations.ts +112 -0
- package/src/operationsInterfaces/tableServices.ts +68 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/src/storageManagementClient.ts +94 -67
- package/src/storageManagementClientContext.ts +42 -46
- package/tsconfig.json +2 -1
- package/dist/arm-storage.js +0 -10687
- package/dist/arm-storage.js.map +0 -1
- package/dist/arm-storage.min.js +0 -1
- package/dist/arm-storage.min.js.map +0 -1
- package/esm/models/blobContainersMappers.d.ts +0 -2
- package/esm/models/blobContainersMappers.d.ts.map +0 -1
- package/esm/models/blobContainersMappers.js +0 -9
- package/esm/models/blobContainersMappers.js.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
- package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.js +0 -9
- package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
- package/esm/models/blobServicesMappers.d.ts +0 -2
- package/esm/models/blobServicesMappers.d.ts.map +0 -1
- package/esm/models/blobServicesMappers.js +0 -9
- package/esm/models/blobServicesMappers.js.map +0 -1
- package/esm/models/deletedAccountsMappers.d.ts +0 -2
- package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
- package/esm/models/deletedAccountsMappers.js +0 -9
- package/esm/models/deletedAccountsMappers.js.map +0 -1
- package/esm/models/encryptionScopesMappers.d.ts +0 -2
- package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
- package/esm/models/encryptionScopesMappers.js +0 -9
- package/esm/models/encryptionScopesMappers.js.map +0 -1
- package/esm/models/fileServicesMappers.d.ts +0 -2
- package/esm/models/fileServicesMappers.d.ts.map +0 -1
- package/esm/models/fileServicesMappers.js +0 -9
- package/esm/models/fileServicesMappers.js.map +0 -1
- package/esm/models/fileSharesMappers.d.ts +0 -2
- package/esm/models/fileSharesMappers.d.ts.map +0 -1
- package/esm/models/fileSharesMappers.js +0 -9
- package/esm/models/fileSharesMappers.js.map +0 -1
- package/esm/models/managementPoliciesMappers.d.ts +0 -2
- package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/managementPoliciesMappers.js +0 -9
- package/esm/models/managementPoliciesMappers.js.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
- package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/queueMappers.d.ts +0 -2
- package/esm/models/queueMappers.d.ts.map +0 -1
- package/esm/models/queueMappers.js +0 -9
- package/esm/models/queueMappers.js.map +0 -1
- package/esm/models/queueServicesMappers.d.ts +0 -2
- package/esm/models/queueServicesMappers.d.ts.map +0 -1
- package/esm/models/queueServicesMappers.js +0 -9
- package/esm/models/queueServicesMappers.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/models/tableOperationsMappers.d.ts +0 -2
- package/esm/models/tableOperationsMappers.d.ts.map +0 -1
- package/esm/models/tableOperationsMappers.js +0 -9
- package/esm/models/tableOperationsMappers.js.map +0 -1
- package/esm/models/tableServicesMappers.d.ts +0 -2
- package/esm/models/tableServicesMappers.d.ts.map +0 -1
- package/esm/models/tableServicesMappers.js +0 -9
- package/esm/models/tableServicesMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js.map +0 -1
- package/src/models/blobContainersMappers.ts +0 -106
- package/src/models/blobInventoryPoliciesMappers.ts +0 -99
- package/src/models/blobServicesMappers.ts +0 -98
- package/src/models/deletedAccountsMappers.ts +0 -99
- package/src/models/encryptionScopesMappers.ts +0 -100
- package/src/models/fileServicesMappers.ts +0 -98
- package/src/models/fileSharesMappers.ts +0 -99
- package/src/models/managementPoliciesMappers.ts +0 -97
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
- package/src/models/privateEndpointConnectionsMappers.ts +0 -100
- package/src/models/privateLinkResourcesMappers.ts +0 -98
- package/src/models/queueMappers.ts +0 -98
- package/src/models/queueServicesMappers.ts +0 -98
- package/src/models/storageAccountsMappers.ts +0 -109
- package/src/models/tableOperationsMappers.ts +0 -98
- package/src/models/tableServicesMappers.ts +0 -98
|
@@ -3,76 +3,128 @@
|
|
|
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 { EncryptionScopes } 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
|
+
EncryptionScope,
|
|
18
|
+
EncryptionScopesListNextOptionalParams,
|
|
19
|
+
EncryptionScopesListOptionalParams,
|
|
20
|
+
EncryptionScopesPutOptionalParams,
|
|
21
|
+
EncryptionScopesPutResponse,
|
|
22
|
+
EncryptionScopesPatchOptionalParams,
|
|
23
|
+
EncryptionScopesPatchResponse,
|
|
24
|
+
EncryptionScopesGetOptionalParams,
|
|
25
|
+
EncryptionScopesGetResponse,
|
|
26
|
+
EncryptionScopesListResponse,
|
|
27
|
+
EncryptionScopesListNextResponse
|
|
28
|
+
} from "../models";
|
|
15
29
|
|
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
31
|
/** Class representing a EncryptionScopes. */
|
|
17
|
-
export class EncryptionScopes {
|
|
32
|
+
export class EncryptionScopesImpl implements EncryptionScopes {
|
|
18
33
|
private readonly client: StorageManagementClientContext;
|
|
19
34
|
|
|
20
35
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
36
|
+
* Initialize a new instance of the class EncryptionScopes class.
|
|
37
|
+
* @param client Reference to the service client
|
|
23
38
|
*/
|
|
24
39
|
constructor(client: StorageManagementClientContext) {
|
|
25
40
|
this.client = client;
|
|
26
41
|
}
|
|
27
42
|
|
|
28
43
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
33
|
-
* is case insensitive.
|
|
34
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
35
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
36
|
-
* letters only.
|
|
37
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
38
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
39
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
40
|
-
* followed by a letter or number.
|
|
41
|
-
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
42
|
-
* @param [options] The optional parameters
|
|
43
|
-
* @returns Promise<Models.EncryptionScopesPutResponse>
|
|
44
|
-
*/
|
|
45
|
-
put(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPutResponse>;
|
|
46
|
-
/**
|
|
47
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
48
|
-
* is case insensitive.
|
|
44
|
+
* Lists all the encryption scopes available under the specified storage account.
|
|
45
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
46
|
+
* case insensitive.
|
|
49
47
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* @param
|
|
53
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
54
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
55
|
-
* followed by a letter or number.
|
|
56
|
-
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
57
|
-
* @param callback The callback
|
|
48
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
49
|
+
* only.
|
|
50
|
+
* @param options The options parameters.
|
|
58
51
|
*/
|
|
59
|
-
|
|
52
|
+
public list(
|
|
53
|
+
resourceGroupName: string,
|
|
54
|
+
accountName: string,
|
|
55
|
+
options?: EncryptionScopesListOptionalParams
|
|
56
|
+
): PagedAsyncIterableIterator<EncryptionScope> {
|
|
57
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
58
|
+
return {
|
|
59
|
+
next() {
|
|
60
|
+
return iter.next();
|
|
61
|
+
},
|
|
62
|
+
[Symbol.asyncIterator]() {
|
|
63
|
+
return this;
|
|
64
|
+
},
|
|
65
|
+
byPage: () => {
|
|
66
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private async *listPagingPage(
|
|
72
|
+
resourceGroupName: string,
|
|
73
|
+
accountName: string,
|
|
74
|
+
options?: EncryptionScopesListOptionalParams
|
|
75
|
+
): AsyncIterableIterator<EncryptionScope[]> {
|
|
76
|
+
let result = await this._list(resourceGroupName, accountName, options);
|
|
77
|
+
yield result.value || [];
|
|
78
|
+
let continuationToken = result.nextLink;
|
|
79
|
+
while (continuationToken) {
|
|
80
|
+
result = await this._listNext(
|
|
81
|
+
resourceGroupName,
|
|
82
|
+
accountName,
|
|
83
|
+
continuationToken,
|
|
84
|
+
options
|
|
85
|
+
);
|
|
86
|
+
continuationToken = result.nextLink;
|
|
87
|
+
yield result.value || [];
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
private async *listPagingAll(
|
|
92
|
+
resourceGroupName: string,
|
|
93
|
+
accountName: string,
|
|
94
|
+
options?: EncryptionScopesListOptionalParams
|
|
95
|
+
): AsyncIterableIterator<EncryptionScope> {
|
|
96
|
+
for await (const page of this.listPagingPage(
|
|
97
|
+
resourceGroupName,
|
|
98
|
+
accountName,
|
|
99
|
+
options
|
|
100
|
+
)) {
|
|
101
|
+
yield* page;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
60
105
|
/**
|
|
61
|
-
*
|
|
62
|
-
* is
|
|
106
|
+
* Synchronously creates or updates an encryption scope under the specified storage account. If an
|
|
107
|
+
* encryption scope is already created and a subsequent request is issued with different properties,
|
|
108
|
+
* the encryption scope properties will be updated per the specified request.
|
|
109
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
110
|
+
* case insensitive.
|
|
63
111
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
112
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
113
|
+
* only.
|
|
114
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
115
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
116
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
117
|
+
* letter or number.
|
|
70
118
|
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
71
|
-
* @param options The
|
|
72
|
-
* @param callback The callback
|
|
119
|
+
* @param options The options parameters.
|
|
73
120
|
*/
|
|
74
|
-
put(
|
|
75
|
-
|
|
121
|
+
put(
|
|
122
|
+
resourceGroupName: string,
|
|
123
|
+
accountName: string,
|
|
124
|
+
encryptionScopeName: string,
|
|
125
|
+
encryptionScope: EncryptionScope,
|
|
126
|
+
options?: EncryptionScopesPutOptionalParams
|
|
127
|
+
): Promise<EncryptionScopesPutResponse> {
|
|
76
128
|
return this.client.sendOperationRequest(
|
|
77
129
|
{
|
|
78
130
|
resourceGroupName,
|
|
@@ -81,57 +133,32 @@ export class EncryptionScopes {
|
|
|
81
133
|
encryptionScope,
|
|
82
134
|
options
|
|
83
135
|
},
|
|
84
|
-
putOperationSpec
|
|
85
|
-
|
|
136
|
+
putOperationSpec
|
|
137
|
+
);
|
|
86
138
|
}
|
|
87
139
|
|
|
88
140
|
/**
|
|
89
|
-
* Update encryption scope properties as specified in the request body. Update fails if the
|
|
90
|
-
*
|
|
91
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
92
|
-
*
|
|
93
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
94
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
95
|
-
* letters only.
|
|
96
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
97
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
98
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
99
|
-
* followed by a letter or number.
|
|
100
|
-
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
101
|
-
* @param [options] The optional parameters
|
|
102
|
-
* @returns Promise<Models.EncryptionScopesPatchResponse>
|
|
103
|
-
*/
|
|
104
|
-
patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesPatchResponse>;
|
|
105
|
-
/**
|
|
106
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
107
|
-
* is case insensitive.
|
|
108
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
109
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
110
|
-
* letters only.
|
|
111
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
112
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
113
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
114
|
-
* followed by a letter or number.
|
|
115
|
-
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
116
|
-
* @param callback The callback
|
|
117
|
-
*/
|
|
118
|
-
patch(resourceGroupName: string, accountName: string, encryptionScopeName: string, encryptionScope: Models.EncryptionScope, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
|
|
119
|
-
/**
|
|
120
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
121
|
-
* is case insensitive.
|
|
141
|
+
* Update encryption scope properties as specified in the request body. Update fails if the specified
|
|
142
|
+
* encryption scope does not already exist.
|
|
143
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
144
|
+
* case insensitive.
|
|
122
145
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
146
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
147
|
+
* only.
|
|
148
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
149
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
150
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
151
|
+
* letter or number.
|
|
129
152
|
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
130
|
-
* @param options The
|
|
131
|
-
* @param callback The callback
|
|
153
|
+
* @param options The options parameters.
|
|
132
154
|
*/
|
|
133
|
-
patch(
|
|
134
|
-
|
|
155
|
+
patch(
|
|
156
|
+
resourceGroupName: string,
|
|
157
|
+
accountName: string,
|
|
158
|
+
encryptionScopeName: string,
|
|
159
|
+
encryptionScope: EncryptionScope,
|
|
160
|
+
options?: EncryptionScopesPatchOptionalParams
|
|
161
|
+
): Promise<EncryptionScopesPatchResponse> {
|
|
135
162
|
return this.client.sendOperationRequest(
|
|
136
163
|
{
|
|
137
164
|
resourceGroupName,
|
|
@@ -140,158 +167,84 @@ export class EncryptionScopes {
|
|
|
140
167
|
encryptionScope,
|
|
141
168
|
options
|
|
142
169
|
},
|
|
143
|
-
patchOperationSpec
|
|
144
|
-
|
|
170
|
+
patchOperationSpec
|
|
171
|
+
);
|
|
145
172
|
}
|
|
146
173
|
|
|
147
174
|
/**
|
|
148
175
|
* Returns the properties for the specified encryption scope.
|
|
149
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
150
|
-
*
|
|
151
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
152
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
153
|
-
* letters only.
|
|
154
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
155
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
156
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
157
|
-
* followed by a letter or number.
|
|
158
|
-
* @param [options] The optional parameters
|
|
159
|
-
* @returns Promise<Models.EncryptionScopesGetResponse>
|
|
160
|
-
*/
|
|
161
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesGetResponse>;
|
|
162
|
-
/**
|
|
163
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
164
|
-
* is case insensitive.
|
|
176
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
177
|
+
* case insensitive.
|
|
165
178
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* @param
|
|
179
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
180
|
+
* only.
|
|
181
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
182
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
183
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
184
|
+
* letter or number.
|
|
185
|
+
* @param options The options parameters.
|
|
173
186
|
*/
|
|
174
|
-
get(
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
* letters only.
|
|
181
|
-
* @param encryptionScopeName The name of the encryption scope within the specified storage
|
|
182
|
-
* account. Encryption scope names must be between 3 and 63 characters in length and use numbers,
|
|
183
|
-
* lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and
|
|
184
|
-
* followed by a letter or number.
|
|
185
|
-
* @param options The optional parameters
|
|
186
|
-
* @param callback The callback
|
|
187
|
-
*/
|
|
188
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScope>): void;
|
|
189
|
-
get(resourceGroupName: string, accountName: string, encryptionScopeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EncryptionScope>, callback?: msRest.ServiceCallback<Models.EncryptionScope>): Promise<Models.EncryptionScopesGetResponse> {
|
|
187
|
+
get(
|
|
188
|
+
resourceGroupName: string,
|
|
189
|
+
accountName: string,
|
|
190
|
+
encryptionScopeName: string,
|
|
191
|
+
options?: EncryptionScopesGetOptionalParams
|
|
192
|
+
): Promise<EncryptionScopesGetResponse> {
|
|
190
193
|
return this.client.sendOperationRequest(
|
|
191
|
-
{
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
encryptionScopeName,
|
|
195
|
-
options
|
|
196
|
-
},
|
|
197
|
-
getOperationSpec,
|
|
198
|
-
callback) as Promise<Models.EncryptionScopesGetResponse>;
|
|
194
|
+
{ resourceGroupName, accountName, encryptionScopeName, options },
|
|
195
|
+
getOperationSpec
|
|
196
|
+
);
|
|
199
197
|
}
|
|
200
198
|
|
|
201
199
|
/**
|
|
202
200
|
* Lists all the encryption scopes available under the specified storage account.
|
|
203
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
204
|
-
*
|
|
205
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
206
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
207
|
-
* letters only.
|
|
208
|
-
* @param [options] The optional parameters
|
|
209
|
-
* @returns Promise<Models.EncryptionScopesListResponse>
|
|
210
|
-
*/
|
|
211
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase): Promise<Models.EncryptionScopesListResponse>;
|
|
212
|
-
/**
|
|
213
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
214
|
-
* is case insensitive.
|
|
201
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
202
|
+
* case insensitive.
|
|
215
203
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* @param
|
|
204
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
205
|
+
* only.
|
|
206
|
+
* @param options The options parameters.
|
|
219
207
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
226
|
-
* letters only.
|
|
227
|
-
* @param options The optional parameters
|
|
228
|
-
* @param callback The callback
|
|
229
|
-
*/
|
|
230
|
-
list(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
|
|
231
|
-
list(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.EncryptionScopeListResult>, callback?: msRest.ServiceCallback<Models.EncryptionScopeListResult>): Promise<Models.EncryptionScopesListResponse> {
|
|
208
|
+
private _list(
|
|
209
|
+
resourceGroupName: string,
|
|
210
|
+
accountName: string,
|
|
211
|
+
options?: EncryptionScopesListOptionalParams
|
|
212
|
+
): Promise<EncryptionScopesListResponse> {
|
|
232
213
|
return this.client.sendOperationRequest(
|
|
233
|
-
{
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
options
|
|
237
|
-
},
|
|
238
|
-
listOperationSpec,
|
|
239
|
-
callback) as Promise<Models.EncryptionScopesListResponse>;
|
|
214
|
+
{ resourceGroupName, accountName, options },
|
|
215
|
+
listOperationSpec
|
|
216
|
+
);
|
|
240
217
|
}
|
|
241
218
|
|
|
242
219
|
/**
|
|
243
|
-
*
|
|
244
|
-
* @param
|
|
245
|
-
*
|
|
246
|
-
* @
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
* @param
|
|
251
|
-
* @param callback The callback
|
|
252
|
-
*/
|
|
253
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.EncryptionScopeListResult>): void;
|
|
254
|
-
/**
|
|
255
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
256
|
-
* @param options The optional parameters
|
|
257
|
-
* @param callback The callback
|
|
220
|
+
* ListNext
|
|
221
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
222
|
+
* case insensitive.
|
|
223
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
224
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
225
|
+
* only.
|
|
226
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
227
|
+
* @param options The options parameters.
|
|
258
228
|
*/
|
|
259
|
-
|
|
260
|
-
|
|
229
|
+
private _listNext(
|
|
230
|
+
resourceGroupName: string,
|
|
231
|
+
accountName: string,
|
|
232
|
+
nextLink: string,
|
|
233
|
+
options?: EncryptionScopesListNextOptionalParams
|
|
234
|
+
): Promise<EncryptionScopesListNextResponse> {
|
|
261
235
|
return this.client.sendOperationRequest(
|
|
262
|
-
{
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
},
|
|
266
|
-
listNextOperationSpec,
|
|
267
|
-
callback) as Promise<Models.EncryptionScopesListNextResponse>;
|
|
236
|
+
{ resourceGroupName, accountName, nextLink, options },
|
|
237
|
+
listNextOperationSpec
|
|
238
|
+
);
|
|
268
239
|
}
|
|
269
240
|
}
|
|
270
|
-
|
|
271
241
|
// Operation Specifications
|
|
272
|
-
const serializer =
|
|
273
|
-
|
|
242
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
243
|
+
|
|
244
|
+
const putOperationSpec: coreClient.OperationSpec = {
|
|
245
|
+
path:
|
|
246
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
274
247
|
httpMethod: "PUT",
|
|
275
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
276
|
-
urlParameters: [
|
|
277
|
-
Parameters.resourceGroupName,
|
|
278
|
-
Parameters.accountName,
|
|
279
|
-
Parameters.subscriptionId,
|
|
280
|
-
Parameters.encryptionScopeName
|
|
281
|
-
],
|
|
282
|
-
queryParameters: [
|
|
283
|
-
Parameters.apiVersion
|
|
284
|
-
],
|
|
285
|
-
headerParameters: [
|
|
286
|
-
Parameters.acceptLanguage
|
|
287
|
-
],
|
|
288
|
-
requestBody: {
|
|
289
|
-
parameterPath: "encryptionScope",
|
|
290
|
-
mapper: {
|
|
291
|
-
...Mappers.EncryptionScope,
|
|
292
|
-
required: true
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
248
|
responses: {
|
|
296
249
|
200: {
|
|
297
250
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -303,31 +256,23 @@ const putOperationSpec: msRest.OperationSpec = {
|
|
|
303
256
|
bodyMapper: Mappers.ErrorResponse
|
|
304
257
|
}
|
|
305
258
|
},
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
const patchOperationSpec: msRest.OperationSpec = {
|
|
310
|
-
httpMethod: "PATCH",
|
|
311
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
259
|
+
requestBody: Parameters.encryptionScope,
|
|
260
|
+
queryParameters: [Parameters.apiVersion],
|
|
312
261
|
urlParameters: [
|
|
313
|
-
Parameters
|
|
314
|
-
Parameters.accountName,
|
|
262
|
+
Parameters.$host,
|
|
315
263
|
Parameters.subscriptionId,
|
|
264
|
+
Parameters.resourceGroupName,
|
|
265
|
+
Parameters.accountName1,
|
|
316
266
|
Parameters.encryptionScopeName
|
|
317
267
|
],
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
mapper: {
|
|
327
|
-
...Mappers.EncryptionScope,
|
|
328
|
-
required: true
|
|
329
|
-
}
|
|
330
|
-
},
|
|
268
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
269
|
+
mediaType: "json",
|
|
270
|
+
serializer
|
|
271
|
+
};
|
|
272
|
+
const patchOperationSpec: coreClient.OperationSpec = {
|
|
273
|
+
path:
|
|
274
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
275
|
+
httpMethod: "PATCH",
|
|
331
276
|
responses: {
|
|
332
277
|
200: {
|
|
333
278
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -336,24 +281,23 @@ const patchOperationSpec: msRest.OperationSpec = {
|
|
|
336
281
|
bodyMapper: Mappers.ErrorResponse
|
|
337
282
|
}
|
|
338
283
|
},
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
343
|
-
httpMethod: "GET",
|
|
344
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
284
|
+
requestBody: Parameters.encryptionScope,
|
|
285
|
+
queryParameters: [Parameters.apiVersion],
|
|
345
286
|
urlParameters: [
|
|
346
|
-
Parameters
|
|
347
|
-
Parameters.accountName,
|
|
287
|
+
Parameters.$host,
|
|
348
288
|
Parameters.subscriptionId,
|
|
289
|
+
Parameters.resourceGroupName,
|
|
290
|
+
Parameters.accountName1,
|
|
349
291
|
Parameters.encryptionScopeName
|
|
350
292
|
],
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
293
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
294
|
+
mediaType: "json",
|
|
295
|
+
serializer
|
|
296
|
+
};
|
|
297
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
298
|
+
path:
|
|
299
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
300
|
+
httpMethod: "GET",
|
|
357
301
|
responses: {
|
|
358
302
|
200: {
|
|
359
303
|
bodyMapper: Mappers.EncryptionScope
|
|
@@ -362,54 +306,52 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
362
306
|
bodyMapper: Mappers.ErrorResponse
|
|
363
307
|
}
|
|
364
308
|
},
|
|
365
|
-
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
369
|
-
httpMethod: "GET",
|
|
370
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
309
|
+
queryParameters: [Parameters.apiVersion],
|
|
371
310
|
urlParameters: [
|
|
311
|
+
Parameters.$host,
|
|
312
|
+
Parameters.subscriptionId,
|
|
372
313
|
Parameters.resourceGroupName,
|
|
373
|
-
Parameters.
|
|
374
|
-
Parameters.
|
|
375
|
-
],
|
|
376
|
-
queryParameters: [
|
|
377
|
-
Parameters.apiVersion
|
|
378
|
-
],
|
|
379
|
-
headerParameters: [
|
|
380
|
-
Parameters.acceptLanguage
|
|
314
|
+
Parameters.accountName1,
|
|
315
|
+
Parameters.encryptionScopeName
|
|
381
316
|
],
|
|
317
|
+
headerParameters: [Parameters.accept],
|
|
318
|
+
serializer
|
|
319
|
+
};
|
|
320
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
321
|
+
path:
|
|
322
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
323
|
+
httpMethod: "GET",
|
|
382
324
|
responses: {
|
|
383
325
|
200: {
|
|
384
326
|
bodyMapper: Mappers.EncryptionScopeListResult
|
|
385
|
-
},
|
|
386
|
-
default: {
|
|
387
|
-
bodyMapper: Mappers.CloudError
|
|
388
327
|
}
|
|
389
328
|
},
|
|
329
|
+
queryParameters: [Parameters.apiVersion],
|
|
330
|
+
urlParameters: [
|
|
331
|
+
Parameters.$host,
|
|
332
|
+
Parameters.subscriptionId,
|
|
333
|
+
Parameters.resourceGroupName,
|
|
334
|
+
Parameters.accountName1
|
|
335
|
+
],
|
|
336
|
+
headerParameters: [Parameters.accept],
|
|
390
337
|
serializer
|
|
391
338
|
};
|
|
392
|
-
|
|
393
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
394
|
-
httpMethod: "GET",
|
|
395
|
-
baseUrl: "https://management.azure.com",
|
|
339
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
396
340
|
path: "{nextLink}",
|
|
397
|
-
|
|
398
|
-
Parameters.nextPageLink
|
|
399
|
-
],
|
|
400
|
-
queryParameters: [
|
|
401
|
-
Parameters.apiVersion
|
|
402
|
-
],
|
|
403
|
-
headerParameters: [
|
|
404
|
-
Parameters.acceptLanguage
|
|
405
|
-
],
|
|
341
|
+
httpMethod: "GET",
|
|
406
342
|
responses: {
|
|
407
343
|
200: {
|
|
408
344
|
bodyMapper: Mappers.EncryptionScopeListResult
|
|
409
|
-
},
|
|
410
|
-
default: {
|
|
411
|
-
bodyMapper: Mappers.CloudError
|
|
412
345
|
}
|
|
413
346
|
},
|
|
347
|
+
queryParameters: [Parameters.apiVersion],
|
|
348
|
+
urlParameters: [
|
|
349
|
+
Parameters.$host,
|
|
350
|
+
Parameters.subscriptionId,
|
|
351
|
+
Parameters.resourceGroupName,
|
|
352
|
+
Parameters.accountName1,
|
|
353
|
+
Parameters.nextLink
|
|
354
|
+
],
|
|
355
|
+
headerParameters: [Parameters.accept],
|
|
414
356
|
serializer
|
|
415
357
|
};
|