@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
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Queue operations. */
|
|
14
|
+
export class QueueImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Queue class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets a list of all the queues under the specified storage account
|
|
24
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
25
|
+
* case insensitive.
|
|
26
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
27
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
28
|
+
* only.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(resourceGroupName, accountName, options) {
|
|
32
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: () => {
|
|
41
|
+
return this.listPagingPage(resourceGroupName, accountName, options);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
listPagingPage(resourceGroupName, accountName, options) {
|
|
46
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
47
|
+
let result = yield __await(this._list(resourceGroupName, accountName, options));
|
|
48
|
+
yield yield __await(result.value || []);
|
|
49
|
+
let continuationToken = result.nextLink;
|
|
50
|
+
while (continuationToken) {
|
|
51
|
+
result = yield __await(this._listNext(resourceGroupName, accountName, continuationToken, options));
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
yield yield __await(result.value || []);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
listPagingAll(resourceGroupName, accountName, options) {
|
|
58
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
59
|
+
var e_1, _a;
|
|
60
|
+
try {
|
|
61
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
62
|
+
const page = _c.value;
|
|
63
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
67
|
+
finally {
|
|
68
|
+
try {
|
|
69
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
70
|
+
}
|
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Creates a new queue with the specified queue name, under the specified account.
|
|
77
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
78
|
+
* case insensitive.
|
|
79
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
80
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
81
|
+
* only.
|
|
82
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
83
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
84
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
85
|
+
* @param queue Queue properties and metadata to be created with
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
create(resourceGroupName, accountName, queueName, queue, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, createOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates a new queue with the specified queue name, under the specified account.
|
|
93
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
94
|
+
* case insensitive.
|
|
95
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
96
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
97
|
+
* only.
|
|
98
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
99
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
100
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
101
|
+
* @param queue Queue properties and metadata to be created with
|
|
102
|
+
* @param options The options parameters.
|
|
103
|
+
*/
|
|
104
|
+
update(resourceGroupName, accountName, queueName, queue, options) {
|
|
105
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, queue, options }, updateOperationSpec);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Gets the queue with the specified queue name, under the specified account if it exists.
|
|
109
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
110
|
+
* case insensitive.
|
|
111
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
112
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
113
|
+
* only.
|
|
114
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
115
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
116
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
get(resourceGroupName, accountName, queueName, options) {
|
|
120
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, getOperationSpec);
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Deletes the queue with the specified queue name, under the specified account if it exists.
|
|
124
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
125
|
+
* case insensitive.
|
|
126
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
127
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
128
|
+
* only.
|
|
129
|
+
* @param queueName A queue name must be unique within a storage account and must be between 3 and 63
|
|
130
|
+
* characters.The name must comprise of lowercase alphanumeric and dash(-) characters only, it should
|
|
131
|
+
* begin and end with an alphanumeric character and it cannot have two consecutive dash(-) characters.
|
|
132
|
+
* @param options The options parameters.
|
|
133
|
+
*/
|
|
134
|
+
delete(resourceGroupName, accountName, queueName, options) {
|
|
135
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, queueName, options }, deleteOperationSpec);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Gets a list of all the queues under the specified storage account
|
|
139
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
140
|
+
* case insensitive.
|
|
141
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
142
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
143
|
+
* only.
|
|
144
|
+
* @param options The options parameters.
|
|
145
|
+
*/
|
|
146
|
+
_list(resourceGroupName, accountName, options) {
|
|
147
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* ListNext
|
|
151
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
152
|
+
* case insensitive.
|
|
153
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
154
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
155
|
+
* only.
|
|
156
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
157
|
+
* @param options The options parameters.
|
|
158
|
+
*/
|
|
159
|
+
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
160
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
// Operation Specifications
|
|
164
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
165
|
+
const createOperationSpec = {
|
|
166
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
167
|
+
httpMethod: "PUT",
|
|
168
|
+
responses: {
|
|
169
|
+
200: {
|
|
170
|
+
bodyMapper: Mappers.StorageQueue
|
|
171
|
+
},
|
|
172
|
+
default: {
|
|
173
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
requestBody: Parameters.queue,
|
|
177
|
+
queryParameters: [Parameters.apiVersion],
|
|
178
|
+
urlParameters: [
|
|
179
|
+
Parameters.$host,
|
|
180
|
+
Parameters.subscriptionId,
|
|
181
|
+
Parameters.resourceGroupName,
|
|
182
|
+
Parameters.accountName1,
|
|
183
|
+
Parameters.queueName
|
|
184
|
+
],
|
|
185
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
186
|
+
mediaType: "json",
|
|
187
|
+
serializer
|
|
188
|
+
};
|
|
189
|
+
const updateOperationSpec = {
|
|
190
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
191
|
+
httpMethod: "PATCH",
|
|
192
|
+
responses: {
|
|
193
|
+
200: {
|
|
194
|
+
bodyMapper: Mappers.StorageQueue
|
|
195
|
+
},
|
|
196
|
+
default: {
|
|
197
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
requestBody: Parameters.queue,
|
|
201
|
+
queryParameters: [Parameters.apiVersion],
|
|
202
|
+
urlParameters: [
|
|
203
|
+
Parameters.$host,
|
|
204
|
+
Parameters.subscriptionId,
|
|
205
|
+
Parameters.resourceGroupName,
|
|
206
|
+
Parameters.accountName1,
|
|
207
|
+
Parameters.queueName
|
|
208
|
+
],
|
|
209
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
210
|
+
mediaType: "json",
|
|
211
|
+
serializer
|
|
212
|
+
};
|
|
213
|
+
const getOperationSpec = {
|
|
214
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
215
|
+
httpMethod: "GET",
|
|
216
|
+
responses: {
|
|
217
|
+
200: {
|
|
218
|
+
bodyMapper: Mappers.StorageQueue
|
|
219
|
+
},
|
|
220
|
+
default: {
|
|
221
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
queryParameters: [Parameters.apiVersion],
|
|
225
|
+
urlParameters: [
|
|
226
|
+
Parameters.$host,
|
|
227
|
+
Parameters.subscriptionId,
|
|
228
|
+
Parameters.resourceGroupName,
|
|
229
|
+
Parameters.accountName1,
|
|
230
|
+
Parameters.queueName
|
|
231
|
+
],
|
|
232
|
+
headerParameters: [Parameters.accept],
|
|
233
|
+
serializer
|
|
234
|
+
};
|
|
235
|
+
const deleteOperationSpec = {
|
|
236
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues/{queueName}",
|
|
237
|
+
httpMethod: "DELETE",
|
|
238
|
+
responses: {
|
|
239
|
+
204: {},
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
queryParameters: [Parameters.apiVersion],
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.subscriptionId,
|
|
248
|
+
Parameters.resourceGroupName,
|
|
249
|
+
Parameters.accountName1,
|
|
250
|
+
Parameters.queueName
|
|
251
|
+
],
|
|
252
|
+
headerParameters: [Parameters.accept],
|
|
253
|
+
serializer
|
|
254
|
+
};
|
|
255
|
+
const listOperationSpec = {
|
|
256
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/default/queues",
|
|
257
|
+
httpMethod: "GET",
|
|
258
|
+
responses: {
|
|
259
|
+
200: {
|
|
260
|
+
bodyMapper: Mappers.ListQueueResource
|
|
261
|
+
},
|
|
262
|
+
default: {
|
|
263
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
queryParameters: [
|
|
267
|
+
Parameters.apiVersion,
|
|
268
|
+
Parameters.maxpagesize,
|
|
269
|
+
Parameters.filter
|
|
270
|
+
],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.subscriptionId,
|
|
274
|
+
Parameters.resourceGroupName,
|
|
275
|
+
Parameters.accountName1
|
|
276
|
+
],
|
|
277
|
+
headerParameters: [Parameters.accept],
|
|
278
|
+
serializer
|
|
279
|
+
};
|
|
280
|
+
const listNextOperationSpec = {
|
|
281
|
+
path: "{nextLink}",
|
|
282
|
+
httpMethod: "GET",
|
|
283
|
+
responses: {
|
|
284
|
+
200: {
|
|
285
|
+
bodyMapper: Mappers.ListQueueResource
|
|
286
|
+
},
|
|
287
|
+
default: {
|
|
288
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
queryParameters: [
|
|
292
|
+
Parameters.apiVersion,
|
|
293
|
+
Parameters.maxpagesize,
|
|
294
|
+
Parameters.filter
|
|
295
|
+
],
|
|
296
|
+
urlParameters: [
|
|
297
|
+
Parameters.$host,
|
|
298
|
+
Parameters.subscriptionId,
|
|
299
|
+
Parameters.resourceGroupName,
|
|
300
|
+
Parameters.accountName1,
|
|
301
|
+
Parameters.nextLink
|
|
302
|
+
],
|
|
303
|
+
headerParameters: [Parameters.accept],
|
|
304
|
+
serializer
|
|
305
|
+
};
|
|
306
|
+
//# sourceMappingURL=queue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queue.js","sourceRoot":"","sources":["../../../src/operations/queue.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,iBAAyB,EACzB,WAAmB,EACnB,OAAiC;QAEjC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACzE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACp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CAAC,MAAM;KAClB;IACD,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,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,MAAM;KAClB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { QueueServices } from "../operationsInterfaces";
|
|
2
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
3
|
+
import { QueueServicesListOptionalParams, QueueServicesListResponse, QueueServiceProperties, QueueServicesSetServicePropertiesOptionalParams, QueueServicesSetServicePropertiesResponse, QueueServicesGetServicePropertiesOptionalParams, QueueServicesGetServicePropertiesResponse } from "../models";
|
|
4
|
+
/** Class containing QueueServices operations. */
|
|
5
|
+
export declare class QueueServicesImpl implements QueueServices {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class QueueServices class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: StorageManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* List all queue services for the storage account
|
|
14
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
15
|
+
* case insensitive.
|
|
16
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
17
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
18
|
+
* only.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
list(resourceGroupName: string, accountName: string, options?: QueueServicesListOptionalParams): Promise<QueueServicesListResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
24
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
25
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
26
|
+
* case insensitive.
|
|
27
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
28
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
29
|
+
* only.
|
|
30
|
+
* @param parameters The properties of a storage account’s Queue service, only properties for Storage
|
|
31
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
|
|
32
|
+
* @param options The options parameters.
|
|
33
|
+
*/
|
|
34
|
+
setServiceProperties(resourceGroupName: string, accountName: string, parameters: QueueServiceProperties, options?: QueueServicesSetServicePropertiesOptionalParams): Promise<QueueServicesSetServicePropertiesResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Gets the properties of a storage account’s Queue service, including properties for Storage Analytics
|
|
37
|
+
* and CORS (Cross-Origin Resource Sharing) rules.
|
|
38
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
39
|
+
* case insensitive.
|
|
40
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
41
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
42
|
+
* only.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
getServiceProperties(resourceGroupName: string, accountName: string, options?: QueueServicesGetServicePropertiesOptionalParams): Promise<QueueServicesGetServicePropertiesResponse>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=queueServices.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queueServices.d.ts","sourceRoot":"","sources":["../../../src/operations/queueServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAIxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,sBAAsB,EACtB,+CAA+C,EAC/C,yCAAyC,EACzC,+CAA+C,EAC/C,yCAAyC,EAC1C,MAAM,WAAW,CAAC;AAEnB,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;;;OASG;IACH,oBAAoB,CAClB,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;CAMtD"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import * as coreClient from "@azure/core-client";
|
|
9
|
+
import * as Mappers from "../models/mappers";
|
|
10
|
+
import * as Parameters from "../models/parameters";
|
|
11
|
+
/** Class containing QueueServices operations. */
|
|
12
|
+
export class QueueServicesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class QueueServices class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* List all queue services for the storage account
|
|
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 a storage account’s Queue service, including properties for Storage Analytics
|
|
34
|
+
* and CORS (Cross-Origin Resource 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 a storage account’s Queue service, only properties for Storage
|
|
41
|
+
* Analytics and CORS (Cross-Origin Resource Sharing) rules can be specified.
|
|
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 a storage account’s Queue service, including properties for Storage Analytics
|
|
49
|
+
* and CORS (Cross-Origin Resource 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
|
+
}
|
|
61
|
+
// Operation Specifications
|
|
62
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
63
|
+
const listOperationSpec = {
|
|
64
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices",
|
|
65
|
+
httpMethod: "GET",
|
|
66
|
+
responses: {
|
|
67
|
+
200: {
|
|
68
|
+
bodyMapper: Mappers.ListQueueServices
|
|
69
|
+
},
|
|
70
|
+
default: {
|
|
71
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
queryParameters: [Parameters.apiVersion],
|
|
75
|
+
urlParameters: [
|
|
76
|
+
Parameters.$host,
|
|
77
|
+
Parameters.subscriptionId,
|
|
78
|
+
Parameters.resourceGroupName,
|
|
79
|
+
Parameters.accountName1
|
|
80
|
+
],
|
|
81
|
+
headerParameters: [Parameters.accept],
|
|
82
|
+
serializer
|
|
83
|
+
};
|
|
84
|
+
const setServicePropertiesOperationSpec = {
|
|
85
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/queueServices/{queueServiceName}",
|
|
86
|
+
httpMethod: "PUT",
|
|
87
|
+
responses: {
|
|
88
|
+
200: {
|
|
89
|
+
bodyMapper: Mappers.QueueServiceProperties
|
|
90
|
+
},
|
|
91
|
+
default: {
|
|
92
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
requestBody: Parameters.parameters10,
|
|
96
|
+
queryParameters: [Parameters.apiVersion],
|
|
97
|
+
urlParameters: [
|
|
98
|
+
Parameters.$host,
|
|
99
|
+
Parameters.subscriptionId,
|
|
100
|
+
Parameters.resourceGroupName,
|
|
101
|
+
Parameters.accountName1,
|
|
102
|
+
Parameters.queueServiceName
|
|
103
|
+
],
|
|
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}/queueServices/{queueServiceName}",
|
|
110
|
+
httpMethod: "GET",
|
|
111
|
+
responses: {
|
|
112
|
+
200: {
|
|
113
|
+
bodyMapper: Mappers.QueueServiceProperties
|
|
114
|
+
},
|
|
115
|
+
default: {
|
|
116
|
+
bodyMapper: Mappers.CloudErrorAutoGenerated
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
queryParameters: [Parameters.apiVersion],
|
|
120
|
+
urlParameters: [
|
|
121
|
+
Parameters.$host,
|
|
122
|
+
Parameters.subscriptionId,
|
|
123
|
+
Parameters.resourceGroupName,
|
|
124
|
+
Parameters.accountName1,
|
|
125
|
+
Parameters.queueServiceName
|
|
126
|
+
],
|
|
127
|
+
headerParameters: [Parameters.accept],
|
|
128
|
+
serializer
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=queueServices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"queueServices.js","sourceRoot":"","sources":["../../../src/operations/queueServices.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,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,iBAAyB,EACzB,WAAmB,EACnB,OAAyC;QAEzC,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,UAAkC,EAClC,OAAyD;QAEzD,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,OAAyD;QAEzD,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,4IAA4I;IAC9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,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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Skus } from "../operationsInterfaces";
|
|
3
|
+
import { StorageManagementClient } from "../storageManagementClient";
|
|
4
|
+
import { SkuInformation, SkusListOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Skus operations. */
|
|
6
|
+
export declare class SkusImpl implements Skus {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Skus class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: StorageManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
list(options?: SkusListOptionalParams): PagedAsyncIterableIterator<SkuInformation>;
|
|
18
|
+
private listPagingPage;
|
|
19
|
+
private listPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _list;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=skus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skus.d.ts","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAI/C,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EACL,cAAc,EACd,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,cAAc,CAAC;YAe9B,cAAc;YAOd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Skus operations. */
|
|
14
|
+
export class SkusImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Skus class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
list(options) {
|
|
27
|
+
const iter = this.listPagingAll(options);
|
|
28
|
+
return {
|
|
29
|
+
next() {
|
|
30
|
+
return iter.next();
|
|
31
|
+
},
|
|
32
|
+
[Symbol.asyncIterator]() {
|
|
33
|
+
return this;
|
|
34
|
+
},
|
|
35
|
+
byPage: () => {
|
|
36
|
+
return this.listPagingPage(options);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
listPagingPage(options) {
|
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
42
|
+
let result = yield __await(this._list(options));
|
|
43
|
+
yield yield __await(result.value || []);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
listPagingAll(options) {
|
|
47
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
48
|
+
var e_1, _a;
|
|
49
|
+
try {
|
|
50
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
51
|
+
const page = _c.value;
|
|
52
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
56
|
+
finally {
|
|
57
|
+
try {
|
|
58
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
59
|
+
}
|
|
60
|
+
finally { if (e_1) throw e_1.error; }
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Lists the available SKUs supported by Microsoft.Storage for given subscription.
|
|
66
|
+
* @param options The options parameters.
|
|
67
|
+
*/
|
|
68
|
+
_list(options) {
|
|
69
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
// Operation Specifications
|
|
73
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
74
|
+
const listOperationSpec = {
|
|
75
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus",
|
|
76
|
+
httpMethod: "GET",
|
|
77
|
+
responses: {
|
|
78
|
+
200: {
|
|
79
|
+
bodyMapper: Mappers.StorageSkuListResult
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
queryParameters: [Parameters.apiVersion],
|
|
83
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
84
|
+
headerParameters: [Parameters.accept],
|
|
85
|
+
serializer
|
|
86
|
+
};
|
|
87
|
+
//# sourceMappingURL=skus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skus.js","sourceRoot":"","sources":["../../../src/operations/skus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAQnD,4CAA4C;AAC5C,wCAAwC;AACxC,MAAM,OAAO,QAAQ;IAGnB;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAgC;QAEhC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAgC;;YAEhC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;QAC3B,CAAC;KAAA;IAEc,aAAa,CAC1B,O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