@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,125 +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
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import * as Mappers from "../models/fileServicesMappers";
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
12
10
|
import * as Parameters from "../models/parameters";
|
|
13
11
|
/** Class representing a FileServices. */
|
|
14
|
-
|
|
12
|
+
export class FileServicesImpl {
|
|
15
13
|
/**
|
|
16
|
-
*
|
|
17
|
-
* @param
|
|
14
|
+
* Initialize a new instance of the class FileServices class.
|
|
15
|
+
* @param client Reference to the service client
|
|
18
16
|
*/
|
|
19
|
-
|
|
17
|
+
constructor(client) {
|
|
20
18
|
this.client = client;
|
|
21
19
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
20
|
+
/**
|
|
21
|
+
* List all file services in storage accounts
|
|
22
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
23
|
+
* case insensitive.
|
|
24
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
25
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
26
|
+
* only.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(resourceGroupName, accountName, options) {
|
|
30
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource
|
|
34
|
+
* Sharing) rules.
|
|
35
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
36
|
+
* case insensitive.
|
|
37
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
38
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
39
|
+
* only.
|
|
40
|
+
* @param parameters The properties of file services in storage accounts, including CORS (Cross-Origin
|
|
41
|
+
* Resource Sharing) rules.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
setServiceProperties(resourceGroupName, accountName, parameters, options) {
|
|
45
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, parameters, options }, setServicePropertiesOperationSpec);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Gets the properties of file services in storage accounts, including CORS (Cross-Origin Resource
|
|
49
|
+
* Sharing) rules.
|
|
50
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
51
|
+
* case insensitive.
|
|
52
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
53
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
54
|
+
* only.
|
|
55
|
+
* @param options The options parameters.
|
|
56
|
+
*/
|
|
57
|
+
getServiceProperties(resourceGroupName, accountName, options) {
|
|
58
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getServicePropertiesOperationSpec);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
47
61
|
// Operation Specifications
|
|
48
|
-
|
|
49
|
-
|
|
62
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
63
|
+
const listOperationSpec = {
|
|
64
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices",
|
|
50
65
|
httpMethod: "GET",
|
|
51
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices",
|
|
52
|
-
urlParameters: [
|
|
53
|
-
Parameters.resourceGroupName,
|
|
54
|
-
Parameters.accountName,
|
|
55
|
-
Parameters.subscriptionId
|
|
56
|
-
],
|
|
57
|
-
queryParameters: [
|
|
58
|
-
Parameters.apiVersion
|
|
59
|
-
],
|
|
60
|
-
headerParameters: [
|
|
61
|
-
Parameters.acceptLanguage
|
|
62
|
-
],
|
|
63
66
|
responses: {
|
|
64
67
|
200: {
|
|
65
68
|
bodyMapper: Mappers.FileServiceItems
|
|
66
69
|
},
|
|
67
70
|
default: {
|
|
68
|
-
bodyMapper: Mappers.
|
|
71
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
69
72
|
}
|
|
70
73
|
},
|
|
71
|
-
|
|
72
|
-
};
|
|
73
|
-
var setServicePropertiesOperationSpec = {
|
|
74
|
-
httpMethod: "PUT",
|
|
75
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
74
|
+
queryParameters: [Parameters.apiVersion],
|
|
76
75
|
urlParameters: [
|
|
77
|
-
Parameters
|
|
78
|
-
Parameters.accountName,
|
|
76
|
+
Parameters.$host,
|
|
79
77
|
Parameters.subscriptionId,
|
|
80
|
-
Parameters.
|
|
81
|
-
|
|
82
|
-
queryParameters: [
|
|
83
|
-
Parameters.apiVersion
|
|
84
|
-
],
|
|
85
|
-
headerParameters: [
|
|
86
|
-
Parameters.acceptLanguage
|
|
78
|
+
Parameters.resourceGroupName,
|
|
79
|
+
Parameters.accountName1
|
|
87
80
|
],
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
81
|
+
headerParameters: [Parameters.accept],
|
|
82
|
+
serializer
|
|
83
|
+
};
|
|
84
|
+
const setServicePropertiesOperationSpec = {
|
|
85
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
86
|
+
httpMethod: "PUT",
|
|
92
87
|
responses: {
|
|
93
88
|
200: {
|
|
94
89
|
bodyMapper: Mappers.FileServiceProperties
|
|
95
90
|
},
|
|
96
91
|
default: {
|
|
97
|
-
bodyMapper: Mappers.
|
|
92
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
98
93
|
}
|
|
99
94
|
},
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
var getServicePropertiesOperationSpec = {
|
|
103
|
-
httpMethod: "GET",
|
|
104
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
95
|
+
requestBody: Parameters.parameters8,
|
|
96
|
+
queryParameters: [Parameters.apiVersion],
|
|
105
97
|
urlParameters: [
|
|
106
|
-
Parameters
|
|
107
|
-
Parameters.accountName,
|
|
98
|
+
Parameters.$host,
|
|
108
99
|
Parameters.subscriptionId,
|
|
100
|
+
Parameters.resourceGroupName,
|
|
101
|
+
Parameters.accountName1,
|
|
109
102
|
Parameters.fileServicesName
|
|
110
103
|
],
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
104
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
105
|
+
mediaType: "json",
|
|
106
|
+
serializer
|
|
107
|
+
};
|
|
108
|
+
const getServicePropertiesOperationSpec = {
|
|
109
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/fileServices/{FileServicesName}",
|
|
110
|
+
httpMethod: "GET",
|
|
117
111
|
responses: {
|
|
118
112
|
200: {
|
|
119
113
|
bodyMapper: Mappers.FileServiceProperties
|
|
120
114
|
},
|
|
121
115
|
default: {
|
|
122
|
-
bodyMapper: Mappers.
|
|
116
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
123
117
|
}
|
|
124
118
|
},
|
|
125
|
-
|
|
119
|
+
queryParameters: [Parameters.apiVersion],
|
|
120
|
+
urlParameters: [
|
|
121
|
+
Parameters.$host,
|
|
122
|
+
Parameters.subscriptionId,
|
|
123
|
+
Parameters.resourceGroupName,
|
|
124
|
+
Parameters.accountName1,
|
|
125
|
+
Parameters.fileServicesName
|
|
126
|
+
],
|
|
127
|
+
headerParameters: [Parameters.accept],
|
|
128
|
+
serializer
|
|
126
129
|
};
|
|
127
130
|
//# sourceMappingURL=fileServices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../src/operations/fileServices.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"fileServices.js","sourceRoot":"","sources":["../../src/operations/fileServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,yCAAyC;AACzC,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAsC;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAyB,EACzB,WAAmB,EACnB,OAAwC;QAExC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,WAAmB,EACnB,UAAiC,EACjC,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,EACvD,iCAAiC,CAClC,CAAC;IACJ,CAAC;IAED;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAyB,EACzB,WAAmB,EACnB,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,WAAW,EAAE,OAAO,EAAE,EAC3C,iCAAiC,CAClC,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EACF,2IAA2I;IAC7I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,8JAA8J;IAChK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EACF,8JAA8J;IAChK,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,gBAAgB;KAC5B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -1,289 +1,133 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import "@azure/core-paging";
|
|
2
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
3
|
+
import { FileShares } from "../operationsInterfaces";
|
|
3
4
|
import { StorageManagementClientContext } from "../storageManagementClientContext";
|
|
5
|
+
import { FileShareItem, FileSharesListOptionalParams, FileShare, FileSharesCreateOptionalParams, FileSharesCreateResponse, FileSharesUpdateOptionalParams, FileSharesUpdateResponse, FileSharesGetOptionalParams, FileSharesGetResponse, FileSharesDeleteOptionalParams, DeletedShare, FileSharesRestoreOptionalParams, FileSharesLeaseOptionalParams, FileSharesLeaseResponse } from "../models";
|
|
4
6
|
/** Class representing a FileShares. */
|
|
5
|
-
export declare class FileShares {
|
|
7
|
+
export declare class FileSharesImpl implements FileShares {
|
|
6
8
|
private readonly client;
|
|
7
9
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
10
|
+
* Initialize a new instance of the class FileShares class.
|
|
11
|
+
* @param client Reference to the service client
|
|
10
12
|
*/
|
|
11
13
|
constructor(client: StorageManagementClientContext);
|
|
12
14
|
/**
|
|
13
15
|
* Lists all shares.
|
|
14
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
15
|
-
*
|
|
16
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
17
|
+
* case insensitive.
|
|
16
18
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @param
|
|
20
|
-
* @returns Promise<Models.FileSharesListResponse>
|
|
19
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
20
|
+
* only.
|
|
21
|
+
* @param options The options parameters.
|
|
21
22
|
*/
|
|
22
|
-
list(resourceGroupName: string, accountName: string, options?:
|
|
23
|
+
list(resourceGroupName: string, accountName: string, options?: FileSharesListOptionalParams): PagedAsyncIterableIterator<FileShareItem>;
|
|
24
|
+
private listPagingPage;
|
|
25
|
+
private listPagingAll;
|
|
23
26
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
28
|
-
* letters only.
|
|
29
|
-
* @param callback The callback
|
|
30
|
-
*/
|
|
31
|
-
list(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.FileShareItems>): void;
|
|
32
|
-
/**
|
|
33
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
34
|
-
* is case insensitive.
|
|
27
|
+
* Lists all shares.
|
|
28
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
29
|
+
* case insensitive.
|
|
35
30
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* @param options The
|
|
39
|
-
* @param callback The callback
|
|
31
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
32
|
+
* only.
|
|
33
|
+
* @param options The options parameters.
|
|
40
34
|
*/
|
|
41
|
-
|
|
35
|
+
private _list;
|
|
42
36
|
/**
|
|
43
37
|
* Creates a new share under the specified account as described by request body. The share resource
|
|
44
|
-
* includes metadata and properties for that share. It does not include a list of the files
|
|
45
|
-
*
|
|
46
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
47
|
-
*
|
|
48
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* number.
|
|
55
|
-
* @param fileShare Properties of the file share to create.
|
|
56
|
-
* @param [options] The optional parameters
|
|
57
|
-
* @returns Promise<Models.FileSharesCreateResponse>
|
|
58
|
-
*/
|
|
59
|
-
create(resourceGroupName: string, accountName: string, shareName: string, fileShare: Models.FileShare, options?: Models.FileSharesCreateOptionalParams): Promise<Models.FileSharesCreateResponse>;
|
|
60
|
-
/**
|
|
61
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
62
|
-
* is case insensitive.
|
|
63
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
64
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
65
|
-
* letters only.
|
|
66
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
67
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
68
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
69
|
-
* number.
|
|
70
|
-
* @param fileShare Properties of the file share to create.
|
|
71
|
-
* @param callback The callback
|
|
72
|
-
*/
|
|
73
|
-
create(resourceGroupName: string, accountName: string, shareName: string, fileShare: Models.FileShare, callback: msRest.ServiceCallback<Models.FileShare>): void;
|
|
74
|
-
/**
|
|
75
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
76
|
-
* is case insensitive.
|
|
77
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
78
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
79
|
-
* letters only.
|
|
80
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
81
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
82
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
83
|
-
* number.
|
|
38
|
+
* includes metadata and properties for that share. It does not include a list of the files contained
|
|
39
|
+
* by the share.
|
|
40
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
41
|
+
* case insensitive.
|
|
42
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
43
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
44
|
+
* only.
|
|
45
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
46
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
47
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
84
48
|
* @param fileShare Properties of the file share to create.
|
|
85
|
-
* @param options The
|
|
86
|
-
* @param callback The callback
|
|
87
|
-
*/
|
|
88
|
-
create(resourceGroupName: string, accountName: string, shareName: string, fileShare: Models.FileShare, options: Models.FileSharesCreateOptionalParams, callback: msRest.ServiceCallback<Models.FileShare>): void;
|
|
89
|
-
/**
|
|
90
|
-
* Updates share properties as specified in request body. Properties not mentioned in the request
|
|
91
|
-
* will not be changed. Update fails if the specified share does not already exist.
|
|
92
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
93
|
-
* is case insensitive.
|
|
94
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
95
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
96
|
-
* letters only.
|
|
97
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
98
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
99
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
100
|
-
* number.
|
|
101
|
-
* @param fileShare Properties to update for the file share.
|
|
102
|
-
* @param [options] The optional parameters
|
|
103
|
-
* @returns Promise<Models.FileSharesUpdateResponse>
|
|
104
|
-
*/
|
|
105
|
-
update(resourceGroupName: string, accountName: string, shareName: string, fileShare: Models.FileShare, options?: msRest.RequestOptionsBase): Promise<Models.FileSharesUpdateResponse>;
|
|
106
|
-
/**
|
|
107
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
108
|
-
* is case insensitive.
|
|
109
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
110
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
111
|
-
* letters only.
|
|
112
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
113
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
114
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
115
|
-
* number.
|
|
116
|
-
* @param fileShare Properties to update for the file share.
|
|
117
|
-
* @param callback The callback
|
|
49
|
+
* @param options The options parameters.
|
|
118
50
|
*/
|
|
119
|
-
|
|
51
|
+
create(resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesCreateOptionalParams): Promise<FileSharesCreateResponse>;
|
|
120
52
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
53
|
+
* Updates share properties as specified in request body. Properties not mentioned in the request will
|
|
54
|
+
* not be changed. Update fails if the specified share does not already exist.
|
|
55
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
56
|
+
* case insensitive.
|
|
123
57
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* number.
|
|
58
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
59
|
+
* only.
|
|
60
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
61
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
62
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
130
63
|
* @param fileShare Properties to update for the file share.
|
|
131
|
-
* @param options The
|
|
132
|
-
* @param callback The callback
|
|
64
|
+
* @param options The options parameters.
|
|
133
65
|
*/
|
|
134
|
-
update(resourceGroupName: string, accountName: string, shareName: string, fileShare:
|
|
66
|
+
update(resourceGroupName: string, accountName: string, shareName: string, fileShare: FileShare, options?: FileSharesUpdateOptionalParams): Promise<FileSharesUpdateResponse>;
|
|
135
67
|
/**
|
|
136
68
|
* Gets properties of a specified share.
|
|
137
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
138
|
-
*
|
|
139
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
140
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
141
|
-
* letters only.
|
|
142
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
143
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
144
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
145
|
-
* number.
|
|
146
|
-
* @param [options] The optional parameters
|
|
147
|
-
* @returns Promise<Models.FileSharesGetResponse>
|
|
148
|
-
*/
|
|
149
|
-
get(resourceGroupName: string, accountName: string, shareName: string, options?: Models.FileSharesGetOptionalParams): Promise<Models.FileSharesGetResponse>;
|
|
150
|
-
/**
|
|
151
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
152
|
-
* is case insensitive.
|
|
69
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
70
|
+
* case insensitive.
|
|
153
71
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* @param callback The callback
|
|
72
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
73
|
+
* only.
|
|
74
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
75
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
76
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
77
|
+
* @param options The options parameters.
|
|
161
78
|
*/
|
|
162
|
-
get(resourceGroupName: string, accountName: string, shareName: string,
|
|
163
|
-
/**
|
|
164
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
165
|
-
* is case insensitive.
|
|
166
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
167
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
168
|
-
* letters only.
|
|
169
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
170
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
171
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
172
|
-
* number.
|
|
173
|
-
* @param options The optional parameters
|
|
174
|
-
* @param callback The callback
|
|
175
|
-
*/
|
|
176
|
-
get(resourceGroupName: string, accountName: string, shareName: string, options: Models.FileSharesGetOptionalParams, callback: msRest.ServiceCallback<Models.FileShare>): void;
|
|
79
|
+
get(resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesGetOptionalParams): Promise<FileSharesGetResponse>;
|
|
177
80
|
/**
|
|
178
81
|
* Deletes specified share under its account.
|
|
179
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
180
|
-
*
|
|
181
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
182
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
183
|
-
* letters only.
|
|
184
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
185
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
186
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
187
|
-
* number.
|
|
188
|
-
* @param [options] The optional parameters
|
|
189
|
-
* @returns Promise<msRest.RestResponse>
|
|
190
|
-
*/
|
|
191
|
-
deleteMethod(resourceGroupName: string, accountName: string, shareName: string, options?: Models.FileSharesDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
|
|
192
|
-
/**
|
|
193
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
194
|
-
* is case insensitive.
|
|
82
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
83
|
+
* case insensitive.
|
|
195
84
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
199
|
-
*
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* @param callback The callback
|
|
85
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
86
|
+
* only.
|
|
87
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
88
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
89
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
90
|
+
* @param options The options parameters.
|
|
203
91
|
*/
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
207
|
-
* is case insensitive.
|
|
208
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
209
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
210
|
-
* letters only.
|
|
211
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
212
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
213
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
214
|
-
* number.
|
|
215
|
-
* @param options The optional parameters
|
|
216
|
-
* @param callback The callback
|
|
217
|
-
*/
|
|
218
|
-
deleteMethod(resourceGroupName: string, accountName: string, shareName: string, options: Models.FileSharesDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
|
|
92
|
+
delete(resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesDeleteOptionalParams): Promise<void>;
|
|
219
93
|
/**
|
|
220
94
|
* Restore a file share within a valid retention days if share soft delete is enabled
|
|
221
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
222
|
-
*
|
|
223
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* @param
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
*
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
* @param
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
* letters only.
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
*
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
* @param
|
|
255
|
-
*
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
* letters only.
|
|
259
|
-
* @param shareName The name of the file share within the specified storage account. File share
|
|
260
|
-
* names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash
|
|
261
|
-
* (-) only. Every dash (-) character must be immediately preceded and followed by a letter or
|
|
262
|
-
* number.
|
|
263
|
-
* @param deletedShareName Required. Identify the name of the deleted share that will be restored.
|
|
264
|
-
* @param deletedShareVersion Required. Identify the version of the deleted share that will be
|
|
265
|
-
* restored.
|
|
266
|
-
* @param options The optional parameters
|
|
267
|
-
* @param callback The callback
|
|
268
|
-
*/
|
|
269
|
-
restore(resourceGroupName: string, accountName: string, shareName: string, deletedShareName: string, deletedShareVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
270
|
-
/**
|
|
271
|
-
* Lists all shares.
|
|
272
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
273
|
-
* @param [options] The optional parameters
|
|
274
|
-
* @returns Promise<Models.FileSharesListNextResponse>
|
|
275
|
-
*/
|
|
276
|
-
listNext(nextPageLink: string, options?: Models.FileSharesListNextOptionalParams): Promise<Models.FileSharesListNextResponse>;
|
|
277
|
-
/**
|
|
278
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
279
|
-
* @param callback The callback
|
|
280
|
-
*/
|
|
281
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.FileShareItems>): void;
|
|
282
|
-
/**
|
|
283
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
284
|
-
* @param options The optional parameters
|
|
285
|
-
* @param callback The callback
|
|
286
|
-
*/
|
|
287
|
-
listNext(nextPageLink: string, options: Models.FileSharesListNextOptionalParams, callback: msRest.ServiceCallback<Models.FileShareItems>): void;
|
|
95
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
96
|
+
* case insensitive.
|
|
97
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
98
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
99
|
+
* only.
|
|
100
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
101
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
102
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
103
|
+
* @param deletedShare The deleted share to be restored.
|
|
104
|
+
* @param options The options parameters.
|
|
105
|
+
*/
|
|
106
|
+
restore(resourceGroupName: string, accountName: string, shareName: string, deletedShare: DeletedShare, options?: FileSharesRestoreOptionalParams): Promise<void>;
|
|
107
|
+
/**
|
|
108
|
+
* The Lease Share operation establishes and manages a lock on a share for delete operations. The lock
|
|
109
|
+
* duration can be 15 to 60 seconds, or can be infinite.
|
|
110
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
111
|
+
* case insensitive.
|
|
112
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
113
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
114
|
+
* only.
|
|
115
|
+
* @param shareName The name of the file share within the specified storage account. File share names
|
|
116
|
+
* must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only.
|
|
117
|
+
* Every dash (-) character must be immediately preceded and followed by a letter or number.
|
|
118
|
+
* @param options The options parameters.
|
|
119
|
+
*/
|
|
120
|
+
lease(resourceGroupName: string, accountName: string, shareName: string, options?: FileSharesLeaseOptionalParams): Promise<FileSharesLeaseResponse>;
|
|
121
|
+
/**
|
|
122
|
+
* ListNext
|
|
123
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
124
|
+
* case insensitive.
|
|
125
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
126
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
127
|
+
* only.
|
|
128
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
129
|
+
* @param options The options parameters.
|
|
130
|
+
*/
|
|
131
|
+
private _listNext;
|
|
288
132
|
}
|
|
289
133
|
//# sourceMappingURL=fileShares.d.ts.map
|