@azure/arm-elasticsan 1.2.0-alpha.20250124.1 → 1.2.0-alpha.20250128.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/{dist-esm/src → dist/browser}/elasticSanManagement.d.ts +2 -2
- package/dist/browser/elasticSanManagement.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/elasticSanManagement.js +15 -18
- 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-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/lroImpl.js +0 -7
- 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/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 +87 -95
- 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 +126 -138
- 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 +90 -98
- package/dist/browser/operations/volumeSnapshots.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volumes.d.ts +3 -3
- package/dist/browser/operations/volumes.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/volumes.js +133 -145
- 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 → dist/browser}/operationsInterfaces/volumes.d.ts +1 -1
- 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 +27 -0
- package/dist/commonjs/elasticSanManagement.d.ts.map +1 -0
- package/dist/commonjs/elasticSanManagement.js +109 -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 +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-elasticsan.d.ts → dist/commonjs/models/index.d.ts} +1257 -1809
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +185 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +64 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1689 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +25 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +223 -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 +455 -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 +109 -0
- package/dist/commonjs/operations/volumes.d.ts.map +1 -0
- package/dist/commonjs/operations/volumes.js +489 -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/commonjs/operationsInterfaces/volumes.d.ts +82 -0
- 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/dist/esm/elasticSanManagement.d.ts +27 -0
- package/dist/esm/elasticSanManagement.d.ts.map +1 -0
- package/dist/esm/elasticSanManagement.js +104 -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 +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1257 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +182 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +64 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1685 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +25 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +220 -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 +451 -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 +109 -0
- package/dist/esm/operations/volumes.d.ts.map +1 -0
- package/dist/esm/operations/volumes.js +485 -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 +82 -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 +27 -0
- package/dist/react-native/elasticSanManagement.d.ts.map +1 -0
- package/dist/react-native/elasticSanManagement.js +104 -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 +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1257 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +182 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +64 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1685 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +25 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +220 -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 +451 -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 +109 -0
- package/dist/react-native/operations/volumes.d.ts.map +1 -0
- package/dist/react-native/operations/volumes.js +485 -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 +82 -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 +77 -48
- 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.map +0 -1
- 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.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/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.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}/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/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/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
|
@@ -0,0 +1,485 @@
|
|
|
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
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class containing Volumes operations. */
|
|
17
|
+
export class VolumesImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Volumes class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* List Volumes in a VolumeGroup.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
29
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByVolumeGroup(resourceGroupName, elasticSanName, volumeGroupName, options) {
|
|
33
|
+
const iter = this.listByVolumeGroupPagingAll(resourceGroupName, elasticSanName, volumeGroupName, 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.listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings);
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, options, settings) {
|
|
50
|
+
return __asyncGenerator(this, arguments, function* listByVolumeGroupPagingPage_1() {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = yield __await(this._listByVolumeGroup(resourceGroupName, elasticSanName, volumeGroupName, 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._listByVolumeGroupNext(resourceGroupName, elasticSanName, volumeGroupName, continuationToken, options));
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
setContinuationToken(page, continuationToken);
|
|
65
|
+
yield yield __await(page);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
listByVolumeGroupPagingAll(resourceGroupName, elasticSanName, volumeGroupName, options) {
|
|
70
|
+
return __asyncGenerator(this, arguments, function* listByVolumeGroupPagingAll_1() {
|
|
71
|
+
var _a, e_1, _b, _c;
|
|
72
|
+
try {
|
|
73
|
+
for (var _d = true, _e = __asyncValues(this.listByVolumeGroupPagingPage(resourceGroupName, elasticSanName, volumeGroupName, 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
|
+
* Create a Volume.
|
|
91
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
92
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
93
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
94
|
+
* @param volumeName The name of the Volume.
|
|
95
|
+
* @param parameters Volume object.
|
|
96
|
+
* @param options The options parameters.
|
|
97
|
+
*/
|
|
98
|
+
async beginCreate(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options) {
|
|
99
|
+
const directSendOperation = async (args, spec) => {
|
|
100
|
+
return this.client.sendOperationRequest(args, spec);
|
|
101
|
+
};
|
|
102
|
+
const sendOperationFn = async (args, spec) => {
|
|
103
|
+
var _a;
|
|
104
|
+
let currentRawResponse = undefined;
|
|
105
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
106
|
+
const callback = (rawResponse, flatResponse) => {
|
|
107
|
+
currentRawResponse = rawResponse;
|
|
108
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
109
|
+
};
|
|
110
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
111
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
112
|
+
return {
|
|
113
|
+
flatResponse,
|
|
114
|
+
rawResponse: {
|
|
115
|
+
statusCode: currentRawResponse.status,
|
|
116
|
+
body: currentRawResponse.parsedBody,
|
|
117
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
const lro = createLroSpec({
|
|
122
|
+
sendOperationFn,
|
|
123
|
+
args: {
|
|
124
|
+
resourceGroupName,
|
|
125
|
+
elasticSanName,
|
|
126
|
+
volumeGroupName,
|
|
127
|
+
volumeName,
|
|
128
|
+
parameters,
|
|
129
|
+
options,
|
|
130
|
+
},
|
|
131
|
+
spec: createOperationSpec,
|
|
132
|
+
});
|
|
133
|
+
const poller = await createHttpPoller(lro, {
|
|
134
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
135
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
136
|
+
resourceLocationConfig: "location",
|
|
137
|
+
});
|
|
138
|
+
await poller.poll();
|
|
139
|
+
return poller;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Create a Volume.
|
|
143
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
144
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
145
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
146
|
+
* @param volumeName The name of the Volume.
|
|
147
|
+
* @param parameters Volume object.
|
|
148
|
+
* @param options The options parameters.
|
|
149
|
+
*/
|
|
150
|
+
async beginCreateAndWait(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options) {
|
|
151
|
+
const poller = await this.beginCreate(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options);
|
|
152
|
+
return poller.pollUntilDone();
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Update an Volume.
|
|
156
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
157
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
158
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
159
|
+
* @param volumeName The name of the Volume.
|
|
160
|
+
* @param parameters Volume object.
|
|
161
|
+
* @param options The options parameters.
|
|
162
|
+
*/
|
|
163
|
+
async beginUpdate(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options) {
|
|
164
|
+
const directSendOperation = async (args, spec) => {
|
|
165
|
+
return this.client.sendOperationRequest(args, spec);
|
|
166
|
+
};
|
|
167
|
+
const sendOperationFn = async (args, spec) => {
|
|
168
|
+
var _a;
|
|
169
|
+
let currentRawResponse = undefined;
|
|
170
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
171
|
+
const callback = (rawResponse, flatResponse) => {
|
|
172
|
+
currentRawResponse = rawResponse;
|
|
173
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
174
|
+
};
|
|
175
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
176
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
177
|
+
return {
|
|
178
|
+
flatResponse,
|
|
179
|
+
rawResponse: {
|
|
180
|
+
statusCode: currentRawResponse.status,
|
|
181
|
+
body: currentRawResponse.parsedBody,
|
|
182
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
183
|
+
},
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
const lro = createLroSpec({
|
|
187
|
+
sendOperationFn,
|
|
188
|
+
args: {
|
|
189
|
+
resourceGroupName,
|
|
190
|
+
elasticSanName,
|
|
191
|
+
volumeGroupName,
|
|
192
|
+
volumeName,
|
|
193
|
+
parameters,
|
|
194
|
+
options,
|
|
195
|
+
},
|
|
196
|
+
spec: updateOperationSpec,
|
|
197
|
+
});
|
|
198
|
+
const poller = await createHttpPoller(lro, {
|
|
199
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
200
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
201
|
+
resourceLocationConfig: "location",
|
|
202
|
+
});
|
|
203
|
+
await poller.poll();
|
|
204
|
+
return poller;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Update an Volume.
|
|
208
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
209
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
210
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
211
|
+
* @param volumeName The name of the Volume.
|
|
212
|
+
* @param parameters Volume object.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
async beginUpdateAndWait(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options) {
|
|
216
|
+
const poller = await this.beginUpdate(resourceGroupName, elasticSanName, volumeGroupName, volumeName, parameters, options);
|
|
217
|
+
return poller.pollUntilDone();
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Delete an Volume.
|
|
221
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
222
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
223
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
224
|
+
* @param volumeName The name of the Volume.
|
|
225
|
+
* @param options The options parameters.
|
|
226
|
+
*/
|
|
227
|
+
async beginDelete(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
|
|
228
|
+
const directSendOperation = async (args, spec) => {
|
|
229
|
+
return this.client.sendOperationRequest(args, spec);
|
|
230
|
+
};
|
|
231
|
+
const sendOperationFn = async (args, spec) => {
|
|
232
|
+
var _a;
|
|
233
|
+
let currentRawResponse = undefined;
|
|
234
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
235
|
+
const callback = (rawResponse, flatResponse) => {
|
|
236
|
+
currentRawResponse = rawResponse;
|
|
237
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
238
|
+
};
|
|
239
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
240
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
241
|
+
return {
|
|
242
|
+
flatResponse,
|
|
243
|
+
rawResponse: {
|
|
244
|
+
statusCode: currentRawResponse.status,
|
|
245
|
+
body: currentRawResponse.parsedBody,
|
|
246
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
247
|
+
},
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
const lro = createLroSpec({
|
|
251
|
+
sendOperationFn,
|
|
252
|
+
args: {
|
|
253
|
+
resourceGroupName,
|
|
254
|
+
elasticSanName,
|
|
255
|
+
volumeGroupName,
|
|
256
|
+
volumeName,
|
|
257
|
+
options,
|
|
258
|
+
},
|
|
259
|
+
spec: deleteOperationSpec,
|
|
260
|
+
});
|
|
261
|
+
const poller = await createHttpPoller(lro, {
|
|
262
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
263
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
264
|
+
resourceLocationConfig: "location",
|
|
265
|
+
});
|
|
266
|
+
await poller.poll();
|
|
267
|
+
return poller;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Delete an Volume.
|
|
271
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
272
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
273
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
274
|
+
* @param volumeName The name of the Volume.
|
|
275
|
+
* @param options The options parameters.
|
|
276
|
+
*/
|
|
277
|
+
async beginDeleteAndWait(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
|
|
278
|
+
const poller = await this.beginDelete(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options);
|
|
279
|
+
return poller.pollUntilDone();
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Get an Volume.
|
|
283
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
284
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
285
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
286
|
+
* @param volumeName The name of the Volume.
|
|
287
|
+
* @param options The options parameters.
|
|
288
|
+
*/
|
|
289
|
+
get(resourceGroupName, elasticSanName, volumeGroupName, volumeName, options) {
|
|
290
|
+
return this.client.sendOperationRequest({
|
|
291
|
+
resourceGroupName,
|
|
292
|
+
elasticSanName,
|
|
293
|
+
volumeGroupName,
|
|
294
|
+
volumeName,
|
|
295
|
+
options,
|
|
296
|
+
}, getOperationSpec);
|
|
297
|
+
}
|
|
298
|
+
/**
|
|
299
|
+
* List Volumes in a VolumeGroup.
|
|
300
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
301
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
302
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
303
|
+
* @param options The options parameters.
|
|
304
|
+
*/
|
|
305
|
+
_listByVolumeGroup(resourceGroupName, elasticSanName, volumeGroupName, options) {
|
|
306
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, volumeGroupName, options }, listByVolumeGroupOperationSpec);
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* ListByVolumeGroupNext
|
|
310
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
311
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
312
|
+
* @param volumeGroupName The name of the VolumeGroup.
|
|
313
|
+
* @param nextLink The nextLink from the previous successful call to the ListByVolumeGroup method.
|
|
314
|
+
* @param options The options parameters.
|
|
315
|
+
*/
|
|
316
|
+
_listByVolumeGroupNext(resourceGroupName, elasticSanName, volumeGroupName, nextLink, options) {
|
|
317
|
+
return this.client.sendOperationRequest({ resourceGroupName, elasticSanName, volumeGroupName, nextLink, options }, listByVolumeGroupNextOperationSpec);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
// Operation Specifications
|
|
321
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
322
|
+
const createOperationSpec = {
|
|
323
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
324
|
+
httpMethod: "PUT",
|
|
325
|
+
responses: {
|
|
326
|
+
200: {
|
|
327
|
+
bodyMapper: Mappers.Volume,
|
|
328
|
+
},
|
|
329
|
+
201: {
|
|
330
|
+
bodyMapper: Mappers.Volume,
|
|
331
|
+
},
|
|
332
|
+
202: {
|
|
333
|
+
bodyMapper: Mappers.Volume,
|
|
334
|
+
},
|
|
335
|
+
204: {
|
|
336
|
+
bodyMapper: Mappers.Volume,
|
|
337
|
+
},
|
|
338
|
+
default: {
|
|
339
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
340
|
+
},
|
|
341
|
+
},
|
|
342
|
+
requestBody: Parameters.parameters4,
|
|
343
|
+
queryParameters: [Parameters.apiVersion],
|
|
344
|
+
urlParameters: [
|
|
345
|
+
Parameters.$host,
|
|
346
|
+
Parameters.subscriptionId,
|
|
347
|
+
Parameters.resourceGroupName,
|
|
348
|
+
Parameters.elasticSanName,
|
|
349
|
+
Parameters.volumeGroupName,
|
|
350
|
+
Parameters.volumeName,
|
|
351
|
+
],
|
|
352
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
353
|
+
mediaType: "json",
|
|
354
|
+
serializer,
|
|
355
|
+
};
|
|
356
|
+
const updateOperationSpec = {
|
|
357
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
358
|
+
httpMethod: "PATCH",
|
|
359
|
+
responses: {
|
|
360
|
+
200: {
|
|
361
|
+
bodyMapper: Mappers.Volume,
|
|
362
|
+
},
|
|
363
|
+
201: {
|
|
364
|
+
bodyMapper: Mappers.Volume,
|
|
365
|
+
},
|
|
366
|
+
202: {
|
|
367
|
+
bodyMapper: Mappers.Volume,
|
|
368
|
+
},
|
|
369
|
+
204: {
|
|
370
|
+
bodyMapper: Mappers.Volume,
|
|
371
|
+
},
|
|
372
|
+
default: {
|
|
373
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
requestBody: Parameters.parameters5,
|
|
377
|
+
queryParameters: [Parameters.apiVersion],
|
|
378
|
+
urlParameters: [
|
|
379
|
+
Parameters.$host,
|
|
380
|
+
Parameters.subscriptionId,
|
|
381
|
+
Parameters.resourceGroupName,
|
|
382
|
+
Parameters.elasticSanName,
|
|
383
|
+
Parameters.volumeGroupName,
|
|
384
|
+
Parameters.volumeName,
|
|
385
|
+
],
|
|
386
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
387
|
+
mediaType: "json",
|
|
388
|
+
serializer,
|
|
389
|
+
};
|
|
390
|
+
const deleteOperationSpec = {
|
|
391
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
392
|
+
httpMethod: "DELETE",
|
|
393
|
+
responses: {
|
|
394
|
+
200: {},
|
|
395
|
+
201: {},
|
|
396
|
+
202: {},
|
|
397
|
+
204: {},
|
|
398
|
+
default: {
|
|
399
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
400
|
+
},
|
|
401
|
+
},
|
|
402
|
+
queryParameters: [Parameters.apiVersion],
|
|
403
|
+
urlParameters: [
|
|
404
|
+
Parameters.$host,
|
|
405
|
+
Parameters.subscriptionId,
|
|
406
|
+
Parameters.resourceGroupName,
|
|
407
|
+
Parameters.elasticSanName,
|
|
408
|
+
Parameters.volumeGroupName,
|
|
409
|
+
Parameters.volumeName,
|
|
410
|
+
],
|
|
411
|
+
headerParameters: [
|
|
412
|
+
Parameters.accept,
|
|
413
|
+
Parameters.xMsDeleteSnapshots,
|
|
414
|
+
Parameters.xMsForceDelete,
|
|
415
|
+
],
|
|
416
|
+
serializer,
|
|
417
|
+
};
|
|
418
|
+
const getOperationSpec = {
|
|
419
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}",
|
|
420
|
+
httpMethod: "GET",
|
|
421
|
+
responses: {
|
|
422
|
+
200: {
|
|
423
|
+
bodyMapper: Mappers.Volume,
|
|
424
|
+
},
|
|
425
|
+
default: {
|
|
426
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
427
|
+
},
|
|
428
|
+
},
|
|
429
|
+
queryParameters: [Parameters.apiVersion],
|
|
430
|
+
urlParameters: [
|
|
431
|
+
Parameters.$host,
|
|
432
|
+
Parameters.subscriptionId,
|
|
433
|
+
Parameters.resourceGroupName,
|
|
434
|
+
Parameters.elasticSanName,
|
|
435
|
+
Parameters.volumeGroupName,
|
|
436
|
+
Parameters.volumeName,
|
|
437
|
+
],
|
|
438
|
+
headerParameters: [Parameters.accept],
|
|
439
|
+
serializer,
|
|
440
|
+
};
|
|
441
|
+
const listByVolumeGroupOperationSpec = {
|
|
442
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes",
|
|
443
|
+
httpMethod: "GET",
|
|
444
|
+
responses: {
|
|
445
|
+
200: {
|
|
446
|
+
bodyMapper: Mappers.VolumeList,
|
|
447
|
+
},
|
|
448
|
+
default: {
|
|
449
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
450
|
+
},
|
|
451
|
+
},
|
|
452
|
+
queryParameters: [Parameters.apiVersion],
|
|
453
|
+
urlParameters: [
|
|
454
|
+
Parameters.$host,
|
|
455
|
+
Parameters.subscriptionId,
|
|
456
|
+
Parameters.resourceGroupName,
|
|
457
|
+
Parameters.elasticSanName,
|
|
458
|
+
Parameters.volumeGroupName,
|
|
459
|
+
],
|
|
460
|
+
headerParameters: [Parameters.accept],
|
|
461
|
+
serializer,
|
|
462
|
+
};
|
|
463
|
+
const listByVolumeGroupNextOperationSpec = {
|
|
464
|
+
path: "{nextLink}",
|
|
465
|
+
httpMethod: "GET",
|
|
466
|
+
responses: {
|
|
467
|
+
200: {
|
|
468
|
+
bodyMapper: Mappers.VolumeList,
|
|
469
|
+
},
|
|
470
|
+
default: {
|
|
471
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
472
|
+
},
|
|
473
|
+
},
|
|
474
|
+
urlParameters: [
|
|
475
|
+
Parameters.$host,
|
|
476
|
+
Parameters.subscriptionId,
|
|
477
|
+
Parameters.resourceGroupName,
|
|
478
|
+
Parameters.elasticSanName,
|
|
479
|
+
Parameters.nextLink,
|
|
480
|
+
Parameters.volumeGroupName,
|
|
481
|
+
],
|
|
482
|
+
headerParameters: [Parameters.accept],
|
|
483
|
+
serializer,
|
|
484
|
+
};
|
|
485
|
+
//# sourceMappingURL=volumes.js.map
|
|
@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QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Volumes } 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 { ElasticSanManagement } from \"../elasticSanManagement.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Volume,\n VolumesListByVolumeGroupNextOptionalParams,\n VolumesListByVolumeGroupOptionalParams,\n VolumesListByVolumeGroupResponse,\n VolumesCreateOptionalParams,\n VolumesCreateResponse,\n VolumeUpdate,\n VolumesUpdateOptionalParams,\n VolumesUpdateResponse,\n VolumesDeleteOptionalParams,\n VolumesGetOptionalParams,\n VolumesGetResponse,\n VolumesListByVolumeGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Volumes operations. */\nexport class VolumesImpl implements Volumes {\n private readonly client: ElasticSanManagement;\n\n /**\n * Initialize a new instance of the class Volumes class.\n * @param client Reference to the service client\n */\n constructor(client: ElasticSanManagement) {\n this.client = client;\n }\n\n /**\n * List Volumes in a VolumeGroup.\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 options The options parameters.\n */\n public listByVolumeGroup(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n options?: VolumesListByVolumeGroupOptionalParams,\n ): PagedAsyncIterableIterator<Volume> {\n const iter = this.listByVolumeGroupPagingAll(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n options,\n );\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.listByVolumeGroupPagingPage(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByVolumeGroupPagingPage(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n options?: VolumesListByVolumeGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Volume[]> {\n let result: VolumesListByVolumeGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByVolumeGroup(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByVolumeGroupNext(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\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 *listByVolumeGroupPagingAll(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n options?: VolumesListByVolumeGroupOptionalParams,\n ): AsyncIterableIterator<Volume> {\n for await (const page of this.listByVolumeGroupPagingPage(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a Volume.\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 parameters Volume object.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n parameters: Volume,\n options?: VolumesCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VolumesCreateResponse>,\n VolumesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<VolumesCreateResponse> => {\n return this.client.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 parameters,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n VolumesCreateResponse,\n OperationState<VolumesCreateResponse>\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 * Create a Volume.\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 parameters Volume object.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n parameters: Volume,\n options?: VolumesCreateOptionalParams,\n ): Promise<VolumesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an Volume.\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 parameters Volume object.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n parameters: VolumeUpdate,\n options?: VolumesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<VolumesUpdateResponse>,\n VolumesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<VolumesUpdateResponse> => {\n return this.client.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 parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n VolumesUpdateResponse,\n OperationState<VolumesUpdateResponse>\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 * Update an Volume.\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 parameters Volume object.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n parameters: VolumeUpdate,\n options?: VolumesUpdateOptionalParams,\n ): Promise<VolumesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an Volume.\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 beginDelete(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: VolumesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.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: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an Volume.\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 beginDeleteAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: VolumesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get an Volume.\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 get(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n volumeName: string,\n options?: VolumesGetOptionalParams,\n ): Promise<VolumesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n elasticSanName,\n volumeGroupName,\n volumeName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * List Volumes in a VolumeGroup.\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 options The options parameters.\n */\n private _listByVolumeGroup(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n options?: VolumesListByVolumeGroupOptionalParams,\n ): Promise<VolumesListByVolumeGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, elasticSanName, volumeGroupName, options },\n listByVolumeGroupOperationSpec,\n );\n }\n\n /**\n * ListByVolumeGroupNext\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 nextLink The nextLink from the previous successful call to the ListByVolumeGroup method.\n * @param options The options parameters.\n */\n private _listByVolumeGroupNext(\n resourceGroupName: string,\n elasticSanName: string,\n volumeGroupName: string,\n nextLink: string,\n options?: VolumesListByVolumeGroupNextOptionalParams,\n ): Promise<VolumesListByVolumeGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, elasticSanName, volumeGroupName, nextLink, options },\n listByVolumeGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n httpMethod: \"PUT\",\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 requestBody: Parameters.parameters4,\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, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n httpMethod: \"PATCH\",\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 requestBody: Parameters.parameters5,\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, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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: [\n Parameters.accept,\n Parameters.xMsDeleteSnapshots,\n Parameters.xMsForceDelete,\n ],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes/{volumeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\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};\nconst listByVolumeGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ElasticSan/elasticSans/{elasticSanName}/volumegroups/{volumeGroupName}/volumes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VolumeList,\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 ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByVolumeGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.VolumeList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.elasticSanName,\n Parameters.nextLink,\n Parameters.volumeGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
3
|
+
import { ElasticSan, ElasticSansListBySubscriptionOptionalParams, ElasticSansListByResourceGroupOptionalParams, ElasticSansCreateOptionalParams, ElasticSansCreateResponse, ElasticSanUpdate, ElasticSansUpdateOptionalParams, ElasticSansUpdateResponse, ElasticSansDeleteOptionalParams, ElasticSansGetOptionalParams, ElasticSansGetResponse } from "../models/index.js";
|
|
4
|
+
/** Interface representing a ElasticSans. */
|
|
5
|
+
export interface ElasticSans {
|
|
6
|
+
/**
|
|
7
|
+
* Gets a list of ElasticSans in a subscription
|
|
8
|
+
* @param options The options parameters.
|
|
9
|
+
*/
|
|
10
|
+
listBySubscription(options?: ElasticSansListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
|
|
11
|
+
/**
|
|
12
|
+
* Gets a list of ElasticSan in a resource group.
|
|
13
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
listByResourceGroup(resourceGroupName: string, options?: ElasticSansListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ElasticSan>;
|
|
17
|
+
/**
|
|
18
|
+
* Create ElasticSan.
|
|
19
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
20
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
21
|
+
* @param parameters Elastic San object.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
beginCreate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansCreateResponse>, ElasticSansCreateResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* Create ElasticSan.
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
29
|
+
* @param parameters Elastic San object.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
beginCreateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSan, options?: ElasticSansCreateOptionalParams): Promise<ElasticSansCreateResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Update a Elastic San.
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
37
|
+
* @param parameters Elastic San object.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
beginUpdate(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ElasticSansUpdateResponse>, ElasticSansUpdateResponse>>;
|
|
41
|
+
/**
|
|
42
|
+
* Update a Elastic San.
|
|
43
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
44
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
45
|
+
* @param parameters Elastic San object.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
beginUpdateAndWait(resourceGroupName: string, elasticSanName: string, parameters: ElasticSanUpdate, options?: ElasticSansUpdateOptionalParams): Promise<ElasticSansUpdateResponse>;
|
|
49
|
+
/**
|
|
50
|
+
* Delete a Elastic San.
|
|
51
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
52
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
53
|
+
* @param options The options parameters.
|
|
54
|
+
*/
|
|
55
|
+
beginDelete(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
56
|
+
/**
|
|
57
|
+
* Delete a Elastic San.
|
|
58
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
59
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
60
|
+
* @param options The options parameters.
|
|
61
|
+
*/
|
|
62
|
+
beginDeleteAndWait(resourceGroupName: string, elasticSanName: string, options?: ElasticSansDeleteOptionalParams): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Get a ElasticSan.
|
|
65
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
66
|
+
* @param elasticSanName The name of the ElasticSan.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
get(resourceGroupName: string, elasticSanName: string, options?: ElasticSansGetOptionalParams): Promise<ElasticSansGetResponse>;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=elasticSans.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elasticSans.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/elasticSans.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,UAAU,EACV,2CAA2C,EAC3C,4CAA4C,EAC5C,+BAA+B,EAC/B,yBAAyB,EACzB,gBAAgB,EAChB,+BAA+B,EAC/B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;OAIG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4CAA4C,GACrD,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yBAAyB,CAAC,EACzC,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yBAAyB,CAAC,EACzC,yBAAyB,CAC1B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,gBAAgB,EAC5B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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 {};
|
|
9
|
+
//# sourceMappingURL=elasticSans.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elasticSans.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/elasticSans.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n ElasticSan,\n ElasticSansListBySubscriptionOptionalParams,\n ElasticSansListByResourceGroupOptionalParams,\n ElasticSansCreateOptionalParams,\n ElasticSansCreateResponse,\n ElasticSanUpdate,\n ElasticSansUpdateOptionalParams,\n ElasticSansUpdateResponse,\n ElasticSansDeleteOptionalParams,\n ElasticSansGetOptionalParams,\n ElasticSansGetResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a ElasticSans. */\nexport interface ElasticSans {\n /**\n * Gets a list of ElasticSans in a subscription\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ElasticSansListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ElasticSan>;\n /**\n * Gets a list of ElasticSan in a resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: ElasticSansListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ElasticSan>;\n /**\n * Create ElasticSan.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param parameters Elastic San object.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n elasticSanName: string,\n parameters: ElasticSan,\n options?: ElasticSansCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ElasticSansCreateResponse>,\n ElasticSansCreateResponse\n >\n >;\n /**\n * Create ElasticSan.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param parameters Elastic San object.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n parameters: ElasticSan,\n options?: ElasticSansCreateOptionalParams,\n ): Promise<ElasticSansCreateResponse>;\n /**\n * Update a Elastic San.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param parameters Elastic San object.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n elasticSanName: string,\n parameters: ElasticSanUpdate,\n options?: ElasticSansUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ElasticSansUpdateResponse>,\n ElasticSansUpdateResponse\n >\n >;\n /**\n * Update a Elastic San.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param parameters Elastic San object.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n parameters: ElasticSanUpdate,\n options?: ElasticSansUpdateOptionalParams,\n ): Promise<ElasticSansUpdateResponse>;\n /**\n * Delete a Elastic San.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n elasticSanName: string,\n options?: ElasticSansDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete a Elastic San.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n elasticSanName: string,\n options?: ElasticSansDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Get a ElasticSan.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param elasticSanName The name of the ElasticSan.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n elasticSanName: string,\n options?: ElasticSansGetOptionalParams,\n ): Promise<ElasticSansGetResponse>;\n}\n"]}
|