UNPKG

node-ovh-ts

Version:

OVH API wrapper library for TypeScript

2 lines 31.3 kB
var a=class{constructor(e){this.list=()=>this.ovh.request("GET","/dedicatedCloud");this.listCommercialRange=()=>this.ovh.request("GET","/dedicatedCloud/commercialRange");this.getCommercialRangeByCommercialRangeName=e=>this.ovh.request("GET",`/dedicatedCloud/commercialRange/${e}`);this.listLocation=()=>this.ovh.request("GET","/dedicatedCloud/location");this.getLocationByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}`);this.getLocationHostProfileByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/hostProfile`);this.getLocationHostProfileByPccZoneAndId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/location/${t}/hostProfile/${e}`);this.getLocationHypervisorByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/hypervisor`);this.getLocationHypervisorByPccZoneAndShortName=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/hypervisor/${t}`);this.getLocationStockHostByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/stock/host`);this.getLocationStockPccByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/stock/pcc`);this.getLocationStockZpoolByPccZone=e=>this.ovh.request("GET",`/dedicatedCloud/location/${e}/stock/zpool`);this.getByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}`);this.updateByServiceName=(e,t)=>this.ovh.request("PUT",`/dedicatedCloud/${e}`,t);this.getAllowedNetworkByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/allowedNetwork`);this.createAllowedNetworkByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/allowedNetwork`,t);this.deleteAllowedNetworkByServiceNameAndNetworkAccessId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/allowedNetwork/${e}`);this.getAllowedNetworkByServiceNameAndNetworkAccessId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/allowedNetwork/${e}`);this.updateAllowedNetworkByServiceNameAndNetworkAccessId=(e,t,r)=>this.ovh.request("PUT",`/dedicatedCloud/${t}/allowedNetwork/${e}`,r);this.getAllowedNetworkTaskByServiceNameAndNetworkAccessId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/allowedNetwork/${e}/task`);this.getAllowedNetworkTaskByServiceNameAndNetworkAccessIdAndTaskId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/allowedNetwork/${e}/task/${r}`);this.updateAllowedNetworkTaskMaintenanceExecutionDateByServiceNameAndNetworkAccessIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/allowedNetwork/${e}/task/${r}/changeMaintenanceExecutionDate`,d);this.postAllowedNetworkTaskResetTaskStateByServiceNameAndNetworkAccessIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/allowedNetwork/${e}/task/${r}/resetTaskState`,d);this.getBackupRepositoryByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/backupRepository`);this.getBackupRepositoryByServiceNameAndRepositoryId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/backupRepository/${e}`);this.getCapabilitiesByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/capabilities`);this.launchChangeContactByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/changeContact`,t);this.updateChangePropertiesByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/changeProperties`,t);this.getCommercialRangeComplianceByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/commercialRange/compliance`);this.getCommercialRangeOrderableByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/commercialRange/orderable`);this.confirmTerminationByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/confirmTermination`,t);this.getDatacenterByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/datacenter`);this.addDatacenterByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/datacenter`,t);this.deleteDatacenterByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/datacenter/${e}`);this.getDatacenterByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}`);this.updateDatacenterByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("PUT",`/dedicatedCloud/${t}/datacenter/${e}`,r);this.getDatacenterBackupByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/backup`);this.postDatacenterBackupBatchRestoreByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/batchRestore`,r);this.getDatacenterBackupCanOptimizeProxiesByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/backup/canOptimizeProxies`);this.updateDatacenterBackupChangePropertiesByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/changeProperties`,r);this.disableDatacenterBackupByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/disable`);this.enableDatacenterBackupByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/enable`,r);this.postDatacenterBackupGenerateReportByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/generateReport`);this.listDatacenterBackupOfferCapabilitiesByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/backup/offerCapabilities`);this.postDatacenterBackupOptimizeProxiesByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/backup/optimizeProxies`);this.getDatacenterBackupRepositoryByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/backupRepository`);this.getDatacenterBackupRepositoryByServiceNameAndDatacenterIdAndRepositoryId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/backupRepository/${t}`);this.checkDatacenterBackupJobsByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/checkBackupJobs`);this.getDatacenterClusterByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/cluster`);this.getDatacenterClusterByServiceNameAndDatacenterIdAndId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/cluster/${t}`);this.disableDatacenterDisasterRecoveryZertoByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/disable`,r);this.enableDatacenterDisasterRecoveryZertoByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/enable`,r);this.postDatacenterDisasterRecoveryZertoEndMigrationByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/endMigration`);this.postDatacenterDisasterRecoveryZertoStartMigrationByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/startMigration`);this.getDatacenterDisasterRecoveryZertoStatusByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/status`);this.getDatacenterDisasterRecoveryZertoUsageReportByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zerto/usageReport`);this.postDatacenterDisasterRecoveryZertoSingleConfigureVpnByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zertoSingle/configureVpn`,r);this.getDatacenterDisasterRecoveryZertoSingleDefaultLocalVraNetworkByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zertoSingle/defaultLocalVraNetwork`);this.disableDatacenterDisasterRecoveryZertoSingleByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zertoSingle/disable`);this.enableDatacenterDisasterRecoveryZertoSingleByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zertoSingle/enable`,r);this.postDatacenterDisasterRecoveryZertoSingleRequestPairingTokenByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/disasterRecovery/zertoSingle/requestPairingToken`);this.getDatacenterFilerByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/filer`);this.getDatacenterFilerByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}`);this.checkDatacenterFilerGlobalCompatibleByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/checkGlobalCompatible`);this.updateDatacenterFilerConvertToGlobalByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/convertToGlobal`);this.getDatacenterFilerHourlyConsumptionByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/hourlyConsumption`);this.getDatacenterFilerLocationByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/location`);this.postDatacenterFilerRemoveByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/remove`);this.getDatacenterFilerTaskByServiceNameAndDatacenterIdAndFilerId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/task`);this.getDatacenterFilerTaskByServiceNameAndDatacenterIdAndFilerIdAndTaskId=(e,t,r,d)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/task/${d}`);this.updateDatacenterFilerTaskMaintenanceExecutionDateByServiceNameAndDatacenterIdAndFilerIdAndTaskId=(e,t,r,d,i)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/task/${d}/changeMaintenanceExecutionDate`,i);this.postDatacenterFilerTaskResetTaskStateByServiceNameAndDatacenterIdAndFilerIdAndTaskId=(e,t,r,d,i)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/filer/${t}/task/${d}/resetTaskState`,i);this.getDatacenterHostByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/host`);this.getDatacenterHostByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}`);this.addDatacenterHostHostSpareByServiceNameAndDatacenterIdAndHostId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/addHostSpare`,d);this.getDatacenterHostHourlyConsumptionByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/hourlyConsumption`);this.getDatacenterHostLocationByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/location`);this.postDatacenterHostRemoveByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/remove`);this.getDatacenterHostResilienceByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/resilience`);this.checkDatacenterHostResilienceCanBeEnabledByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/resilience/canBeEnabled`);this.disableDatacenterHostResilienceByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/resilience/disable`);this.enableDatacenterHostResilienceByServiceNameAndDatacenterIdAndHostId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/resilience/enable`,d);this.getDatacenterHostTaskByServiceNameAndDatacenterIdAndHostId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/task`);this.getDatacenterHostTaskByServiceNameAndDatacenterIdAndHostIdAndTaskId=(e,t,r,d)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/task/${d}`);this.updateDatacenterHostTaskMaintenanceExecutionDateByServiceNameAndDatacenterIdAndHostIdAndTaskId=(e,t,r,d,i)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/task/${d}/changeMaintenanceExecutionDate`,i);this.postDatacenterHostTaskResetTaskStateByServiceNameAndDatacenterIdAndHostIdAndTaskId=(e,t,r,d,i)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/host/${t}/task/${d}/resetTaskState`,i);this.postDatacenterOrderNewFilerHourlyByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/orderNewFilerHourly`,r);this.postDatacenterOrderNewHostHourlyByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/orderNewHostHourly`,r);this.listDatacenterOrderableFilerProfilesByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/orderableFilerProfiles`);this.listDatacenterOrderableHostProfilesByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/orderableHostProfiles`);this.getDatacenterPrivateGatewayByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/privateGateway`);this.postDatacenterPrivateGatewayDisableByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/privateGateway/disable`);this.postDatacenterPrivateGatewayEnableByServiceNameAndDatacenterId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/privateGateway/enable`,r);this.getDatacenterTaskByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/task`);this.getDatacenterTaskByServiceNameAndDatacenterIdAndTaskId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/task/${r}`);this.updateDatacenterTaskMaintenanceExecutionDateByServiceNameAndDatacenterIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/task/${r}/changeMaintenanceExecutionDate`,d);this.postDatacenterTaskResetTaskStateByServiceNameAndDatacenterIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/task/${r}/resetTaskState`,d);this.getDatacenterVmByServiceNameAndDatacenterId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/vm`);this.getDatacenterVmByServiceNameAndDatacenterIdAndVmId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}`);this.getDatacenterVmBackupJobByServiceNameAndDatacenterIdAndVmId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/backupJob`);this.updateDatacenterVmBackupJobByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/backupJob`,d);this.disableDatacenterVmBackupJobByServiceNameAndDatacenterIdAndVmId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/backupJob/disable`);this.enableDatacenterVmBackupJobByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/backupJob/enable`,d);this.getDatacenterVmBackupJobRestorePointsByServiceNameAndDatacenterIdAndVmId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/backupJob/restorePoints`);this.getDatacenterVmBackupJobRestorePointsByServiceNameAndDatacenterIdAndVmIdAndRestorePointId=(e,t,r,d)=>this.ovh.request("GET",`/dedicatedCloud/${r}/datacenter/${e}/vm/${d}/backupJob/restorePoints/${t}`);this.postDatacenterVmBackupJobRestorePointsRestoreByServiceNameAndDatacenterIdAndVmIdAndRestorePointId=(e,t,r,d,i)=>this.ovh.request("POST",`/dedicatedCloud/${r}/datacenter/${e}/vm/${d}/backupJob/restorePoints/${t}/restore`,i);this.disableDatacenterVmBackupByServiceNameAndDatacenterIdAndVmId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/disableBackup`);this.disableDatacenterVmCarpByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/disableCarp`,d);this.updateDatacenterVmBackupByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/editBackup`,d);this.enableDatacenterVmBackupByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/enableBackup`,d);this.enableDatacenterVmCarpByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/enableCarp`,d);this.postDatacenterVmRestoreBackupByServiceNameAndDatacenterIdAndVmId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/datacenter/${e}/vm/${r}/restoreBackup`,d);this.getFederationByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/federation`);this.getFederationActiveDirectoryByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/federation/activeDirectory`);this.addFederationActiveDirectoryByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/federation/activeDirectory`,t);this.deleteFederationActiveDirectoryByServiceNameAndActiveDirectoryId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/federation/activeDirectory/${e}`);this.getFederationActiveDirectoryByServiceNameAndActiveDirectoryId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/federation/activeDirectory/${e}`);this.updateFederationActiveDirectoryPropertiesByServiceNameAndActiveDirectoryId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/federation/activeDirectory/${e}/changeProperties`,r);this.postFederationActiveDirectoryGrantActiveDirectoryGroupByServiceNameAndActiveDirectoryId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/federation/activeDirectory/${e}/grantActiveDirectoryGroup`,r);this.postFederationActiveDirectoryGrantActiveDirectoryUserByServiceNameAndActiveDirectoryId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/federation/activeDirectory/${e}/grantActiveDirectoryUser`,r);this.getFilerByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/filer`);this.getFilerByServiceNameAndFilerId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}`);this.checkFilerGlobalCompatibleByServiceNameAndFilerId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}/checkGlobalCompatible`);this.updateFilerConvertToGlobalByServiceNameAndFilerId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/filer/${e}/convertToGlobal`);this.getFilerHourlyConsumptionByServiceNameAndFilerId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}/hourlyConsumption`);this.getFilerLocationByServiceNameAndFilerId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}/location`);this.postFilerRemoveByServiceNameAndFilerId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${t}/filer/${e}/remove`);this.getFilerTaskByServiceNameAndFilerId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}/task`);this.getFilerTaskByServiceNameAndFilerIdAndTaskId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/filer/${e}/task/${r}`);this.updateFilerTaskMaintenanceExecutionDateByServiceNameAndFilerIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/filer/${e}/task/${r}/changeMaintenanceExecutionDate`,d);this.postFilerTaskResetTaskStateByServiceNameAndFilerIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/filer/${e}/task/${r}/resetTaskState`,d);this.getGlobalTasksByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/globalTasks`);this.getHcxByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hcx`);this.checkHcxCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hcx/canBeDisabled`);this.checkHcxCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hcx/canBeEnabled`);this.disableHcxByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hcx/disable`);this.enableHcxByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hcx/enable`);this.getHdsByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hds`);this.checkHdsCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hds/canBeDisabled`);this.checkHdsCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hds/canBeEnabled`);this.disableHdsByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hds/disable`);this.enableHdsByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hds/enable`);this.getHipaaByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hipaa`);this.checkHipaaCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hipaa/canBeDisabled`);this.checkHipaaCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/hipaa/canBeEnabled`);this.disableHipaaByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hipaa/disable`);this.enableHipaaByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/hipaa/enable`);this.getIpByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/ip`);this.getIpByServiceNameAndNetwork=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/ip/${e}`);this.listIpDetailsByServiceNameAndNetwork=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/ip/${e}/details`);this.getIpTaskByServiceNameAndNetwork=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/ip/${e}/task`);this.getIpTaskByServiceNameAndNetworkAndTaskId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/ip/${e}/task/${r}`);this.updateIpTaskMaintenanceExecutionDateByServiceNameAndNetworkAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/ip/${e}/task/${r}/changeMaintenanceExecutionDate`,d);this.postIpTaskResetTaskStateByServiceNameAndNetworkAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${t}/ip/${e}/task/${r}/resetTaskState`,d);this.getNewPricesByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/newPrices`);this.getNsxByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/nsx`);this.checkNsxCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/nsx/canBeDisabled`);this.checkNsxCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/nsx/canBeEnabled`);this.disableNsxByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/nsx/disable`);this.enableNsxByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/nsx/enable`);this.getNsxtByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/nsxt`);this.postOrderNewFilerHourlyByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/orderNewFilerHourly`,t);this.getOrderableIpCountriesByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/orderableIpCountries`);this.getPasswordPolicyByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/passwordPolicy`);this.getPcidssByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/pcidss`);this.checkPcidssCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/pcidss/canBeDisabled`);this.checkPcidssCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/pcidss/canBeEnabled`);this.disablePcidssByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/pcidss/disable`);this.enablePcidssByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/pcidss/enable`);this.postResetTriggeredAlarmByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/resetTriggeredAlarm`);this.getRobotByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/robot`);this.getRobotByServiceNameAndName=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/robot/${e}`);this.getSecurityOptionsByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/securityOptions`);this.getSecurityOptionsCompatibilityMatrixByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/securityOptions/compatibilityMatrix`);this.getSecurityOptionsDependenciesTreeByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/securityOptions/dependenciesTree`);this.listSecurityOptionsPendingOptionsByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/securityOptions/pendingOptions`);this.postSecurityOptionsResumePendingEnablingByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/securityOptions/resumePendingEnabling`,t);this.getServiceInfosByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/serviceInfos`);this.updateServiceInfosByServiceName=(e,t)=>this.ovh.request("PUT",`/dedicatedCloud/${e}/serviceInfos`,t);this.getServicePackByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/servicePack`);this.getServicePacksByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/servicePacks`);this.getServicePacksByServiceNameAndName=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/servicePacks/${e}`);this.getTaskByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/task`);this.getTaskByServiceNameAndTaskId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/task/${t}`);this.updateTaskMaintenanceExecutionDateByServiceNameAndTaskId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/task/${t}/changeMaintenanceExecutionDate`,r);this.postTaskResetTaskStateByServiceNameAndTaskId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/task/${t}/resetTaskState`,r);this.postTerminateByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/terminate`);this.getTwoFAWhitelistByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/twoFAWhitelist`);this.addTwoFAWhitelistByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/twoFAWhitelist`,t);this.deleteTwoFAWhitelistByServiceNameAndId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/twoFAWhitelist/${e}`);this.getTwoFAWhitelistByServiceNameAndId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/twoFAWhitelist/${e}`);this.updateTwoFAWhitelistPropertiesByServiceNameAndId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/twoFAWhitelist/${e}/changeProperties`,r);this.postUpgradeHypervisorByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/upgradeHypervisor`);this.postUpgradeVcenterByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/upgradeVcenter`,t);this.getUserByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/user`);this.createUserByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user`,t);this.deleteUserByServiceNameAndUserId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${e}/user/${t}`);this.getUserByServiceNameAndUserId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/user/${t}`);this.updateUserPasswordByServiceNameAndUserId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/changePassword`,r);this.updateUserPropertiesByServiceNameAndUserId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/changeProperties`,r);this.confirmUserPhoneNumberByServiceNameAndUserId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/confirmPhoneNumber`,r);this.disableUserByServiceNameAndUserId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/disable`);this.enableUserByServiceNameAndUserId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/enable`);this.postUserMetricsTokenByServiceNameAndUserId=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/metricsToken`);this.getUserObjectRightByServiceNameAndUserId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/user/${t}/objectRight`);this.addUserObjectRightByServiceNameAndUserId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${t}/objectRight`,r);this.deleteUserObjectRightByServiceNameAndUserIdAndObjectRightId=(e,t,r)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/user/${r}/objectRight/${e}`);this.getUserObjectRightByServiceNameAndUserIdAndObjectRightId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/user/${r}/objectRight/${e}`);this.getUserRightByServiceNameAndUserId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/user/${t}/right`);this.getUserRightByServiceNameAndUserIdAndRightId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${t}/user/${r}/right/${e}`);this.updateUserRightByServiceNameAndUserIdAndRightId=(e,t,r,d)=>this.ovh.request("PUT",`/dedicatedCloud/${t}/user/${r}/right/${e}`,d);this.getUserTaskByServiceNameAndUserId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/user/${t}/task`);this.getUserTaskByServiceNameAndUserIdAndTaskId=(e,t,r)=>this.ovh.request("GET",`/dedicatedCloud/${e}/user/${r}/task/${t}`);this.updateUserTaskMaintenanceExecutionDateByServiceNameAndUserIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${r}/task/${t}/changeMaintenanceExecutionDate`,d);this.postUserTaskResetTaskStateByServiceNameAndUserIdAndTaskId=(e,t,r,d)=>this.ovh.request("POST",`/dedicatedCloud/${e}/user/${r}/task/${t}/resetTaskState`,d);this.getVcenterVersionByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vcenterVersion`);this.getVendorByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vendor`);this.postVendorObjectTypeByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/vendor/objectType`);this.postVendorOvhIdByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/vendor/ovhId`,t);this.getVlanByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vlan`);this.getVlanByServiceNameAndVlanId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/vlan/${t}`);this.getVmEncryptionByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vmEncryption`);this.getVmEncryptionKmsByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vmEncryption/kms`);this.addVmEncryptionKmsByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/vmEncryption/kms`,t);this.deleteVmEncryptionKmsByServiceNameAndKmsId=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${t}/vmEncryption/kms/${e}`);this.getVmEncryptionKmsByServiceNameAndKmsId=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${t}/vmEncryption/kms/${e}`);this.updateVmEncryptionKmsPropertiesByServiceNameAndKmsId=(e,t,r)=>this.ovh.request("POST",`/dedicatedCloud/${t}/vmEncryption/kms/${e}/changeProperties`,r);this.getVrackByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vrack`);this.deleteVrackByServiceNameAndVrack=(e,t)=>this.ovh.request("DELETE",`/dedicatedCloud/${e}/vrack/${t}`);this.getVrackByServiceNameAndVrack=(e,t)=>this.ovh.request("GET",`/dedicatedCloud/${e}/vrack/${t}`);this.getVropsByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vrops`);this.checkVropsCanBeDisabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vrops/canBeDisabled`);this.checkVropsCanBeEnabledByServiceName=e=>this.ovh.request("GET",`/dedicatedCloud/${e}/vrops/canBeEnabled`);this.disableVropsByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/vrops/disable`);this.enableVropsByServiceName=e=>this.ovh.request("POST",`/dedicatedCloud/${e}/vrops/enable`);this.postVropsUpgradeByServiceName=(e,t)=>this.ovh.request("POST",`/dedicatedCloud/${e}/vrops/upgrade`,t);this.ovh=e}};export{a}; //# sourceMappingURL=chunk-GN5X2E3T.mjs.map