@azure/arm-netapp 24.1.0 → 25.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/api/accounts/index.d.ts +2 -2
- package/dist/browser/api/accounts/index.js +1 -1
- package/dist/browser/api/accounts/index.js.map +1 -1
- package/dist/browser/api/accounts/operations.d.ts +5 -1
- package/dist/browser/api/accounts/operations.js +59 -19
- package/dist/browser/api/accounts/operations.js.map +1 -1
- package/dist/browser/api/accounts/options.d.ts +5 -0
- package/dist/browser/api/accounts/options.js.map +1 -1
- package/dist/browser/api/activeDirectoryConfigs/index.d.ts +3 -0
- package/dist/browser/api/activeDirectoryConfigs/index.js +4 -0
- package/dist/browser/api/activeDirectoryConfigs/index.js.map +1 -0
- package/dist/browser/api/activeDirectoryConfigs/operations.d.ts +31 -0
- package/dist/browser/api/activeDirectoryConfigs/operations.js +207 -0
- package/dist/browser/api/activeDirectoryConfigs/operations.js.map +1 -0
- package/dist/browser/api/activeDirectoryConfigs/options.d.ts +26 -0
- package/dist/browser/api/activeDirectoryConfigs/options.js +4 -0
- package/dist/browser/api/activeDirectoryConfigs/options.js.map +1 -0
- package/dist/browser/api/backupPolicies/operations.js +13 -9
- package/dist/browser/api/backupPolicies/operations.js.map +1 -1
- package/dist/browser/api/backupVaults/operations.js +13 -9
- package/dist/browser/api/backupVaults/operations.js.map +1 -1
- package/dist/browser/api/backups/operations.js +15 -11
- package/dist/browser/api/backups/operations.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/operations.js +2 -2
- package/dist/browser/api/backupsUnderBackupVault/operations.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/operations.js +18 -14
- package/dist/browser/api/buckets/operations.js.map +1 -1
- package/dist/browser/api/caches/operations.js +18 -14
- package/dist/browser/api/caches/operations.js.map +1 -1
- package/dist/browser/api/elasticAccounts/index.d.ts +3 -0
- package/dist/browser/api/elasticAccounts/index.js +4 -0
- package/dist/browser/api/elasticAccounts/index.js.map +1 -0
- package/dist/browser/api/elasticAccounts/operations.d.ts +31 -0
- package/dist/browser/api/elasticAccounts/operations.js +207 -0
- package/dist/browser/api/elasticAccounts/operations.js.map +1 -0
- package/dist/browser/api/elasticAccounts/options.d.ts +26 -0
- package/dist/browser/api/elasticAccounts/options.js +4 -0
- package/dist/browser/api/elasticAccounts/options.js.map +1 -0
- package/dist/browser/api/elasticBackupPolicies/index.d.ts +3 -0
- package/dist/browser/api/elasticBackupPolicies/index.js +4 -0
- package/dist/browser/api/elasticBackupPolicies/index.js.map +1 -0
- package/dist/browser/api/elasticBackupPolicies/operations.d.ts +27 -0
- package/dist/browser/api/elasticBackupPolicies/operations.js +181 -0
- package/dist/browser/api/elasticBackupPolicies/operations.js.map +1 -0
- package/dist/browser/api/elasticBackupPolicies/options.d.ts +23 -0
- package/dist/browser/api/elasticBackupPolicies/options.js +4 -0
- package/dist/browser/api/elasticBackupPolicies/options.js.map +1 -0
- package/dist/browser/api/elasticBackupVaults/index.d.ts +3 -0
- package/dist/browser/api/elasticBackupVaults/index.js +4 -0
- package/dist/browser/api/elasticBackupVaults/index.js.map +1 -0
- package/dist/browser/api/elasticBackupVaults/operations.d.ts +27 -0
- package/dist/browser/api/elasticBackupVaults/operations.js +181 -0
- package/dist/browser/api/elasticBackupVaults/operations.js.map +1 -0
- package/dist/browser/api/elasticBackupVaults/options.d.ts +23 -0
- package/dist/browser/api/elasticBackupVaults/options.js +4 -0
- package/dist/browser/api/elasticBackupVaults/options.js.map +1 -0
- package/dist/browser/api/elasticBackups/index.d.ts +3 -0
- package/dist/browser/api/elasticBackups/index.js +4 -0
- package/dist/browser/api/elasticBackups/index.js.map +1 -0
- package/dist/browser/api/elasticBackups/operations.d.ts +27 -0
- package/dist/browser/api/elasticBackups/operations.js +186 -0
- package/dist/browser/api/elasticBackups/operations.js.map +1 -0
- package/dist/browser/api/elasticBackups/options.d.ts +23 -0
- package/dist/browser/api/elasticBackups/options.js +4 -0
- package/dist/browser/api/elasticBackups/options.js.map +1 -0
- package/dist/browser/api/elasticCapacityPools/index.d.ts +3 -0
- package/dist/browser/api/elasticCapacityPools/index.js +4 -0
- package/dist/browser/api/elasticCapacityPools/index.js.map +1 -0
- package/dist/browser/api/elasticCapacityPools/operations.d.ts +35 -0
- package/dist/browser/api/elasticCapacityPools/operations.js +256 -0
- package/dist/browser/api/elasticCapacityPools/operations.js.map +1 -0
- package/dist/browser/api/elasticCapacityPools/options.d.ts +31 -0
- package/dist/browser/api/elasticCapacityPools/options.js +4 -0
- package/dist/browser/api/elasticCapacityPools/options.js.map +1 -0
- package/dist/browser/api/elasticSnapshotPolicies/index.d.ts +3 -0
- package/dist/browser/api/elasticSnapshotPolicies/index.js +4 -0
- package/dist/browser/api/elasticSnapshotPolicies/index.js.map +1 -0
- package/dist/browser/api/elasticSnapshotPolicies/operations.d.ts +31 -0
- package/dist/browser/api/elasticSnapshotPolicies/operations.js +215 -0
- package/dist/browser/api/elasticSnapshotPolicies/operations.js.map +1 -0
- package/dist/browser/api/elasticSnapshotPolicies/options.d.ts +26 -0
- package/dist/browser/api/elasticSnapshotPolicies/options.js +4 -0
- package/dist/browser/api/elasticSnapshotPolicies/options.js.map +1 -0
- package/dist/browser/api/elasticSnapshots/index.d.ts +3 -0
- package/dist/browser/api/elasticSnapshots/index.js +4 -0
- package/dist/browser/api/elasticSnapshots/index.js.map +1 -0
- package/dist/browser/api/elasticSnapshots/operations.d.ts +23 -0
- package/dist/browser/api/elasticSnapshots/operations.js +151 -0
- package/dist/browser/api/elasticSnapshots/operations.js.map +1 -0
- package/dist/browser/api/elasticSnapshots/options.d.ts +18 -0
- package/dist/browser/api/elasticSnapshots/options.js +4 -0
- package/dist/browser/api/elasticSnapshots/options.js.map +1 -0
- package/dist/browser/api/elasticVolumes/index.d.ts +3 -0
- package/dist/browser/api/elasticVolumes/index.js +4 -0
- package/dist/browser/api/elasticVolumes/index.js.map +1 -0
- package/dist/browser/api/elasticVolumes/operations.d.ts +31 -0
- package/dist/browser/api/elasticVolumes/operations.js +225 -0
- package/dist/browser/api/elasticVolumes/operations.js.map +1 -0
- package/dist/browser/api/elasticVolumes/options.d.ts +28 -0
- package/dist/browser/api/elasticVolumes/options.js +4 -0
- package/dist/browser/api/elasticVolumes/options.js.map +1 -0
- package/dist/browser/api/netAppManagementContext.js +1 -1
- package/dist/browser/api/netAppManagementContext.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/operations.js +7 -3
- package/dist/browser/api/netAppResourceQuotaLimits/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
- package/dist/browser/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceRegionInfos/operations.js +7 -3
- package/dist/browser/api/netAppResourceRegionInfos/operations.js.map +1 -1
- package/dist/browser/api/netAppResourceUsages/operations.js +7 -3
- package/dist/browser/api/netAppResourceUsages/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +6 -2
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/pools/operations.js +13 -9
- package/dist/browser/api/pools/operations.js.map +1 -1
- package/dist/browser/api/ransomwareReports/operations.js +9 -5
- package/dist/browser/api/ransomwareReports/operations.js.map +1 -1
- package/dist/browser/api/snapshotPolicies/operations.js +13 -9
- package/dist/browser/api/snapshotPolicies/operations.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +15 -11
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/subvolumes/operations.js +15 -11
- package/dist/browser/api/subvolumes/operations.js.map +1 -1
- package/dist/browser/api/volumeGroups/operations.js +11 -7
- package/dist/browser/api/volumeGroups/operations.js.map +1 -1
- package/dist/browser/api/volumeQuotaRules/operations.js +13 -9
- package/dist/browser/api/volumeQuotaRules/operations.js.map +1 -1
- package/dist/browser/api/volumes/operations.js +62 -54
- package/dist/browser/api/volumes/operations.js.map +1 -1
- package/dist/browser/classic/accounts/index.d.ts +3 -1
- package/dist/browser/classic/accounts/index.js +2 -1
- package/dist/browser/classic/accounts/index.js.map +1 -1
- package/dist/browser/classic/activeDirectoryConfigs/index.d.ts +22 -0
- package/dist/browser/classic/activeDirectoryConfigs/index.js +19 -0
- package/dist/browser/classic/activeDirectoryConfigs/index.js.map +1 -0
- package/dist/browser/classic/elasticAccounts/index.d.ts +22 -0
- package/dist/browser/classic/elasticAccounts/index.js +19 -0
- package/dist/browser/classic/elasticAccounts/index.js.map +1 -0
- package/dist/browser/classic/elasticBackupPolicies/index.d.ts +20 -0
- package/dist/browser/classic/elasticBackupPolicies/index.js +18 -0
- package/dist/browser/classic/elasticBackupPolicies/index.js.map +1 -0
- package/dist/browser/classic/elasticBackupVaults/index.d.ts +20 -0
- package/dist/browser/classic/elasticBackupVaults/index.js +18 -0
- package/dist/browser/classic/elasticBackupVaults/index.js.map +1 -0
- package/dist/browser/classic/elasticBackups/index.d.ts +20 -0
- package/dist/browser/classic/elasticBackups/index.js +18 -0
- package/dist/browser/classic/elasticBackups/index.js.map +1 -0
- package/dist/browser/classic/elasticCapacityPools/index.d.ts +24 -0
- package/dist/browser/classic/elasticCapacityPools/index.js +20 -0
- package/dist/browser/classic/elasticCapacityPools/index.js.map +1 -0
- package/dist/browser/classic/elasticSnapshotPolicies/index.d.ts +22 -0
- package/dist/browser/classic/elasticSnapshotPolicies/index.js +19 -0
- package/dist/browser/classic/elasticSnapshotPolicies/index.js.map +1 -0
- package/dist/browser/classic/elasticSnapshots/index.d.ts +18 -0
- package/dist/browser/classic/elasticSnapshots/index.js +17 -0
- package/dist/browser/classic/elasticSnapshots/index.js.map +1 -0
- package/dist/browser/classic/elasticVolumes/index.d.ts +22 -0
- package/dist/browser/classic/elasticVolumes/index.js +19 -0
- package/dist/browser/classic/elasticVolumes/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +9 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/index.d.ts +13 -4
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +1639 -343
- package/dist/browser/models/models.js +1791 -284
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/netAppManagementClient.d.ts +27 -0
- package/dist/browser/netAppManagementClient.js +36 -0
- package/dist/browser/netAppManagementClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +98 -3
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/accounts/index.d.ts +2 -2
- package/dist/commonjs/api/accounts/index.js +2 -0
- package/dist/commonjs/api/accounts/index.js.map +2 -2
- package/dist/commonjs/api/accounts/operations.d.ts +5 -1
- package/dist/commonjs/api/accounts/operations.js +68 -19
- package/dist/commonjs/api/accounts/operations.js.map +2 -2
- package/dist/commonjs/api/accounts/options.d.ts +5 -0
- package/dist/commonjs/api/accounts/options.js.map +1 -1
- package/dist/commonjs/api/activeDirectoryConfigs/index.d.ts +3 -0
- package/dist/commonjs/api/activeDirectoryConfigs/index.js +38 -0
- package/dist/commonjs/api/activeDirectoryConfigs/index.js.map +7 -0
- package/dist/commonjs/api/activeDirectoryConfigs/operations.d.ts +31 -0
- package/dist/commonjs/api/activeDirectoryConfigs/operations.js +295 -0
- package/dist/commonjs/api/activeDirectoryConfigs/operations.js.map +7 -0
- package/dist/commonjs/api/activeDirectoryConfigs/options.d.ts +26 -0
- package/dist/commonjs/api/activeDirectoryConfigs/options.js +16 -0
- package/dist/commonjs/api/activeDirectoryConfigs/options.js.map +7 -0
- package/dist/commonjs/api/backupPolicies/operations.js +13 -9
- package/dist/commonjs/api/backupPolicies/operations.js.map +2 -2
- package/dist/commonjs/api/backupVaults/operations.js +13 -9
- package/dist/commonjs/api/backupVaults/operations.js.map +2 -2
- package/dist/commonjs/api/backups/operations.js +15 -11
- package/dist/commonjs/api/backups/operations.js.map +2 -2
- package/dist/commonjs/api/backupsUnderAccount/operations.js +2 -2
- package/dist/commonjs/api/backupsUnderAccount/operations.js.map +1 -1
- package/dist/commonjs/api/backupsUnderBackupVault/operations.js +2 -2
- package/dist/commonjs/api/backupsUnderBackupVault/operations.js.map +1 -1
- package/dist/commonjs/api/backupsUnderVolume/operations.js +2 -2
- package/dist/commonjs/api/backupsUnderVolume/operations.js.map +1 -1
- package/dist/commonjs/api/buckets/operations.js +18 -14
- package/dist/commonjs/api/buckets/operations.js.map +2 -2
- package/dist/commonjs/api/caches/operations.js +18 -14
- package/dist/commonjs/api/caches/operations.js.map +2 -2
- package/dist/commonjs/api/elasticAccounts/index.d.ts +3 -0
- package/dist/commonjs/api/elasticAccounts/index.js +38 -0
- package/dist/commonjs/api/elasticAccounts/index.js.map +7 -0
- package/dist/commonjs/api/elasticAccounts/operations.d.ts +31 -0
- package/dist/commonjs/api/elasticAccounts/operations.js +295 -0
- package/dist/commonjs/api/elasticAccounts/operations.js.map +7 -0
- package/dist/commonjs/api/elasticAccounts/options.d.ts +26 -0
- package/dist/commonjs/api/elasticAccounts/options.js +16 -0
- package/dist/commonjs/api/elasticAccounts/options.js.map +7 -0
- package/dist/commonjs/api/elasticBackupPolicies/index.d.ts +3 -0
- package/dist/commonjs/api/elasticBackupPolicies/index.js +36 -0
- package/dist/commonjs/api/elasticBackupPolicies/index.js.map +7 -0
- package/dist/commonjs/api/elasticBackupPolicies/operations.d.ts +27 -0
- package/dist/commonjs/api/elasticBackupPolicies/operations.js +254 -0
- package/dist/commonjs/api/elasticBackupPolicies/operations.js.map +7 -0
- package/dist/commonjs/api/elasticBackupPolicies/options.d.ts +23 -0
- package/dist/commonjs/api/elasticBackupPolicies/options.js +16 -0
- package/dist/commonjs/api/elasticBackupPolicies/options.js.map +7 -0
- package/dist/commonjs/api/elasticBackupVaults/index.d.ts +3 -0
- package/dist/commonjs/api/elasticBackupVaults/index.js +36 -0
- package/dist/commonjs/api/elasticBackupVaults/index.js.map +7 -0
- package/dist/commonjs/api/elasticBackupVaults/operations.d.ts +27 -0
- package/dist/commonjs/api/elasticBackupVaults/operations.js +254 -0
- package/dist/commonjs/api/elasticBackupVaults/operations.js.map +7 -0
- package/dist/commonjs/api/elasticBackupVaults/options.d.ts +23 -0
- package/dist/commonjs/api/elasticBackupVaults/options.js +16 -0
- package/dist/commonjs/api/elasticBackupVaults/options.js.map +7 -0
- package/dist/commonjs/api/elasticBackups/index.d.ts +3 -0
- package/dist/commonjs/api/elasticBackups/index.js +36 -0
- package/dist/commonjs/api/elasticBackups/index.js.map +7 -0
- package/dist/commonjs/api/elasticBackups/operations.d.ts +27 -0
- package/dist/commonjs/api/elasticBackups/operations.js +282 -0
- package/dist/commonjs/api/elasticBackups/operations.js.map +7 -0
- package/dist/commonjs/api/elasticBackups/options.d.ts +23 -0
- package/dist/commonjs/api/elasticBackups/options.js +16 -0
- package/dist/commonjs/api/elasticBackups/options.js.map +7 -0
- package/dist/commonjs/api/elasticCapacityPools/index.d.ts +3 -0
- package/dist/commonjs/api/elasticCapacityPools/index.js +40 -0
- package/dist/commonjs/api/elasticCapacityPools/index.js.map +7 -0
- package/dist/commonjs/api/elasticCapacityPools/operations.d.ts +35 -0
- package/dist/commonjs/api/elasticCapacityPools/operations.js +354 -0
- package/dist/commonjs/api/elasticCapacityPools/operations.js.map +7 -0
- package/dist/commonjs/api/elasticCapacityPools/options.d.ts +31 -0
- package/dist/commonjs/api/elasticCapacityPools/options.js +16 -0
- package/dist/commonjs/api/elasticCapacityPools/options.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/index.d.ts +3 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/index.js +38 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/index.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/operations.d.ts +31 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/operations.js +316 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/operations.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/options.d.ts +26 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/options.js +16 -0
- package/dist/commonjs/api/elasticSnapshotPolicies/options.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshots/index.d.ts +3 -0
- package/dist/commonjs/api/elasticSnapshots/index.js +34 -0
- package/dist/commonjs/api/elasticSnapshots/index.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshots/operations.d.ts +23 -0
- package/dist/commonjs/api/elasticSnapshots/operations.js +247 -0
- package/dist/commonjs/api/elasticSnapshots/operations.js.map +7 -0
- package/dist/commonjs/api/elasticSnapshots/options.d.ts +18 -0
- package/dist/commonjs/api/elasticSnapshots/options.js +16 -0
- package/dist/commonjs/api/elasticSnapshots/options.js.map +7 -0
- package/dist/commonjs/api/elasticVolumes/index.d.ts +3 -0
- package/dist/commonjs/api/elasticVolumes/index.js +38 -0
- package/dist/commonjs/api/elasticVolumes/index.js.map +7 -0
- package/dist/commonjs/api/elasticVolumes/operations.d.ts +31 -0
- package/dist/commonjs/api/elasticVolumes/operations.js +322 -0
- package/dist/commonjs/api/elasticVolumes/operations.js.map +7 -0
- package/dist/commonjs/api/elasticVolumes/options.d.ts +28 -0
- package/dist/commonjs/api/elasticVolumes/options.js +16 -0
- package/dist/commonjs/api/elasticVolumes/options.js.map +7 -0
- package/dist/commonjs/api/netAppManagementContext.js +1 -1
- package/dist/commonjs/api/netAppManagementContext.js.map +1 -1
- package/dist/commonjs/api/netAppResource/operations.js +7 -7
- package/dist/commonjs/api/netAppResource/operations.js.map +1 -1
- package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js +7 -3
- package/dist/commonjs/api/netAppResourceQuotaLimits/operations.js.map +2 -2
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
- package/dist/commonjs/api/netAppResourceQuotaLimitsAccount/operations.js.map +2 -2
- package/dist/commonjs/api/netAppResourceRegionInfos/operations.js +7 -3
- package/dist/commonjs/api/netAppResourceRegionInfos/operations.js.map +2 -2
- package/dist/commonjs/api/netAppResourceUsages/operations.js +7 -3
- package/dist/commonjs/api/netAppResourceUsages/operations.js.map +2 -2
- package/dist/commonjs/api/operations/operations.js +6 -2
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/pools/operations.js +13 -9
- package/dist/commonjs/api/pools/operations.js.map +2 -2
- package/dist/commonjs/api/ransomwareReports/operations.js +9 -5
- package/dist/commonjs/api/ransomwareReports/operations.js.map +2 -2
- package/dist/commonjs/api/snapshotPolicies/operations.js +13 -9
- package/dist/commonjs/api/snapshotPolicies/operations.js.map +2 -2
- package/dist/commonjs/api/snapshots/operations.js +15 -11
- package/dist/commonjs/api/snapshots/operations.js.map +2 -2
- package/dist/commonjs/api/subvolumes/operations.js +15 -11
- package/dist/commonjs/api/subvolumes/operations.js.map +2 -2
- package/dist/commonjs/api/volumeGroups/operations.js +11 -7
- package/dist/commonjs/api/volumeGroups/operations.js.map +2 -2
- package/dist/commonjs/api/volumeQuotaRules/operations.js +13 -9
- package/dist/commonjs/api/volumeQuotaRules/operations.js.map +2 -2
- package/dist/commonjs/api/volumes/operations.js +62 -54
- package/dist/commonjs/api/volumes/operations.js.map +2 -2
- package/dist/commonjs/classic/accounts/index.d.ts +3 -1
- package/dist/commonjs/classic/accounts/index.js +1 -0
- package/dist/commonjs/classic/accounts/index.js.map +2 -2
- package/dist/commonjs/classic/activeDirectoryConfigs/index.d.ts +22 -0
- package/dist/commonjs/classic/activeDirectoryConfigs/index.js +43 -0
- package/dist/commonjs/classic/activeDirectoryConfigs/index.js.map +7 -0
- package/dist/commonjs/classic/elasticAccounts/index.d.ts +22 -0
- package/dist/commonjs/classic/elasticAccounts/index.js +43 -0
- package/dist/commonjs/classic/elasticAccounts/index.js.map +7 -0
- package/dist/commonjs/classic/elasticBackupPolicies/index.d.ts +20 -0
- package/dist/commonjs/classic/elasticBackupPolicies/index.js +42 -0
- package/dist/commonjs/classic/elasticBackupPolicies/index.js.map +7 -0
- package/dist/commonjs/classic/elasticBackupVaults/index.d.ts +20 -0
- package/dist/commonjs/classic/elasticBackupVaults/index.js +42 -0
- package/dist/commonjs/classic/elasticBackupVaults/index.js.map +7 -0
- package/dist/commonjs/classic/elasticBackups/index.d.ts +20 -0
- package/dist/commonjs/classic/elasticBackups/index.js +50 -0
- package/dist/commonjs/classic/elasticBackups/index.js.map +7 -0
- package/dist/commonjs/classic/elasticCapacityPools/index.d.ts +24 -0
- package/dist/commonjs/classic/elasticCapacityPools/index.js +51 -0
- package/dist/commonjs/classic/elasticCapacityPools/index.js.map +7 -0
- package/dist/commonjs/classic/elasticSnapshotPolicies/index.d.ts +22 -0
- package/dist/commonjs/classic/elasticSnapshotPolicies/index.js +43 -0
- package/dist/commonjs/classic/elasticSnapshotPolicies/index.js.map +7 -0
- package/dist/commonjs/classic/elasticSnapshots/index.d.ts +18 -0
- package/dist/commonjs/classic/elasticSnapshots/index.js +50 -0
- package/dist/commonjs/classic/elasticSnapshots/index.js.map +7 -0
- package/dist/commonjs/classic/elasticVolumes/index.d.ts +22 -0
- package/dist/commonjs/classic/elasticVolumes/index.js +43 -0
- package/dist/commonjs/classic/elasticVolumes/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +9 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/index.d.ts +13 -4
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +48 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +1639 -343
- package/dist/commonjs/models/models.js +1653 -184
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/netAppManagementClient.d.ts +27 -0
- package/dist/commonjs/netAppManagementClient.js +36 -0
- package/dist/commonjs/netAppManagementClient.js.map +2 -2
- package/dist/commonjs/restorePollerHelpers.js +161 -66
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/esm/api/accounts/index.d.ts +2 -2
- package/dist/esm/api/accounts/index.js +1 -1
- package/dist/esm/api/accounts/index.js.map +1 -1
- package/dist/esm/api/accounts/operations.d.ts +5 -1
- package/dist/esm/api/accounts/operations.js +59 -19
- package/dist/esm/api/accounts/operations.js.map +1 -1
- package/dist/esm/api/accounts/options.d.ts +5 -0
- package/dist/esm/api/accounts/options.js.map +1 -1
- package/dist/esm/api/activeDirectoryConfigs/index.d.ts +3 -0
- package/dist/esm/api/activeDirectoryConfigs/index.js +4 -0
- package/dist/esm/api/activeDirectoryConfigs/index.js.map +1 -0
- package/dist/esm/api/activeDirectoryConfigs/operations.d.ts +31 -0
- package/dist/esm/api/activeDirectoryConfigs/operations.js +207 -0
- package/dist/esm/api/activeDirectoryConfigs/operations.js.map +1 -0
- package/dist/esm/api/activeDirectoryConfigs/options.d.ts +26 -0
- package/dist/esm/api/activeDirectoryConfigs/options.js +4 -0
- package/dist/esm/api/activeDirectoryConfigs/options.js.map +1 -0
- package/dist/esm/api/backupPolicies/operations.js +13 -9
- package/dist/esm/api/backupPolicies/operations.js.map +1 -1
- package/dist/esm/api/backupVaults/operations.js +13 -9
- package/dist/esm/api/backupVaults/operations.js.map +1 -1
- package/dist/esm/api/backups/operations.js +15 -11
- package/dist/esm/api/backups/operations.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/operations.js +2 -2
- package/dist/esm/api/backupsUnderBackupVault/operations.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/operations.js +18 -14
- package/dist/esm/api/buckets/operations.js.map +1 -1
- package/dist/esm/api/caches/operations.js +18 -14
- package/dist/esm/api/caches/operations.js.map +1 -1
- package/dist/esm/api/elasticAccounts/index.d.ts +3 -0
- package/dist/esm/api/elasticAccounts/index.js +4 -0
- package/dist/esm/api/elasticAccounts/index.js.map +1 -0
- package/dist/esm/api/elasticAccounts/operations.d.ts +31 -0
- package/dist/esm/api/elasticAccounts/operations.js +207 -0
- package/dist/esm/api/elasticAccounts/operations.js.map +1 -0
- package/dist/esm/api/elasticAccounts/options.d.ts +26 -0
- package/dist/esm/api/elasticAccounts/options.js +4 -0
- package/dist/esm/api/elasticAccounts/options.js.map +1 -0
- package/dist/esm/api/elasticBackupPolicies/index.d.ts +3 -0
- package/dist/esm/api/elasticBackupPolicies/index.js +4 -0
- package/dist/esm/api/elasticBackupPolicies/index.js.map +1 -0
- package/dist/esm/api/elasticBackupPolicies/operations.d.ts +27 -0
- package/dist/esm/api/elasticBackupPolicies/operations.js +181 -0
- package/dist/esm/api/elasticBackupPolicies/operations.js.map +1 -0
- package/dist/esm/api/elasticBackupPolicies/options.d.ts +23 -0
- package/dist/esm/api/elasticBackupPolicies/options.js +4 -0
- package/dist/esm/api/elasticBackupPolicies/options.js.map +1 -0
- package/dist/esm/api/elasticBackupVaults/index.d.ts +3 -0
- package/dist/esm/api/elasticBackupVaults/index.js +4 -0
- package/dist/esm/api/elasticBackupVaults/index.js.map +1 -0
- package/dist/esm/api/elasticBackupVaults/operations.d.ts +27 -0
- package/dist/esm/api/elasticBackupVaults/operations.js +181 -0
- package/dist/esm/api/elasticBackupVaults/operations.js.map +1 -0
- package/dist/esm/api/elasticBackupVaults/options.d.ts +23 -0
- package/dist/esm/api/elasticBackupVaults/options.js +4 -0
- package/dist/esm/api/elasticBackupVaults/options.js.map +1 -0
- package/dist/esm/api/elasticBackups/index.d.ts +3 -0
- package/dist/esm/api/elasticBackups/index.js +4 -0
- package/dist/esm/api/elasticBackups/index.js.map +1 -0
- package/dist/esm/api/elasticBackups/operations.d.ts +27 -0
- package/dist/esm/api/elasticBackups/operations.js +186 -0
- package/dist/esm/api/elasticBackups/operations.js.map +1 -0
- package/dist/esm/api/elasticBackups/options.d.ts +23 -0
- package/dist/esm/api/elasticBackups/options.js +4 -0
- package/dist/esm/api/elasticBackups/options.js.map +1 -0
- package/dist/esm/api/elasticCapacityPools/index.d.ts +3 -0
- package/dist/esm/api/elasticCapacityPools/index.js +4 -0
- package/dist/esm/api/elasticCapacityPools/index.js.map +1 -0
- package/dist/esm/api/elasticCapacityPools/operations.d.ts +35 -0
- package/dist/esm/api/elasticCapacityPools/operations.js +256 -0
- package/dist/esm/api/elasticCapacityPools/operations.js.map +1 -0
- package/dist/esm/api/elasticCapacityPools/options.d.ts +31 -0
- package/dist/esm/api/elasticCapacityPools/options.js +4 -0
- package/dist/esm/api/elasticCapacityPools/options.js.map +1 -0
- package/dist/esm/api/elasticSnapshotPolicies/index.d.ts +3 -0
- package/dist/esm/api/elasticSnapshotPolicies/index.js +4 -0
- package/dist/esm/api/elasticSnapshotPolicies/index.js.map +1 -0
- package/dist/esm/api/elasticSnapshotPolicies/operations.d.ts +31 -0
- package/dist/esm/api/elasticSnapshotPolicies/operations.js +215 -0
- package/dist/esm/api/elasticSnapshotPolicies/operations.js.map +1 -0
- package/dist/esm/api/elasticSnapshotPolicies/options.d.ts +26 -0
- package/dist/esm/api/elasticSnapshotPolicies/options.js +4 -0
- package/dist/esm/api/elasticSnapshotPolicies/options.js.map +1 -0
- package/dist/esm/api/elasticSnapshots/index.d.ts +3 -0
- package/dist/esm/api/elasticSnapshots/index.js +4 -0
- package/dist/esm/api/elasticSnapshots/index.js.map +1 -0
- package/dist/esm/api/elasticSnapshots/operations.d.ts +23 -0
- package/dist/esm/api/elasticSnapshots/operations.js +151 -0
- package/dist/esm/api/elasticSnapshots/operations.js.map +1 -0
- package/dist/esm/api/elasticSnapshots/options.d.ts +18 -0
- package/dist/esm/api/elasticSnapshots/options.js +4 -0
- package/dist/esm/api/elasticSnapshots/options.js.map +1 -0
- package/dist/esm/api/elasticVolumes/index.d.ts +3 -0
- package/dist/esm/api/elasticVolumes/index.js +4 -0
- package/dist/esm/api/elasticVolumes/index.js.map +1 -0
- package/dist/esm/api/elasticVolumes/operations.d.ts +31 -0
- package/dist/esm/api/elasticVolumes/operations.js +225 -0
- package/dist/esm/api/elasticVolumes/operations.js.map +1 -0
- package/dist/esm/api/elasticVolumes/options.d.ts +28 -0
- package/dist/esm/api/elasticVolumes/options.js +4 -0
- package/dist/esm/api/elasticVolumes/options.js.map +1 -0
- package/dist/esm/api/netAppManagementContext.js +1 -1
- package/dist/esm/api/netAppManagementContext.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/operations.js +7 -3
- package/dist/esm/api/netAppResourceQuotaLimits/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js +7 -3
- package/dist/esm/api/netAppResourceQuotaLimitsAccount/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceRegionInfos/operations.js +7 -3
- package/dist/esm/api/netAppResourceRegionInfos/operations.js.map +1 -1
- package/dist/esm/api/netAppResourceUsages/operations.js +7 -3
- package/dist/esm/api/netAppResourceUsages/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.js +6 -2
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/pools/operations.js +13 -9
- package/dist/esm/api/pools/operations.js.map +1 -1
- package/dist/esm/api/ransomwareReports/operations.js +9 -5
- package/dist/esm/api/ransomwareReports/operations.js.map +1 -1
- package/dist/esm/api/snapshotPolicies/operations.js +13 -9
- package/dist/esm/api/snapshotPolicies/operations.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +15 -11
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/api/subvolumes/operations.js +15 -11
- package/dist/esm/api/subvolumes/operations.js.map +1 -1
- package/dist/esm/api/volumeGroups/operations.js +11 -7
- package/dist/esm/api/volumeGroups/operations.js.map +1 -1
- package/dist/esm/api/volumeQuotaRules/operations.js +13 -9
- package/dist/esm/api/volumeQuotaRules/operations.js.map +1 -1
- package/dist/esm/api/volumes/operations.js +62 -54
- package/dist/esm/api/volumes/operations.js.map +1 -1
- package/dist/esm/classic/accounts/index.d.ts +3 -1
- package/dist/esm/classic/accounts/index.js +2 -1
- package/dist/esm/classic/accounts/index.js.map +1 -1
- package/dist/esm/classic/activeDirectoryConfigs/index.d.ts +22 -0
- package/dist/esm/classic/activeDirectoryConfigs/index.js +19 -0
- package/dist/esm/classic/activeDirectoryConfigs/index.js.map +1 -0
- package/dist/esm/classic/elasticAccounts/index.d.ts +22 -0
- package/dist/esm/classic/elasticAccounts/index.js +19 -0
- package/dist/esm/classic/elasticAccounts/index.js.map +1 -0
- package/dist/esm/classic/elasticBackupPolicies/index.d.ts +20 -0
- package/dist/esm/classic/elasticBackupPolicies/index.js +18 -0
- package/dist/esm/classic/elasticBackupPolicies/index.js.map +1 -0
- package/dist/esm/classic/elasticBackupVaults/index.d.ts +20 -0
- package/dist/esm/classic/elasticBackupVaults/index.js +18 -0
- package/dist/esm/classic/elasticBackupVaults/index.js.map +1 -0
- package/dist/esm/classic/elasticBackups/index.d.ts +20 -0
- package/dist/esm/classic/elasticBackups/index.js +18 -0
- package/dist/esm/classic/elasticBackups/index.js.map +1 -0
- package/dist/esm/classic/elasticCapacityPools/index.d.ts +24 -0
- package/dist/esm/classic/elasticCapacityPools/index.js +20 -0
- package/dist/esm/classic/elasticCapacityPools/index.js.map +1 -0
- package/dist/esm/classic/elasticSnapshotPolicies/index.d.ts +22 -0
- package/dist/esm/classic/elasticSnapshotPolicies/index.js +19 -0
- package/dist/esm/classic/elasticSnapshotPolicies/index.js.map +1 -0
- package/dist/esm/classic/elasticSnapshots/index.d.ts +18 -0
- package/dist/esm/classic/elasticSnapshots/index.js +17 -0
- package/dist/esm/classic/elasticSnapshots/index.js.map +1 -0
- package/dist/esm/classic/elasticVolumes/index.d.ts +22 -0
- package/dist/esm/classic/elasticVolumes/index.js +19 -0
- package/dist/esm/classic/elasticVolumes/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +9 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/index.d.ts +13 -4
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +1639 -343
- package/dist/esm/models/models.js +1791 -284
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/netAppManagementClient.d.ts +27 -0
- package/dist/esm/netAppManagementClient.js +36 -0
- package/dist/esm/netAppManagementClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +98 -3
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/package.json +129 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/accounts/operations.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { NetAppManagementContext as Client } from \"../index.js\";\nimport type {\n NetAppAccount,\n NetAppAccountPatch,\n _NetAppAccountList,\n GetKeyVaultStatusResponse,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n netAppAccountSerializer,\n netAppAccountDeserializer,\n netAppAccountPatchSerializer,\n _netAppAccountListDeserializer,\n encryptionTransitionRequestSerializer,\n getKeyVaultStatusResponseDeserializer,\n changeKeyVaultSerializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n AccountsChangeKeyVaultOptionalParams,\n AccountsGetChangeKeyVaultInformationOptionalParams,\n AccountsTransitionToCmkOptionalParams,\n AccountsRenewCredentialsOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsListOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsUpdateOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _changeKeyVaultSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsChangeKeyVaultOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.body ? options?.body : changeKeyVaultSerializer(options?.body),\n });\n}\n\nexport async function _changeKeyVaultDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault. */\nexport function changeKeyVault(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsChangeKeyVaultOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _changeKeyVaultDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _changeKeyVaultSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _getChangeKeyVaultInformationSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getChangeKeyVaultInformationDeserialize(\n result: PathUncheckedResponse,\n): Promise<GetKeyVaultStatusResponse> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return getKeyVaultStatusResponseDeserializer(result.body);\n}\n\n/** Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request. */\nexport function getChangeKeyVaultInformation(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse> {\n return getLongRunningPoller(\n context,\n _getChangeKeyVaultInformationDeserialize,\n [\"202\", \"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _getChangeKeyVaultInformationSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n },\n ) as PollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse>;\n}\n\nexport function _transitionToCmkSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsTransitionToCmkOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.body ? options?.body : encryptionTransitionRequestSerializer(options?.body),\n });\n}\n\nexport async function _transitionToCmkDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account. */\nexport function transitionToCmk(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsTransitionToCmkOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _transitionToCmkDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _transitionToCmkSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _renewCredentialsSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRenewCredentialsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _renewCredentialsDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it. */\nexport function renewCredentials(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRenewCredentialsOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _renewCredentialsDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _renewCredentialsSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_NetAppAccountList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _netAppAccountListDeserializer(result.body);\n}\n\n/** List and describe all NetApp accounts in the subscription. */\nexport function listBySubscription(\n context: Client,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<NetAppAccount> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-04-01\" },\n );\n}\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n options: AccountsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_NetAppAccountList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _netAppAccountListDeserializer(result.body);\n}\n\n/** List and describe all NetApp accounts in the resource group. */\nexport function list(\n context: Client,\n resourceGroupName: string,\n options: AccountsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<NetAppAccount> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2026-04-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Delete the specified NetApp account */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccountPatch,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: netAppAccountPatchSerializer(body),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Patch the specified NetApp account */\nexport function update(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccountPatch,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<NetAppAccount>, NetAppAccount> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _updateSend(context, resourceGroupName, accountName, body, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<NetAppAccount>, NetAppAccount>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccount,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: netAppAccountSerializer(body),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Create or update the specified NetApp account within the resource group */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccount,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<NetAppAccount>, NetAppAccount> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, accountName, body, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-01\",\n }) as PollerLike<OperationState<NetAppAccount>, NetAppAccount>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Get the NetApp account */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): Promise<NetAppAccount> {\n const result = await _getSend(context, resourceGroupName, accountName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUA,oBASO;AAEP,2BAAwC;AACxC,4BAAqC;AACrC,yBAAkC;
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { NetAppManagementContext as Client } from \"../index.js\";\nimport type {\n NetAppAccount,\n NetAppAccountPatch,\n _NetAppAccountList,\n GetKeyVaultStatusResponse,\n} from \"../../models/models.js\";\nimport {\n errorResponseDeserializer,\n netAppAccountSerializer,\n netAppAccountDeserializer,\n netAppAccountPatchSerializer,\n _netAppAccountListDeserializer,\n encryptionTransitionRequestSerializer,\n getKeyVaultStatusResponseDeserializer,\n changeKeyVaultSerializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n AccountsRefreshLdapBindPasswordOptionalParams,\n AccountsChangeKeyVaultOptionalParams,\n AccountsGetChangeKeyVaultInformationOptionalParams,\n AccountsTransitionToCmkOptionalParams,\n AccountsRenewCredentialsOptionalParams,\n AccountsListBySubscriptionOptionalParams,\n AccountsListOptionalParams,\n AccountsDeleteOptionalParams,\n AccountsUpdateOptionalParams,\n AccountsCreateOrUpdateOptionalParams,\n AccountsGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _refreshLdapBindPasswordSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRefreshLdapBindPasswordOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/refreshLdapBindPassword{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _refreshLdapBindPasswordDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Refresh LDAP Bind DN password by fetching the latest password from Azure Key Vault. */\nexport function refreshLdapBindPassword(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRefreshLdapBindPasswordOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _refreshLdapBindPasswordDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _refreshLdapBindPasswordSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _changeKeyVaultSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsChangeKeyVaultOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/changeKeyVault{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.body ? options?.body : changeKeyVaultSerializer(options?.body),\n });\n}\n\nexport async function _changeKeyVaultDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Affects existing volumes that are encrypted with Key Vault/Managed HSM, and new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and Key Vault to Key Vault. */\nexport function changeKeyVault(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsChangeKeyVaultOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _changeKeyVaultDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _changeKeyVaultSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _getChangeKeyVaultInformationSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/getKeyVaultStatus{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getChangeKeyVaultInformationDeserialize(\n result: PathUncheckedResponse,\n): Promise<GetKeyVaultStatusResponse> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return getKeyVaultStatusResponseDeserializer(result.body);\n}\n\n/** Contains data from encryption.keyVaultProperties as well as information about which private endpoint is used by each encryption sibling set. Response from this endpoint can be modified and used as request body for POST request. */\nexport function getChangeKeyVaultInformation(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetChangeKeyVaultInformationOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse> {\n return getLongRunningPoller(\n context,\n _getChangeKeyVaultInformationDeserialize,\n [\"202\", \"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _getChangeKeyVaultInformationSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n },\n ) as PollerLike<OperationState<GetKeyVaultStatusResponse>, GetKeyVaultStatusResponse>;\n}\n\nexport function _transitionToCmkSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsTransitionToCmkOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: !options?.body ? options?.body : encryptionTransitionRequestSerializer(options?.body),\n });\n}\n\nexport async function _transitionToCmkDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account. */\nexport function transitionToCmk(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsTransitionToCmkOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _transitionToCmkDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _transitionToCmkSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _renewCredentialsSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRenewCredentialsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/renewCredentials{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _renewCredentialsDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Renew identity credentials that are used to authenticate to key vault, for customer-managed key encryption. If encryption.identity.principalId does not match identity.principalId, running this operation will fix it. */\nexport function renewCredentials(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsRenewCredentialsOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _renewCredentialsDeserialize, [\"202\", \"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _renewCredentialsSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_NetAppAccountList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _netAppAccountListDeserializer(result.body);\n}\n\n/** List and describe all NetApp accounts in the subscription. */\nexport function listBySubscription(\n context: Client,\n options: AccountsListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<NetAppAccount> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n },\n );\n}\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n options: AccountsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_NetAppAccountList> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _netAppAccountListDeserializer(result.body);\n}\n\n/** List and describe all NetApp accounts in the resource group. */\nexport function list(\n context: Client,\n resourceGroupName: string,\n options: AccountsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<NetAppAccount> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Delete the specified NetApp account */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, accountName, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccountPatch,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: netAppAccountPatchSerializer(body),\n });\n}\n\nexport async function _updateDeserialize(result: PathUncheckedResponse): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\", \"202\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Patch the specified NetApp account */\nexport function update(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccountPatch,\n options: AccountsUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<NetAppAccount>, NetAppAccount> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _updateSend(context, resourceGroupName, accountName, body, options),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<NetAppAccount>, NetAppAccount>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccount,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: netAppAccountSerializer(body),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Create or update the specified NetApp account within the resource group */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n body: NetAppAccount,\n options: AccountsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<NetAppAccount>, NetAppAccount> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, accountName, body, options),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2026-04-15-preview\",\n }) as PollerLike<OperationState<NetAppAccount>, NetAppAccount>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n accountName: accountName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-04-15-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<NetAppAccount> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return netAppAccountDeserializer(result.body);\n}\n\n/** Get the NetApp account */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n accountName: string,\n options: AccountsGetOptionalParams = { requestOptions: {} },\n): Promise<NetAppAccount> {\n const result = await _getSend(context, resourceGroupName, accountName, options);\n return _getDeserialize(result);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AA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C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,yCAA0B,OAAO,IAAI;AAAA,IACvD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,yCAA0B,OAAO,IAAI;AAC9C;AAGA,eAAsB,IACpB,SACA,mBACA,aACA,UAAqC,EAAE,gBAAgB,CAAC,EAAE,GAClC;AACxB,QAAM,SAAS,MAAM,SAAS,SAAS,mBAAmB,aAAa,OAAO;AAC9E,SAAO,gBAAgB,MAAM;AAC/B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { EncryptionTransitionRequest, ChangeKeyVault } from "../../models/models.js";
|
|
2
2
|
import type { OperationOptions } from "@azure-rest/core-client";
|
|
3
3
|
/** Optional parameters. */
|
|
4
|
+
export interface AccountsRefreshLdapBindPasswordOptionalParams extends OperationOptions {
|
|
5
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
6
|
+
updateIntervalInMs?: number;
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
4
9
|
export interface AccountsChangeKeyVaultOptionalParams extends OperationOptions {
|
|
5
10
|
/** Delay to wait until next poll, in milliseconds. */
|
|
6
11
|
updateIntervalInMs?: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/api/accounts/options.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { EncryptionTransitionRequest, ChangeKeyVault } from \"../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface AccountsChangeKeyVaultOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The required parameters to perform encryption migration. */\n body?: ChangeKeyVault;\n}\n\n/** Optional parameters. */\nexport interface AccountsGetChangeKeyVaultInformationOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsTransitionToCmkOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The required parameters to perform encryption transition. */\n body?: EncryptionTransitionRequest;\n}\n\n/** Optional parameters. */\nexport interface AccountsRenewCredentialsOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface AccountsListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface AccountsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsGetOptionalParams extends OperationOptions {}\n"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { EncryptionTransitionRequest, ChangeKeyVault } from \"../../models/models.js\";\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface AccountsRefreshLdapBindPasswordOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsChangeKeyVaultOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The required parameters to perform encryption migration. */\n body?: ChangeKeyVault;\n}\n\n/** Optional parameters. */\nexport interface AccountsGetChangeKeyVaultInformationOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsTransitionToCmkOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** The required parameters to perform encryption transition. */\n body?: EncryptionTransitionRequest;\n}\n\n/** Optional parameters. */\nexport interface AccountsRenewCredentialsOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsListBySubscriptionOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface AccountsListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface AccountsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface AccountsGetOptionalParams extends OperationOptions {}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
|
|
2
|
+
export type { ActiveDirectoryConfigsListBySubscriptionOptionalParams, ActiveDirectoryConfigsListByResourceGroupOptionalParams, ActiveDirectoryConfigsDeleteOptionalParams, ActiveDirectoryConfigsUpdateOptionalParams, ActiveDirectoryConfigsCreateOrUpdateOptionalParams, ActiveDirectoryConfigsGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
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 activeDirectoryConfigs_exports = {};
|
|
19
|
+
__export(activeDirectoryConfigs_exports, {
|
|
20
|
+
$delete: () => import_operations.$delete,
|
|
21
|
+
createOrUpdate: () => import_operations.createOrUpdate,
|
|
22
|
+
get: () => import_operations.get,
|
|
23
|
+
listByResourceGroup: () => import_operations.listByResourceGroup,
|
|
24
|
+
listBySubscription: () => import_operations.listBySubscription,
|
|
25
|
+
update: () => import_operations.update
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(activeDirectoryConfigs_exports);
|
|
28
|
+
var import_operations = require("./operations.js");
|
|
29
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
30
|
+
0 && (module.exports = {
|
|
31
|
+
$delete,
|
|
32
|
+
createOrUpdate,
|
|
33
|
+
get,
|
|
34
|
+
listByResourceGroup,
|
|
35
|
+
listBySubscription,
|
|
36
|
+
update
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/activeDirectoryConfigs/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport type {\n ActiveDirectoryConfigsListBySubscriptionOptionalParams,\n ActiveDirectoryConfigsListByResourceGroupOptionalParams,\n ActiveDirectoryConfigsDeleteOptionalParams,\n ActiveDirectoryConfigsUpdateOptionalParams,\n ActiveDirectoryConfigsCreateOrUpdateOptionalParams,\n ActiveDirectoryConfigsGetOptionalParams,\n} from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAOO;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { NetAppManagementContext as Client } from "../index.js";
|
|
2
|
+
import type { ActiveDirectoryConfig, ActiveDirectoryConfigUpdate, _ActiveDirectoryConfigListResult } from "../../models/models.js";
|
|
3
|
+
import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import type { ActiveDirectoryConfigsListBySubscriptionOptionalParams, ActiveDirectoryConfigsListByResourceGroupOptionalParams, ActiveDirectoryConfigsDeleteOptionalParams, ActiveDirectoryConfigsUpdateOptionalParams, ActiveDirectoryConfigsCreateOrUpdateOptionalParams, ActiveDirectoryConfigsGetOptionalParams } from "./options.js";
|
|
5
|
+
import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listBySubscriptionSend(context: Client, options?: ActiveDirectoryConfigsListBySubscriptionOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_ActiveDirectoryConfigListResult>;
|
|
9
|
+
/** List all active directory configurations within the subscription */
|
|
10
|
+
export declare function listBySubscription(context: Client, options?: ActiveDirectoryConfigsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ActiveDirectoryConfig>;
|
|
11
|
+
export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: ActiveDirectoryConfigsListByResourceGroupOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_ActiveDirectoryConfigListResult>;
|
|
13
|
+
/** List all active directory configurations within the resource group. */
|
|
14
|
+
export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: ActiveDirectoryConfigsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ActiveDirectoryConfig>;
|
|
15
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, options?: ActiveDirectoryConfigsDeleteOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
17
|
+
/** Delete the specified Active Directory configuration */
|
|
18
|
+
export declare function $delete(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, options?: ActiveDirectoryConfigsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
19
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfigUpdate, options?: ActiveDirectoryConfigsUpdateOptionalParams): StreamableMethod;
|
|
20
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<ActiveDirectoryConfig>;
|
|
21
|
+
/** Patch the specified active directory configuration */
|
|
22
|
+
export declare function update(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfigUpdate, options?: ActiveDirectoryConfigsUpdateOptionalParams): PollerLike<OperationState<ActiveDirectoryConfig>, ActiveDirectoryConfig>;
|
|
23
|
+
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfig, options?: ActiveDirectoryConfigsCreateOrUpdateOptionalParams): StreamableMethod;
|
|
24
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<ActiveDirectoryConfig>;
|
|
25
|
+
/** Create or update the specified active directory configuration */
|
|
26
|
+
export declare function createOrUpdate(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, body: ActiveDirectoryConfig, options?: ActiveDirectoryConfigsCreateOrUpdateOptionalParams): PollerLike<OperationState<ActiveDirectoryConfig>, ActiveDirectoryConfig>;
|
|
27
|
+
export declare function _getSend(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, options?: ActiveDirectoryConfigsGetOptionalParams): StreamableMethod;
|
|
28
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<ActiveDirectoryConfig>;
|
|
29
|
+
/** Get the details of the specified active directory configuration */
|
|
30
|
+
export declare function get(context: Client, resourceGroupName: string, activeDirectoryConfigName: string, options?: ActiveDirectoryConfigsGetOptionalParams): Promise<ActiveDirectoryConfig>;
|
|
31
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,295 @@
|
|
|
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
|
+
_createOrUpdateDeserialize: () => _createOrUpdateDeserialize,
|
|
24
|
+
_createOrUpdateSend: () => _createOrUpdateSend,
|
|
25
|
+
_getDeserialize: () => _getDeserialize,
|
|
26
|
+
_getSend: () => _getSend,
|
|
27
|
+
_listByResourceGroupDeserialize: () => _listByResourceGroupDeserialize,
|
|
28
|
+
_listByResourceGroupSend: () => _listByResourceGroupSend,
|
|
29
|
+
_listBySubscriptionDeserialize: () => _listBySubscriptionDeserialize,
|
|
30
|
+
_listBySubscriptionSend: () => _listBySubscriptionSend,
|
|
31
|
+
_updateDeserialize: () => _updateDeserialize,
|
|
32
|
+
_updateSend: () => _updateSend,
|
|
33
|
+
createOrUpdate: () => createOrUpdate,
|
|
34
|
+
get: () => get,
|
|
35
|
+
listByResourceGroup: () => listByResourceGroup,
|
|
36
|
+
listBySubscription: () => listBySubscription,
|
|
37
|
+
update: () => update
|
|
38
|
+
});
|
|
39
|
+
module.exports = __toCommonJS(operations_exports);
|
|
40
|
+
var import_models = require("../../models/models.js");
|
|
41
|
+
var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
|
|
42
|
+
var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
|
|
43
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
44
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
45
|
+
function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
|
|
46
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
47
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/activeDirectoryConfigs{?api%2Dversion}",
|
|
48
|
+
{
|
|
49
|
+
subscriptionId: context.subscriptionId,
|
|
50
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
return context.path(path).get({
|
|
57
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
58
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
async function _listBySubscriptionDeserialize(result) {
|
|
62
|
+
const expectedStatuses = ["200"];
|
|
63
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
64
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
65
|
+
if (result.body) {
|
|
66
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
67
|
+
}
|
|
68
|
+
throw error;
|
|
69
|
+
}
|
|
70
|
+
return (0, import_models._activeDirectoryConfigListResultDeserializer)(result.body);
|
|
71
|
+
}
|
|
72
|
+
function listBySubscription(context, options = { requestOptions: {} }) {
|
|
73
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
74
|
+
context,
|
|
75
|
+
() => _listBySubscriptionSend(context, options),
|
|
76
|
+
_listBySubscriptionDeserialize,
|
|
77
|
+
["200"],
|
|
78
|
+
{
|
|
79
|
+
itemName: "value",
|
|
80
|
+
nextLinkName: "nextLink",
|
|
81
|
+
apiVersion: context.apiVersion ?? "2026-04-15-preview"
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
86
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
87
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs{?api%2Dversion}",
|
|
88
|
+
{
|
|
89
|
+
subscriptionId: context.subscriptionId,
|
|
90
|
+
resourceGroupName,
|
|
91
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
95
|
+
}
|
|
96
|
+
);
|
|
97
|
+
return context.path(path).get({
|
|
98
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
99
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
async function _listByResourceGroupDeserialize(result) {
|
|
103
|
+
const expectedStatuses = ["200"];
|
|
104
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
105
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
106
|
+
if (result.body) {
|
|
107
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
108
|
+
}
|
|
109
|
+
throw error;
|
|
110
|
+
}
|
|
111
|
+
return (0, import_models._activeDirectoryConfigListResultDeserializer)(result.body);
|
|
112
|
+
}
|
|
113
|
+
function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
114
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
115
|
+
context,
|
|
116
|
+
() => _listByResourceGroupSend(context, resourceGroupName, options),
|
|
117
|
+
_listByResourceGroupDeserialize,
|
|
118
|
+
["200"],
|
|
119
|
+
{
|
|
120
|
+
itemName: "value",
|
|
121
|
+
nextLinkName: "nextLink",
|
|
122
|
+
apiVersion: context.apiVersion ?? "2026-04-15-preview"
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
function _$deleteSend(context, resourceGroupName, activeDirectoryConfigName, options = { requestOptions: {} }) {
|
|
127
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
128
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}{?api%2Dversion}",
|
|
129
|
+
{
|
|
130
|
+
subscriptionId: context.subscriptionId,
|
|
131
|
+
resourceGroupName,
|
|
132
|
+
activeDirectoryConfigName,
|
|
133
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
137
|
+
}
|
|
138
|
+
);
|
|
139
|
+
return context.path(path).delete({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
|
|
140
|
+
}
|
|
141
|
+
async function _$deleteDeserialize(result) {
|
|
142
|
+
const expectedStatuses = ["202", "204", "200"];
|
|
143
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
144
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
145
|
+
if (result.body) {
|
|
146
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
147
|
+
}
|
|
148
|
+
throw error;
|
|
149
|
+
}
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
function $delete(context, resourceGroupName, activeDirectoryConfigName, options = { requestOptions: {} }) {
|
|
153
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
|
|
154
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
155
|
+
abortSignal: options?.abortSignal,
|
|
156
|
+
getInitialResponse: () => _$deleteSend(context, resourceGroupName, activeDirectoryConfigName, options),
|
|
157
|
+
resourceLocationConfig: "location",
|
|
158
|
+
apiVersion: context.apiVersion ?? "2026-04-15-preview"
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
function _updateSend(context, resourceGroupName, activeDirectoryConfigName, body, options = { requestOptions: {} }) {
|
|
162
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
163
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}{?api%2Dversion}",
|
|
164
|
+
{
|
|
165
|
+
subscriptionId: context.subscriptionId,
|
|
166
|
+
resourceGroupName,
|
|
167
|
+
activeDirectoryConfigName,
|
|
168
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
172
|
+
}
|
|
173
|
+
);
|
|
174
|
+
return context.path(path).patch({
|
|
175
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
176
|
+
contentType: "application/json",
|
|
177
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
178
|
+
body: (0, import_models.activeDirectoryConfigUpdateSerializer)(body)
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
async function _updateDeserialize(result) {
|
|
182
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
183
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
184
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
185
|
+
if (result.body) {
|
|
186
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
187
|
+
}
|
|
188
|
+
throw error;
|
|
189
|
+
}
|
|
190
|
+
return (0, import_models.activeDirectoryConfigDeserializer)(result.body);
|
|
191
|
+
}
|
|
192
|
+
function update(context, resourceGroupName, activeDirectoryConfigName, body, options = { requestOptions: {} }) {
|
|
193
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _updateDeserialize, ["200", "202", "201"], {
|
|
194
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
195
|
+
abortSignal: options?.abortSignal,
|
|
196
|
+
getInitialResponse: () => _updateSend(context, resourceGroupName, activeDirectoryConfigName, body, options),
|
|
197
|
+
resourceLocationConfig: "location",
|
|
198
|
+
apiVersion: context.apiVersion ?? "2026-04-15-preview"
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
function _createOrUpdateSend(context, resourceGroupName, activeDirectoryConfigName, body, options = { requestOptions: {} }) {
|
|
202
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
203
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}{?api%2Dversion}",
|
|
204
|
+
{
|
|
205
|
+
subscriptionId: context.subscriptionId,
|
|
206
|
+
resourceGroupName,
|
|
207
|
+
activeDirectoryConfigName,
|
|
208
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
return context.path(path).put({
|
|
215
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
216
|
+
contentType: "application/json",
|
|
217
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
218
|
+
body: (0, import_models.activeDirectoryConfigSerializer)(body)
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
async function _createOrUpdateDeserialize(result) {
|
|
222
|
+
const expectedStatuses = ["200", "201", "202"];
|
|
223
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
224
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
225
|
+
if (result.body) {
|
|
226
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
227
|
+
}
|
|
228
|
+
throw error;
|
|
229
|
+
}
|
|
230
|
+
return (0, import_models.activeDirectoryConfigDeserializer)(result.body);
|
|
231
|
+
}
|
|
232
|
+
function createOrUpdate(context, resourceGroupName, activeDirectoryConfigName, body, options = { requestOptions: {} }) {
|
|
233
|
+
return (0, import_pollingHelpers.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
|
|
234
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
235
|
+
abortSignal: options?.abortSignal,
|
|
236
|
+
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, activeDirectoryConfigName, body, options),
|
|
237
|
+
resourceLocationConfig: "azure-async-operation",
|
|
238
|
+
apiVersion: context.apiVersion ?? "2026-04-15-preview"
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
function _getSend(context, resourceGroupName, activeDirectoryConfigName, options = { requestOptions: {} }) {
|
|
242
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
243
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/activeDirectoryConfigs/{activeDirectoryConfigName}{?api%2Dversion}",
|
|
244
|
+
{
|
|
245
|
+
subscriptionId: context.subscriptionId,
|
|
246
|
+
resourceGroupName,
|
|
247
|
+
activeDirectoryConfigName,
|
|
248
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-15-preview"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
252
|
+
}
|
|
253
|
+
);
|
|
254
|
+
return context.path(path).get({
|
|
255
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
256
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
async function _getDeserialize(result) {
|
|
260
|
+
const expectedStatuses = ["200"];
|
|
261
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
262
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
263
|
+
if (result.body) {
|
|
264
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
265
|
+
}
|
|
266
|
+
throw error;
|
|
267
|
+
}
|
|
268
|
+
return (0, import_models.activeDirectoryConfigDeserializer)(result.body);
|
|
269
|
+
}
|
|
270
|
+
async function get(context, resourceGroupName, activeDirectoryConfigName, options = { requestOptions: {} }) {
|
|
271
|
+
const result = await _getSend(context, resourceGroupName, activeDirectoryConfigName, options);
|
|
272
|
+
return _getDeserialize(result);
|
|
273
|
+
}
|
|
274
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
275
|
+
0 && (module.exports = {
|
|
276
|
+
$delete,
|
|
277
|
+
_$deleteDeserialize,
|
|
278
|
+
_$deleteSend,
|
|
279
|
+
_createOrUpdateDeserialize,
|
|
280
|
+
_createOrUpdateSend,
|
|
281
|
+
_getDeserialize,
|
|
282
|
+
_getSend,
|
|
283
|
+
_listByResourceGroupDeserialize,
|
|
284
|
+
_listByResourceGroupSend,
|
|
285
|
+
_listBySubscriptionDeserialize,
|
|
286
|
+
_listBySubscriptionSend,
|
|
287
|
+
_updateDeserialize,
|
|
288
|
+
_updateSend,
|
|
289
|
+
createOrUpdate,
|
|
290
|
+
get,
|
|
291
|
+
listByResourceGroup,
|
|
292
|
+
listBySubscription,
|
|
293
|
+
update
|
|
294
|
+
});
|
|
295
|
+
//# sourceMappingURL=operations.js.map
|