@azure/arm-storage 16.1.2 → 17.0.0-alpha.20211206.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +69 -80
- package/dist/index.js +10847 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/{esm/models/operationsMappers.js → dist-esm/src/index.js} +5 -2
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +3500 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +351 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +150 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2840 -2487
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +61 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +273 -155
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/blobContainers.d.ts +278 -0
- package/dist-esm/src/operations/blobContainers.d.ts.map +1 -0
- package/dist-esm/src/operations/blobContainers.js +721 -0
- package/dist-esm/src/operations/blobContainers.js.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js +221 -0
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operations/blobServices.d.ts +60 -0
- package/dist-esm/src/operations/blobServices.d.ts.map +1 -0
- package/dist-esm/src/operations/blobServices.js +170 -0
- package/dist-esm/src/operations/blobServices.js.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts +39 -0
- package/dist-esm/src/operations/deletedAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedAccounts.js +154 -0
- package/dist-esm/src/operations/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts +94 -0
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operations/encryptionScopes.js +278 -0
- package/dist-esm/src/operations/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operations/fileServices.d.ts +47 -0
- package/dist-esm/src/operations/fileServices.d.ts.map +1 -0
- package/dist-esm/src/operations/fileServices.js +130 -0
- package/dist-esm/src/operations/fileServices.js.map +1 -0
- package/dist-esm/src/operations/fileShares.d.ts +132 -0
- package/dist-esm/src/operations/fileShares.d.ts.map +1 -0
- package/dist-esm/src/operations/fileShares.js +398 -0
- package/dist-esm/src/operations/fileShares.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/managementPolicies.d.ts +50 -0
- package/dist-esm/src/operations/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/managementPolicies.js +126 -0
- package/dist-esm/src/operations/managementPolicies.js.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts +80 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js +228 -0
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts +73 -0
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operations/privateEndpointConnections.js +228 -0
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts +23 -0
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operations/privateLinkResources.js +53 -0
- package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operations/queue.d.ts +101 -0
- package/dist-esm/src/operations/queue.d.ts.map +1 -0
- package/dist-esm/src/operations/queue.js +306 -0
- package/dist-esm/src/operations/queue.js.map +1 -0
- package/dist-esm/src/operations/queueServices.d.ts +47 -0
- package/dist-esm/src/operations/queueServices.d.ts.map +1 -0
- package/dist-esm/src/operations/queueServices.js +130 -0
- package/dist-esm/src/operations/queueServices.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +26 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +87 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/storageAccounts.d.ts +284 -0
- package/dist-esm/src/operations/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operations/storageAccounts.js +920 -0
- package/dist-esm/src/operations/storageAccounts.js.map +1 -0
- package/dist-esm/src/operations/tableOperations.d.ts +99 -0
- package/dist-esm/src/operations/tableOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/tableOperations.js +292 -0
- package/dist-esm/src/operations/tableOperations.js.map +1 -0
- package/dist-esm/src/operations/tableServices.d.ts +47 -0
- package/dist-esm/src/operations/tableServices.d.ts.map +1 -0
- package/dist-esm/src/operations/tableServices.js +130 -0
- package/dist-esm/src/operations/tableServices.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +28 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +93 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts +246 -0
- package/dist-esm/src/operationsInterfaces/blobContainers.d.ts.map +1 -0
- package/{src/models/usagesMappers.ts → dist-esm/src/operationsInterfaces/blobContainers.js} +2 -7
- package/dist-esm/src/operationsInterfaces/blobContainers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/{esm/models/usagesMappers.js → dist-esm/src/operationsInterfaces/blobInventoryPolicies.js} +2 -2
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/blobServices.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/blobServices.d.ts.map +1 -0
- package/{src/models/skusMappers.ts → dist-esm/src/operationsInterfaces/blobServices.js} +2 -8
- package/dist-esm/src/operationsInterfaces/blobServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/deletedAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/fileServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileShares.d.ts +101 -0
- package/dist-esm/src/operationsInterfaces/fileShares.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/fileShares.js +9 -0
- package/dist-esm/src/operationsInterfaces/fileShares.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +27 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +60 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queue.d.ts +70 -0
- package/dist-esm/src/operationsInterfaces/queue.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queue.js +9 -0
- package/dist-esm/src/operationsInterfaces/queue.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/queueServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/queueServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/queueServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/queueServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/skus.js} +2 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts +244 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js +9 -0
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/tableOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableServices.d.ts +39 -0
- package/dist-esm/src/operationsInterfaces/tableServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tableServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/tableServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/src/storageManagementClient.d.ts +36 -0
- package/dist-esm/src/storageManagementClient.d.ts.map +1 -0
- package/dist-esm/src/storageManagementClient.js +69 -0
- package/dist-esm/src/storageManagementClient.js.map +1 -0
- package/dist-esm/test/storage_examples.d.ts +4 -0
- package/dist-esm/test/storage_examples.d.ts.map +1 -0
- package/dist-esm/test/storage_examples.js +196 -0
- package/dist-esm/test/storage_examples.js.map +1 -0
- package/package.json +64 -21
- package/review/arm-storage.api.md +2730 -0
- package/rollup.config.js +181 -30
- package/src/{models/operationsMappers.ts → index.ts} +4 -9
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2869 -4433
- package/src/models/mappers.ts +2917 -2532
- package/src/models/parameters.ts +361 -156
- package/src/operations/blobContainers.ts +724 -1041
- package/src/operations/blobInventoryPolicies.ts +185 -215
- package/src/operations/blobServices.ts +153 -181
- package/src/operations/deletedAccounts.ts +114 -116
- package/src/operations/encryptionScopes.ts +236 -295
- package/src/operations/fileServices.ts +103 -175
- package/src/operations/fileShares.ts +338 -564
- package/src/operations/index.ts +1 -2
- package/src/operations/managementPolicies.ts +106 -179
- package/src/operations/objectReplicationPoliciesOperations.ts +190 -231
- package/src/operations/operations.ts +64 -42
- package/src/operations/privateEndpointConnections.ts +180 -218
- package/src/operations/privateLinkResources.ts +41 -64
- package/src/operations/queue.ts +272 -369
- package/src/operations/queueServices.ts +107 -177
- package/src/operations/skus.ts +62 -45
- package/src/operations/storageAccounts.ts +978 -831
- package/src/operations/tableOperations.ts +258 -332
- package/src/operations/tableServices.ts +107 -177
- package/src/operations/usages.ts +76 -49
- package/src/operationsInterfaces/blobContainers.ts +365 -0
- package/src/operationsInterfaces/blobInventoryPolicies.ts +91 -0
- package/src/operationsInterfaces/blobServices.ts +69 -0
- package/src/operationsInterfaces/deletedAccounts.ts +38 -0
- package/src/operationsInterfaces/encryptionScopes.ts +102 -0
- package/src/operationsInterfaces/fileServices.ts +68 -0
- package/src/operationsInterfaces/fileShares.ts +162 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/managementPolicies.ts +74 -0
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +97 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/privateEndpointConnections.ts +90 -0
- package/src/operationsInterfaces/privateLinkResources.ts +30 -0
- package/src/operationsInterfaces/queue.ts +116 -0
- package/src/operationsInterfaces/queueServices.ts +68 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/storageAccounts.ts +387 -0
- package/src/operationsInterfaces/tableOperations.ts +111 -0
- package/src/operationsInterfaces/tableServices.ts +68 -0
- package/src/operationsInterfaces/usages.ts +24 -0
- package/src/storageManagementClient.ts +138 -68
- package/tsconfig.json +3 -3
- package/types/arm-storage.d.ts +5155 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-storage.js +0 -10687
- package/dist/arm-storage.js.map +0 -1
- package/dist/arm-storage.min.js +0 -1
- package/dist/arm-storage.min.js.map +0 -1
- package/esm/models/blobContainersMappers.d.ts +0 -2
- package/esm/models/blobContainersMappers.d.ts.map +0 -1
- package/esm/models/blobContainersMappers.js +0 -9
- package/esm/models/blobContainersMappers.js.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.d.ts +0 -2
- package/esm/models/blobInventoryPoliciesMappers.d.ts.map +0 -1
- package/esm/models/blobInventoryPoliciesMappers.js +0 -9
- package/esm/models/blobInventoryPoliciesMappers.js.map +0 -1
- package/esm/models/blobServicesMappers.d.ts +0 -2
- package/esm/models/blobServicesMappers.d.ts.map +0 -1
- package/esm/models/blobServicesMappers.js +0 -9
- package/esm/models/blobServicesMappers.js.map +0 -1
- package/esm/models/deletedAccountsMappers.d.ts +0 -2
- package/esm/models/deletedAccountsMappers.d.ts.map +0 -1
- package/esm/models/deletedAccountsMappers.js +0 -9
- package/esm/models/deletedAccountsMappers.js.map +0 -1
- package/esm/models/encryptionScopesMappers.d.ts +0 -2
- package/esm/models/encryptionScopesMappers.d.ts.map +0 -1
- package/esm/models/encryptionScopesMappers.js +0 -9
- package/esm/models/encryptionScopesMappers.js.map +0 -1
- package/esm/models/fileServicesMappers.d.ts +0 -2
- package/esm/models/fileServicesMappers.d.ts.map +0 -1
- package/esm/models/fileServicesMappers.js +0 -9
- package/esm/models/fileServicesMappers.js.map +0 -1
- package/esm/models/fileSharesMappers.d.ts +0 -2
- package/esm/models/fileSharesMappers.d.ts.map +0 -1
- package/esm/models/fileSharesMappers.js +0 -9
- package/esm/models/fileSharesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -5116
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/managementPoliciesMappers.d.ts +0 -2
- package/esm/models/managementPoliciesMappers.d.ts.map +0 -1
- package/esm/models/managementPoliciesMappers.js +0 -9
- package/esm/models/managementPoliciesMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -139
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts +0 -2
- package/esm/models/objectReplicationPoliciesOperationsMappers.d.ts.map +0 -1
- package/esm/models/objectReplicationPoliciesOperationsMappers.js +0 -9
- package/esm/models/objectReplicationPoliciesOperationsMappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -34
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.d.ts +0 -2
- package/esm/models/privateEndpointConnectionsMappers.d.ts.map +0 -1
- package/esm/models/privateEndpointConnectionsMappers.js +0 -9
- package/esm/models/privateEndpointConnectionsMappers.js.map +0 -1
- package/esm/models/privateLinkResourcesMappers.d.ts +0 -2
- package/esm/models/privateLinkResourcesMappers.d.ts.map +0 -1
- package/esm/models/privateLinkResourcesMappers.js +0 -9
- package/esm/models/privateLinkResourcesMappers.js.map +0 -1
- package/esm/models/queueMappers.d.ts +0 -2
- package/esm/models/queueMappers.d.ts.map +0 -1
- package/esm/models/queueMappers.js +0 -9
- package/esm/models/queueMappers.js.map +0 -1
- package/esm/models/queueServicesMappers.d.ts +0 -2
- package/esm/models/queueServicesMappers.d.ts.map +0 -1
- package/esm/models/queueServicesMappers.js +0 -9
- package/esm/models/queueServicesMappers.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js +0 -9
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/storageAccountsMappers.d.ts +0 -2
- package/esm/models/storageAccountsMappers.d.ts.map +0 -1
- package/esm/models/storageAccountsMappers.js +0 -9
- package/esm/models/storageAccountsMappers.js.map +0 -1
- package/esm/models/tableOperationsMappers.d.ts +0 -2
- package/esm/models/tableOperationsMappers.d.ts.map +0 -1
- package/esm/models/tableOperationsMappers.js +0 -9
- package/esm/models/tableOperationsMappers.js.map +0 -1
- package/esm/models/tableServicesMappers.d.ts +0 -2
- package/esm/models/tableServicesMappers.d.ts.map +0 -1
- package/esm/models/tableServicesMappers.js +0 -9
- package/esm/models/tableServicesMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/blobContainers.d.ts +0 -627
- package/esm/operations/blobContainers.d.ts.map +0 -1
- package/esm/operations/blobContainers.js +0 -569
- package/esm/operations/blobContainers.js.map +0 -1
- package/esm/operations/blobInventoryPolicies.d.ts +0 -136
- package/esm/operations/blobInventoryPolicies.d.ts.map +0 -1
- package/esm/operations/blobInventoryPolicies.js +0 -164
- package/esm/operations/blobInventoryPolicies.js.map +0 -1
- package/esm/operations/blobServices.d.ts +0 -111
- package/esm/operations/blobServices.d.ts.map +0 -1
- package/esm/operations/blobServices.js +0 -127
- package/esm/operations/blobServices.js.map +0 -1
- package/esm/operations/deletedAccounts.d.ts +0 -67
- package/esm/operations/deletedAccounts.d.ts.map +0 -1
- package/esm/operations/deletedAccounts.js +0 -113
- package/esm/operations/deletedAccounts.js.map +0 -1
- package/esm/operations/encryptionScopes.d.ts +0 -196
- package/esm/operations/encryptionScopes.d.ts.map +0 -1
- package/esm/operations/encryptionScopes.js +0 -199
- package/esm/operations/encryptionScopes.js.map +0 -1
- package/esm/operations/fileServices.d.ts +0 -111
- package/esm/operations/fileServices.d.ts.map +0 -1
- package/esm/operations/fileServices.js +0 -127
- package/esm/operations/fileServices.js.map +0 -1
- package/esm/operations/fileShares.d.ts +0 -289
- package/esm/operations/fileShares.d.ts.map +0 -1
- package/esm/operations/fileShares.js +0 -247
- package/esm/operations/fileShares.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/managementPolicies.d.ts +0 -109
- package/esm/operations/managementPolicies.d.ts.map +0 -1
- package/esm/operations/managementPolicies.js +0 -129
- package/esm/operations/managementPolicies.js.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.d.ts +0 -157
- package/esm/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
- package/esm/operations/objectReplicationPoliciesOperations.js +0 -161
- package/esm/operations/objectReplicationPoliciesOperations.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/privateEndpointConnections.d.ts +0 -154
- package/esm/operations/privateEndpointConnections.d.ts.map +0 -1
- package/esm/operations/privateEndpointConnections.js +0 -161
- package/esm/operations/privateEndpointConnections.js.map +0 -1
- package/esm/operations/privateLinkResources.d.ts +0 -43
- package/esm/operations/privateLinkResources.d.ts.map +0 -1
- package/esm/operations/privateLinkResources.js +0 -57
- package/esm/operations/privateLinkResources.js.map +0 -1
- package/esm/operations/queue.d.ts +0 -229
- package/esm/operations/queue.d.ts.map +0 -1
- package/esm/operations/queue.js +0 -239
- package/esm/operations/queue.js.map +0 -1
- package/esm/operations/queueServices.d.ts +0 -105
- package/esm/operations/queueServices.d.ts.map +0 -1
- package/esm/operations/queueServices.js +0 -131
- package/esm/operations/queueServices.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -28
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -53
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/storageAccounts.d.ts +0 -455
- package/esm/operations/storageAccounts.d.ts.map +0 -1
- package/esm/operations/storageAccounts.js +0 -642
- package/esm/operations/storageAccounts.js.map +0 -1
- package/esm/operations/tableOperations.d.ts +0 -217
- package/esm/operations/tableOperations.d.ts.map +0 -1
- package/esm/operations/tableOperations.js +0 -216
- package/esm/operations/tableOperations.js.map +0 -1
- package/esm/operations/tableServices.d.ts +0 -105
- package/esm/operations/tableServices.d.ts.map +0 -1
- package/esm/operations/tableServices.js +0 -131
- package/esm/operations/tableServices.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -32
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -55
- package/esm/operations/usages.js.map +0 -1
- package/esm/storageManagementClient.d.ts +0 -42
- package/esm/storageManagementClient.d.ts.map +0 -1
- package/esm/storageManagementClient.js +0 -55
- package/esm/storageManagementClient.js.map +0 -1
- package/esm/storageManagementClientContext.d.ts +0 -22
- package/esm/storageManagementClientContext.d.ts.map +0 -1
- package/esm/storageManagementClientContext.js +0 -61
- package/esm/storageManagementClientContext.js.map +0 -1
- package/src/models/blobContainersMappers.ts +0 -106
- package/src/models/blobInventoryPoliciesMappers.ts +0 -99
- package/src/models/blobServicesMappers.ts +0 -98
- package/src/models/deletedAccountsMappers.ts +0 -99
- package/src/models/encryptionScopesMappers.ts +0 -100
- package/src/models/fileServicesMappers.ts +0 -98
- package/src/models/fileSharesMappers.ts +0 -99
- package/src/models/managementPoliciesMappers.ts +0 -97
- package/src/models/objectReplicationPoliciesOperationsMappers.ts +0 -99
- package/src/models/privateEndpointConnectionsMappers.ts +0 -100
- package/src/models/privateLinkResourcesMappers.ts +0 -98
- package/src/models/queueMappers.ts +0 -98
- package/src/models/queueServicesMappers.ts +0 -98
- package/src/models/storageAccountsMappers.ts +0 -109
- package/src/models/tableOperationsMappers.ts +0 -98
- package/src/models/tableServicesMappers.ts +0 -98
- package/src/storageManagementClientContext.ts +0 -74
|
@@ -3,106 +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 * as
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { PrivateEndpointConnections } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
13
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
14
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
PrivateEndpointConnection,
|
|
17
|
+
PrivateEndpointConnectionsListOptionalParams,
|
|
18
|
+
PrivateEndpointConnectionsListResponse,
|
|
19
|
+
PrivateEndpointConnectionsGetOptionalParams,
|
|
20
|
+
PrivateEndpointConnectionsGetResponse,
|
|
21
|
+
PrivateEndpointConnectionsPutOptionalParams,
|
|
22
|
+
PrivateEndpointConnectionsPutResponse,
|
|
23
|
+
PrivateEndpointConnectionsDeleteOptionalParams
|
|
24
|
+
} from "../models";
|
|
15
25
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
|
27
|
+
/** Class containing PrivateEndpointConnections operations. */
|
|
28
|
+
export class PrivateEndpointConnectionsImpl
|
|
29
|
+
implements PrivateEndpointConnections {
|
|
30
|
+
private readonly client: StorageManagementClient;
|
|
19
31
|
|
|
20
32
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
33
|
+
* Initialize a new instance of the class PrivateEndpointConnections class.
|
|
34
|
+
* @param client Reference to the service client
|
|
23
35
|
*/
|
|
24
|
-
constructor(client:
|
|
36
|
+
constructor(client: StorageManagementClient) {
|
|
25
37
|
this.client = client;
|
|
26
38
|
}
|
|
27
39
|
|
|
28
40
|
/**
|
|
29
41
|
* List all the private endpoint connections associated with the storage account.
|
|
30
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
31
|
-
*
|
|
42
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
43
|
+
* case insensitive.
|
|
32
44
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* @param
|
|
36
|
-
* @returns Promise<Models.PrivateEndpointConnectionsListResponse>
|
|
45
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
46
|
+
* only.
|
|
47
|
+
* @param options The options parameters.
|
|
37
48
|
*/
|
|
38
|
-
list(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
49
|
+
public list(
|
|
50
|
+
resourceGroupName: string,
|
|
51
|
+
accountName: string,
|
|
52
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
53
|
+
): PagedAsyncIterableIterator<PrivateEndpointConnection> {
|
|
54
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
55
|
+
return {
|
|
56
|
+
next() {
|
|
57
|
+
return iter.next();
|
|
58
|
+
},
|
|
59
|
+
[Symbol.asyncIterator]() {
|
|
60
|
+
return this;
|
|
61
|
+
},
|
|
62
|
+
byPage: () => {
|
|
63
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
private async *listPagingPage(
|
|
69
|
+
resourceGroupName: string,
|
|
70
|
+
accountName: string,
|
|
71
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
72
|
+
): AsyncIterableIterator<PrivateEndpointConnection[]> {
|
|
73
|
+
let result = await this._list(resourceGroupName, accountName, options);
|
|
74
|
+
yield result.value || [];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
private async *listPagingAll(
|
|
78
|
+
resourceGroupName: string,
|
|
79
|
+
accountName: string,
|
|
80
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
81
|
+
): AsyncIterableIterator<PrivateEndpointConnection> {
|
|
82
|
+
for await (const page of this.listPagingPage(
|
|
83
|
+
resourceGroupName,
|
|
84
|
+
accountName,
|
|
85
|
+
options
|
|
86
|
+
)) {
|
|
87
|
+
yield* page;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
48
91
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
92
|
+
* List all the private endpoint connections associated with the storage account.
|
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
94
|
+
* case insensitive.
|
|
51
95
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @param options The
|
|
55
|
-
* @param callback The callback
|
|
96
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
97
|
+
* only.
|
|
98
|
+
* @param options The options parameters.
|
|
56
99
|
*/
|
|
57
|
-
|
|
58
|
-
|
|
100
|
+
private _list(
|
|
101
|
+
resourceGroupName: string,
|
|
102
|
+
accountName: string,
|
|
103
|
+
options?: PrivateEndpointConnectionsListOptionalParams
|
|
104
|
+
): Promise<PrivateEndpointConnectionsListResponse> {
|
|
59
105
|
return this.client.sendOperationRequest(
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
options
|
|
64
|
-
},
|
|
65
|
-
listOperationSpec,
|
|
66
|
-
callback) as Promise<Models.PrivateEndpointConnectionsListResponse>;
|
|
106
|
+
{ resourceGroupName, accountName, options },
|
|
107
|
+
listOperationSpec
|
|
108
|
+
);
|
|
67
109
|
}
|
|
68
110
|
|
|
69
111
|
/**
|
|
70
112
|
* Gets the specified private endpoint connection associated with the storage account.
|
|
71
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
72
|
-
*
|
|
73
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
74
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
75
|
-
* letters only.
|
|
76
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
77
|
-
* the Azure resource
|
|
78
|
-
* @param [options] The optional parameters
|
|
79
|
-
* @returns Promise<Models.PrivateEndpointConnectionsGetResponse>
|
|
80
|
-
*/
|
|
81
|
-
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsGetResponse>;
|
|
82
|
-
/**
|
|
83
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
84
|
-
* is case insensitive.
|
|
85
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
86
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
87
|
-
* letters only.
|
|
88
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
89
|
-
* the Azure resource
|
|
90
|
-
* @param callback The callback
|
|
91
|
-
*/
|
|
92
|
-
get(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
|
93
|
-
/**
|
|
94
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
95
|
-
* is case insensitive.
|
|
113
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
114
|
+
* case insensitive.
|
|
96
115
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
100
|
-
*
|
|
101
|
-
* @param options The
|
|
102
|
-
* @param callback The callback
|
|
116
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
117
|
+
* only.
|
|
118
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
119
|
+
* Azure resource
|
|
120
|
+
* @param options The options parameters.
|
|
103
121
|
*/
|
|
104
|
-
get(
|
|
105
|
-
|
|
122
|
+
get(
|
|
123
|
+
resourceGroupName: string,
|
|
124
|
+
accountName: string,
|
|
125
|
+
privateEndpointConnectionName: string,
|
|
126
|
+
options?: PrivateEndpointConnectionsGetOptionalParams
|
|
127
|
+
): Promise<PrivateEndpointConnectionsGetResponse> {
|
|
106
128
|
return this.client.sendOperationRequest(
|
|
107
129
|
{
|
|
108
130
|
resourceGroupName,
|
|
@@ -110,50 +132,29 @@ export class PrivateEndpointConnections {
|
|
|
110
132
|
privateEndpointConnectionName,
|
|
111
133
|
options
|
|
112
134
|
},
|
|
113
|
-
getOperationSpec
|
|
114
|
-
|
|
135
|
+
getOperationSpec
|
|
136
|
+
);
|
|
115
137
|
}
|
|
116
138
|
|
|
117
139
|
/**
|
|
118
140
|
* Update the state of specified private endpoint connection associated with the storage account.
|
|
119
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
120
|
-
*
|
|
121
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
122
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
123
|
-
* letters only.
|
|
124
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
125
|
-
* the Azure resource
|
|
126
|
-
* @param properties The private endpoint connection properties.
|
|
127
|
-
* @param [options] The optional parameters
|
|
128
|
-
* @returns Promise<Models.PrivateEndpointConnectionsPutResponse>
|
|
129
|
-
*/
|
|
130
|
-
put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase): Promise<Models.PrivateEndpointConnectionsPutResponse>;
|
|
131
|
-
/**
|
|
132
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
133
|
-
* is case insensitive.
|
|
141
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
142
|
+
* case insensitive.
|
|
134
143
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
138
|
-
*
|
|
144
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
145
|
+
* only.
|
|
146
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
147
|
+
* Azure resource
|
|
139
148
|
* @param properties The private endpoint connection properties.
|
|
140
|
-
* @param
|
|
149
|
+
* @param options The options parameters.
|
|
141
150
|
*/
|
|
142
|
-
put(
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
150
|
-
* the Azure resource
|
|
151
|
-
* @param properties The private endpoint connection properties.
|
|
152
|
-
* @param options The optional parameters
|
|
153
|
-
* @param callback The callback
|
|
154
|
-
*/
|
|
155
|
-
put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
|
|
156
|
-
put(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, properties: Models.PrivateEndpointConnection, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateEndpointConnection>, callback?: msRest.ServiceCallback<Models.PrivateEndpointConnection>): Promise<Models.PrivateEndpointConnectionsPutResponse> {
|
|
151
|
+
put(
|
|
152
|
+
resourceGroupName: string,
|
|
153
|
+
accountName: string,
|
|
154
|
+
privateEndpointConnectionName: string,
|
|
155
|
+
properties: PrivateEndpointConnection,
|
|
156
|
+
options?: PrivateEndpointConnectionsPutOptionalParams
|
|
157
|
+
): Promise<PrivateEndpointConnectionsPutResponse> {
|
|
157
158
|
return this.client.sendOperationRequest(
|
|
158
159
|
{
|
|
159
160
|
resourceGroupName,
|
|
@@ -162,47 +163,27 @@ export class PrivateEndpointConnections {
|
|
|
162
163
|
properties,
|
|
163
164
|
options
|
|
164
165
|
},
|
|
165
|
-
putOperationSpec
|
|
166
|
-
|
|
166
|
+
putOperationSpec
|
|
167
|
+
);
|
|
167
168
|
}
|
|
168
169
|
|
|
169
170
|
/**
|
|
170
171
|
* Deletes the specified private endpoint connection associated with the storage account.
|
|
171
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
172
|
-
*
|
|
173
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
174
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
175
|
-
* letters only.
|
|
176
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
177
|
-
* the Azure resource
|
|
178
|
-
* @param [options] The optional parameters
|
|
179
|
-
* @returns Promise<msRest.RestResponse>
|
|
180
|
-
*/
|
|
181
|
-
deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
182
|
-
/**
|
|
183
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
184
|
-
* is case insensitive.
|
|
185
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
186
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
187
|
-
* letters only.
|
|
188
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
189
|
-
* the Azure resource
|
|
190
|
-
* @param callback The callback
|
|
191
|
-
*/
|
|
192
|
-
deleteMethod(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, callback: msRest.ServiceCallback<void>): void;
|
|
193
|
-
/**
|
|
194
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
195
|
-
* is case insensitive.
|
|
172
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
173
|
+
* case insensitive.
|
|
196
174
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* @param privateEndpointConnectionName The name of the private endpoint connection associated with
|
|
200
|
-
*
|
|
201
|
-
* @param options The
|
|
202
|
-
* @param callback The callback
|
|
175
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
176
|
+
* only.
|
|
177
|
+
* @param privateEndpointConnectionName The name of the private endpoint connection associated with the
|
|
178
|
+
* Azure resource
|
|
179
|
+
* @param options The options parameters.
|
|
203
180
|
*/
|
|
204
|
-
|
|
205
|
-
|
|
181
|
+
delete(
|
|
182
|
+
resourceGroupName: string,
|
|
183
|
+
accountName: string,
|
|
184
|
+
privateEndpointConnectionName: string,
|
|
185
|
+
options?: PrivateEndpointConnectionsDeleteOptionalParams
|
|
186
|
+
): Promise<void> {
|
|
206
187
|
return this.client.sendOperationRequest(
|
|
207
188
|
{
|
|
208
189
|
resourceGroupName,
|
|
@@ -210,53 +191,36 @@ export class PrivateEndpointConnections {
|
|
|
210
191
|
privateEndpointConnectionName,
|
|
211
192
|
options
|
|
212
193
|
},
|
|
213
|
-
|
|
214
|
-
|
|
194
|
+
deleteOperationSpec
|
|
195
|
+
);
|
|
215
196
|
}
|
|
216
197
|
}
|
|
217
|
-
|
|
218
198
|
// Operation Specifications
|
|
219
|
-
const serializer =
|
|
220
|
-
|
|
199
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
200
|
+
|
|
201
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
202
|
+
path:
|
|
203
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
|
|
221
204
|
httpMethod: "GET",
|
|
222
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections",
|
|
223
|
-
urlParameters: [
|
|
224
|
-
Parameters.resourceGroupName,
|
|
225
|
-
Parameters.accountName,
|
|
226
|
-
Parameters.subscriptionId
|
|
227
|
-
],
|
|
228
|
-
queryParameters: [
|
|
229
|
-
Parameters.apiVersion
|
|
230
|
-
],
|
|
231
|
-
headerParameters: [
|
|
232
|
-
Parameters.acceptLanguage
|
|
233
|
-
],
|
|
234
205
|
responses: {
|
|
235
206
|
200: {
|
|
236
207
|
bodyMapper: Mappers.PrivateEndpointConnectionListResult
|
|
237
|
-
},
|
|
238
|
-
default: {
|
|
239
|
-
bodyMapper: Mappers.CloudError
|
|
240
208
|
}
|
|
241
209
|
},
|
|
242
|
-
|
|
243
|
-
};
|
|
244
|
-
|
|
245
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
246
|
-
httpMethod: "GET",
|
|
247
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
210
|
+
queryParameters: [Parameters.apiVersion],
|
|
248
211
|
urlParameters: [
|
|
249
|
-
Parameters
|
|
250
|
-
Parameters.accountName,
|
|
212
|
+
Parameters.$host,
|
|
251
213
|
Parameters.subscriptionId,
|
|
252
|
-
Parameters.
|
|
253
|
-
|
|
254
|
-
queryParameters: [
|
|
255
|
-
Parameters.apiVersion
|
|
256
|
-
],
|
|
257
|
-
headerParameters: [
|
|
258
|
-
Parameters.acceptLanguage
|
|
214
|
+
Parameters.resourceGroupName,
|
|
215
|
+
Parameters.accountName1
|
|
259
216
|
],
|
|
217
|
+
headerParameters: [Parameters.accept],
|
|
218
|
+
serializer
|
|
219
|
+
};
|
|
220
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
221
|
+
path:
|
|
222
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
223
|
+
httpMethod: "GET",
|
|
260
224
|
responses: {
|
|
261
225
|
200: {
|
|
262
226
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
@@ -265,31 +229,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
|
265
229
|
bodyMapper: Mappers.ErrorResponse
|
|
266
230
|
}
|
|
267
231
|
},
|
|
268
|
-
|
|
269
|
-
};
|
|
270
|
-
|
|
271
|
-
const putOperationSpec: msRest.OperationSpec = {
|
|
272
|
-
httpMethod: "PUT",
|
|
273
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
232
|
+
queryParameters: [Parameters.apiVersion],
|
|
274
233
|
urlParameters: [
|
|
275
|
-
Parameters
|
|
276
|
-
Parameters.accountName,
|
|
234
|
+
Parameters.$host,
|
|
277
235
|
Parameters.subscriptionId,
|
|
236
|
+
Parameters.resourceGroupName,
|
|
237
|
+
Parameters.accountName1,
|
|
278
238
|
Parameters.privateEndpointConnectionName
|
|
279
239
|
],
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
parameterPath: "properties",
|
|
288
|
-
mapper: {
|
|
289
|
-
...Mappers.PrivateEndpointConnection,
|
|
290
|
-
required: true
|
|
291
|
-
}
|
|
292
|
-
},
|
|
240
|
+
headerParameters: [Parameters.accept],
|
|
241
|
+
serializer
|
|
242
|
+
};
|
|
243
|
+
const putOperationSpec: coreClient.OperationSpec = {
|
|
244
|
+
path:
|
|
245
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
246
|
+
httpMethod: "PUT",
|
|
293
247
|
responses: {
|
|
294
248
|
200: {
|
|
295
249
|
bodyMapper: Mappers.PrivateEndpointConnection
|
|
@@ -298,24 +252,23 @@ const putOperationSpec: msRest.OperationSpec = {
|
|
|
298
252
|
bodyMapper: Mappers.ErrorResponse
|
|
299
253
|
}
|
|
300
254
|
},
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
305
|
-
httpMethod: "DELETE",
|
|
306
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
255
|
+
requestBody: Parameters.properties2,
|
|
256
|
+
queryParameters: [Parameters.apiVersion],
|
|
307
257
|
urlParameters: [
|
|
308
|
-
Parameters
|
|
309
|
-
Parameters.accountName,
|
|
258
|
+
Parameters.$host,
|
|
310
259
|
Parameters.subscriptionId,
|
|
260
|
+
Parameters.resourceGroupName,
|
|
261
|
+
Parameters.accountName1,
|
|
311
262
|
Parameters.privateEndpointConnectionName
|
|
312
263
|
],
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
264
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
265
|
+
mediaType: "json",
|
|
266
|
+
serializer
|
|
267
|
+
};
|
|
268
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
269
|
+
path:
|
|
270
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}",
|
|
271
|
+
httpMethod: "DELETE",
|
|
319
272
|
responses: {
|
|
320
273
|
200: {},
|
|
321
274
|
204: {},
|
|
@@ -323,5 +276,14 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
|
323
276
|
bodyMapper: Mappers.ErrorResponse
|
|
324
277
|
}
|
|
325
278
|
},
|
|
279
|
+
queryParameters: [Parameters.apiVersion],
|
|
280
|
+
urlParameters: [
|
|
281
|
+
Parameters.$host,
|
|
282
|
+
Parameters.subscriptionId,
|
|
283
|
+
Parameters.resourceGroupName,
|
|
284
|
+
Parameters.accountName1,
|
|
285
|
+
Parameters.privateEndpointConnectionName
|
|
286
|
+
],
|
|
287
|
+
headerParameters: [Parameters.accept],
|
|
326
288
|
serializer
|
|
327
289
|
};
|
|
@@ -3,93 +3,70 @@
|
|
|
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 * as
|
|
12
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PrivateLinkResources } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
13
12
|
import * as Parameters from "../models/parameters";
|
|
14
|
-
import {
|
|
13
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
PrivateLinkResourcesListByStorageAccountOptionalParams,
|
|
16
|
+
PrivateLinkResourcesListByStorageAccountResponse
|
|
17
|
+
} from "../models";
|
|
15
18
|
|
|
16
|
-
/** Class
|
|
17
|
-
export class PrivateLinkResources {
|
|
18
|
-
private readonly client:
|
|
19
|
+
/** Class containing PrivateLinkResources operations. */
|
|
20
|
+
export class PrivateLinkResourcesImpl implements PrivateLinkResources {
|
|
21
|
+
private readonly client: StorageManagementClient;
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
22
|
-
* @param
|
|
24
|
+
* Initialize a new instance of the class PrivateLinkResources class.
|
|
25
|
+
* @param client Reference to the service client
|
|
23
26
|
*/
|
|
24
|
-
constructor(client:
|
|
27
|
+
constructor(client: StorageManagementClient) {
|
|
25
28
|
this.client = client;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
32
|
* Gets the private link resources that need to be created for a storage account.
|
|
30
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
31
|
-
*
|
|
33
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
34
|
+
* case insensitive.
|
|
32
35
|
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* @param
|
|
36
|
-
* @returns Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>
|
|
36
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
37
|
+
* only.
|
|
38
|
+
* @param options The options parameters.
|
|
37
39
|
*/
|
|
38
|
-
listByStorageAccount(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
44
|
-
* letters only.
|
|
45
|
-
* @param callback The callback
|
|
46
|
-
*/
|
|
47
|
-
listByStorageAccount(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
|
|
48
|
-
/**
|
|
49
|
-
* @param resourceGroupName The name of the resource group within the user's subscription. The name
|
|
50
|
-
* is case insensitive.
|
|
51
|
-
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
52
|
-
* account names must be between 3 and 24 characters in length and use numbers and lower-case
|
|
53
|
-
* letters only.
|
|
54
|
-
* @param options The optional parameters
|
|
55
|
-
* @param callback The callback
|
|
56
|
-
*/
|
|
57
|
-
listByStorageAccount(resourceGroupName: string, accountName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): void;
|
|
58
|
-
listByStorageAccount(resourceGroupName: string, accountName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.PrivateLinkResourceListResult>, callback?: msRest.ServiceCallback<Models.PrivateLinkResourceListResult>): Promise<Models.PrivateLinkResourcesListByStorageAccountResponse> {
|
|
40
|
+
listByStorageAccount(
|
|
41
|
+
resourceGroupName: string,
|
|
42
|
+
accountName: string,
|
|
43
|
+
options?: PrivateLinkResourcesListByStorageAccountOptionalParams
|
|
44
|
+
): Promise<PrivateLinkResourcesListByStorageAccountResponse> {
|
|
59
45
|
return this.client.sendOperationRequest(
|
|
60
|
-
{
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
options
|
|
64
|
-
},
|
|
65
|
-
listByStorageAccountOperationSpec,
|
|
66
|
-
callback) as Promise<Models.PrivateLinkResourcesListByStorageAccountResponse>;
|
|
46
|
+
{ resourceGroupName, accountName, options },
|
|
47
|
+
listByStorageAccountOperationSpec
|
|
48
|
+
);
|
|
67
49
|
}
|
|
68
50
|
}
|
|
69
|
-
|
|
70
51
|
// Operation Specifications
|
|
71
|
-
const serializer =
|
|
72
|
-
|
|
52
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
53
|
+
|
|
54
|
+
const listByStorageAccountOperationSpec: coreClient.OperationSpec = {
|
|
55
|
+
path:
|
|
56
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
|
|
73
57
|
httpMethod: "GET",
|
|
74
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources",
|
|
75
|
-
urlParameters: [
|
|
76
|
-
Parameters.resourceGroupName,
|
|
77
|
-
Parameters.accountName,
|
|
78
|
-
Parameters.subscriptionId
|
|
79
|
-
],
|
|
80
|
-
queryParameters: [
|
|
81
|
-
Parameters.apiVersion
|
|
82
|
-
],
|
|
83
|
-
headerParameters: [
|
|
84
|
-
Parameters.acceptLanguage
|
|
85
|
-
],
|
|
86
58
|
responses: {
|
|
87
59
|
200: {
|
|
88
60
|
bodyMapper: Mappers.PrivateLinkResourceListResult
|
|
89
|
-
},
|
|
90
|
-
default: {
|
|
91
|
-
bodyMapper: Mappers.CloudError
|
|
92
61
|
}
|
|
93
62
|
},
|
|
63
|
+
queryParameters: [Parameters.apiVersion],
|
|
64
|
+
urlParameters: [
|
|
65
|
+
Parameters.$host,
|
|
66
|
+
Parameters.subscriptionId,
|
|
67
|
+
Parameters.resourceGroupName,
|
|
68
|
+
Parameters.accountName1
|
|
69
|
+
],
|
|
70
|
+
headerParameters: [Parameters.accept],
|
|
94
71
|
serializer
|
|
95
72
|
};
|