@azure/arm-storage-profile-2020-09-01-hybrid 2.1.1-alpha.20250217.1 → 2.1.1-alpha.20250219.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/blobInventoryPolicies.d.ts +3 -3
- package/dist/browser/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/blobInventoryPolicies.js +2 -2
- package/dist/browser/operations/blobInventoryPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/encryptionScopes.d.ts +3 -3
- package/dist/browser/operations/encryptionScopes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/encryptionScopes.js +3 -3
- package/dist/browser/operations/encryptionScopes.js.map +1 -0
- package/dist/browser/operations/index.d.ts +11 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +18 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementPolicies.d.ts +3 -3
- package/dist/browser/operations/managementPolicies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/managementPolicies.js +2 -2
- package/dist/browser/operations/managementPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/objectReplicationPoliciesOperations.d.ts +3 -3
- package/dist/browser/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/objectReplicationPoliciesOperations.js +2 -2
- package/dist/browser/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.d.ts +3 -3
- package/dist/browser/operations/skus.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/skus.js +2 -2
- package/dist/browser/operations/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/storageAccounts.d.ts +3 -3
- package/dist/browser/operations/storageAccounts.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/storageAccounts.js +103 -115
- package/dist/browser/operations/storageAccounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
- package/dist/browser/operations/usages.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/usages.js +2 -2
- package/dist/browser/operations/usages.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/blobInventoryPolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/encryptionScopes.d.ts +1 -1
- package/dist/browser/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +11 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +18 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/managementPolicies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/managementPolicies.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/skus.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.d.ts +1 -1
- package/dist/browser/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/storageAccounts.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/storageManagementClient.d.ts +2 -2
- package/dist/browser/storageManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/storageManagementClient.js +15 -18
- package/dist/browser/storageManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-storage-profile-2020-09-01-hybrid.d.ts → dist/commonjs/models/index.d.ts} +1849 -2596
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +265 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +84 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2875 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +30 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +245 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist/commonjs/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/blobInventoryPolicies.js +231 -0
- package/dist/commonjs/operations/blobInventoryPolicies.js.map +1 -0
- package/dist/commonjs/operations/encryptionScopes.d.ts +94 -0
- package/dist/commonjs/operations/encryptionScopes.d.ts.map +1 -0
- package/dist/commonjs/operations/encryptionScopes.js +295 -0
- package/dist/commonjs/operations/encryptionScopes.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +11 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +21 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/managementPolicies.d.ts +50 -0
- package/dist/commonjs/operations/managementPolicies.d.ts.map +1 -0
- package/dist/commonjs/operations/managementPolicies.js +131 -0
- package/dist/commonjs/operations/managementPolicies.js.map +1 -0
- package/dist/commonjs/operations/objectReplicationPoliciesOperations.d.ts +74 -0
- package/dist/commonjs/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/objectReplicationPoliciesOperations.js +232 -0
- package/dist/commonjs/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +97 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +73 -0
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operations/privateEndpointConnections.js +238 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +23 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.js +58 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operations/skus.d.ts +26 -0
- package/dist/commonjs/operations/skus.d.ts.map +1 -0
- package/dist/commonjs/operations/skus.js +97 -0
- package/dist/commonjs/operations/skus.js.map +1 -0
- package/dist/commonjs/operations/storageAccounts.d.ts +228 -0
- package/dist/commonjs/operations/storageAccounts.d.ts.map +1 -0
- package/dist/commonjs/operations/storageAccounts.js +739 -0
- package/dist/commonjs/operations/storageAccounts.js.map +1 -0
- package/dist/commonjs/operations/usages.d.ts +28 -0
- package/dist/commonjs/operations/usages.d.ts.map +1 -0
- package/dist/commonjs/operations/usages.js +103 -0
- package/dist/commonjs/operations/usages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist/commonjs/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/encryptionScopes.js +10 -0
- package/dist/commonjs/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +21 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist/commonjs/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/managementPolicies.js +10 -0
- package/dist/commonjs/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/skus.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/skus.js +10 -0
- package/dist/commonjs/operationsInterfaces/skus.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts +196 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.js +10 -0
- package/dist/commonjs/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/usages.js +10 -0
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/storageManagementClient.d.ts +29 -0
- package/dist/commonjs/storageManagementClient.d.ts.map +1 -0
- package/dist/commonjs/storageManagementClient.js +111 -0
- package/dist/commonjs/storageManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1849 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +262 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +84 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2871 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +30 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +242 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist/esm/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/esm/operations/blobInventoryPolicies.js +227 -0
- package/dist/esm/operations/blobInventoryPolicies.js.map +1 -0
- package/dist/esm/operations/encryptionScopes.d.ts +94 -0
- package/dist/esm/operations/encryptionScopes.d.ts.map +1 -0
- package/dist/esm/operations/encryptionScopes.js +291 -0
- package/dist/esm/operations/encryptionScopes.js.map +1 -0
- package/dist/esm/operations/index.d.ts +11 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +18 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/managementPolicies.d.ts +50 -0
- package/dist/esm/operations/managementPolicies.d.ts.map +1 -0
- package/dist/esm/operations/managementPolicies.js +126 -0
- package/dist/esm/operations/managementPolicies.js.map +1 -0
- package/dist/esm/operations/objectReplicationPoliciesOperations.d.ts +74 -0
- package/dist/esm/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/esm/operations/objectReplicationPoliciesOperations.js +228 -0
- package/dist/esm/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +93 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts +73 -0
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operations/privateEndpointConnections.js +234 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +23 -0
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operations/privateLinkResources.js +53 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -0
- package/dist/esm/operations/skus.d.ts +26 -0
- package/dist/esm/operations/skus.d.ts.map +1 -0
- package/dist/esm/operations/skus.js +93 -0
- package/dist/esm/operations/skus.js.map +1 -0
- package/dist/esm/operations/storageAccounts.d.ts +228 -0
- package/dist/esm/operations/storageAccounts.d.ts.map +1 -0
- package/dist/esm/operations/storageAccounts.js +735 -0
- package/dist/esm/operations/storageAccounts.js.map +1 -0
- package/dist/esm/operations/usages.d.ts +28 -0
- package/dist/esm/operations/usages.d.ts.map +1 -0
- package/dist/esm/operations/usages.js +99 -0
- package/dist/esm/operations/usages.js.map +1 -0
- package/dist/esm/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist/esm/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/blobInventoryPolicies.js +9 -0
- package/dist/esm/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist/esm/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist/esm/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +11 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +18 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist/esm/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/managementPolicies.js +9 -0
- package/dist/esm/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
- package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/dist/esm/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/skus.d.ts +11 -0
- package/dist/esm/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/skus.js +9 -0
- package/dist/esm/operationsInterfaces/skus.js.map +1 -0
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts +196 -0
- package/dist/esm/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/storageAccounts.js +9 -0
- package/dist/esm/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/usages.js +9 -0
- package/dist/esm/operationsInterfaces/usages.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/storageManagementClient.d.ts +29 -0
- package/dist/esm/storageManagementClient.d.ts.map +1 -0
- package/dist/esm/storageManagementClient.js +106 -0
- package/dist/esm/storageManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1849 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +262 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +84 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2871 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +30 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +242 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/blobInventoryPolicies.d.ts +73 -0
- package/dist/react-native/operations/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/react-native/operations/blobInventoryPolicies.js +227 -0
- package/dist/react-native/operations/blobInventoryPolicies.js.map +1 -0
- package/dist/react-native/operations/encryptionScopes.d.ts +94 -0
- package/dist/react-native/operations/encryptionScopes.d.ts.map +1 -0
- package/dist/react-native/operations/encryptionScopes.js +291 -0
- package/dist/react-native/operations/encryptionScopes.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +11 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +18 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/managementPolicies.d.ts +50 -0
- package/dist/react-native/operations/managementPolicies.d.ts.map +1 -0
- package/dist/react-native/operations/managementPolicies.js +126 -0
- package/dist/react-native/operations/managementPolicies.js.map +1 -0
- package/dist/react-native/operations/objectReplicationPoliciesOperations.d.ts +74 -0
- package/dist/react-native/operations/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/react-native/operations/objectReplicationPoliciesOperations.js +228 -0
- package/dist/react-native/operations/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +93 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts +73 -0
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operations/privateEndpointConnections.js +234 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +23 -0
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operations/privateLinkResources.js +53 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -0
- package/dist/react-native/operations/skus.d.ts +26 -0
- package/dist/react-native/operations/skus.d.ts.map +1 -0
- package/dist/react-native/operations/skus.js +93 -0
- package/dist/react-native/operations/skus.js.map +1 -0
- package/dist/react-native/operations/storageAccounts.d.ts +228 -0
- package/dist/react-native/operations/storageAccounts.d.ts.map +1 -0
- package/dist/react-native/operations/storageAccounts.js +735 -0
- package/dist/react-native/operations/storageAccounts.js.map +1 -0
- package/dist/react-native/operations/usages.d.ts +28 -0
- package/dist/react-native/operations/usages.d.ts.map +1 -0
- package/dist/react-native/operations/usages.js +99 -0
- package/dist/react-native/operations/usages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/blobInventoryPolicies.d.ts +53 -0
- package/dist/react-native/operationsInterfaces/blobInventoryPolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/blobInventoryPolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/blobInventoryPolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts +63 -0
- package/dist/react-native/operationsInterfaces/encryptionScopes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/encryptionScopes.js +9 -0
- package/dist/react-native/operationsInterfaces/encryptionScopes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +18 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/managementPolicies.d.ts +42 -0
- package/dist/react-native/operationsInterfaces/managementPolicies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/managementPolicies.js +9 -0
- package/dist/react-native/operationsInterfaces/managementPolicies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/objectReplicationPoliciesOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +53 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/skus.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/skus.js +9 -0
- package/dist/react-native/operationsInterfaces/skus.js.map +1 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts +196 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.js +9 -0
- package/dist/react-native/operationsInterfaces/storageAccounts.js.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/usages.js +9 -0
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/storageManagementClient.d.ts +29 -0
- package/dist/react-native/storageManagementClient.d.ts.map +1 -0
- package/dist/react-native/storageManagementClient.js +106 -0
- package/dist/react-native/storageManagementClient.js.map +1 -0
- package/package.json +66 -35
- package/dist/index.js +0 -5806
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js +0 -51
- package/dist-esm/samples-dev/blobInventoryPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/blobInventoryPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js +0 -37
- package/dist-esm/samples-dev/blobInventoryPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js +0 -52
- package/dist-esm/samples-dev/blobInventoryPoliciesListSample.js.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/encryptionScopesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesGetSample.js +0 -37
- package/dist-esm/samples-dev/encryptionScopesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/encryptionScopesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesListSample.js +0 -52
- package/dist-esm/samples-dev/encryptionScopesListSample.js.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts +0 -2
- package/dist-esm/samples-dev/encryptionScopesPatchSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js +0 -36
- package/dist-esm/samples-dev/encryptionScopesPatchSample.js.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/encryptionScopesPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/encryptionScopesPutSample.js +0 -31
- package/dist-esm/samples-dev/encryptionScopesPutSample.js.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js +0 -216
- package/dist-esm/samples-dev/managementPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/managementPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/managementPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/managementPoliciesGetSample.js +0 -37
- package/dist-esm/samples-dev/managementPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js +0 -143
- package/dist-esm/samples-dev/objectReplicationPoliciesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/objectReplicationPoliciesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js +0 -37
- package/dist-esm/samples-dev/objectReplicationPoliciesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js +0 -52
- package/dist-esm/samples-dev/objectReplicationPoliciesListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -50
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -52
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js +0 -36
- package/dist-esm/samples-dev/privateEndpointConnectionsPutSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js +0 -36
- package/dist-esm/samples-dev/privateLinkResourcesListByStorageAccountSample.js.map +0 -1
- package/dist-esm/samples-dev/skusListSample.d.ts +0 -2
- package/dist-esm/samples-dev/skusListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/skusListSample.js +0 -50
- package/dist-esm/samples-dev/skusListSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js +0 -31
- package/dist-esm/samples-dev/storageAccountsCheckNameAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsCreateSample.js +0 -52
- package/dist-esm/samples-dev/storageAccountsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsFailoverSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsFailoverSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js +0 -54
- package/dist-esm/samples-dev/storageAccountsGetPropertiesSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js +0 -38
- package/dist-esm/samples-dev/storageAccountsListAccountSasSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/storageAccountsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsListKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListSample.js +0 -50
- package/dist-esm/samples-dev/storageAccountsListSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js +0 -35
- package/dist-esm/samples-dev/storageAccountsListServiceSasSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js +0 -53
- package/dist-esm/samples-dev/storageAccountsRegenerateKeySample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsRestoreBlobRangesSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js +0 -36
- package/dist-esm/samples-dev/storageAccountsRevokeUserDelegationKeysSample.js.map +0 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/storageAccountsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js +0 -110
- package/dist-esm/samples-dev/storageAccountsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.d.ts +0 -2
- package/dist-esm/samples-dev/usagesListByLocationSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/usagesListByLocationSample.js +0 -51
- package/dist-esm/samples-dev/usagesListByLocationSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/blobInventoryPolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/blobInventoryPolicies.js.map +0 -1
- package/dist-esm/src/operations/encryptionScopes.d.ts.map +0 -1
- package/dist-esm/src/operations/encryptionScopes.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/managementPolicies.d.ts.map +0 -1
- package/dist-esm/src/operations/managementPolicies.js.map +0 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/objectReplicationPoliciesOperations.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operations/skus.d.ts.map +0 -1
- package/dist-esm/src/operations/skus.js.map +0 -1
- package/dist-esm/src/operations/storageAccounts.d.ts.map +0 -1
- package/dist-esm/src/operations/storageAccounts.js.map +0 -1
- package/dist-esm/src/operations/usages.d.ts.map +0 -1
- package/dist-esm/src/operations/usages.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/blobInventoryPolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/encryptionScopes.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/encryptionScopes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementPolicies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/managementPolicies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/objectReplicationPoliciesOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/skus.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/storageAccounts.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/storageManagementClient.d.ts.map +0 -1
- package/dist-esm/src/storageManagementClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -2069
- package/src/models/mappers.ts +0 -3021
- package/src/models/parameters.ts +0 -288
- package/src/operations/blobInventoryPolicies.ts +0 -292
- package/src/operations/encryptionScopes.ts +0 -373
- package/src/operations/index.ts +0 -18
- package/src/operations/managementPolicies.ts +0 -172
- package/src/operations/objectReplicationPoliciesOperations.ts +0 -293
- package/src/operations/operations.ts +0 -100
- package/src/operations/privateEndpointConnections.ts +0 -299
- package/src/operations/privateLinkResources.ts +0 -72
- package/src/operations/skus.ts +0 -98
- package/src/operations/storageAccounts.ts +0 -1001
- package/src/operations/usages.ts +0 -114
- package/src/operationsInterfaces/blobInventoryPolicies.ts +0 -91
- package/src/operationsInterfaces/encryptionScopes.ts +0 -102
- package/src/operationsInterfaces/index.ts +0 -18
- package/src/operationsInterfaces/managementPolicies.ts +0 -74
- package/src/operationsInterfaces/objectReplicationPoliciesOperations.ts +0 -91
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -90
- package/src/operationsInterfaces/privateLinkResources.ts +0 -30
- package/src/operationsInterfaces/skus.ts +0 -22
- package/src/operationsInterfaces/storageAccounts.ts +0 -319
- package/src/operationsInterfaces/usages.ts +0 -24
- package/src/pagingHelper.ts +0 -39
- package/src/storageManagementClient.ts +0 -182
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/blobInventoryPolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/encryptionScopes.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/managementPolicies.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/objectReplicationPoliciesOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/skus.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/storageAccounts.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,291 @@
|
|
|
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 { setContinuationToken } from "../pagingHelper.js";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers.js";
|
|
12
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Class containing EncryptionScopes operations. */
|
|
15
|
+
export class EncryptionScopesImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class EncryptionScopes class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists all the encryption scopes available under the specified storage account.
|
|
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 options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
list(resourceGroupName, accountName, options) {
|
|
33
|
+
const iter = this.listPagingAll(resourceGroupName, accountName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listPagingPage(resourceGroupName, accountName, options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listPagingPage(resourceGroupName, accountName, options, settings) {
|
|
50
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield __await(this._list(resourceGroupName, accountName, options));
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
setContinuationToken(page, continuationToken);
|
|
58
|
+
yield yield __await(page);
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = yield __await(this._listNext(resourceGroupName, accountName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
setContinuationToken(page, continuationToken);
|
|
65
|
+
yield yield __await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listPagingAll(resourceGroupName, accountName, options) {
|
|
70
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, accountName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
+
_c = _f.value;
|
|
75
|
+
_d = false;
|
|
76
|
+
const page = _c;
|
|
77
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
+
finally {
|
|
82
|
+
try {
|
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
84
|
+
}
|
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Synchronously creates or updates an encryption scope under the specified storage account. If an
|
|
91
|
+
* encryption scope is already created and a subsequent request is issued with different properties,
|
|
92
|
+
* the encryption scope properties will be updated per the specified request.
|
|
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 encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
99
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
100
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
101
|
+
* letter or number.
|
|
102
|
+
* @param encryptionScope Encryption scope properties to be used for the create or update.
|
|
103
|
+
* @param options The options parameters.
|
|
104
|
+
*/
|
|
105
|
+
put(resourceGroupName, accountName, encryptionScopeName, encryptionScope, options) {
|
|
106
|
+
return this.client.sendOperationRequest({
|
|
107
|
+
resourceGroupName,
|
|
108
|
+
accountName,
|
|
109
|
+
encryptionScopeName,
|
|
110
|
+
encryptionScope,
|
|
111
|
+
options
|
|
112
|
+
}, putOperationSpec);
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Update encryption scope properties as specified in the request body. Update fails if the specified
|
|
116
|
+
* encryption scope does not already exist.
|
|
117
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
118
|
+
* case insensitive.
|
|
119
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
120
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
121
|
+
* only.
|
|
122
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
123
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
124
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
125
|
+
* letter or number.
|
|
126
|
+
* @param encryptionScope Encryption scope properties to be used for the update.
|
|
127
|
+
* @param options The options parameters.
|
|
128
|
+
*/
|
|
129
|
+
patch(resourceGroupName, accountName, encryptionScopeName, encryptionScope, options) {
|
|
130
|
+
return this.client.sendOperationRequest({
|
|
131
|
+
resourceGroupName,
|
|
132
|
+
accountName,
|
|
133
|
+
encryptionScopeName,
|
|
134
|
+
encryptionScope,
|
|
135
|
+
options
|
|
136
|
+
}, patchOperationSpec);
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Returns the properties for the specified encryption scope.
|
|
140
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
141
|
+
* case insensitive.
|
|
142
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
143
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
144
|
+
* only.
|
|
145
|
+
* @param encryptionScopeName The name of the encryption scope within the specified storage account.
|
|
146
|
+
* Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case
|
|
147
|
+
* letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a
|
|
148
|
+
* letter or number.
|
|
149
|
+
* @param options The options parameters.
|
|
150
|
+
*/
|
|
151
|
+
get(resourceGroupName, accountName, encryptionScopeName, options) {
|
|
152
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, encryptionScopeName, options }, getOperationSpec);
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Lists all the encryption scopes available under the specified storage account.
|
|
156
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
157
|
+
* case insensitive.
|
|
158
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
159
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
160
|
+
* only.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
_list(resourceGroupName, accountName, options) {
|
|
164
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listOperationSpec);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* ListNext
|
|
168
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
169
|
+
* case insensitive.
|
|
170
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
171
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
172
|
+
* only.
|
|
173
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
174
|
+
* @param options The options parameters.
|
|
175
|
+
*/
|
|
176
|
+
_listNext(resourceGroupName, accountName, nextLink, options) {
|
|
177
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, nextLink, options }, listNextOperationSpec);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
// Operation Specifications
|
|
181
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
182
|
+
const putOperationSpec = {
|
|
183
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
184
|
+
httpMethod: "PUT",
|
|
185
|
+
responses: {
|
|
186
|
+
200: {
|
|
187
|
+
bodyMapper: Mappers.EncryptionScope
|
|
188
|
+
},
|
|
189
|
+
201: {
|
|
190
|
+
bodyMapper: Mappers.EncryptionScope
|
|
191
|
+
},
|
|
192
|
+
default: {
|
|
193
|
+
bodyMapper: Mappers.ErrorResponse
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
requestBody: Parameters.encryptionScope,
|
|
197
|
+
queryParameters: [Parameters.apiVersion],
|
|
198
|
+
urlParameters: [
|
|
199
|
+
Parameters.$host,
|
|
200
|
+
Parameters.subscriptionId,
|
|
201
|
+
Parameters.resourceGroupName,
|
|
202
|
+
Parameters.accountName1,
|
|
203
|
+
Parameters.encryptionScopeName
|
|
204
|
+
],
|
|
205
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
206
|
+
mediaType: "json",
|
|
207
|
+
serializer
|
|
208
|
+
};
|
|
209
|
+
const patchOperationSpec = {
|
|
210
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
211
|
+
httpMethod: "PATCH",
|
|
212
|
+
responses: {
|
|
213
|
+
200: {
|
|
214
|
+
bodyMapper: Mappers.EncryptionScope
|
|
215
|
+
},
|
|
216
|
+
default: {
|
|
217
|
+
bodyMapper: Mappers.ErrorResponse
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
requestBody: Parameters.encryptionScope,
|
|
221
|
+
queryParameters: [Parameters.apiVersion],
|
|
222
|
+
urlParameters: [
|
|
223
|
+
Parameters.$host,
|
|
224
|
+
Parameters.subscriptionId,
|
|
225
|
+
Parameters.resourceGroupName,
|
|
226
|
+
Parameters.accountName1,
|
|
227
|
+
Parameters.encryptionScopeName
|
|
228
|
+
],
|
|
229
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
230
|
+
mediaType: "json",
|
|
231
|
+
serializer
|
|
232
|
+
};
|
|
233
|
+
const getOperationSpec = {
|
|
234
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}",
|
|
235
|
+
httpMethod: "GET",
|
|
236
|
+
responses: {
|
|
237
|
+
200: {
|
|
238
|
+
bodyMapper: Mappers.EncryptionScope
|
|
239
|
+
},
|
|
240
|
+
default: {
|
|
241
|
+
bodyMapper: Mappers.ErrorResponse
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
queryParameters: [Parameters.apiVersion],
|
|
245
|
+
urlParameters: [
|
|
246
|
+
Parameters.$host,
|
|
247
|
+
Parameters.subscriptionId,
|
|
248
|
+
Parameters.resourceGroupName,
|
|
249
|
+
Parameters.accountName1,
|
|
250
|
+
Parameters.encryptionScopeName
|
|
251
|
+
],
|
|
252
|
+
headerParameters: [Parameters.accept],
|
|
253
|
+
serializer
|
|
254
|
+
};
|
|
255
|
+
const listOperationSpec = {
|
|
256
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes",
|
|
257
|
+
httpMethod: "GET",
|
|
258
|
+
responses: {
|
|
259
|
+
200: {
|
|
260
|
+
bodyMapper: Mappers.EncryptionScopeListResult
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
queryParameters: [Parameters.apiVersion],
|
|
264
|
+
urlParameters: [
|
|
265
|
+
Parameters.$host,
|
|
266
|
+
Parameters.subscriptionId,
|
|
267
|
+
Parameters.resourceGroupName,
|
|
268
|
+
Parameters.accountName1
|
|
269
|
+
],
|
|
270
|
+
headerParameters: [Parameters.accept],
|
|
271
|
+
serializer
|
|
272
|
+
};
|
|
273
|
+
const listNextOperationSpec = {
|
|
274
|
+
path: "{nextLink}",
|
|
275
|
+
httpMethod: "GET",
|
|
276
|
+
responses: {
|
|
277
|
+
200: {
|
|
278
|
+
bodyMapper: Mappers.EncryptionScopeListResult
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
urlParameters: [
|
|
282
|
+
Parameters.$host,
|
|
283
|
+
Parameters.subscriptionId,
|
|
284
|
+
Parameters.resourceGroupName,
|
|
285
|
+
Parameters.accountName1,
|
|
286
|
+
Parameters.nextLink
|
|
287
|
+
],
|
|
288
|
+
headerParameters: [Parameters.accept],
|
|
289
|
+
serializer
|
|
290
|
+
};
|
|
291
|
+
//# sourceMappingURL=encryptionScopes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encryptionScopes.js","sourceRoot":"","sources":["../../../src/operations/encryptionScopes.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { EncryptionScopes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n EncryptionScope,\n EncryptionScopesListNextOptionalParams,\n EncryptionScopesListOptionalParams,\n EncryptionScopesListResponse,\n EncryptionScopesPutOptionalParams,\n EncryptionScopesPutResponse,\n EncryptionScopesPatchOptionalParams,\n EncryptionScopesPatchResponse,\n EncryptionScopesGetOptionalParams,\n EncryptionScopesGetResponse,\n EncryptionScopesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing EncryptionScopes operations. */\nexport class EncryptionScopesImpl implements EncryptionScopes {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class EncryptionScopes class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams\n ): PagedAsyncIterableIterator<EncryptionScope> {\n const iter = this.listPagingAll(resourceGroupName, accountName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n accountName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EncryptionScope[]> {\n let result: EncryptionScopesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, accountName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n accountName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams\n ): AsyncIterableIterator<EncryptionScope> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n accountName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Synchronously creates or updates an encryption scope under the specified storage account. If an\n * encryption scope is already created and a subsequent request is issued with different properties,\n * the encryption scope properties will be updated per the specified request.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the create or update.\n * @param options The options parameters.\n */\n put(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPutOptionalParams\n ): Promise<EncryptionScopesPutResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options\n },\n putOperationSpec\n );\n }\n\n /**\n * Update encryption scope properties as specified in the request body. Update fails if the specified\n * encryption scope does not already exist.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param encryptionScope Encryption scope properties to be used for the update.\n * @param options The options parameters.\n */\n patch(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n encryptionScope: EncryptionScope,\n options?: EncryptionScopesPatchOptionalParams\n ): Promise<EncryptionScopesPatchResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n encryptionScopeName,\n encryptionScope,\n options\n },\n patchOperationSpec\n );\n }\n\n /**\n * Returns the properties for the specified encryption scope.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param encryptionScopeName The name of the encryption scope within the specified storage account.\n * Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case\n * letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a\n * letter or number.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n encryptionScopeName: string,\n options?: EncryptionScopesGetOptionalParams\n ): Promise<EncryptionScopesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, encryptionScopeName, options },\n getOperationSpec\n );\n }\n\n /**\n * Lists all the encryption scopes available under the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n accountName: string,\n options?: EncryptionScopesListOptionalParams\n ): Promise<EncryptionScopesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n accountName: string,\n nextLink: string,\n options?: EncryptionScopesListNextOptionalParams\n ): Promise<EncryptionScopesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst putOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope\n },\n 201: {\n bodyMapper: Mappers.EncryptionScope\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.encryptionScopeName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst patchOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.encryptionScope,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.encryptionScopeName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScope\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.encryptionScopeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EncryptionScopeListResult\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./operations.js";
|
|
2
|
+
export * from "./skus.js";
|
|
3
|
+
export * from "./storageAccounts.js";
|
|
4
|
+
export * from "./usages.js";
|
|
5
|
+
export * from "./managementPolicies.js";
|
|
6
|
+
export * from "./blobInventoryPolicies.js";
|
|
7
|
+
export * from "./privateEndpointConnections.js";
|
|
8
|
+
export * from "./privateLinkResources.js";
|
|
9
|
+
export * from "./objectReplicationPoliciesOperations.js";
|
|
10
|
+
export * from "./encryptionScopes.js";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0CAA0C,CAAC;AACzD,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./skus.js";
|
|
10
|
+
export * from "./storageAccounts.js";
|
|
11
|
+
export * from "./usages.js";
|
|
12
|
+
export * from "./managementPolicies.js";
|
|
13
|
+
export * from "./blobInventoryPolicies.js";
|
|
14
|
+
export * from "./privateEndpointConnections.js";
|
|
15
|
+
export * from "./privateLinkResources.js";
|
|
16
|
+
export * from "./objectReplicationPoliciesOperations.js";
|
|
17
|
+
export * from "./encryptionScopes.js";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0CAA0C,CAAC;AACzD,cAAc,uBAAuB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./skus.js\";\nexport * from \"./storageAccounts.js\";\nexport * from \"./usages.js\";\nexport * from \"./managementPolicies.js\";\nexport * from \"./blobInventoryPolicies.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./objectReplicationPoliciesOperations.js\";\nexport * from \"./encryptionScopes.js\";\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ManagementPolicies } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { StorageManagementClient } from "../storageManagementClient.js";
|
|
3
|
+
import { ManagementPolicyName, ManagementPoliciesGetOptionalParams, ManagementPoliciesGetResponse, ManagementPolicy, ManagementPoliciesCreateOrUpdateOptionalParams, ManagementPoliciesCreateOrUpdateResponse, ManagementPoliciesDeleteOptionalParams } from "../models/index.js";
|
|
4
|
+
/** Class containing ManagementPolicies operations. */
|
|
5
|
+
export declare class ManagementPoliciesImpl implements ManagementPolicies {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class ManagementPolicies class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: StorageManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Gets the managementpolicy associated with the specified 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 managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
20
|
+
* 'default'
|
|
21
|
+
* @param options The options parameters.
|
|
22
|
+
*/
|
|
23
|
+
get(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesGetOptionalParams): Promise<ManagementPoliciesGetResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the managementpolicy to the specified storage account.
|
|
26
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
27
|
+
* case insensitive.
|
|
28
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
29
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
30
|
+
* only.
|
|
31
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
32
|
+
* 'default'
|
|
33
|
+
* @param properties The ManagementPolicy set to a storage account.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
createOrUpdate(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, properties: ManagementPolicy, options?: ManagementPoliciesCreateOrUpdateOptionalParams): Promise<ManagementPoliciesCreateOrUpdateResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Deletes the managementpolicy associated with the specified storage account.
|
|
39
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
40
|
+
* case insensitive.
|
|
41
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
42
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
43
|
+
* only.
|
|
44
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
45
|
+
* 'default'
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
delete(resourceGroupName: string, accountName: string, managementPolicyName: ManagementPolicyName, options?: ManagementPoliciesDeleteOptionalParams): Promise<void>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=managementPolicies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementPolicies.d.ts","sourceRoot":"","sources":["../../../src/operations/managementPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAItE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,EACL,oBAAoB,EACpB,mCAAmC,EACnC,6BAA6B,EAC7B,gBAAgB,EAChB,8CAA8C,EAC9C,wCAAwC,EACxC,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAE5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA0B;IAEjD;;;OAGG;gBACS,MAAM,EAAE,uBAAuB;IAI3C;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,mCAAmC,GAC5C,OAAO,CAAC,6BAA6B,CAAC;IAOzC;;;;;;;;;;;OAWG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;IAapD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,IAAI,CAAC;CAMjB"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
|
+
/** Class containing ManagementPolicies operations. */
|
|
12
|
+
export class ManagementPoliciesImpl {
|
|
13
|
+
/**
|
|
14
|
+
* Initialize a new instance of the class ManagementPolicies class.
|
|
15
|
+
* @param client Reference to the service client
|
|
16
|
+
*/
|
|
17
|
+
constructor(client) {
|
|
18
|
+
this.client = client;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Gets the managementpolicy associated with the specified 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 managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
28
|
+
* 'default'
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
get(resourceGroupName, accountName, managementPolicyName, options) {
|
|
32
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, getOperationSpec);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Sets the managementpolicy to the specified storage account.
|
|
36
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
37
|
+
* case insensitive.
|
|
38
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
39
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
40
|
+
* only.
|
|
41
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
42
|
+
* 'default'
|
|
43
|
+
* @param properties The ManagementPolicy set to a storage account.
|
|
44
|
+
* @param options The options parameters.
|
|
45
|
+
*/
|
|
46
|
+
createOrUpdate(resourceGroupName, accountName, managementPolicyName, properties, options) {
|
|
47
|
+
return this.client.sendOperationRequest({
|
|
48
|
+
resourceGroupName,
|
|
49
|
+
accountName,
|
|
50
|
+
managementPolicyName,
|
|
51
|
+
properties,
|
|
52
|
+
options
|
|
53
|
+
}, createOrUpdateOperationSpec);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Deletes the managementpolicy associated with the specified storage account.
|
|
57
|
+
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
|
|
58
|
+
* case insensitive.
|
|
59
|
+
* @param accountName The name of the storage account within the specified resource group. Storage
|
|
60
|
+
* account names must be between 3 and 24 characters in length and use numbers and lower-case letters
|
|
61
|
+
* only.
|
|
62
|
+
* @param managementPolicyName The name of the Storage Account Management Policy. It should always be
|
|
63
|
+
* 'default'
|
|
64
|
+
* @param options The options parameters.
|
|
65
|
+
*/
|
|
66
|
+
delete(resourceGroupName, accountName, managementPolicyName, options) {
|
|
67
|
+
return this.client.sendOperationRequest({ resourceGroupName, accountName, managementPolicyName, options }, deleteOperationSpec);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
// Operation Specifications
|
|
71
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
72
|
+
const getOperationSpec = {
|
|
73
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
74
|
+
httpMethod: "GET",
|
|
75
|
+
responses: {
|
|
76
|
+
200: {
|
|
77
|
+
bodyMapper: Mappers.ManagementPolicy
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
queryParameters: [Parameters.apiVersion],
|
|
81
|
+
urlParameters: [
|
|
82
|
+
Parameters.$host,
|
|
83
|
+
Parameters.subscriptionId,
|
|
84
|
+
Parameters.resourceGroupName,
|
|
85
|
+
Parameters.accountName1,
|
|
86
|
+
Parameters.managementPolicyName
|
|
87
|
+
],
|
|
88
|
+
headerParameters: [Parameters.accept],
|
|
89
|
+
serializer
|
|
90
|
+
};
|
|
91
|
+
const createOrUpdateOperationSpec = {
|
|
92
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
93
|
+
httpMethod: "PUT",
|
|
94
|
+
responses: {
|
|
95
|
+
200: {
|
|
96
|
+
bodyMapper: Mappers.ManagementPolicy
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
requestBody: Parameters.properties,
|
|
100
|
+
queryParameters: [Parameters.apiVersion],
|
|
101
|
+
urlParameters: [
|
|
102
|
+
Parameters.$host,
|
|
103
|
+
Parameters.subscriptionId,
|
|
104
|
+
Parameters.resourceGroupName,
|
|
105
|
+
Parameters.accountName1,
|
|
106
|
+
Parameters.managementPolicyName
|
|
107
|
+
],
|
|
108
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
109
|
+
mediaType: "json",
|
|
110
|
+
serializer
|
|
111
|
+
};
|
|
112
|
+
const deleteOperationSpec = {
|
|
113
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}",
|
|
114
|
+
httpMethod: "DELETE",
|
|
115
|
+
responses: { 200: {}, 204: {} },
|
|
116
|
+
queryParameters: [Parameters.apiVersion],
|
|
117
|
+
urlParameters: [
|
|
118
|
+
Parameters.$host,
|
|
119
|
+
Parameters.subscriptionId,
|
|
120
|
+
Parameters.resourceGroupName,
|
|
121
|
+
Parameters.accountName1,
|
|
122
|
+
Parameters.managementPolicyName
|
|
123
|
+
],
|
|
124
|
+
serializer
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=managementPolicies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"managementPolicies.js","sourceRoot":"","sources":["../../../src/operations/managementPolicies.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ManagementPolicies } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { StorageManagementClient } from \"../storageManagementClient.js\";\nimport {\n ManagementPolicyName,\n ManagementPoliciesGetOptionalParams,\n ManagementPoliciesGetResponse,\n ManagementPolicy,\n ManagementPoliciesCreateOrUpdateOptionalParams,\n ManagementPoliciesCreateOrUpdateResponse,\n ManagementPoliciesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/** Class containing ManagementPolicies operations. */\nexport class ManagementPoliciesImpl implements ManagementPolicies {\n private readonly client: StorageManagementClient;\n\n /**\n * Initialize a new instance of the class ManagementPolicies class.\n * @param client Reference to the service client\n */\n constructor(client: StorageManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the managementpolicy associated with the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param managementPolicyName The name of the Storage Account Management Policy. It should always be\n * 'default'\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n accountName: string,\n managementPolicyName: ManagementPolicyName,\n options?: ManagementPoliciesGetOptionalParams\n ): Promise<ManagementPoliciesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, managementPolicyName, options },\n getOperationSpec\n );\n }\n\n /**\n * Sets the managementpolicy to the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param managementPolicyName The name of the Storage Account Management Policy. It should always be\n * 'default'\n * @param properties The ManagementPolicy set to a storage account.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n accountName: string,\n managementPolicyName: ManagementPolicyName,\n properties: ManagementPolicy,\n options?: ManagementPoliciesCreateOrUpdateOptionalParams\n ): Promise<ManagementPoliciesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n accountName,\n managementPolicyName,\n properties,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Deletes the managementpolicy associated with the specified storage account.\n * @param resourceGroupName The name of the resource group within the user's subscription. The name is\n * case insensitive.\n * @param accountName The name of the storage account within the specified resource group. Storage\n * account names must be between 3 and 24 characters in length and use numbers and lower-case letters\n * only.\n * @param managementPolicyName The name of the Storage Account Management Policy. It should always be\n * 'default'\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n accountName: string,\n managementPolicyName: ManagementPolicyName,\n options?: ManagementPoliciesDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, accountName, managementPolicyName, options },\n deleteOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementPolicy\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.managementPolicyName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagementPolicy\n }\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.managementPolicyName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.accountName1,\n Parameters.managementPolicyName\n ],\n serializer\n};\n"]}
|