@azure/arm-elasticsan 1.2.0-beta.1 → 1.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/LICENSE +3 -3
- package/README.md +24 -18
- package/dist/browser/elasticSanManagement.d.ts +48 -0
- package/dist/browser/elasticSanManagement.d.ts.map +1 -0
- package/dist/browser/elasticSanManagement.js +206 -0
- package/dist/browser/elasticSanManagement.js.map +1 -0
- 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.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +130 -2
- package/dist/browser/models/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.js +28 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.d.ts +7 -0
- package/dist/browser/models/mappers.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +133 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.d.ts +5 -1
- package/dist/browser/models/parameters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +29 -3
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/elasticSans.d.ts +3 -3
- package/dist/browser/operations/elasticSans.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/elasticSans.js +116 -128
- package/dist/browser/operations/elasticSans.js.map +1 -0
- package/dist/browser/operations/index.d.ts +9 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +16 -0
- package/dist/browser/operations/index.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 +88 -96
- 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/volumeGroups.d.ts +3 -3
- package/dist/browser/operations/volumeGroups.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volumeGroups.js +134 -140
- package/dist/browser/operations/volumeGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volumeSnapshots.d.ts +3 -3
- package/dist/browser/operations/volumeSnapshots.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volumeSnapshots.js +91 -99
- package/dist/browser/operations/volumeSnapshots.js.map +1 -0
- package/dist/browser/operations/volumes.d.ts +151 -0
- package/dist/browser/operations/volumes.d.ts.map +1 -0
- package/dist/browser/operations/volumes.js +687 -0
- package/dist/browser/operations/volumes.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/elasticSans.d.ts +1 -1
- package/dist/browser/operationsInterfaces/elasticSans.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/elasticSans.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +9 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +16 -0
- package/dist/browser/operationsInterfaces/index.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/volumeGroups.d.ts +1 -1
- package/dist/browser/operationsInterfaces/volumeGroups.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/volumeGroups.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeSnapshots.d.ts +1 -1
- package/dist/browser/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/volumeSnapshots.js.map +1 -0
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/volumes.d.ts +33 -18
- package/dist/browser/operationsInterfaces/volumes.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/volumes.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/elasticSanManagement.d.ts +48 -0
- package/dist/commonjs/elasticSanManagement.d.ts.map +1 -0
- package/dist/commonjs/elasticSanManagement.js +211 -0
- package/dist/commonjs/elasticSanManagement.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 +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +24 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-elasticsan.d.ts → dist/commonjs/models/index.d.ts} +1385 -1809
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +213 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +71 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1822 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +29 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +249 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/elasticSans.d.ts +107 -0
- package/dist/commonjs/operations/elasticSans.d.ts.map +1 -0
- package/dist/commonjs/operations/elasticSans.js +538 -0
- package/dist/commonjs/operations/elasticSans.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +9 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +19 -0
- package/dist/commonjs/operations/index.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 +100 -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 +325 -0
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
- package/dist/commonjs/operations/privateLinkResources.d.ts +20 -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 +100 -0
- package/dist/commonjs/operations/skus.js.map +1 -0
- package/dist/commonjs/operations/volumeGroups.d.ts +99 -0
- package/dist/commonjs/operations/volumeGroups.d.ts.map +1 -0
- package/dist/commonjs/operations/volumeGroups.js +461 -0
- package/dist/commonjs/operations/volumeGroups.js.map +1 -0
- package/dist/commonjs/operations/volumeSnapshots.d.ts +89 -0
- package/dist/commonjs/operations/volumeSnapshots.d.ts.map +1 -0
- package/dist/commonjs/operations/volumeSnapshots.js +386 -0
- package/dist/commonjs/operations/volumeSnapshots.js.map +1 -0
- package/dist/commonjs/operations/volumes.d.ts +151 -0
- package/dist/commonjs/operations/volumes.d.ts.map +1 -0
- package/dist/commonjs/operations/volumes.js +691 -0
- package/dist/commonjs/operations/volumes.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/elasticSans.d.ts +71 -0
- package/dist/commonjs/operationsInterfaces/elasticSans.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/elasticSans.js +10 -0
- package/dist/commonjs/operationsInterfaces/elasticSans.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +19 -0
- package/dist/commonjs/operationsInterfaces/index.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 +56 -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 +12 -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/volumeGroups.d.ts +74 -0
- package/dist/commonjs/operationsInterfaces/volumeGroups.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/volumeGroups.js +10 -0
- package/dist/commonjs/operationsInterfaces/volumeGroups.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/volumeSnapshots.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/volumeSnapshots.js +10 -0
- package/dist/commonjs/operationsInterfaces/volumeSnapshots.js.map +1 -0
- package/{dist-esm/src → dist/commonjs}/operationsInterfaces/volumes.d.ts +43 -1
- package/dist/commonjs/operationsInterfaces/volumes.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/volumes.js +10 -0
- package/dist/commonjs/operationsInterfaces/volumes.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/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/elasticSanManagement.d.ts +48 -0
- package/dist/esm/elasticSanManagement.d.ts.map +1 -0
- package/dist/esm/elasticSanManagement.js +206 -0
- package/dist/esm/elasticSanManagement.js.map +1 -0
- 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 +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +21 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1385 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +210 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +71 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1818 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +29 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +246 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/elasticSans.d.ts +107 -0
- package/dist/esm/operations/elasticSans.d.ts.map +1 -0
- package/dist/esm/operations/elasticSans.js +534 -0
- package/dist/esm/operations/elasticSans.js.map +1 -0
- package/dist/esm/operations/index.d.ts +9 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +16 -0
- package/dist/esm/operations/index.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 +96 -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 +321 -0
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
- package/dist/esm/operations/privateLinkResources.d.ts +20 -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 +96 -0
- package/dist/esm/operations/skus.js.map +1 -0
- package/dist/esm/operations/volumeGroups.d.ts +99 -0
- package/dist/esm/operations/volumeGroups.d.ts.map +1 -0
- package/dist/esm/operations/volumeGroups.js +457 -0
- package/dist/esm/operations/volumeGroups.js.map +1 -0
- package/dist/esm/operations/volumeSnapshots.d.ts +89 -0
- package/dist/esm/operations/volumeSnapshots.d.ts.map +1 -0
- package/dist/esm/operations/volumeSnapshots.js +382 -0
- package/dist/esm/operations/volumeSnapshots.js.map +1 -0
- package/dist/esm/operations/volumes.d.ts +151 -0
- package/dist/esm/operations/volumes.d.ts.map +1 -0
- package/dist/esm/operations/volumes.js +687 -0
- package/dist/esm/operations/volumes.js.map +1 -0
- package/dist/esm/operationsInterfaces/elasticSans.d.ts +71 -0
- package/dist/esm/operationsInterfaces/elasticSans.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/elasticSans.js +9 -0
- package/dist/esm/operationsInterfaces/elasticSans.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +9 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +16 -0
- package/dist/esm/operationsInterfaces/index.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 +56 -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 +12 -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/volumeGroups.d.ts +74 -0
- package/dist/esm/operationsInterfaces/volumeGroups.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/volumeGroups.js +9 -0
- package/dist/esm/operationsInterfaces/volumeGroups.js.map +1 -0
- package/dist/esm/operationsInterfaces/volumeSnapshots.d.ts +62 -0
- package/dist/esm/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/volumeSnapshots.js +9 -0
- package/dist/esm/operationsInterfaces/volumeSnapshots.js.map +1 -0
- package/dist/esm/operationsInterfaces/volumes.d.ts +124 -0
- package/dist/esm/operationsInterfaces/volumes.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/volumes.js +9 -0
- package/dist/esm/operationsInterfaces/volumes.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/react-native/elasticSanManagement.d.ts +48 -0
- package/dist/react-native/elasticSanManagement.d.ts.map +1 -0
- package/dist/react-native/elasticSanManagement.js +206 -0
- package/dist/react-native/elasticSanManagement.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 +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +21 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1385 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +210 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +71 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1818 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +29 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +246 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/elasticSans.d.ts +107 -0
- package/dist/react-native/operations/elasticSans.d.ts.map +1 -0
- package/dist/react-native/operations/elasticSans.js +534 -0
- package/dist/react-native/operations/elasticSans.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +9 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +16 -0
- package/dist/react-native/operations/index.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 +96 -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 +321 -0
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
- package/dist/react-native/operations/privateLinkResources.d.ts +20 -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 +96 -0
- package/dist/react-native/operations/skus.js.map +1 -0
- package/dist/react-native/operations/volumeGroups.d.ts +99 -0
- package/dist/react-native/operations/volumeGroups.d.ts.map +1 -0
- package/dist/react-native/operations/volumeGroups.js +457 -0
- package/dist/react-native/operations/volumeGroups.js.map +1 -0
- package/dist/react-native/operations/volumeSnapshots.d.ts +89 -0
- package/dist/react-native/operations/volumeSnapshots.d.ts.map +1 -0
- package/dist/react-native/operations/volumeSnapshots.js +382 -0
- package/dist/react-native/operations/volumeSnapshots.js.map +1 -0
- package/dist/react-native/operations/volumes.d.ts +151 -0
- package/dist/react-native/operations/volumes.d.ts.map +1 -0
- package/dist/react-native/operations/volumes.js +687 -0
- package/dist/react-native/operations/volumes.js.map +1 -0
- package/dist/react-native/operationsInterfaces/elasticSans.d.ts +71 -0
- package/dist/react-native/operationsInterfaces/elasticSans.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/elasticSans.js +9 -0
- package/dist/react-native/operationsInterfaces/elasticSans.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +16 -0
- package/dist/react-native/operationsInterfaces/index.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 +56 -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 +12 -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/volumeGroups.d.ts +74 -0
- package/dist/react-native/operationsInterfaces/volumeGroups.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/volumeGroups.js +9 -0
- package/dist/react-native/operationsInterfaces/volumeGroups.js.map +1 -0
- package/dist/react-native/operationsInterfaces/volumeSnapshots.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/volumeSnapshots.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/volumeSnapshots.js +9 -0
- package/dist/react-native/operationsInterfaces/volumeSnapshots.js.map +1 -0
- package/dist/react-native/operationsInterfaces/volumes.d.ts +124 -0
- package/dist/react-native/operationsInterfaces/volumes.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/volumes.js +9 -0
- package/dist/react-native/operationsInterfaces/volumes.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/package.json +80 -51
- package/review/arm-elasticsan.api.md +109 -0
- package/dist/index.js +0 -4764
- 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/elasticSansCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansCreateSample.js +0 -83
- package/dist-esm/samples-dev/elasticSansCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansDeleteSample.js +0 -56
- package/dist-esm/samples-dev/elasticSansDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/elasticSansGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansGetSample.js +0 -56
- package/dist-esm/samples-dev/elasticSansGetSample.js.map +0 -1
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js +0 -86
- package/dist-esm/samples-dev/elasticSansListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js +0 -84
- package/dist-esm/samples-dev/elasticSansListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/elasticSansUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/elasticSansUpdateSample.js +0 -73
- package/dist-esm/samples-dev/elasticSansUpdateSample.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 -86
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -72
- package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.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 -58
- 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 -58
- 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 -88
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts +0 -2
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.js +0 -56
- package/dist-esm/samples-dev/privateLinkResourcesListByElasticSanSample.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 -86
- package/dist-esm/samples-dev/skusListSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGroupsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js +0 -85
- package/dist-esm/samples-dev/volumeGroupsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js +0 -58
- package/dist-esm/samples-dev/volumeGroupsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGroupsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsGetSample.js +0 -58
- package/dist-esm/samples-dev/volumeGroupsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js +0 -88
- package/dist-esm/samples-dev/volumeGroupsListByElasticSanSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js +0 -85
- package/dist-esm/samples-dev/volumeGroupsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js +0 -74
- package/dist-esm/samples-dev/volumeSnapshotsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js +0 -60
- package/dist-esm/samples-dev/volumeSnapshotsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.js +0 -60
- package/dist-esm/samples-dev/volumeSnapshotsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js +0 -92
- package/dist-esm/samples-dev/volumeSnapshotsListByVolumeGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/volumesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumesCreateSample.js +0 -68
- package/dist-esm/samples-dev/volumesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/volumesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumesDeleteSample.js +0 -66
- package/dist-esm/samples-dev/volumesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/volumesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumesGetSample.js +0 -60
- package/dist-esm/samples-dev/volumesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js +0 -90
- package/dist-esm/samples-dev/volumesListByVolumeGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/volumesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/volumesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/volumesUpdateSample.js +0 -62
- package/dist-esm/samples-dev/volumesUpdateSample.js.map +0 -1
- package/dist-esm/src/elasticSanManagement.d.ts +0 -27
- package/dist-esm/src/elasticSanManagement.d.ts.map +0 -1
- package/dist-esm/src/elasticSanManagement.js +0 -107
- package/dist-esm/src/elasticSanManagement.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.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/elasticSans.d.ts.map +0 -1
- package/dist-esm/src/operations/elasticSans.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -9
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -16
- package/dist-esm/src/operations/index.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/volumeGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/volumeGroups.js.map +0 -1
- package/dist-esm/src/operations/volumeSnapshots.d.ts.map +0 -1
- package/dist-esm/src/operations/volumeSnapshots.js.map +0 -1
- package/dist-esm/src/operations/volumes.d.ts.map +0 -1
- package/dist-esm/src/operations/volumes.js +0 -497
- package/dist-esm/src/operations/volumes.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/elasticSans.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/elasticSans.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -16
- package/dist-esm/src/operationsInterfaces/index.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/volumeGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/volumeGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/volumeSnapshots.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/volumes.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/volumes.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/elasticsan_examples.spec.d.ts +0 -4
- package/dist-esm/test/elasticsan_examples.spec.d.ts.map +0 -1
- package/dist-esm/test/elasticsan_examples.spec.js +0 -134
- package/dist-esm/test/elasticsan_examples.spec.js.map +0 -1
- package/src/elasticSanManagement.ts +0 -173
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1430
- package/src/models/mappers.ts +0 -1774
- package/src/models/parameters.ts +0 -257
- package/src/operations/elasticSans.ts +0 -711
- package/src/operations/index.ts +0 -16
- package/src/operations/operations.ts +0 -103
- package/src/operations/privateEndpointConnections.ts +0 -445
- package/src/operations/privateLinkResources.ts +0 -71
- package/src/operations/skus.ts +0 -101
- package/src/operations/volumeGroups.ts +0 -644
- package/src/operations/volumeSnapshots.ts +0 -545
- package/src/operations/volumes.ts +0 -698
- package/src/operationsInterfaces/elasticSans.ts +0 -139
- package/src/operationsInterfaces/index.ts +0 -16
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/privateEndpointConnections.ts +0 -109
- package/src/operationsInterfaces/privateLinkResources.ts +0 -27
- package/src/operationsInterfaces/skus.ts +0 -22
- package/src/operationsInterfaces/volumeGroups.ts +0 -147
- package/src/operationsInterfaces/volumeSnapshots.ts +0 -121
- package/src/operationsInterfaces/volumes.ts +0 -163
- package/src/pagingHelper.ts +0 -39
- 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}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/elasticSans.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/volumeGroups.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/volumeSnapshots.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/volumes.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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
1
|
# Release History
|
|
2
2
|
|
|
3
|
+
## 1.2.0-beta.2 (2025-04-18)
|
|
4
|
+
Compared with version 1.1.0
|
|
5
|
+
|
|
6
|
+
### Features Added
|
|
7
|
+
|
|
8
|
+
- Added operation Volumes.beginPreBackup
|
|
9
|
+
- Added operation Volumes.beginPreBackupAndWait
|
|
10
|
+
- Added operation Volumes.beginPreRestore
|
|
11
|
+
- Added operation Volumes.beginPreRestoreAndWait
|
|
12
|
+
- Added Interface AutoScaleProperties
|
|
13
|
+
- Added Interface DeleteRetentionPolicy
|
|
14
|
+
- Added Interface DiskSnapshotList
|
|
15
|
+
- Added Interface ElasticSanManagementRestoreVolumeHeaders
|
|
16
|
+
- Added Interface PreValidationResponse
|
|
17
|
+
- Added Interface RestoreVolumeOptionalParams
|
|
18
|
+
- Added Interface ScaleUpProperties
|
|
19
|
+
- Added Interface VolumeNameList
|
|
20
|
+
- Added Interface VolumesPreBackupHeaders
|
|
21
|
+
- Added Interface VolumesPreBackupOptionalParams
|
|
22
|
+
- Added Interface VolumesPreRestoreHeaders
|
|
23
|
+
- Added Interface VolumesPreRestoreOptionalParams
|
|
24
|
+
- Added Type Alias AutoScalePolicyEnforcement
|
|
25
|
+
- Added Type Alias DeleteType
|
|
26
|
+
- Added Type Alias PolicyState
|
|
27
|
+
- Added Type Alias RestoreVolumeResponse
|
|
28
|
+
- Added Type Alias VolumesPreBackupResponse
|
|
29
|
+
- Added Type Alias VolumesPreRestoreResponse
|
|
30
|
+
- Added Type Alias XMsAccessSoftDeletedResources
|
|
31
|
+
- Interface ElasticSanProperties has a new optional parameter autoScaleProperties
|
|
32
|
+
- Interface ElasticSanUpdateProperties has a new optional parameter autoScaleProperties
|
|
33
|
+
- Interface VolumeGroupProperties has a new optional parameter deleteRetentionPolicy
|
|
34
|
+
- Interface VolumeGroupsListByElasticSanNextOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
|
|
35
|
+
- Interface VolumeGroupsListByElasticSanOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
|
|
36
|
+
- Interface VolumeGroupUpdateProperties has a new optional parameter deleteRetentionPolicy
|
|
37
|
+
- Interface VolumesDeleteOptionalParams has a new optional parameter deleteType
|
|
38
|
+
- Interface VolumesListByVolumeGroupNextOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
|
|
39
|
+
- Interface VolumesListByVolumeGroupOptionalParams has a new optional parameter xMsAccessSoftDeletedResources
|
|
40
|
+
- Added Enum KnownAutoScalePolicyEnforcement
|
|
41
|
+
- Added Enum KnownDeleteType
|
|
42
|
+
- Added Enum KnownPolicyState
|
|
43
|
+
- Added Enum KnownXMsAccessSoftDeletedResources
|
|
44
|
+
- Enum KnownProvisioningStates has a new value Deleted
|
|
45
|
+
- Enum KnownProvisioningStates has a new value Restoring
|
|
46
|
+
- Enum KnownProvisioningStates has a new value SoftDeleting
|
|
47
|
+
|
|
48
|
+
|
|
3
49
|
## 1.2.0-beta.1 (2024-10-18)
|
|
4
50
|
Compared with version 1.1.0
|
|
5
51
|
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/elasticsans/arm-elasticsan) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-elasticsan) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-elasticsan?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -44,26 +44,32 @@ npm install @azure/identity
|
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure ElasticSanManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
|
-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
47
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
48
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
51
|
+
|
|
52
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
53
|
+
import { ElasticSanManagement } from "@azure/arm-elasticsan";
|
|
54
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
55
|
|
|
56
56
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
57
|
const client = new ElasticSanManagement(new DefaultAzureCredential(), subscriptionId);
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new ElasticSanManagement(credential, subscriptionId);
|
|
65
58
|
```
|
|
66
59
|
|
|
60
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
61
|
+
|
|
62
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
63
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
64
|
+
import { ElasticSanManagement } from "@azure/arm-elasticsan";
|
|
65
|
+
|
|
66
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
67
|
+
const credential = new InteractiveBrowserCredential({
|
|
68
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
69
|
+
clientId: "<YOUR_CLIENT_ID>"
|
|
70
|
+
});
|
|
71
|
+
const client = new ElasticSanManagement(credential, subscriptionId);
|
|
72
|
+
```
|
|
67
73
|
|
|
68
74
|
### JavaScript Bundle
|
|
69
75
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
@@ -80,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
86
|
|
|
81
87
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
88
|
|
|
83
|
-
```
|
|
84
|
-
|
|
89
|
+
```ts snippet:SetLogLevel
|
|
90
|
+
import { setLogLevel } from "@azure/logger";
|
|
91
|
+
|
|
85
92
|
setLogLevel("info");
|
|
86
93
|
```
|
|
87
94
|
|
|
@@ -99,9 +106,8 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
106
|
|
|
100
107
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
108
|
|
|
102
|
-

|
|
103
109
|
|
|
104
|
-
[azure_cli]: https://
|
|
110
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
111
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
112
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
113
|
[azure_portal]: https://portal.azure.com
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
import * as coreAuth from "@azure/core-auth";
|
|
3
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
4
|
+
import { Operations, Skus, ElasticSans, VolumeGroups, Volumes, PrivateEndpointConnections, PrivateLinkResources, VolumeSnapshots } from "./operationsInterfaces/index.js";
|
|
5
|
+
import { ElasticSanManagementOptionalParams, RestoreVolumeOptionalParams, RestoreVolumeResponse } from "./models/index.js";
|
|
6
|
+
export declare class ElasticSanManagement extends coreClient.ServiceClient {
|
|
7
|
+
$host: string;
|
|
8
|
+
apiVersion: string;
|
|
9
|
+
subscriptionId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Initializes a new instance of the ElasticSanManagement class.
|
|
12
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
13
|
+
* @param subscriptionId The ID of the target subscription.
|
|
14
|
+
* @param options The parameter options
|
|
15
|
+
*/
|
|
16
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ElasticSanManagementOptionalParams);
|
|
17
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
|
+
private addCustomApiVersionPolicy;
|
|
19
|
+
/**
|
|
20
|
+
* Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
|
|
21
|
+
* volumes by volume group
|
|
22
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
23
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
24
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
25
|
+
* @param volumeName The name of the Volume.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
beginRestoreVolume(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<SimplePollerLike<OperationState<RestoreVolumeResponse>, RestoreVolumeResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
|
|
31
|
+
* volumes by volume group
|
|
32
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
33
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
34
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
35
|
+
* @param volumeName The name of the Volume.
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
beginRestoreVolumeAndWait(resourceGroupName: string, elasticSanName: string, volumeGroupName: string, volumeName: string, options?: RestoreVolumeOptionalParams): Promise<RestoreVolumeResponse>;
|
|
39
|
+
operations: Operations;
|
|
40
|
+
skus: Skus;
|
|
41
|
+
elasticSans: ElasticSans;
|
|
42
|
+
volumeGroups: VolumeGroups;
|
|
43
|
+
volumes: Volumes;
|
|
44
|
+
privateEndpointConnections: PrivateEndpointConnections;
|
|
45
|
+
privateLinkResources: PrivateLinkResources;
|
|
46
|
+
volumeSnapshots: VolumeSnapshots;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=elasticSanManagement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elasticSanManagement.d.ts","sourceRoot":"","sources":["../../src/elasticSanManagement.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAYzB,OAAO,EACL,UAAU,EACV,IAAI,EACJ,WAAW,EACX,YAAY,EACZ,OAAO,EACP,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,EAChB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,kCAAkC,EAClC,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,oBAAqB,SAAQ,UAAU,CAAC,aAAa;IAChE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,kCAAkC;IAoF9C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;;;;;OAQG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,qBAAqB,CAAC,EACrC,qBAAqB,CACtB,CACF;IA8DD;;;;;;;;OAQG;IACG,yBAAyB,CAC7B,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,eAAe,EAAE,MAAM,EACvB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAWjC,UAAU,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,eAAe,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -0,0 +1,206 @@
|
|
|
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 coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
11
|
+
import { createLroSpec } from "./lroImpl.js";
|
|
12
|
+
import { OperationsImpl, SkusImpl, ElasticSansImpl, VolumeGroupsImpl, VolumesImpl, PrivateEndpointConnectionsImpl, PrivateLinkResourcesImpl, VolumeSnapshotsImpl, } from "./operations/index.js";
|
|
13
|
+
import * as Parameters from "./models/parameters.js";
|
|
14
|
+
import * as Mappers from "./models/mappers.js";
|
|
15
|
+
export class ElasticSanManagement extends coreClient.ServiceClient {
|
|
16
|
+
/**
|
|
17
|
+
* Initializes a new instance of the ElasticSanManagement class.
|
|
18
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
19
|
+
* @param subscriptionId The ID of the target subscription.
|
|
20
|
+
* @param options The parameter options
|
|
21
|
+
*/
|
|
22
|
+
constructor(credentials, subscriptionId, options) {
|
|
23
|
+
var _a, _b, _c;
|
|
24
|
+
if (credentials === undefined) {
|
|
25
|
+
throw new Error("'credentials' cannot be null");
|
|
26
|
+
}
|
|
27
|
+
if (subscriptionId === undefined) {
|
|
28
|
+
throw new Error("'subscriptionId' cannot be null");
|
|
29
|
+
}
|
|
30
|
+
// Initializing default values for options
|
|
31
|
+
if (!options) {
|
|
32
|
+
options = {};
|
|
33
|
+
}
|
|
34
|
+
const defaults = {
|
|
35
|
+
requestContentType: "application/json; charset=utf-8",
|
|
36
|
+
credential: credentials,
|
|
37
|
+
};
|
|
38
|
+
const packageDetails = `azsdk-js-arm-elasticsan/1.2.0-beta.2`;
|
|
39
|
+
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
40
|
+
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
41
|
+
: `${packageDetails}`;
|
|
42
|
+
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
43
|
+
userAgentPrefix,
|
|
44
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
45
|
+
super(optionsWithDefaults);
|
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
47
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
48
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
50
|
+
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
51
|
+
}
|
|
52
|
+
if (!options ||
|
|
53
|
+
!options.pipeline ||
|
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
+
this.pipeline.removePolicy({
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
58
|
+
});
|
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
+
credential: credentials,
|
|
61
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
62
|
+
challengeCallbacks: {
|
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
64
|
+
},
|
|
65
|
+
}));
|
|
66
|
+
}
|
|
67
|
+
// Parameter assignments
|
|
68
|
+
this.subscriptionId = subscriptionId;
|
|
69
|
+
// Assigning values to Constant parameters
|
|
70
|
+
this.$host = options.$host || "https://management.azure.com";
|
|
71
|
+
this.apiVersion = options.apiVersion || "2024-07-01-preview";
|
|
72
|
+
this.operations = new OperationsImpl(this);
|
|
73
|
+
this.skus = new SkusImpl(this);
|
|
74
|
+
this.elasticSans = new ElasticSansImpl(this);
|
|
75
|
+
this.volumeGroups = new VolumeGroupsImpl(this);
|
|
76
|
+
this.volumes = new VolumesImpl(this);
|
|
77
|
+
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
|
|
78
|
+
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
|
|
79
|
+
this.volumeSnapshots = new VolumeSnapshotsImpl(this);
|
|
80
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
81
|
+
}
|
|
82
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
83
|
+
addCustomApiVersionPolicy(apiVersion) {
|
|
84
|
+
if (!apiVersion) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const apiVersionPolicy = {
|
|
88
|
+
name: "CustomApiVersionPolicy",
|
|
89
|
+
async sendRequest(request, next) {
|
|
90
|
+
const param = request.url.split("?");
|
|
91
|
+
if (param.length > 1) {
|
|
92
|
+
const newParams = param[1].split("&").map((item) => {
|
|
93
|
+
if (item.indexOf("api-version") > -1) {
|
|
94
|
+
return "api-version=" + apiVersion;
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
return item;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
101
|
+
}
|
|
102
|
+
return next(request);
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
|
|
109
|
+
* volumes by volume group
|
|
110
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
111
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
112
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
113
|
+
* @param volumeName The name of the Volume.
|
|
114
|
+
* @param options The options parameters.
|
|
115
|
+
*/
|
|
116
|
+
async beginRestoreVolume(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
|
|
117
|
+
const directSendOperation = async (args, spec) => {
|
|
118
|
+
return this.sendOperationRequest(args, spec);
|
|
119
|
+
};
|
|
120
|
+
const sendOperationFn = async (args, spec) => {
|
|
121
|
+
var _a;
|
|
122
|
+
let currentRawResponse = undefined;
|
|
123
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
124
|
+
const callback = (rawResponse, flatResponse) => {
|
|
125
|
+
currentRawResponse = rawResponse;
|
|
126
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
127
|
+
};
|
|
128
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
129
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
130
|
+
return {
|
|
131
|
+
flatResponse,
|
|
132
|
+
rawResponse: {
|
|
133
|
+
statusCode: currentRawResponse.status,
|
|
134
|
+
body: currentRawResponse.parsedBody,
|
|
135
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
136
|
+
},
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
const lro = createLroSpec({
|
|
140
|
+
sendOperationFn,
|
|
141
|
+
args: {
|
|
142
|
+
resourceGroupName,
|
|
143
|
+
elasticSanName,
|
|
144
|
+
volumeGroupName,
|
|
145
|
+
volumeName,
|
|
146
|
+
options,
|
|
147
|
+
},
|
|
148
|
+
spec: restoreVolumeOperationSpec,
|
|
149
|
+
});
|
|
150
|
+
const poller = await createHttpPoller(lro, {
|
|
151
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
152
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
153
|
+
resourceLocationConfig: "location",
|
|
154
|
+
});
|
|
155
|
+
await poller.poll();
|
|
156
|
+
return poller;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted
|
|
160
|
+
* volumes by volume group
|
|
161
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
163
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
164
|
+
* @param volumeName The name of the Volume.
|
|
165
|
+
* @param options The options parameters.
|
|
166
|
+
*/
|
|
167
|
+
async beginRestoreVolumeAndWait(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
|
|
168
|
+
const poller = await this.beginRestoreVolume(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options);
|
|
169
|
+
return poller.pollUntilDone();
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
// Operation Specifications
|
|
173
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
174
|
+
const restoreVolumeOperationSpec = {
|
|
175
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}/restore",
|
|
176
|
+
httpMethod: "POST",
|
|
177
|
+
responses: {
|
|
178
|
+
200: {
|
|
179
|
+
bodyMapper: Mappers.Volume,
|
|
180
|
+
},
|
|
181
|
+
201: {
|
|
182
|
+
bodyMapper: Mappers.Volume,
|
|
183
|
+
},
|
|
184
|
+
202: {
|
|
185
|
+
bodyMapper: Mappers.Volume,
|
|
186
|
+
},
|
|
187
|
+
204: {
|
|
188
|
+
bodyMapper: Mappers.Volume,
|
|
189
|
+
},
|
|
190
|
+
default: {
|
|
191
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
queryParameters: [Parameters.apiVersion],
|
|
195
|
+
urlParameters: [
|
|
196
|
+
Parameters.$host,
|
|
197
|
+
Parameters.subscriptionId,
|
|
198
|
+
Parameters.resourceGroupName,
|
|
199
|
+
Parameters.elasticSanName,
|
|
200
|
+
Parameters.volumeGroupName,
|
|
201
|
+
Parameters.volumeName,
|
|
202
|
+
],
|
|
203
|
+
headerParameters: [Parameters.accept],
|
|
204
|
+
serializer,
|
|
205
|
+
};
|
|
206
|
+
//# sourceMappingURL=elasticSanManagement.js.map
|
|
@@ -0,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CAAC;AAE3E,MAAM,0BAA0B,GAA6B;IAC3D,IAAI,EAAE,4LAA4L;IAClM,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,MAAM;SAC3B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"./lroImpl.js\";\nimport {\n OperationsImpl,\n SkusImpl,\n ElasticSansImpl,\n VolumeGroupsImpl,\n VolumesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n VolumeSnapshotsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Skus,\n ElasticSans,\n VolumeGroups,\n Volumes,\n PrivateEndpointConnections,\n PrivateLinkResources,\n VolumeSnapshots,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n ElasticSanManagementOptionalParams,\n RestoreVolumeOptionalParams,\n RestoreVolumeResponse,\n} from \"./models/index.js\";\n\nexport class ElasticSanManagement extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the ElasticSanManagement class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ElasticSanManagementOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ElasticSanManagementOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-elasticsan/1.2.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-07-01-preview\";\n this.operations = new OperationsImpl(this);\n this.skus = new SkusImpl(this);\n this.elasticSans = new ElasticSansImpl(this);\n this.volumeGroups = new VolumeGroupsImpl(this);\n this.volumes = new VolumesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.volumeSnapshots = new VolumeSnapshotsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted\n * volumes by volume group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param volumeGroupName The name of the VolumeGroup.\n * @param volumeName The name of the Volume.\n * @param options The options parameters.\n */\n async beginRestoreVolume(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: RestoreVolumeOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<RestoreVolumeResponse>,\n RestoreVolumeResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<RestoreVolumeResponse> => {\n return this.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n },\n spec: restoreVolumeOperationSpec,\n });\n const poller = await createHttpPoller<\n RestoreVolumeResponse,\n OperationState<RestoreVolumeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Restore Soft Deleted Volumes. The volume name is obtained by using the API to list soft deleted\n * volumes by volume group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param volumeGroupName The name of the VolumeGroup.\n * @param volumeName The name of the Volume.\n * @param options The options parameters.\n */\n async beginRestoreVolumeAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: RestoreVolumeOptionalParams,\n ): Promise<RestoreVolumeResponse> {\n const poller = await this.beginRestoreVolume(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n operations: Operations;\n skus: Skus;\n elasticSans: ElasticSans;\n volumeGroups: VolumeGroups;\n volumes: Volumes;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n volumeSnapshots: VolumeSnapshots;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst restoreVolumeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}/restore\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Volume,\n },\n 201: {\n bodyMapper: Mappers.Volume,\n },\n 202: {\n bodyMapper: Mappers.Volume,\n },\n 204: {\n bodyMapper: Mappers.Volume,\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.elasticSanName,\n Parameters.volumeGroupName,\n Parameters.volumeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,CAAC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
10
|
-
export * from "./models";
|
|
11
|
-
export { ElasticSanManagement } from "./elasticSanManagement";
|
|
12
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { ElasticSanManagement } from "./elasticSanManagement.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ElasticSanManagement } from \"./elasticSanManagement.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAQH,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,UAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|