@azure/arm-netapp 23.0.0 → 24.0.0
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/browser/api/accounts/index.d.ts +1 -1
- package/dist/browser/api/accounts/index.js.map +1 -1
- package/dist/browser/api/accounts/operations.js +19 -19
- package/dist/browser/api/accounts/operations.js.map +1 -1
- package/dist/browser/api/backupPolicies/index.d.ts +1 -1
- package/dist/browser/api/backupPolicies/index.js.map +1 -1
- package/dist/browser/api/backupPolicies/operations.js +9 -9
- package/dist/browser/api/backupPolicies/operations.js.map +1 -1
- package/dist/browser/api/backupVaults/index.d.ts +1 -1
- package/dist/browser/api/backupVaults/index.js.map +1 -1
- package/dist/browser/api/backupVaults/operations.js +9 -9
- package/dist/browser/api/backupVaults/operations.js.map +1 -1
- package/dist/browser/api/backups/index.d.ts +1 -1
- package/dist/browser/api/backups/index.js.map +1 -1
- package/dist/browser/api/backups/operations.js +11 -11
- package/dist/browser/api/backups/operations.js.map +1 -1
- package/dist/browser/api/backupsUnderAccount/index.d.ts +1 -1
- package/dist/browser/api/backupsUnderAccount/index.js.map +1 -1
- package/dist/browser/api/backupsUnderAccount/operations.js +2 -2
- package/dist/browser/api/backupsUnderAccount/operations.js.map +1 -1
- package/dist/browser/api/backupsUnderBackupVault/index.d.ts +1 -1
- package/dist/browser/api/backupsUnderBackupVault/index.js.map +1 -1
- package/dist/browser/api/backupsUnderBackupVault/operations.js +2 -2
- package/dist/browser/api/backupsUnderBackupVault/operations.js.map +1 -1
- package/dist/browser/api/backupsUnderVolume/index.d.ts +1 -1
- package/dist/browser/api/backupsUnderVolume/index.js.map +1 -1
- package/dist/browser/api/backupsUnderVolume/operations.js +2 -2
- package/dist/browser/api/backupsUnderVolume/operations.js.map +1 -1
- package/dist/browser/api/buckets/index.d.ts +3 -0
- package/dist/browser/api/buckets/index.js +4 -0
- package/dist/browser/api/buckets/index.js.map +1 -0
- package/dist/browser/api/buckets/operations.d.ts +44 -0
- package/dist/browser/api/buckets/operations.js +285 -0
- package/dist/browser/api/buckets/operations.js.map +1 -0
- package/dist/browser/api/buckets/options.d.ts +36 -0
- package/dist/browser/api/buckets/options.js +4 -0
- package/dist/browser/api/buckets/options.js.map +1 -0
- package/dist/browser/api/caches/index.d.ts +3 -0
- package/dist/browser/api/caches/index.js +4 -0
- package/dist/browser/api/caches/index.js.map +1 -0
- package/dist/browser/api/caches/operations.d.ts +44 -0
- package/dist/browser/api/caches/operations.js +279 -0
- package/dist/browser/api/caches/operations.js.map +1 -0
- package/dist/browser/api/caches/options.d.ts +36 -0
- package/dist/browser/api/caches/options.js +4 -0
- package/dist/browser/api/caches/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +2 -1
- package/dist/browser/api/index.js +1 -1
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/netAppManagementContext.js +1 -1
- package/dist/browser/api/netAppManagementContext.js.map +1 -1
- package/dist/browser/api/netAppResource/index.d.ts +1 -1
- package/dist/browser/api/netAppResource/index.js.map +1 -1
- package/dist/browser/api/netAppResource/operations.js +7 -7
- package/dist/browser/api/netAppResource/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceQuotaLimits/index.d.ts +1 -1
- package/dist/browser/api/netAppResourceQuotaLimits/index.js.map +1 -1
- package/dist/browser/api/netAppResourceQuotaLimits/operations.js +3 -3
- package/dist/browser/api/netAppResourceQuotaLimits/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/index.d.ts +1 -1
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/index.js.map +1 -1
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js +3 -3
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceRegionInfos/index.d.ts +1 -1
- package/dist/browser/api/netAppResourceRegionInfos/index.js.map +1 -1
- package/dist/browser/api/netAppResourceRegionInfos/operations.js +3 -3
- package/dist/browser/api/netAppResourceRegionInfos/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceUsages/index.d.ts +1 -1
- package/dist/browser/api/netAppResourceUsages/index.js.map +1 -1
- package/dist/browser/api/netAppResourceUsages/operations.js +3 -3
- package/dist/browser/api/netAppResourceUsages/operations.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +1 -1
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/api/operations/operations.js +2 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/pools/index.d.ts +1 -1
- package/dist/browser/api/pools/index.js.map +1 -1
- package/dist/browser/api/pools/operations.js +9 -9
- package/dist/browser/api/pools/operations.js.map +1 -1
- package/dist/browser/api/ransomwareReports/index.d.ts +1 -1
- package/dist/browser/api/ransomwareReports/index.js.map +1 -1
- package/dist/browser/api/ransomwareReports/operations.js +5 -5
- package/dist/browser/api/ransomwareReports/operations.js.map +1 -1
- package/dist/browser/api/snapshotPolicies/index.d.ts +1 -1
- package/dist/browser/api/snapshotPolicies/index.js.map +1 -1
- package/dist/browser/api/snapshotPolicies/operations.js +9 -9
- package/dist/browser/api/snapshotPolicies/operations.js.map +1 -1
- package/dist/browser/api/snapshots/index.d.ts +1 -1
- package/dist/browser/api/snapshots/index.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +11 -11
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/subvolumes/index.d.ts +1 -1
- package/dist/browser/api/subvolumes/index.js.map +1 -1
- package/dist/browser/api/subvolumes/operations.js +11 -11
- package/dist/browser/api/subvolumes/operations.js.map +1 -1
- package/dist/browser/api/volumeGroups/index.d.ts +1 -1
- package/dist/browser/api/volumeGroups/index.js.map +1 -1
- package/dist/browser/api/volumeGroups/operations.js +7 -7
- package/dist/browser/api/volumeGroups/operations.js.map +1 -1
- package/dist/browser/api/volumeQuotaRules/index.d.ts +1 -1
- package/dist/browser/api/volumeQuotaRules/index.js.map +1 -1
- package/dist/browser/api/volumeQuotaRules/operations.js +9 -9
- package/dist/browser/api/volumeQuotaRules/operations.js.map +1 -1
- package/dist/browser/api/volumes/index.d.ts +1 -1
- package/dist/browser/api/volumes/index.js.map +1 -1
- package/dist/browser/api/volumes/operations.js +56 -56
- package/dist/browser/api/volumes/operations.js.map +1 -1
- package/dist/browser/classic/buckets/index.d.ts +31 -0
- package/dist/browser/classic/buckets/index.js +21 -0
- package/dist/browser/classic/buckets/index.js.map +1 -0
- package/dist/browser/classic/caches/index.d.ts +31 -0
- package/dist/browser/classic/caches/index.js +21 -0
- package/dist/browser/classic/caches/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +23 -21
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/index.d.ts +35 -29
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -1
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +954 -45
- package/dist/browser/models/models.js +753 -31
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/netAppManagementClient.d.ts +7 -1
- package/dist/browser/netAppManagementClient.js +8 -0
- package/dist/browser/netAppManagementClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +14 -2
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/urlTemplate.js +5 -5
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -1
- package/dist/commonjs/api/accounts/index.d.ts +1 -1
- package/dist/commonjs/api/accounts/index.js +46 -17
- package/dist/commonjs/api/accounts/index.js.map +7 -1
- package/dist/commonjs/api/accounts/operations.js +387 -297
- package/dist/commonjs/api/accounts/operations.js.map +7 -1
- package/dist/commonjs/api/accounts/options.js +16 -5
- package/dist/commonjs/api/accounts/options.js.map +7 -1
- package/dist/commonjs/api/backupPolicies/index.d.ts +1 -1
- package/dist/commonjs/api/backupPolicies/index.js +36 -12
- package/dist/commonjs/api/backupPolicies/index.js.map +7 -1
- package/dist/commonjs/api/backupPolicies/operations.js +210 -159
- package/dist/commonjs/api/backupPolicies/operations.js.map +7 -1
- package/dist/commonjs/api/backupPolicies/options.js +16 -5
- package/dist/commonjs/api/backupPolicies/options.js.map +7 -1
- package/dist/commonjs/api/backupVaults/index.d.ts +1 -1
- package/dist/commonjs/api/backupVaults/index.js +36 -12
- package/dist/commonjs/api/backupVaults/index.js.map +7 -1
- package/dist/commonjs/api/backupVaults/operations.js +210 -159
- package/dist/commonjs/api/backupVaults/operations.js.map +7 -1
- package/dist/commonjs/api/backupVaults/options.js +16 -5
- package/dist/commonjs/api/backupVaults/options.js.map +7 -1
- package/dist/commonjs/api/backups/index.d.ts +1 -1
- package/dist/commonjs/api/backups/index.js +40 -14
- package/dist/commonjs/api/backups/index.js.map +7 -1
- package/dist/commonjs/api/backups/operations.js +311 -219
- package/dist/commonjs/api/backups/operations.js.map +7 -1
- package/dist/commonjs/api/backups/options.js +16 -5
- package/dist/commonjs/api/backups/options.js.map +7 -1
- package/dist/commonjs/api/backupsUnderAccount/index.d.ts +1 -1
- package/dist/commonjs/api/backupsUnderAccount/index.js +28 -8
- package/dist/commonjs/api/backupsUnderAccount/index.js.map +7 -1
- package/dist/commonjs/api/backupsUnderAccount/operations.js +66 -40
- package/dist/commonjs/api/backupsUnderAccount/operations.js.map +7 -1
- package/dist/commonjs/api/backupsUnderAccount/options.js +16 -5
- package/dist/commonjs/api/backupsUnderAccount/options.js.map +7 -1
- package/dist/commonjs/api/backupsUnderBackupVault/index.d.ts +1 -1
- package/dist/commonjs/api/backupsUnderBackupVault/index.js +28 -8
- package/dist/commonjs/api/backupsUnderBackupVault/index.js.map +7 -1
- package/dist/commonjs/api/backupsUnderBackupVault/operations.js +76 -42
- package/dist/commonjs/api/backupsUnderBackupVault/operations.js.map +7 -1
- package/dist/commonjs/api/backupsUnderBackupVault/options.js +16 -5
- package/dist/commonjs/api/backupsUnderBackupVault/options.js.map +7 -1
- package/dist/commonjs/api/backupsUnderVolume/index.d.ts +1 -1
- package/dist/commonjs/api/backupsUnderVolume/index.js +28 -8
- package/dist/commonjs/api/backupsUnderVolume/index.js.map +7 -1
- package/dist/commonjs/api/backupsUnderVolume/operations.js +76 -42
- package/dist/commonjs/api/backupsUnderVolume/operations.js.map +7 -1
- package/dist/commonjs/api/backupsUnderVolume/options.js +16 -5
- package/dist/commonjs/api/backupsUnderVolume/options.js.map +7 -1
- package/dist/commonjs/api/buckets/index.d.ts +3 -0
- package/dist/commonjs/api/buckets/index.js +42 -0
- package/dist/commonjs/api/buckets/index.js.map +7 -0
- package/dist/commonjs/api/buckets/operations.d.ts +44 -0
- package/dist/commonjs/api/buckets/operations.js +440 -0
- package/dist/commonjs/api/buckets/operations.js.map +7 -0
- package/dist/commonjs/api/buckets/options.d.ts +36 -0
- package/dist/commonjs/api/buckets/options.js +16 -0
- package/dist/commonjs/api/buckets/options.js.map +7 -0
- package/dist/commonjs/api/caches/index.d.ts +3 -0
- package/dist/commonjs/api/caches/index.js +42 -0
- package/dist/commonjs/api/caches/index.js.map +7 -0
- package/dist/commonjs/api/caches/operations.d.ts +44 -0
- package/dist/commonjs/api/caches/operations.js +396 -0
- package/dist/commonjs/api/caches/operations.js.map +7 -0
- package/dist/commonjs/api/caches/options.d.ts +36 -0
- package/dist/commonjs/api/caches/options.js +16 -0
- package/dist/commonjs/api/caches/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +2 -1
- package/dist/commonjs/api/index.js +28 -8
- package/dist/commonjs/api/index.js.map +7 -1
- package/dist/commonjs/api/netAppManagementContext.js +43 -25
- package/dist/commonjs/api/netAppManagementContext.js.map +7 -1
- package/dist/commonjs/api/netAppResource/index.d.ts +1 -1
- package/dist/commonjs/api/netAppResource/index.js +38 -13
- package/dist/commonjs/api/netAppResource/index.js.map +7 -1
- package/dist/commonjs/api/netAppResource/operations.js +224 -168
- package/dist/commonjs/api/netAppResource/operations.js.map +7 -1
- package/dist/commonjs/api/netAppResource/options.js +16 -5
- package/dist/commonjs/api/netAppResource/options.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimits/index.d.ts +1 -1
- package/dist/commonjs/api/netAppResourceQuotaLimits/index.js +30 -9
- package/dist/commonjs/api/netAppResourceQuotaLimits/index.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js +95 -57
- package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimits/options.js +16 -5
- package/dist/commonjs/api/netAppResourceQuotaLimits/options.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/index.d.ts +1 -1
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/index.js +30 -9
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/index.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js +97 -59
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js.map +7 -1
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/options.js +16 -5
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/options.js.map +7 -1
- package/dist/commonjs/api/netAppResourceRegionInfos/index.d.ts +1 -1
- package/dist/commonjs/api/netAppResourceRegionInfos/index.js +30 -9
- package/dist/commonjs/api/netAppResourceRegionInfos/index.js.map +7 -1
- package/dist/commonjs/api/netAppResourceRegionInfos/operations.js +94 -56
- package/dist/commonjs/api/netAppResourceRegionInfos/operations.js.map +7 -1
- package/dist/commonjs/api/netAppResourceRegionInfos/options.js +16 -5
- package/dist/commonjs/api/netAppResourceRegionInfos/options.js.map +7 -1
- package/dist/commonjs/api/netAppResourceUsages/index.d.ts +1 -1
- package/dist/commonjs/api/netAppResourceUsages/index.js +30 -9
- package/dist/commonjs/api/netAppResourceUsages/index.js.map +7 -1
- package/dist/commonjs/api/netAppResourceUsages/operations.js +95 -57
- package/dist/commonjs/api/netAppResourceUsages/operations.js.map +7 -1
- package/dist/commonjs/api/netAppResourceUsages/options.js +16 -5
- package/dist/commonjs/api/netAppResourceUsages/options.js.map +7 -1
- package/dist/commonjs/api/operations/index.d.ts +1 -1
- package/dist/commonjs/api/operations/index.js +28 -8
- package/dist/commonjs/api/operations/index.js.map +7 -1
- package/dist/commonjs/api/operations/operations.js +62 -30
- package/dist/commonjs/api/operations/operations.js.map +7 -1
- package/dist/commonjs/api/operations/options.js +16 -5
- package/dist/commonjs/api/operations/options.js.map +7 -1
- package/dist/commonjs/api/pools/index.d.ts +1 -1
- package/dist/commonjs/api/pools/index.js +36 -12
- package/dist/commonjs/api/pools/index.js.map +7 -1
- package/dist/commonjs/api/pools/operations.js +210 -159
- package/dist/commonjs/api/pools/operations.js.map +7 -1
- package/dist/commonjs/api/pools/options.js +16 -5
- package/dist/commonjs/api/pools/options.js.map +7 -1
- package/dist/commonjs/api/ransomwareReports/index.d.ts +1 -1
- package/dist/commonjs/api/ransomwareReports/index.js +32 -10
- package/dist/commonjs/api/ransomwareReports/index.js.map +7 -1
- package/dist/commonjs/api/ransomwareReports/operations.js +159 -110
- package/dist/commonjs/api/ransomwareReports/operations.js.map +7 -1
- package/dist/commonjs/api/ransomwareReports/options.js +16 -5
- package/dist/commonjs/api/ransomwareReports/options.js.map +7 -1
- package/dist/commonjs/api/snapshotPolicies/index.d.ts +1 -1
- package/dist/commonjs/api/snapshotPolicies/index.js +38 -13
- package/dist/commonjs/api/snapshotPolicies/index.js.map +7 -1
- package/dist/commonjs/api/snapshotPolicies/operations.js +257 -181
- package/dist/commonjs/api/snapshotPolicies/operations.js.map +7 -1
- package/dist/commonjs/api/snapshotPolicies/options.js +16 -5
- package/dist/commonjs/api/snapshotPolicies/options.js.map +7 -1
- package/dist/commonjs/api/snapshots/index.d.ts +1 -1
- package/dist/commonjs/api/snapshots/index.js +38 -13
- package/dist/commonjs/api/snapshots/index.js.map +7 -1
- package/dist/commonjs/api/snapshots/operations.js +304 -204
- package/dist/commonjs/api/snapshots/operations.js.map +7 -1
- package/dist/commonjs/api/snapshots/options.js +16 -5
- package/dist/commonjs/api/snapshots/options.js.map +7 -1
- package/dist/commonjs/api/subvolumes/index.d.ts +1 -1
- package/dist/commonjs/api/subvolumes/index.js +38 -13
- package/dist/commonjs/api/subvolumes/index.js.map +7 -1
- package/dist/commonjs/api/subvolumes/operations.js +302 -203
- package/dist/commonjs/api/subvolumes/operations.js.map +7 -1
- package/dist/commonjs/api/subvolumes/options.js +16 -5
- package/dist/commonjs/api/subvolumes/options.js.map +7 -1
- package/dist/commonjs/api/volumeGroups/index.d.ts +1 -1
- package/dist/commonjs/api/volumeGroups/index.js +34 -11
- package/dist/commonjs/api/volumeGroups/index.js.map +7 -1
- package/dist/commonjs/api/volumeGroups/operations.js +171 -126
- package/dist/commonjs/api/volumeGroups/operations.js.map +7 -1
- package/dist/commonjs/api/volumeGroups/options.js +16 -5
- package/dist/commonjs/api/volumeGroups/options.js.map +7 -1
- package/dist/commonjs/api/volumeQuotaRules/index.d.ts +1 -1
- package/dist/commonjs/api/volumeQuotaRules/index.js +36 -12
- package/dist/commonjs/api/volumeQuotaRules/index.js.map +7 -1
- package/dist/commonjs/api/volumeQuotaRules/operations.js +254 -169
- package/dist/commonjs/api/volumeQuotaRules/operations.js.map +7 -1
- package/dist/commonjs/api/volumeQuotaRules/options.js +16 -5
- package/dist/commonjs/api/volumeQuotaRules/options.js.map +7 -1
- package/dist/commonjs/api/volumes/index.d.ts +1 -1
- package/dist/commonjs/api/volumes/index.js +82 -35
- package/dist/commonjs/api/volumes/index.js.map +7 -1
- package/dist/commonjs/api/volumes/operations.js +1227 -883
- package/dist/commonjs/api/volumes/operations.js.map +7 -1
- package/dist/commonjs/api/volumes/options.js +16 -5
- package/dist/commonjs/api/volumes/options.js.map +7 -1
- package/dist/commonjs/classic/accounts/index.js +43 -22
- package/dist/commonjs/classic/accounts/index.js.map +7 -1
- package/dist/commonjs/classic/backupPolicies/index.js +38 -17
- package/dist/commonjs/classic/backupPolicies/index.js.map +7 -1
- package/dist/commonjs/classic/backupVaults/index.js +38 -17
- package/dist/commonjs/classic/backupVaults/index.js.map +7 -1
- package/dist/commonjs/classic/backups/index.js +47 -19
- package/dist/commonjs/classic/backups/index.js.map +7 -1
- package/dist/commonjs/classic/backupsUnderAccount/index.js +34 -13
- package/dist/commonjs/classic/backupsUnderAccount/index.js.map +7 -1
- package/dist/commonjs/classic/backupsUnderBackupVault/index.js +42 -13
- package/dist/commonjs/classic/backupsUnderBackupVault/index.js.map +7 -1
- package/dist/commonjs/classic/backupsUnderVolume/index.js +34 -13
- package/dist/commonjs/classic/backupsUnderVolume/index.js.map +7 -1
- package/dist/commonjs/classic/buckets/index.d.ts +31 -0
- package/dist/commonjs/classic/buckets/index.js +89 -0
- package/dist/commonjs/classic/buckets/index.js.map +7 -0
- package/dist/commonjs/classic/caches/index.d.ts +31 -0
- package/dist/commonjs/classic/caches/index.js +45 -0
- package/dist/commonjs/classic/caches/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +23 -21
- package/dist/commonjs/classic/index.js +16 -5
- package/dist/commonjs/classic/index.js.map +7 -1
- package/dist/commonjs/classic/netAppResource/index.js +39 -18
- package/dist/commonjs/classic/netAppResource/index.js.map +7 -1
- package/dist/commonjs/classic/netAppResourceQuotaLimits/index.js +35 -14
- package/dist/commonjs/classic/netAppResourceQuotaLimits/index.js.map +7 -1
- package/dist/commonjs/classic/netAppResourceQuotaLimitsAccount/index.js +35 -14
- package/dist/commonjs/classic/netAppResourceQuotaLimitsAccount/index.js.map +7 -1
- package/dist/commonjs/classic/netAppResourceRegionInfos/index.js +35 -14
- package/dist/commonjs/classic/netAppResourceRegionInfos/index.js.map +7 -1
- package/dist/commonjs/classic/netAppResourceUsages/index.js +35 -14
- package/dist/commonjs/classic/netAppResourceUsages/index.js.map +7 -1
- package/dist/commonjs/classic/operations/index.js +34 -13
- package/dist/commonjs/classic/operations/index.js.map +7 -1
- package/dist/commonjs/classic/pools/index.js +38 -17
- package/dist/commonjs/classic/pools/index.js.map +7 -1
- package/dist/commonjs/classic/ransomwareReports/index.js +53 -15
- package/dist/commonjs/classic/ransomwareReports/index.js.map +7 -1
- package/dist/commonjs/classic/snapshotPolicies/index.js +39 -18
- package/dist/commonjs/classic/snapshotPolicies/index.js.map +7 -1
- package/dist/commonjs/classic/snapshots/index.js +66 -18
- package/dist/commonjs/classic/snapshots/index.js.map +7 -1
- package/dist/commonjs/classic/subvolumes/index.js +73 -18
- package/dist/commonjs/classic/subvolumes/index.js.map +7 -1
- package/dist/commonjs/classic/volumeGroups/index.js +37 -16
- package/dist/commonjs/classic/volumeGroups/index.js.map +7 -1
- package/dist/commonjs/classic/volumeQuotaRules/index.js +72 -17
- package/dist/commonjs/classic/volumeQuotaRules/index.js.map +7 -1
- package/dist/commonjs/classic/volumes/index.js +128 -40
- package/dist/commonjs/classic/volumes/index.js.map +7 -1
- package/dist/commonjs/index.d.ts +35 -29
- package/dist/commonjs/index.js +163 -60
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.js +29 -8
- package/dist/commonjs/logger.js.map +7 -1
- package/dist/commonjs/models/index.d.ts +2 -1
- package/dist/commonjs/models/index.js +154 -54
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +954 -45
- package/dist/commonjs/models/models.js +2947 -2423
- package/dist/commonjs/models/models.js.map +7 -1
- package/dist/commonjs/netAppManagementClient.d.ts +7 -1
- package/dist/commonjs/netAppManagementClient.js +141 -114
- package/dist/commonjs/netAppManagementClient.js.map +7 -1
- package/dist/commonjs/restorePollerHelpers.js +204 -182
- package/dist/commonjs/restorePollerHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +50 -40
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js +123 -126
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +93 -90
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -1
- package/dist/commonjs/static-helpers/urlTemplate.js +166 -172
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/accounts/index.d.ts +1 -1
- package/dist/esm/api/accounts/index.js.map +1 -1
- package/dist/esm/api/accounts/operations.js +19 -19
- package/dist/esm/api/accounts/operations.js.map +1 -1
- package/dist/esm/api/backupPolicies/index.d.ts +1 -1
- package/dist/esm/api/backupPolicies/index.js.map +1 -1
- package/dist/esm/api/backupPolicies/operations.js +9 -9
- package/dist/esm/api/backupPolicies/operations.js.map +1 -1
- package/dist/esm/api/backupVaults/index.d.ts +1 -1
- package/dist/esm/api/backupVaults/index.js.map +1 -1
- package/dist/esm/api/backupVaults/operations.js +9 -9
- package/dist/esm/api/backupVaults/operations.js.map +1 -1
- package/dist/esm/api/backups/index.d.ts +1 -1
- package/dist/esm/api/backups/index.js.map +1 -1
- package/dist/esm/api/backups/operations.js +11 -11
- package/dist/esm/api/backups/operations.js.map +1 -1
- package/dist/esm/api/backupsUnderAccount/index.d.ts +1 -1
- package/dist/esm/api/backupsUnderAccount/index.js.map +1 -1
- package/dist/esm/api/backupsUnderAccount/operations.js +2 -2
- package/dist/esm/api/backupsUnderAccount/operations.js.map +1 -1
- package/dist/esm/api/backupsUnderBackupVault/index.d.ts +1 -1
- package/dist/esm/api/backupsUnderBackupVault/index.js.map +1 -1
- package/dist/esm/api/backupsUnderBackupVault/operations.js +2 -2
- package/dist/esm/api/backupsUnderBackupVault/operations.js.map +1 -1
- package/dist/esm/api/backupsUnderVolume/index.d.ts +1 -1
- package/dist/esm/api/backupsUnderVolume/index.js.map +1 -1
- package/dist/esm/api/backupsUnderVolume/operations.js +2 -2
- package/dist/esm/api/backupsUnderVolume/operations.js.map +1 -1
- package/dist/esm/api/buckets/index.d.ts +3 -0
- package/dist/esm/api/buckets/index.js +4 -0
- package/dist/esm/api/buckets/index.js.map +1 -0
- package/dist/esm/api/buckets/operations.d.ts +44 -0
- package/dist/esm/api/buckets/operations.js +285 -0
- package/dist/esm/api/buckets/operations.js.map +1 -0
- package/dist/esm/api/buckets/options.d.ts +36 -0
- package/dist/esm/api/buckets/options.js +4 -0
- package/dist/esm/api/buckets/options.js.map +1 -0
- package/dist/esm/api/caches/index.d.ts +3 -0
- package/dist/esm/api/caches/index.js +4 -0
- package/dist/esm/api/caches/index.js.map +1 -0
- package/dist/esm/api/caches/operations.d.ts +44 -0
- package/dist/esm/api/caches/operations.js +279 -0
- package/dist/esm/api/caches/operations.js.map +1 -0
- package/dist/esm/api/caches/options.d.ts +36 -0
- package/dist/esm/api/caches/options.js +4 -0
- package/dist/esm/api/caches/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +2 -1
- package/dist/esm/api/index.js +1 -1
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/netAppManagementContext.js +1 -1
- package/dist/esm/api/netAppManagementContext.js.map +1 -1
- package/dist/esm/api/netAppResource/index.d.ts +1 -1
- package/dist/esm/api/netAppResource/index.js.map +1 -1
- package/dist/esm/api/netAppResource/operations.js +7 -7
- package/dist/esm/api/netAppResource/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceQuotaLimits/index.d.ts +1 -1
- package/dist/esm/api/netAppResourceQuotaLimits/index.js.map +1 -1
- package/dist/esm/api/netAppResourceQuotaLimits/operations.js +3 -3
- package/dist/esm/api/netAppResourceQuotaLimits/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/index.d.ts +1 -1
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/index.js.map +1 -1
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js +3 -3
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceRegionInfos/index.d.ts +1 -1
- package/dist/esm/api/netAppResourceRegionInfos/index.js.map +1 -1
- package/dist/esm/api/netAppResourceRegionInfos/operations.js +3 -3
- package/dist/esm/api/netAppResourceRegionInfos/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceUsages/index.d.ts +1 -1
- package/dist/esm/api/netAppResourceUsages/index.js.map +1 -1
- package/dist/esm/api/netAppResourceUsages/operations.js +3 -3
- package/dist/esm/api/netAppResourceUsages/operations.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +1 -1
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/api/operations/operations.js +2 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/pools/index.d.ts +1 -1
- package/dist/esm/api/pools/index.js.map +1 -1
- package/dist/esm/api/pools/operations.js +9 -9
- package/dist/esm/api/pools/operations.js.map +1 -1
- package/dist/esm/api/ransomwareReports/index.d.ts +1 -1
- package/dist/esm/api/ransomwareReports/index.js.map +1 -1
- package/dist/esm/api/ransomwareReports/operations.js +5 -5
- package/dist/esm/api/ransomwareReports/operations.js.map +1 -1
- package/dist/esm/api/snapshotPolicies/index.d.ts +1 -1
- package/dist/esm/api/snapshotPolicies/index.js.map +1 -1
- package/dist/esm/api/snapshotPolicies/operations.js +9 -9
- package/dist/esm/api/snapshotPolicies/operations.js.map +1 -1
- package/dist/esm/api/snapshots/index.d.ts +1 -1
- package/dist/esm/api/snapshots/index.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +11 -11
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/api/subvolumes/index.d.ts +1 -1
- package/dist/esm/api/subvolumes/index.js.map +1 -1
- package/dist/esm/api/subvolumes/operations.js +11 -11
- package/dist/esm/api/subvolumes/operations.js.map +1 -1
- package/dist/esm/api/volumeGroups/index.d.ts +1 -1
- package/dist/esm/api/volumeGroups/index.js.map +1 -1
- package/dist/esm/api/volumeGroups/operations.js +7 -7
- package/dist/esm/api/volumeGroups/operations.js.map +1 -1
- package/dist/esm/api/volumeQuotaRules/index.d.ts +1 -1
- package/dist/esm/api/volumeQuotaRules/index.js.map +1 -1
- package/dist/esm/api/volumeQuotaRules/operations.js +9 -9
- package/dist/esm/api/volumeQuotaRules/operations.js.map +1 -1
- package/dist/esm/api/volumes/index.d.ts +1 -1
- package/dist/esm/api/volumes/index.js.map +1 -1
- package/dist/esm/api/volumes/operations.js +56 -56
- package/dist/esm/api/volumes/operations.js.map +1 -1
- package/dist/esm/classic/buckets/index.d.ts +31 -0
- package/dist/esm/classic/buckets/index.js +21 -0
- package/dist/esm/classic/buckets/index.js.map +1 -0
- package/dist/esm/classic/caches/index.d.ts +31 -0
- package/dist/esm/classic/caches/index.js +21 -0
- package/dist/esm/classic/caches/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +23 -21
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/index.d.ts +35 -29
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +954 -45
- package/dist/esm/models/models.js +753 -31
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/netAppManagementClient.d.ts +7 -1
- package/dist/esm/netAppManagementClient.js +8 -0
- package/dist/esm/netAppManagementClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +14 -2
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/urlTemplate.js +5 -5
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -1
- package/dist/react-native/api/accounts/index.d.ts +1 -1
- package/dist/react-native/api/accounts/index.js.map +1 -1
- package/dist/react-native/api/accounts/operations.js +19 -19
- package/dist/react-native/api/accounts/operations.js.map +1 -1
- package/dist/react-native/api/backupPolicies/index.d.ts +1 -1
- package/dist/react-native/api/backupPolicies/index.js.map +1 -1
- package/dist/react-native/api/backupPolicies/operations.js +9 -9
- package/dist/react-native/api/backupPolicies/operations.js.map +1 -1
- package/dist/react-native/api/backupVaults/index.d.ts +1 -1
- package/dist/react-native/api/backupVaults/index.js.map +1 -1
- package/dist/react-native/api/backupVaults/operations.js +9 -9
- package/dist/react-native/api/backupVaults/operations.js.map +1 -1
- package/dist/react-native/api/backups/index.d.ts +1 -1
- package/dist/react-native/api/backups/index.js.map +1 -1
- package/dist/react-native/api/backups/operations.js +11 -11
- package/dist/react-native/api/backups/operations.js.map +1 -1
- package/dist/react-native/api/backupsUnderAccount/index.d.ts +1 -1
- package/dist/react-native/api/backupsUnderAccount/index.js.map +1 -1
- package/dist/react-native/api/backupsUnderAccount/operations.js +2 -2
- package/dist/react-native/api/backupsUnderAccount/operations.js.map +1 -1
- package/dist/react-native/api/backupsUnderBackupVault/index.d.ts +1 -1
- package/dist/react-native/api/backupsUnderBackupVault/index.js.map +1 -1
- package/dist/react-native/api/backupsUnderBackupVault/operations.js +2 -2
- package/dist/react-native/api/backupsUnderBackupVault/operations.js.map +1 -1
- package/dist/react-native/api/backupsUnderVolume/index.d.ts +1 -1
- package/dist/react-native/api/backupsUnderVolume/index.js.map +1 -1
- package/dist/react-native/api/backupsUnderVolume/operations.js +2 -2
- package/dist/react-native/api/backupsUnderVolume/operations.js.map +1 -1
- package/dist/react-native/api/buckets/index.d.ts +3 -0
- package/dist/react-native/api/buckets/index.js +4 -0
- package/dist/react-native/api/buckets/index.js.map +1 -0
- package/dist/react-native/api/buckets/operations.d.ts +44 -0
- package/dist/react-native/api/buckets/operations.js +285 -0
- package/dist/react-native/api/buckets/operations.js.map +1 -0
- package/dist/react-native/api/buckets/options.d.ts +36 -0
- package/dist/react-native/api/buckets/options.js +4 -0
- package/dist/react-native/api/buckets/options.js.map +1 -0
- package/dist/react-native/api/caches/index.d.ts +3 -0
- package/dist/react-native/api/caches/index.js +4 -0
- package/dist/react-native/api/caches/index.js.map +1 -0
- package/dist/react-native/api/caches/operations.d.ts +44 -0
- package/dist/react-native/api/caches/operations.js +279 -0
- package/dist/react-native/api/caches/operations.js.map +1 -0
- package/dist/react-native/api/caches/options.d.ts +36 -0
- package/dist/react-native/api/caches/options.js +4 -0
- package/dist/react-native/api/caches/options.js.map +1 -0
- package/dist/react-native/api/index.d.ts +2 -1
- package/dist/react-native/api/index.js +1 -1
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/netAppManagementContext.js +1 -1
- package/dist/react-native/api/netAppManagementContext.js.map +1 -1
- package/dist/react-native/api/netAppResource/index.d.ts +1 -1
- package/dist/react-native/api/netAppResource/index.js.map +1 -1
- package/dist/react-native/api/netAppResource/operations.js +7 -7
- package/dist/react-native/api/netAppResource/operations.js.map +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimits/index.d.ts +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimits/index.js.map +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimits/operations.js +3 -3
- package/dist/react-native/api/netAppResourceQuotaLimits/operations.js.map +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimitsAccount/index.d.ts +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimitsAccount/index.js.map +1 -1
- package/dist/react-native/api/netAppResourceQuotaLimitsAccount/operations.js +3 -3
- package/dist/react-native/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
- package/dist/react-native/api/netAppResourceRegionInfos/index.d.ts +1 -1
- package/dist/react-native/api/netAppResourceRegionInfos/index.js.map +1 -1
- package/dist/react-native/api/netAppResourceRegionInfos/operations.js +3 -3
- package/dist/react-native/api/netAppResourceRegionInfos/operations.js.map +1 -1
- package/dist/react-native/api/netAppResourceUsages/index.d.ts +1 -1
- package/dist/react-native/api/netAppResourceUsages/index.js.map +1 -1
- package/dist/react-native/api/netAppResourceUsages/operations.js +3 -3
- package/dist/react-native/api/netAppResourceUsages/operations.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +1 -1
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/api/operations/operations.js +2 -2
- package/dist/react-native/api/operations/operations.js.map +1 -1
- package/dist/react-native/api/pools/index.d.ts +1 -1
- package/dist/react-native/api/pools/index.js.map +1 -1
- package/dist/react-native/api/pools/operations.js +9 -9
- package/dist/react-native/api/pools/operations.js.map +1 -1
- package/dist/react-native/api/ransomwareReports/index.d.ts +1 -1
- package/dist/react-native/api/ransomwareReports/index.js.map +1 -1
- package/dist/react-native/api/ransomwareReports/operations.js +5 -5
- package/dist/react-native/api/ransomwareReports/operations.js.map +1 -1
- package/dist/react-native/api/snapshotPolicies/index.d.ts +1 -1
- package/dist/react-native/api/snapshotPolicies/index.js.map +1 -1
- package/dist/react-native/api/snapshotPolicies/operations.js +9 -9
- package/dist/react-native/api/snapshotPolicies/operations.js.map +1 -1
- package/dist/react-native/api/snapshots/index.d.ts +1 -1
- package/dist/react-native/api/snapshots/index.js.map +1 -1
- package/dist/react-native/api/snapshots/operations.js +11 -11
- package/dist/react-native/api/snapshots/operations.js.map +1 -1
- package/dist/react-native/api/subvolumes/index.d.ts +1 -1
- package/dist/react-native/api/subvolumes/index.js.map +1 -1
- package/dist/react-native/api/subvolumes/operations.js +11 -11
- package/dist/react-native/api/subvolumes/operations.js.map +1 -1
- package/dist/react-native/api/volumeGroups/index.d.ts +1 -1
- package/dist/react-native/api/volumeGroups/index.js.map +1 -1
- package/dist/react-native/api/volumeGroups/operations.js +7 -7
- package/dist/react-native/api/volumeGroups/operations.js.map +1 -1
- package/dist/react-native/api/volumeQuotaRules/index.d.ts +1 -1
- package/dist/react-native/api/volumeQuotaRules/index.js.map +1 -1
- package/dist/react-native/api/volumeQuotaRules/operations.js +9 -9
- package/dist/react-native/api/volumeQuotaRules/operations.js.map +1 -1
- package/dist/react-native/api/volumes/index.d.ts +1 -1
- package/dist/react-native/api/volumes/index.js.map +1 -1
- package/dist/react-native/api/volumes/operations.js +56 -56
- package/dist/react-native/api/volumes/operations.js.map +1 -1
- package/dist/react-native/classic/buckets/index.d.ts +31 -0
- package/dist/react-native/classic/buckets/index.js +21 -0
- package/dist/react-native/classic/buckets/index.js.map +1 -0
- package/dist/react-native/classic/caches/index.d.ts +31 -0
- package/dist/react-native/classic/caches/index.js +21 -0
- package/dist/react-native/classic/caches/index.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +23 -21
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/index.d.ts +35 -29
- package/dist/react-native/index.js +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +2 -1
- package/dist/react-native/models/index.js +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +954 -45
- package/dist/react-native/models/models.js +753 -31
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/netAppManagementClient.d.ts +7 -1
- package/dist/react-native/netAppManagementClient.js +8 -0
- package/dist/react-native/netAppManagementClient.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +14 -2
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/static-helpers/urlTemplate.js +5 -5
- package/dist/react-native/static-helpers/urlTemplate.js.map +1 -1
- package/package.json +49 -49
|
@@ -1,1049 +1,1393 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
$delete: () => $delete,
|
|
21
|
+
_$deleteDeserialize: () => _$deleteDeserialize,
|
|
22
|
+
_$deleteSend: () => _$deleteSend,
|
|
23
|
+
_authorizeExternalReplicationDeserialize: () => _authorizeExternalReplicationDeserialize,
|
|
24
|
+
_authorizeExternalReplicationSend: () => _authorizeExternalReplicationSend,
|
|
25
|
+
_authorizeReplicationDeserialize: () => _authorizeReplicationDeserialize,
|
|
26
|
+
_authorizeReplicationSend: () => _authorizeReplicationSend,
|
|
27
|
+
_breakFileLocksDeserialize: () => _breakFileLocksDeserialize,
|
|
28
|
+
_breakFileLocksSend: () => _breakFileLocksSend,
|
|
29
|
+
_breakReplicationDeserialize: () => _breakReplicationDeserialize,
|
|
30
|
+
_breakReplicationSend: () => _breakReplicationSend,
|
|
31
|
+
_createOrUpdateDeserialize: () => _createOrUpdateDeserialize,
|
|
32
|
+
_createOrUpdateSend: () => _createOrUpdateSend,
|
|
33
|
+
_deleteReplicationDeserialize: () => _deleteReplicationDeserialize,
|
|
34
|
+
_deleteReplicationSend: () => _deleteReplicationSend,
|
|
35
|
+
_finalizeExternalReplicationDeserialize: () => _finalizeExternalReplicationDeserialize,
|
|
36
|
+
_finalizeExternalReplicationSend: () => _finalizeExternalReplicationSend,
|
|
37
|
+
_finalizeRelocationDeserialize: () => _finalizeRelocationDeserialize,
|
|
38
|
+
_finalizeRelocationSend: () => _finalizeRelocationSend,
|
|
39
|
+
_getDeserialize: () => _getDeserialize,
|
|
40
|
+
_getSend: () => _getSend,
|
|
41
|
+
_listDeserialize: () => _listDeserialize,
|
|
42
|
+
_listGetGroupIdListForLdapUserDeserialize: () => _listGetGroupIdListForLdapUserDeserialize,
|
|
43
|
+
_listGetGroupIdListForLdapUserSend: () => _listGetGroupIdListForLdapUserSend,
|
|
44
|
+
_listQuotaReportDeserialize: () => _listQuotaReportDeserialize,
|
|
45
|
+
_listQuotaReportSend: () => _listQuotaReportSend,
|
|
46
|
+
_listReplicationsDeserialize: () => _listReplicationsDeserialize,
|
|
47
|
+
_listReplicationsSend: () => _listReplicationsSend,
|
|
48
|
+
_listSend: () => _listSend,
|
|
49
|
+
_peerExternalClusterDeserialize: () => _peerExternalClusterDeserialize,
|
|
50
|
+
_peerExternalClusterSend: () => _peerExternalClusterSend,
|
|
51
|
+
_performReplicationTransferDeserialize: () => _performReplicationTransferDeserialize,
|
|
52
|
+
_performReplicationTransferSend: () => _performReplicationTransferSend,
|
|
53
|
+
_poolChangeDeserialize: () => _poolChangeDeserialize,
|
|
54
|
+
_poolChangeSend: () => _poolChangeSend,
|
|
55
|
+
_populateAvailabilityZoneDeserialize: () => _populateAvailabilityZoneDeserialize,
|
|
56
|
+
_populateAvailabilityZoneSend: () => _populateAvailabilityZoneSend,
|
|
57
|
+
_reInitializeReplicationDeserialize: () => _reInitializeReplicationDeserialize,
|
|
58
|
+
_reInitializeReplicationSend: () => _reInitializeReplicationSend,
|
|
59
|
+
_reestablishReplicationDeserialize: () => _reestablishReplicationDeserialize,
|
|
60
|
+
_reestablishReplicationSend: () => _reestablishReplicationSend,
|
|
61
|
+
_relocateDeserialize: () => _relocateDeserialize,
|
|
62
|
+
_relocateSend: () => _relocateSend,
|
|
63
|
+
_replicationStatusDeserialize: () => _replicationStatusDeserialize,
|
|
64
|
+
_replicationStatusSend: () => _replicationStatusSend,
|
|
65
|
+
_resetCifsPasswordDeserialize: () => _resetCifsPasswordDeserialize,
|
|
66
|
+
_resetCifsPasswordSend: () => _resetCifsPasswordSend,
|
|
67
|
+
_resyncReplicationDeserialize: () => _resyncReplicationDeserialize,
|
|
68
|
+
_resyncReplicationSend: () => _resyncReplicationSend,
|
|
69
|
+
_revertDeserialize: () => _revertDeserialize,
|
|
70
|
+
_revertRelocationDeserialize: () => _revertRelocationDeserialize,
|
|
71
|
+
_revertRelocationSend: () => _revertRelocationSend,
|
|
72
|
+
_revertSend: () => _revertSend,
|
|
73
|
+
_splitCloneFromParentDeserialize: () => _splitCloneFromParentDeserialize,
|
|
74
|
+
_splitCloneFromParentSend: () => _splitCloneFromParentSend,
|
|
75
|
+
_updateDeserialize: () => _updateDeserialize,
|
|
76
|
+
_updateSend: () => _updateSend,
|
|
77
|
+
authorizeExternalReplication: () => authorizeExternalReplication,
|
|
78
|
+
authorizeReplication: () => authorizeReplication,
|
|
79
|
+
breakFileLocks: () => breakFileLocks,
|
|
80
|
+
breakReplication: () => breakReplication,
|
|
81
|
+
createOrUpdate: () => createOrUpdate,
|
|
82
|
+
deleteReplication: () => deleteReplication,
|
|
83
|
+
finalizeExternalReplication: () => finalizeExternalReplication,
|
|
84
|
+
finalizeRelocation: () => finalizeRelocation,
|
|
85
|
+
get: () => get,
|
|
86
|
+
list: () => list,
|
|
87
|
+
listGetGroupIdListForLdapUser: () => listGetGroupIdListForLdapUser,
|
|
88
|
+
listQuotaReport: () => listQuotaReport,
|
|
89
|
+
listReplications: () => listReplications,
|
|
90
|
+
peerExternalCluster: () => peerExternalCluster,
|
|
91
|
+
performReplicationTransfer: () => performReplicationTransfer,
|
|
92
|
+
poolChange: () => poolChange,
|
|
93
|
+
populateAvailabilityZone: () => populateAvailabilityZone,
|
|
94
|
+
reInitializeReplication: () => reInitializeReplication,
|
|
95
|
+
reestablishReplication: () => reestablishReplication,
|
|
96
|
+
relocate: () => relocate,
|
|
97
|
+
replicationStatus: () => replicationStatus,
|
|
98
|
+
resetCifsPassword: () => resetCifsPassword,
|
|
99
|
+
resyncReplication: () => resyncReplication,
|
|
100
|
+
revert: () => revert,
|
|
101
|
+
revertRelocation: () => revertRelocation,
|
|
102
|
+
splitCloneFromParent: () => splitCloneFromParent,
|
|
103
|
+
update: () => update
|
|
104
|
+
});
|
|
105
|
+
module.exports = __toCommonJS(operations_exports);
|
|
106
|
+
var import_models = require("../../models/models.js");
|
|
107
|
+
var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
|
|
108
|
+
var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
|
|
109
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
110
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
94
111
|
function _listQuotaReportSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
112
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
113
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listQuotaReport{?api%2Dversion}",
|
|
114
|
+
{
|
|
115
|
+
subscriptionId: context.subscriptionId,
|
|
116
|
+
resourceGroupName,
|
|
117
|
+
accountName,
|
|
118
|
+
poolName,
|
|
119
|
+
volumeName,
|
|
120
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
return context.path(path).post({
|
|
127
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
128
|
+
contentType: "application/json",
|
|
129
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
130
|
+
body: !options["body"] ? options["body"] : (0, import_models.quotaReportFilterRequestSerializer)(options["body"])
|
|
131
|
+
});
|
|
111
132
|
}
|
|
112
133
|
async function _listQuotaReportDeserialize(result) {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
134
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
135
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
136
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
137
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
138
|
+
throw error;
|
|
139
|
+
}
|
|
140
|
+
return (0, import_models.listQuotaReportResultDeserializer)(result.body);
|
|
120
141
|
}
|
|
121
|
-
/** Get quota report for volume (with filter support) */
|
|
122
142
|
function listQuotaReport(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
143
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _listQuotaReportDeserialize, ["202", "200", "201"], {
|
|
144
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
145
|
+
abortSignal: options?.abortSignal,
|
|
146
|
+
getInitialResponse: () => _listQuotaReportSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
147
|
+
resourceLocationConfig: "azure-async-operation",
|
|
148
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
149
|
+
});
|
|
130
150
|
}
|
|
131
151
|
function _revertRelocationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
152
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
153
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revertRelocation{?api%2Dversion}",
|
|
154
|
+
{
|
|
155
|
+
subscriptionId: context.subscriptionId,
|
|
156
|
+
resourceGroupName,
|
|
157
|
+
accountName,
|
|
158
|
+
poolName,
|
|
159
|
+
volumeName,
|
|
160
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
143
167
|
}
|
|
144
168
|
async function _revertRelocationDeserialize(result) {
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
169
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
170
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
171
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
172
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
173
|
+
throw error;
|
|
174
|
+
}
|
|
175
|
+
return;
|
|
152
176
|
}
|
|
153
|
-
/** Reverts the volume relocation process, cleans up the new volume and starts using the former-existing volume. */
|
|
154
177
|
function revertRelocation(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
178
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _revertRelocationDeserialize, ["202", "200", "201"], {
|
|
179
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
180
|
+
abortSignal: options?.abortSignal,
|
|
181
|
+
getInitialResponse: () => _revertRelocationSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
182
|
+
resourceLocationConfig: "location",
|
|
183
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
184
|
+
});
|
|
162
185
|
}
|
|
163
186
|
function _finalizeRelocationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
174
|
-
|
|
187
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
188
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeRelocation{?api%2Dversion}",
|
|
189
|
+
{
|
|
190
|
+
subscriptionId: context.subscriptionId,
|
|
191
|
+
resourceGroupName,
|
|
192
|
+
accountName,
|
|
193
|
+
poolName,
|
|
194
|
+
volumeName,
|
|
195
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
175
202
|
}
|
|
176
203
|
async function _finalizeRelocationDeserialize(result) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
204
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
205
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
206
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
207
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
208
|
+
throw error;
|
|
209
|
+
}
|
|
210
|
+
return;
|
|
184
211
|
}
|
|
185
|
-
/** Finalizes the relocation of the volume and cleans up the old volume. */
|
|
186
212
|
function finalizeRelocation(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
213
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _finalizeRelocationDeserialize, ["202", "200", "201"], {
|
|
214
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
215
|
+
abortSignal: options?.abortSignal,
|
|
216
|
+
getInitialResponse: () => _finalizeRelocationSend(
|
|
217
|
+
context,
|
|
218
|
+
resourceGroupName,
|
|
219
|
+
accountName,
|
|
220
|
+
poolName,
|
|
221
|
+
volumeName,
|
|
222
|
+
options
|
|
223
|
+
),
|
|
224
|
+
resourceLocationConfig: "location",
|
|
225
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
226
|
+
});
|
|
194
227
|
}
|
|
195
228
|
function _relocateSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
229
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
230
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/relocate{?api%2Dversion}",
|
|
231
|
+
{
|
|
232
|
+
subscriptionId: context.subscriptionId,
|
|
233
|
+
resourceGroupName,
|
|
234
|
+
accountName,
|
|
235
|
+
poolName,
|
|
236
|
+
volumeName,
|
|
237
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
241
|
+
}
|
|
242
|
+
);
|
|
243
|
+
return context.path(path).post({
|
|
244
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
245
|
+
contentType: "application/json",
|
|
246
|
+
body: !options["body"] ? options["body"] : (0, import_models.relocateVolumeRequestSerializer)(options["body"])
|
|
247
|
+
});
|
|
211
248
|
}
|
|
212
249
|
async function _relocateDeserialize(result) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
250
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
251
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
252
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
253
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
254
|
+
throw error;
|
|
255
|
+
}
|
|
256
|
+
return;
|
|
220
257
|
}
|
|
221
|
-
/** Relocates volume to a new stamp */
|
|
222
258
|
function relocate(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
259
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _relocateDeserialize, ["202", "200", "201"], {
|
|
260
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
261
|
+
abortSignal: options?.abortSignal,
|
|
262
|
+
getInitialResponse: () => _relocateSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
263
|
+
resourceLocationConfig: "location",
|
|
264
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
265
|
+
});
|
|
230
266
|
}
|
|
231
267
|
function _poolChangeSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
268
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
269
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/poolChange{?api%2Dversion}",
|
|
270
|
+
{
|
|
271
|
+
subscriptionId: context.subscriptionId,
|
|
272
|
+
resourceGroupName,
|
|
273
|
+
accountName,
|
|
274
|
+
poolName,
|
|
275
|
+
volumeName,
|
|
276
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
return context.path(path).post({
|
|
283
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
284
|
+
contentType: "application/json",
|
|
285
|
+
body: (0, import_models.poolChangeRequestSerializer)(body)
|
|
286
|
+
});
|
|
247
287
|
}
|
|
248
288
|
async function _poolChangeDeserialize(result) {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
289
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
290
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
291
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
292
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
293
|
+
throw error;
|
|
294
|
+
}
|
|
295
|
+
return;
|
|
256
296
|
}
|
|
257
|
-
/** Moves volume to another pool */
|
|
258
297
|
function poolChange(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
298
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _poolChangeDeserialize, ["202", "200", "201"], {
|
|
299
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
300
|
+
abortSignal: options?.abortSignal,
|
|
301
|
+
getInitialResponse: () => _poolChangeSend(context, resourceGroupName, accountName, poolName, volumeName, body, options),
|
|
302
|
+
resourceLocationConfig: "location",
|
|
303
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
304
|
+
});
|
|
266
305
|
}
|
|
267
306
|
function _performReplicationTransferSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
}
|
|
278
|
-
|
|
307
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
308
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/performReplicationTransfer{?api%2Dversion}",
|
|
309
|
+
{
|
|
310
|
+
subscriptionId: context.subscriptionId,
|
|
311
|
+
resourceGroupName,
|
|
312
|
+
accountName,
|
|
313
|
+
poolName,
|
|
314
|
+
volumeName,
|
|
315
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
279
322
|
}
|
|
280
323
|
async function _performReplicationTransferDeserialize(result) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
324
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
325
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
326
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
327
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
328
|
+
throw error;
|
|
329
|
+
}
|
|
330
|
+
return;
|
|
288
331
|
}
|
|
289
|
-
/** Performs an adhoc replication transfer on a volume with volumeType Migration */
|
|
290
332
|
function performReplicationTransfer(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
333
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
334
|
+
context,
|
|
335
|
+
_performReplicationTransferDeserialize,
|
|
336
|
+
["202", "200", "201"],
|
|
337
|
+
{
|
|
338
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
339
|
+
abortSignal: options?.abortSignal,
|
|
340
|
+
getInitialResponse: () => _performReplicationTransferSend(
|
|
341
|
+
context,
|
|
342
|
+
resourceGroupName,
|
|
343
|
+
accountName,
|
|
344
|
+
poolName,
|
|
345
|
+
volumeName,
|
|
346
|
+
options
|
|
347
|
+
),
|
|
348
|
+
resourceLocationConfig: "location",
|
|
349
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
350
|
+
}
|
|
351
|
+
);
|
|
298
352
|
}
|
|
299
353
|
function _finalizeExternalReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
}
|
|
310
|
-
|
|
354
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
355
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/finalizeExternalReplication{?api%2Dversion}",
|
|
356
|
+
{
|
|
357
|
+
subscriptionId: context.subscriptionId,
|
|
358
|
+
resourceGroupName,
|
|
359
|
+
accountName,
|
|
360
|
+
poolName,
|
|
361
|
+
volumeName,
|
|
362
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
366
|
+
}
|
|
367
|
+
);
|
|
368
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
311
369
|
}
|
|
312
370
|
async function _finalizeExternalReplicationDeserialize(result) {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
371
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
372
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
373
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
374
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
375
|
+
throw error;
|
|
376
|
+
}
|
|
377
|
+
return;
|
|
320
378
|
}
|
|
321
|
-
/** Finalizes the migration of an external volume by releasing the replication and breaking the external cluster peering if no other migration is active. */
|
|
322
379
|
function finalizeExternalReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
380
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
381
|
+
context,
|
|
382
|
+
_finalizeExternalReplicationDeserialize,
|
|
383
|
+
["202", "200", "201"],
|
|
384
|
+
{
|
|
385
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
386
|
+
abortSignal: options?.abortSignal,
|
|
387
|
+
getInitialResponse: () => _finalizeExternalReplicationSend(
|
|
388
|
+
context,
|
|
389
|
+
resourceGroupName,
|
|
390
|
+
accountName,
|
|
391
|
+
poolName,
|
|
392
|
+
volumeName,
|
|
393
|
+
options
|
|
394
|
+
),
|
|
395
|
+
resourceLocationConfig: "location",
|
|
396
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
397
|
+
}
|
|
398
|
+
);
|
|
330
399
|
}
|
|
331
400
|
function _authorizeExternalReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
401
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
402
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeExternalReplication{?api%2Dversion}",
|
|
403
|
+
{
|
|
404
|
+
subscriptionId: context.subscriptionId,
|
|
405
|
+
resourceGroupName,
|
|
406
|
+
accountName,
|
|
407
|
+
poolName,
|
|
408
|
+
volumeName,
|
|
409
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
413
|
+
}
|
|
414
|
+
);
|
|
415
|
+
return context.path(path).post({
|
|
416
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
417
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
418
|
+
});
|
|
346
419
|
}
|
|
347
420
|
async function _authorizeExternalReplicationDeserialize(result) {
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
421
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
422
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
423
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
424
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
425
|
+
throw error;
|
|
426
|
+
}
|
|
427
|
+
return (0, import_models.svmPeerCommandResponseDeserializer)(result.body);
|
|
355
428
|
}
|
|
356
|
-
/** Starts SVM peering and returns a command to be run on the external ONTAP to accept it. Once the SVM have been peered a SnapMirror will be created */
|
|
357
429
|
function authorizeExternalReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
430
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
431
|
+
context,
|
|
432
|
+
_authorizeExternalReplicationDeserialize,
|
|
433
|
+
["202", "200", "201"],
|
|
434
|
+
{
|
|
435
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
436
|
+
abortSignal: options?.abortSignal,
|
|
437
|
+
getInitialResponse: () => _authorizeExternalReplicationSend(
|
|
438
|
+
context,
|
|
439
|
+
resourceGroupName,
|
|
440
|
+
accountName,
|
|
441
|
+
poolName,
|
|
442
|
+
volumeName,
|
|
443
|
+
options
|
|
444
|
+
),
|
|
445
|
+
resourceLocationConfig: "azure-async-operation",
|
|
446
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
447
|
+
}
|
|
448
|
+
);
|
|
365
449
|
}
|
|
366
450
|
function _peerExternalClusterSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
451
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
452
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/peerExternalCluster{?api%2Dversion}",
|
|
453
|
+
{
|
|
454
|
+
subscriptionId: context.subscriptionId,
|
|
455
|
+
resourceGroupName,
|
|
456
|
+
accountName,
|
|
457
|
+
poolName,
|
|
458
|
+
volumeName,
|
|
459
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
463
|
+
}
|
|
464
|
+
);
|
|
465
|
+
return context.path(path).post({
|
|
466
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
467
|
+
contentType: "application/json",
|
|
468
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
469
|
+
body: (0, import_models.peerClusterForVolumeMigrationRequestSerializer)(body)
|
|
470
|
+
});
|
|
383
471
|
}
|
|
384
472
|
async function _peerExternalClusterDeserialize(result) {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
473
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
474
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
475
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
476
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
477
|
+
throw error;
|
|
478
|
+
}
|
|
479
|
+
return (0, import_models.clusterPeerCommandResponseDeserializer)(result.body);
|
|
392
480
|
}
|
|
393
|
-
/** Starts peering the external cluster for this migration volume */
|
|
394
481
|
function peerExternalCluster(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
482
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _peerExternalClusterDeserialize, ["202", "200", "201"], {
|
|
483
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
484
|
+
abortSignal: options?.abortSignal,
|
|
485
|
+
getInitialResponse: () => _peerExternalClusterSend(
|
|
486
|
+
context,
|
|
487
|
+
resourceGroupName,
|
|
488
|
+
accountName,
|
|
489
|
+
poolName,
|
|
490
|
+
volumeName,
|
|
491
|
+
body,
|
|
492
|
+
options
|
|
493
|
+
),
|
|
494
|
+
resourceLocationConfig: "azure-async-operation",
|
|
495
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
496
|
+
});
|
|
402
497
|
}
|
|
403
498
|
function _reInitializeReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
}
|
|
414
|
-
|
|
499
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
500
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reinitializeReplication{?api%2Dversion}",
|
|
501
|
+
{
|
|
502
|
+
subscriptionId: context.subscriptionId,
|
|
503
|
+
resourceGroupName,
|
|
504
|
+
accountName,
|
|
505
|
+
poolName,
|
|
506
|
+
volumeName,
|
|
507
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
511
|
+
}
|
|
512
|
+
);
|
|
513
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
415
514
|
}
|
|
416
515
|
async function _reInitializeReplicationDeserialize(result) {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
516
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
517
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
518
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
519
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
520
|
+
throw error;
|
|
521
|
+
}
|
|
522
|
+
return;
|
|
424
523
|
}
|
|
425
|
-
/** Re-Initializes the replication connection on the destination volume */
|
|
426
524
|
function reInitializeReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
525
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _reInitializeReplicationDeserialize, ["202", "200", "201"], {
|
|
526
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
527
|
+
abortSignal: options?.abortSignal,
|
|
528
|
+
getInitialResponse: () => _reInitializeReplicationSend(
|
|
529
|
+
context,
|
|
530
|
+
resourceGroupName,
|
|
531
|
+
accountName,
|
|
532
|
+
poolName,
|
|
533
|
+
volumeName,
|
|
534
|
+
options
|
|
535
|
+
),
|
|
536
|
+
resourceLocationConfig: "location",
|
|
537
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
538
|
+
});
|
|
434
539
|
}
|
|
435
540
|
function _authorizeReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
541
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
542
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/authorizeReplication{?api%2Dversion}",
|
|
543
|
+
{
|
|
544
|
+
subscriptionId: context.subscriptionId,
|
|
545
|
+
resourceGroupName,
|
|
546
|
+
accountName,
|
|
547
|
+
poolName,
|
|
548
|
+
volumeName,
|
|
549
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
553
|
+
}
|
|
554
|
+
);
|
|
555
|
+
return context.path(path).post({
|
|
556
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
557
|
+
contentType: "application/json",
|
|
558
|
+
body: (0, import_models.authorizeRequestSerializer)(body)
|
|
559
|
+
});
|
|
451
560
|
}
|
|
452
561
|
async function _authorizeReplicationDeserialize(result) {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
562
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
563
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
564
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
565
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
566
|
+
throw error;
|
|
567
|
+
}
|
|
568
|
+
return;
|
|
460
569
|
}
|
|
461
|
-
/** Authorize the replication connection on the source volume */
|
|
462
570
|
function authorizeReplication(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
571
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _authorizeReplicationDeserialize, ["202", "200", "201"], {
|
|
572
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
573
|
+
abortSignal: options?.abortSignal,
|
|
574
|
+
getInitialResponse: () => _authorizeReplicationSend(
|
|
575
|
+
context,
|
|
576
|
+
resourceGroupName,
|
|
577
|
+
accountName,
|
|
578
|
+
poolName,
|
|
579
|
+
volumeName,
|
|
580
|
+
body,
|
|
581
|
+
options
|
|
582
|
+
),
|
|
583
|
+
resourceLocationConfig: "location",
|
|
584
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
585
|
+
});
|
|
470
586
|
}
|
|
471
587
|
function _deleteReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
}
|
|
482
|
-
|
|
588
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
589
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/deleteReplication{?api%2Dversion}",
|
|
590
|
+
{
|
|
591
|
+
subscriptionId: context.subscriptionId,
|
|
592
|
+
resourceGroupName,
|
|
593
|
+
accountName,
|
|
594
|
+
poolName,
|
|
595
|
+
volumeName,
|
|
596
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
600
|
+
}
|
|
601
|
+
);
|
|
602
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
483
603
|
}
|
|
484
604
|
async function _deleteReplicationDeserialize(result) {
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
605
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
606
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
607
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
608
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
609
|
+
throw error;
|
|
610
|
+
}
|
|
611
|
+
return;
|
|
492
612
|
}
|
|
493
|
-
/** Delete the replication connection on the destination volume, and send release to the source replication */
|
|
494
613
|
function deleteReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
614
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _deleteReplicationDeserialize, ["202", "200", "201"], {
|
|
615
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
616
|
+
abortSignal: options?.abortSignal,
|
|
617
|
+
getInitialResponse: () => _deleteReplicationSend(
|
|
618
|
+
context,
|
|
619
|
+
resourceGroupName,
|
|
620
|
+
accountName,
|
|
621
|
+
poolName,
|
|
622
|
+
volumeName,
|
|
623
|
+
options
|
|
624
|
+
),
|
|
625
|
+
resourceLocationConfig: "location",
|
|
626
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
627
|
+
});
|
|
502
628
|
}
|
|
503
629
|
function _resyncReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
}
|
|
514
|
-
|
|
630
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
631
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resyncReplication{?api%2Dversion}",
|
|
632
|
+
{
|
|
633
|
+
subscriptionId: context.subscriptionId,
|
|
634
|
+
resourceGroupName,
|
|
635
|
+
accountName,
|
|
636
|
+
poolName,
|
|
637
|
+
volumeName,
|
|
638
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
642
|
+
}
|
|
643
|
+
);
|
|
644
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
515
645
|
}
|
|
516
646
|
async function _resyncReplicationDeserialize(result) {
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
647
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
648
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
649
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
650
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
651
|
+
throw error;
|
|
652
|
+
}
|
|
653
|
+
return;
|
|
524
654
|
}
|
|
525
|
-
/** Resync the connection on the destination volume. If the operation is ran on the source volume it will reverse-resync the connection and sync from destination to source. */
|
|
526
655
|
function resyncReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
656
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _resyncReplicationDeserialize, ["202", "200", "201"], {
|
|
657
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
658
|
+
abortSignal: options?.abortSignal,
|
|
659
|
+
getInitialResponse: () => _resyncReplicationSend(
|
|
660
|
+
context,
|
|
661
|
+
resourceGroupName,
|
|
662
|
+
accountName,
|
|
663
|
+
poolName,
|
|
664
|
+
volumeName,
|
|
665
|
+
options
|
|
666
|
+
),
|
|
667
|
+
resourceLocationConfig: "location",
|
|
668
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
669
|
+
});
|
|
534
670
|
}
|
|
535
671
|
function _listReplicationsSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
672
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
673
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/listReplications{?api%2Dversion}",
|
|
674
|
+
{
|
|
675
|
+
subscriptionId: context.subscriptionId,
|
|
676
|
+
resourceGroupName,
|
|
677
|
+
accountName,
|
|
678
|
+
poolName,
|
|
679
|
+
volumeName,
|
|
680
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
684
|
+
}
|
|
685
|
+
);
|
|
686
|
+
return context.path(path).post({
|
|
687
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
688
|
+
contentType: "application/json",
|
|
689
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
690
|
+
body: !options["body"] ? options["body"] : (0, import_models.listReplicationsRequestSerializer)(options["body"])
|
|
691
|
+
});
|
|
552
692
|
}
|
|
553
693
|
async function _listReplicationsDeserialize(result) {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
694
|
+
const expectedStatuses = ["200"];
|
|
695
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
696
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
697
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
698
|
+
throw error;
|
|
699
|
+
}
|
|
700
|
+
return (0, import_models._listReplicationsDeserializer)(result.body);
|
|
561
701
|
}
|
|
562
|
-
/** List all replications for a specified volume */
|
|
563
702
|
function listReplications(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
564
|
-
|
|
703
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
704
|
+
context,
|
|
705
|
+
() => _listReplicationsSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
706
|
+
_listReplicationsDeserialize,
|
|
707
|
+
["200"],
|
|
708
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
|
|
709
|
+
);
|
|
565
710
|
}
|
|
566
711
|
function _replicationStatusSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
712
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
713
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/replicationStatus{?api%2Dversion}",
|
|
714
|
+
{
|
|
715
|
+
subscriptionId: context.subscriptionId,
|
|
716
|
+
resourceGroupName,
|
|
717
|
+
accountName,
|
|
718
|
+
poolName,
|
|
719
|
+
volumeName,
|
|
720
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
724
|
+
}
|
|
725
|
+
);
|
|
726
|
+
return context.path(path).get({
|
|
727
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
728
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
729
|
+
});
|
|
581
730
|
}
|
|
582
731
|
async function _replicationStatusDeserialize(result) {
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
732
|
+
const expectedStatuses = ["200"];
|
|
733
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
734
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
735
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
736
|
+
throw error;
|
|
737
|
+
}
|
|
738
|
+
return (0, import_models.replicationStatusDeserializer)(result.body);
|
|
590
739
|
}
|
|
591
|
-
/** Get the status of the replication */
|
|
592
740
|
async function replicationStatus(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
593
|
-
|
|
594
|
-
|
|
741
|
+
const result = await _replicationStatusSend(
|
|
742
|
+
context,
|
|
743
|
+
resourceGroupName,
|
|
744
|
+
accountName,
|
|
745
|
+
poolName,
|
|
746
|
+
volumeName,
|
|
747
|
+
options
|
|
748
|
+
);
|
|
749
|
+
return _replicationStatusDeserialize(result);
|
|
595
750
|
}
|
|
596
751
|
function _reestablishReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
752
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
753
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/reestablishReplication{?api%2Dversion}",
|
|
754
|
+
{
|
|
755
|
+
subscriptionId: context.subscriptionId,
|
|
756
|
+
resourceGroupName,
|
|
757
|
+
accountName,
|
|
758
|
+
poolName,
|
|
759
|
+
volumeName,
|
|
760
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
764
|
+
}
|
|
765
|
+
);
|
|
766
|
+
return context.path(path).post({
|
|
767
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
768
|
+
contentType: "application/json",
|
|
769
|
+
body: (0, import_models.reestablishReplicationRequestSerializer)(body)
|
|
770
|
+
});
|
|
612
771
|
}
|
|
613
772
|
async function _reestablishReplicationDeserialize(result) {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
773
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
774
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
775
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
776
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
777
|
+
throw error;
|
|
778
|
+
}
|
|
779
|
+
return;
|
|
621
780
|
}
|
|
622
|
-
/** Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots */
|
|
623
781
|
function reestablishReplication(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
782
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _reestablishReplicationDeserialize, ["202", "200", "201"], {
|
|
783
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
784
|
+
abortSignal: options?.abortSignal,
|
|
785
|
+
getInitialResponse: () => _reestablishReplicationSend(
|
|
786
|
+
context,
|
|
787
|
+
resourceGroupName,
|
|
788
|
+
accountName,
|
|
789
|
+
poolName,
|
|
790
|
+
volumeName,
|
|
791
|
+
body,
|
|
792
|
+
options
|
|
793
|
+
),
|
|
794
|
+
resourceLocationConfig: "location",
|
|
795
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
796
|
+
});
|
|
631
797
|
}
|
|
632
798
|
function _breakReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
799
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
800
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakReplication{?api%2Dversion}",
|
|
801
|
+
{
|
|
802
|
+
subscriptionId: context.subscriptionId,
|
|
803
|
+
resourceGroupName,
|
|
804
|
+
accountName,
|
|
805
|
+
poolName,
|
|
806
|
+
volumeName,
|
|
807
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
811
|
+
}
|
|
812
|
+
);
|
|
813
|
+
return context.path(path).post({
|
|
814
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
815
|
+
contentType: "application/json",
|
|
816
|
+
body: !options["body"] ? options["body"] : (0, import_models.breakReplicationRequestSerializer)(options["body"])
|
|
817
|
+
});
|
|
648
818
|
}
|
|
649
819
|
async function _breakReplicationDeserialize(result) {
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
820
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
821
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
822
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
823
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
824
|
+
throw error;
|
|
825
|
+
}
|
|
826
|
+
return;
|
|
657
827
|
}
|
|
658
|
-
/** Break the replication connection on the destination volume */
|
|
659
828
|
function breakReplication(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
829
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _breakReplicationDeserialize, ["202", "200", "201"], {
|
|
830
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
831
|
+
abortSignal: options?.abortSignal,
|
|
832
|
+
getInitialResponse: () => _breakReplicationSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
833
|
+
resourceLocationConfig: "location",
|
|
834
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
835
|
+
});
|
|
667
836
|
}
|
|
668
837
|
function _listGetGroupIdListForLdapUserSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
838
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
839
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/getGroupIdListForLdapUser{?api%2Dversion}",
|
|
840
|
+
{
|
|
841
|
+
subscriptionId: context.subscriptionId,
|
|
842
|
+
resourceGroupName,
|
|
843
|
+
accountName,
|
|
844
|
+
poolName,
|
|
845
|
+
volumeName,
|
|
846
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
850
|
+
}
|
|
851
|
+
);
|
|
852
|
+
return context.path(path).post({
|
|
853
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
854
|
+
contentType: "application/json",
|
|
855
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
856
|
+
body: (0, import_models.getGroupIdListForLdapUserRequestSerializer)(body)
|
|
857
|
+
});
|
|
685
858
|
}
|
|
686
859
|
async function _listGetGroupIdListForLdapUserDeserialize(result) {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
860
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
861
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
862
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
863
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
864
|
+
throw error;
|
|
865
|
+
}
|
|
866
|
+
return (0, import_models.getGroupIdListForLdapUserResponseDeserializer)(result.body);
|
|
694
867
|
}
|
|
695
|
-
/** Returns the list of group Ids for a specific LDAP User */
|
|
696
868
|
function listGetGroupIdListForLdapUser(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
869
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
870
|
+
context,
|
|
871
|
+
_listGetGroupIdListForLdapUserDeserialize,
|
|
872
|
+
["202", "200", "201"],
|
|
873
|
+
{
|
|
874
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
875
|
+
abortSignal: options?.abortSignal,
|
|
876
|
+
getInitialResponse: () => _listGetGroupIdListForLdapUserSend(
|
|
877
|
+
context,
|
|
878
|
+
resourceGroupName,
|
|
879
|
+
accountName,
|
|
880
|
+
poolName,
|
|
881
|
+
volumeName,
|
|
882
|
+
body,
|
|
883
|
+
options
|
|
884
|
+
),
|
|
885
|
+
resourceLocationConfig: "azure-async-operation",
|
|
886
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
887
|
+
}
|
|
888
|
+
);
|
|
704
889
|
}
|
|
705
890
|
function _breakFileLocksSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
891
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
892
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/breakFileLocks{?api%2Dversion}",
|
|
893
|
+
{
|
|
894
|
+
subscriptionId: context.subscriptionId,
|
|
895
|
+
resourceGroupName,
|
|
896
|
+
accountName,
|
|
897
|
+
poolName,
|
|
898
|
+
volumeName,
|
|
899
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
903
|
+
}
|
|
904
|
+
);
|
|
905
|
+
return context.path(path).post({
|
|
906
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
907
|
+
contentType: "application/json",
|
|
908
|
+
body: !options["body"] ? options["body"] : (0, import_models.breakFileLocksRequestSerializer)(options["body"])
|
|
909
|
+
});
|
|
721
910
|
}
|
|
722
911
|
async function _breakFileLocksDeserialize(result) {
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
912
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
913
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
914
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
915
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
916
|
+
throw error;
|
|
917
|
+
}
|
|
918
|
+
return;
|
|
730
919
|
}
|
|
731
|
-
/** Break all the file locks on a volume */
|
|
732
920
|
function breakFileLocks(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
921
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _breakFileLocksDeserialize, ["202", "200", "201"], {
|
|
922
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
923
|
+
abortSignal: options?.abortSignal,
|
|
924
|
+
getInitialResponse: () => _breakFileLocksSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
925
|
+
resourceLocationConfig: "location",
|
|
926
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
927
|
+
});
|
|
740
928
|
}
|
|
741
929
|
function _splitCloneFromParentSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
930
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
931
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/splitCloneFromParent{?api%2Dversion}",
|
|
932
|
+
{
|
|
933
|
+
subscriptionId: context.subscriptionId,
|
|
934
|
+
resourceGroupName,
|
|
935
|
+
accountName,
|
|
936
|
+
poolName,
|
|
937
|
+
volumeName,
|
|
938
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
942
|
+
}
|
|
943
|
+
);
|
|
944
|
+
return context.path(path).post({
|
|
945
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
946
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
947
|
+
});
|
|
756
948
|
}
|
|
757
949
|
async function _splitCloneFromParentDeserialize(result) {
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
950
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
951
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
952
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
953
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
954
|
+
throw error;
|
|
955
|
+
}
|
|
956
|
+
return (0, import_models.volumeDeserializer)(result.body);
|
|
765
957
|
}
|
|
766
|
-
/** Split operation to convert clone volume to an independent volume. */
|
|
767
958
|
function splitCloneFromParent(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
959
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _splitCloneFromParentDeserialize, ["202", "200", "201"], {
|
|
960
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
961
|
+
abortSignal: options?.abortSignal,
|
|
962
|
+
getInitialResponse: () => _splitCloneFromParentSend(
|
|
963
|
+
context,
|
|
964
|
+
resourceGroupName,
|
|
965
|
+
accountName,
|
|
966
|
+
poolName,
|
|
967
|
+
volumeName,
|
|
968
|
+
options
|
|
969
|
+
),
|
|
970
|
+
resourceLocationConfig: "location",
|
|
971
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
972
|
+
});
|
|
775
973
|
}
|
|
776
974
|
function _resetCifsPasswordSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
}
|
|
787
|
-
|
|
975
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
976
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/resetCifsPassword{?api%2Dversion}",
|
|
977
|
+
{
|
|
978
|
+
subscriptionId: context.subscriptionId,
|
|
979
|
+
resourceGroupName,
|
|
980
|
+
accountName,
|
|
981
|
+
poolName,
|
|
982
|
+
volumeName,
|
|
983
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
987
|
+
}
|
|
988
|
+
);
|
|
989
|
+
return context.path(path).post({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
788
990
|
}
|
|
789
991
|
async function _resetCifsPasswordDeserialize(result) {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
992
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
993
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
994
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
995
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
996
|
+
throw error;
|
|
997
|
+
}
|
|
998
|
+
return;
|
|
797
999
|
}
|
|
798
|
-
/** Reset cifs password from volume */
|
|
799
1000
|
function resetCifsPassword(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
1001
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _resetCifsPasswordDeserialize, ["202", "200", "201"], {
|
|
1002
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1003
|
+
abortSignal: options?.abortSignal,
|
|
1004
|
+
getInitialResponse: () => _resetCifsPasswordSend(
|
|
1005
|
+
context,
|
|
1006
|
+
resourceGroupName,
|
|
1007
|
+
accountName,
|
|
1008
|
+
poolName,
|
|
1009
|
+
volumeName,
|
|
1010
|
+
options
|
|
1011
|
+
),
|
|
1012
|
+
resourceLocationConfig: "location",
|
|
1013
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1014
|
+
});
|
|
807
1015
|
}
|
|
808
1016
|
function _revertSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
}
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
1017
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1018
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/revert{?api%2Dversion}",
|
|
1019
|
+
{
|
|
1020
|
+
subscriptionId: context.subscriptionId,
|
|
1021
|
+
resourceGroupName,
|
|
1022
|
+
accountName,
|
|
1023
|
+
poolName,
|
|
1024
|
+
volumeName,
|
|
1025
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1029
|
+
}
|
|
1030
|
+
);
|
|
1031
|
+
return context.path(path).post({
|
|
1032
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1033
|
+
contentType: "application/json",
|
|
1034
|
+
body: (0, import_models.volumeRevertSerializer)(body)
|
|
1035
|
+
});
|
|
824
1036
|
}
|
|
825
1037
|
async function _revertDeserialize(result) {
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
1038
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
1039
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1040
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1041
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1042
|
+
throw error;
|
|
1043
|
+
}
|
|
1044
|
+
return;
|
|
833
1045
|
}
|
|
834
|
-
/** Revert a volume to the snapshot specified in the body */
|
|
835
1046
|
function revert(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
1047
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _revertDeserialize, ["202", "200", "201"], {
|
|
1048
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1049
|
+
abortSignal: options?.abortSignal,
|
|
1050
|
+
getInitialResponse: () => _revertSend(context, resourceGroupName, accountName, poolName, volumeName, body, options),
|
|
1051
|
+
resourceLocationConfig: "location",
|
|
1052
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1053
|
+
});
|
|
843
1054
|
}
|
|
844
1055
|
function _populateAvailabilityZoneSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
1056
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1057
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/populateAvailabilityZone{?api%2Dversion}",
|
|
1058
|
+
{
|
|
1059
|
+
subscriptionId: context.subscriptionId,
|
|
1060
|
+
resourceGroupName,
|
|
1061
|
+
accountName,
|
|
1062
|
+
poolName,
|
|
1063
|
+
volumeName,
|
|
1064
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1065
|
+
},
|
|
1066
|
+
{
|
|
1067
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1068
|
+
}
|
|
1069
|
+
);
|
|
1070
|
+
return context.path(path).post({
|
|
1071
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1072
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
1073
|
+
});
|
|
859
1074
|
}
|
|
860
1075
|
async function _populateAvailabilityZoneDeserialize(result) {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
1076
|
+
const expectedStatuses = ["202", "200", "201"];
|
|
1077
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1078
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1079
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1080
|
+
throw error;
|
|
1081
|
+
}
|
|
1082
|
+
return (0, import_models.volumeDeserializer)(result.body);
|
|
868
1083
|
}
|
|
869
|
-
/** This operation will populate availability zone information for a volume */
|
|
870
1084
|
function populateAvailabilityZone(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
1085
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(
|
|
1086
|
+
context,
|
|
1087
|
+
_populateAvailabilityZoneDeserialize,
|
|
1088
|
+
["202", "200", "201"],
|
|
1089
|
+
{
|
|
1090
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1091
|
+
abortSignal: options?.abortSignal,
|
|
1092
|
+
getInitialResponse: () => _populateAvailabilityZoneSend(
|
|
1093
|
+
context,
|
|
1094
|
+
resourceGroupName,
|
|
1095
|
+
accountName,
|
|
1096
|
+
poolName,
|
|
1097
|
+
volumeName,
|
|
1098
|
+
options
|
|
1099
|
+
),
|
|
1100
|
+
resourceLocationConfig: "location",
|
|
1101
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1102
|
+
}
|
|
1103
|
+
);
|
|
878
1104
|
}
|
|
879
1105
|
function _listSend(context, resourceGroupName, accountName, poolName, options = { requestOptions: {} }) {
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
1106
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1107
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes{?api%2Dversion}",
|
|
1108
|
+
{
|
|
1109
|
+
subscriptionId: context.subscriptionId,
|
|
1110
|
+
resourceGroupName,
|
|
1111
|
+
accountName,
|
|
1112
|
+
poolName,
|
|
1113
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1117
|
+
}
|
|
1118
|
+
);
|
|
1119
|
+
return context.path(path).get({
|
|
1120
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1121
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
1122
|
+
});
|
|
893
1123
|
}
|
|
894
1124
|
async function _listDeserialize(result) {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
1125
|
+
const expectedStatuses = ["200"];
|
|
1126
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1127
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1128
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1129
|
+
throw error;
|
|
1130
|
+
}
|
|
1131
|
+
return (0, import_models._volumeListDeserializer)(result.body);
|
|
902
1132
|
}
|
|
903
|
-
/** List all volumes within the capacity pool */
|
|
904
1133
|
function list(context, resourceGroupName, accountName, poolName, options = { requestOptions: {} }) {
|
|
905
|
-
|
|
1134
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
1135
|
+
context,
|
|
1136
|
+
() => _listSend(context, resourceGroupName, accountName, poolName, options),
|
|
1137
|
+
_listDeserialize,
|
|
1138
|
+
["200"],
|
|
1139
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2026-01-01" }
|
|
1140
|
+
);
|
|
906
1141
|
}
|
|
907
1142
|
function _$deleteSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
}
|
|
919
|
-
|
|
1143
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1144
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}{?api%2Dversion,forceDelete}",
|
|
1145
|
+
{
|
|
1146
|
+
subscriptionId: context.subscriptionId,
|
|
1147
|
+
resourceGroupName,
|
|
1148
|
+
accountName,
|
|
1149
|
+
poolName,
|
|
1150
|
+
volumeName,
|
|
1151
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01",
|
|
1152
|
+
forceDelete: options?.forceDelete
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1156
|
+
}
|
|
1157
|
+
);
|
|
1158
|
+
return context.path(path).delete({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
920
1159
|
}
|
|
921
1160
|
async function _$deleteDeserialize(result) {
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
}
|
|
930
|
-
/** Delete the specified volume */
|
|
931
|
-
/**
|
|
932
|
-
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
933
|
-
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
934
|
-
* to the operation to override the generated name.
|
|
935
|
-
*/
|
|
1161
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
1162
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1163
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1164
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1165
|
+
throw error;
|
|
1166
|
+
}
|
|
1167
|
+
return;
|
|
1168
|
+
}
|
|
936
1169
|
function $delete(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
1170
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
1171
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1172
|
+
abortSignal: options?.abortSignal,
|
|
1173
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, accountName, poolName, volumeName, options),
|
|
1174
|
+
resourceLocationConfig: "location",
|
|
1175
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1176
|
+
});
|
|
944
1177
|
}
|
|
945
1178
|
function _updateSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1179
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1180
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}{?api%2Dversion}",
|
|
1181
|
+
{
|
|
1182
|
+
subscriptionId: context.subscriptionId,
|
|
1183
|
+
resourceGroupName,
|
|
1184
|
+
accountName,
|
|
1185
|
+
poolName,
|
|
1186
|
+
volumeName,
|
|
1187
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1191
|
+
}
|
|
1192
|
+
);
|
|
1193
|
+
return context.path(path).patch({
|
|
1194
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1195
|
+
contentType: "application/json",
|
|
1196
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
1197
|
+
body: (0, import_models.volumePatchSerializer)(body)
|
|
1198
|
+
});
|
|
962
1199
|
}
|
|
963
1200
|
async function _updateDeserialize(result) {
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1201
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
1202
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1203
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1204
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1205
|
+
throw error;
|
|
1206
|
+
}
|
|
1207
|
+
return (0, import_models.volumeDeserializer)(result.body);
|
|
971
1208
|
}
|
|
972
|
-
/** Patch the specified volume */
|
|
973
1209
|
function update(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
1210
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _updateDeserialize, ["200", "202", "201"], {
|
|
1211
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1212
|
+
abortSignal: options?.abortSignal,
|
|
1213
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, accountName, poolName, volumeName, body, options),
|
|
1214
|
+
resourceLocationConfig: "location",
|
|
1215
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1216
|
+
});
|
|
981
1217
|
}
|
|
982
1218
|
function _createOrUpdateSend(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
1219
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1220
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}{?api%2Dversion}",
|
|
1221
|
+
{
|
|
1222
|
+
subscriptionId: context.subscriptionId,
|
|
1223
|
+
resourceGroupName,
|
|
1224
|
+
accountName,
|
|
1225
|
+
poolName,
|
|
1226
|
+
volumeName,
|
|
1227
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1231
|
+
}
|
|
1232
|
+
);
|
|
1233
|
+
return context.path(path).put({
|
|
1234
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1235
|
+
contentType: "application/json",
|
|
1236
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
1237
|
+
body: (0, import_models.volumeSerializer)(body)
|
|
1238
|
+
});
|
|
999
1239
|
}
|
|
1000
1240
|
async function _createOrUpdateDeserialize(result) {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1241
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
1242
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1243
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1244
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1245
|
+
throw error;
|
|
1246
|
+
}
|
|
1247
|
+
return (0, import_models.volumeDeserializer)(result.body);
|
|
1008
1248
|
}
|
|
1009
|
-
/** Create or update the specified volume within the capacity pool */
|
|
1010
1249
|
function createOrUpdate(context, resourceGroupName, accountName, poolName, volumeName, body, options = { requestOptions: {} }) {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1250
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
|
|
1251
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
1252
|
+
abortSignal: options?.abortSignal,
|
|
1253
|
+
getInitialResponse: () => _createOrUpdateSend(
|
|
1254
|
+
context,
|
|
1255
|
+
resourceGroupName,
|
|
1256
|
+
accountName,
|
|
1257
|
+
poolName,
|
|
1258
|
+
volumeName,
|
|
1259
|
+
body,
|
|
1260
|
+
options
|
|
1261
|
+
),
|
|
1262
|
+
resourceLocationConfig: "azure-async-operation",
|
|
1263
|
+
apiVersion: context.apiVersion ?? "2026-01-01"
|
|
1264
|
+
});
|
|
1018
1265
|
}
|
|
1019
1266
|
function _getSend(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1267
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
1268
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}{?api%2Dversion}",
|
|
1269
|
+
{
|
|
1270
|
+
subscriptionId: context.subscriptionId,
|
|
1271
|
+
resourceGroupName,
|
|
1272
|
+
accountName,
|
|
1273
|
+
poolName,
|
|
1274
|
+
volumeName,
|
|
1275
|
+
"api%2Dversion": context.apiVersion ?? "2026-01-01"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
1279
|
+
}
|
|
1280
|
+
);
|
|
1281
|
+
return context.path(path).get({
|
|
1282
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
1283
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
1284
|
+
});
|
|
1034
1285
|
}
|
|
1035
1286
|
async function _getDeserialize(result) {
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1287
|
+
const expectedStatuses = ["200"];
|
|
1288
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
1289
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
1290
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
1291
|
+
throw error;
|
|
1292
|
+
}
|
|
1293
|
+
return (0, import_models.volumeDeserializer)(result.body);
|
|
1043
1294
|
}
|
|
1044
|
-
/** Get the details of the specified volume */
|
|
1045
1295
|
async function get(context, resourceGroupName, accountName, poolName, volumeName, options = { requestOptions: {} }) {
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1296
|
+
const result = await _getSend(
|
|
1297
|
+
context,
|
|
1298
|
+
resourceGroupName,
|
|
1299
|
+
accountName,
|
|
1300
|
+
poolName,
|
|
1301
|
+
volumeName,
|
|
1302
|
+
options
|
|
1303
|
+
);
|
|
1304
|
+
return _getDeserialize(result);
|
|
1305
|
+
}
|
|
1306
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1307
|
+
0 && (module.exports = {
|
|
1308
|
+
$delete,
|
|
1309
|
+
_$deleteDeserialize,
|
|
1310
|
+
_$deleteSend,
|
|
1311
|
+
_authorizeExternalReplicationDeserialize,
|
|
1312
|
+
_authorizeExternalReplicationSend,
|
|
1313
|
+
_authorizeReplicationDeserialize,
|
|
1314
|
+
_authorizeReplicationSend,
|
|
1315
|
+
_breakFileLocksDeserialize,
|
|
1316
|
+
_breakFileLocksSend,
|
|
1317
|
+
_breakReplicationDeserialize,
|
|
1318
|
+
_breakReplicationSend,
|
|
1319
|
+
_createOrUpdateDeserialize,
|
|
1320
|
+
_createOrUpdateSend,
|
|
1321
|
+
_deleteReplicationDeserialize,
|
|
1322
|
+
_deleteReplicationSend,
|
|
1323
|
+
_finalizeExternalReplicationDeserialize,
|
|
1324
|
+
_finalizeExternalReplicationSend,
|
|
1325
|
+
_finalizeRelocationDeserialize,
|
|
1326
|
+
_finalizeRelocationSend,
|
|
1327
|
+
_getDeserialize,
|
|
1328
|
+
_getSend,
|
|
1329
|
+
_listDeserialize,
|
|
1330
|
+
_listGetGroupIdListForLdapUserDeserialize,
|
|
1331
|
+
_listGetGroupIdListForLdapUserSend,
|
|
1332
|
+
_listQuotaReportDeserialize,
|
|
1333
|
+
_listQuotaReportSend,
|
|
1334
|
+
_listReplicationsDeserialize,
|
|
1335
|
+
_listReplicationsSend,
|
|
1336
|
+
_listSend,
|
|
1337
|
+
_peerExternalClusterDeserialize,
|
|
1338
|
+
_peerExternalClusterSend,
|
|
1339
|
+
_performReplicationTransferDeserialize,
|
|
1340
|
+
_performReplicationTransferSend,
|
|
1341
|
+
_poolChangeDeserialize,
|
|
1342
|
+
_poolChangeSend,
|
|
1343
|
+
_populateAvailabilityZoneDeserialize,
|
|
1344
|
+
_populateAvailabilityZoneSend,
|
|
1345
|
+
_reInitializeReplicationDeserialize,
|
|
1346
|
+
_reInitializeReplicationSend,
|
|
1347
|
+
_reestablishReplicationDeserialize,
|
|
1348
|
+
_reestablishReplicationSend,
|
|
1349
|
+
_relocateDeserialize,
|
|
1350
|
+
_relocateSend,
|
|
1351
|
+
_replicationStatusDeserialize,
|
|
1352
|
+
_replicationStatusSend,
|
|
1353
|
+
_resetCifsPasswordDeserialize,
|
|
1354
|
+
_resetCifsPasswordSend,
|
|
1355
|
+
_resyncReplicationDeserialize,
|
|
1356
|
+
_resyncReplicationSend,
|
|
1357
|
+
_revertDeserialize,
|
|
1358
|
+
_revertRelocationDeserialize,
|
|
1359
|
+
_revertRelocationSend,
|
|
1360
|
+
_revertSend,
|
|
1361
|
+
_splitCloneFromParentDeserialize,
|
|
1362
|
+
_splitCloneFromParentSend,
|
|
1363
|
+
_updateDeserialize,
|
|
1364
|
+
_updateSend,
|
|
1365
|
+
authorizeExternalReplication,
|
|
1366
|
+
authorizeReplication,
|
|
1367
|
+
breakFileLocks,
|
|
1368
|
+
breakReplication,
|
|
1369
|
+
createOrUpdate,
|
|
1370
|
+
deleteReplication,
|
|
1371
|
+
finalizeExternalReplication,
|
|
1372
|
+
finalizeRelocation,
|
|
1373
|
+
get,
|
|
1374
|
+
list,
|
|
1375
|
+
listGetGroupIdListForLdapUser,
|
|
1376
|
+
listQuotaReport,
|
|
1377
|
+
listReplications,
|
|
1378
|
+
peerExternalCluster,
|
|
1379
|
+
performReplicationTransfer,
|
|
1380
|
+
poolChange,
|
|
1381
|
+
populateAvailabilityZone,
|
|
1382
|
+
reInitializeReplication,
|
|
1383
|
+
reestablishReplication,
|
|
1384
|
+
relocate,
|
|
1385
|
+
replicationStatus,
|
|
1386
|
+
resetCifsPassword,
|
|
1387
|
+
resyncReplication,
|
|
1388
|
+
revert,
|
|
1389
|
+
revertRelocation,
|
|
1390
|
+
splitCloneFromParent,
|
|
1391
|
+
update
|
|
1392
|
+
});
|
|
1393
|
+
//# sourceMappingURL=operations.js.map
|