Skip to main content

backup_cloud_offer_details

Creates, updates, deletes, gets or lists a backup_cloud_offer_details resource.

Overview​

Namebackup_cloud_offer_details
TypeResource
Idovh.dedicated_server.backup_cloud_offer_details

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
max_archiveobjectArchive container max size. (wire: maxArchive)
max_bandwidth_archiveobjectArchive volume r/w bandwidth limit: read/write volume offered per month on the container. (wire: maxBandwidthArchive)
max_bandwidth_storageobjectStorage volume r/w bandwidth limit: read/write volume offered per month on the container. (wire: maxBandwidthStorage)
max_storageobjectStorage container max size. (wire: maxStorage)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectservice_nameGet the cloud backup offer. Returns the cloud backup offer available for the server: the maximum size and the monthly read/write volume of the storage and archive containers. When no offer is available, the call returns an error. (Beta version)

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
api_hoststringThe OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}})
service_namestringThe internal name of your dedicated server (wire: serviceName)

SELECT examples​

Get the cloud backup offer. Returns the cloud backup offer available for the server: the maximum size and the monthly read/write volume of the storage and archive containers. When no offer is available, the call returns an error. (Beta version)

SELECT
max_archive,
max_bandwidth_archive,
max_bandwidth_storage,
max_storage
FROM ovh.dedicated_server.backup_cloud_offer_details
WHERE service_name = '{{ service_name }}' -- required
;