Skip to main content

datacenter_disaster_recovery_zerto_statuses

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

Overview​

Namedatacenter_disaster_recovery_zerto_statuses
TypeResource
Idovh.dedicated_cloud.datacenter_disaster_recovery_zerto_statuses

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
drp_typestringDisaster Recovery Plan Type (onPremise, ovh) (wire: drpType)
local_site_informationobjectInformation about the site installed on this Dedicated Cloud (wire: localSiteInformation)
remote_site_informationobjectDeprecated - Information about the first remote paired site (wire: remoteSiteInformation)
remote_sites_informationarrayInformation about the remote paired sites (wire: remoteSitesInformation)
statestringState of the disaster recovery service (available, delivered, disabled, disabling, error, migrating, provisionning, recycling, reserved, toDisable, toProvision, toRecycle, toRemove, toUnprovision, unprovisionning, upgrading)
system_versionstringTechnical solution used (wire: systemVersion)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdatacenter_id, service_nameGet Zerto disaster recovery option status

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"}})
datacenter_idintegerId of the Datacenter (wire: datacenterId)
service_namestringDomain of the service (wire: serviceName)

SELECT examples​

Get Zerto disaster recovery option status

SELECT
drp_type,
local_site_information,
remote_site_information,
remote_sites_information,
state,
system_version
FROM ovh.dedicated_cloud.datacenter_disaster_recovery_zerto_statuses
WHERE datacenter_id = '{{ datacenter_id }}' -- required
AND service_name = '{{ service_name }}' -- required
;