datacenter_disaster_recovery_zerto_statuses
Creates, updates, deletes, gets or lists a datacenter_disaster_recovery_zerto_statuses resource.
Overview​
| Name | datacenter_disaster_recovery_zerto_statuses |
| Type | Resource |
| Id | ovh.dedicated_cloud.datacenter_disaster_recovery_zerto_statuses |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
drp_type | string | Disaster Recovery Plan Type (onPremise, ovh) (wire: drpType) |
local_site_information | object | Information about the site installed on this Dedicated Cloud (wire: localSiteInformation) |
remote_site_information | object | Deprecated - Information about the first remote paired site (wire: remoteSiteInformation) |
remote_sites_information | array | Information about the remote paired sites (wire: remoteSitesInformation) |
state | string | State of the disaster recovery service (available, delivered, disabled, disabling, error, migrating, provisionning, recycling, reserved, toDisable, toProvision, toRecycle, toRemove, toUnprovision, unprovisionning, upgrading) |
system_version | string | Technical solution used (wire: systemVersion) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | datacenter_id, service_name | Get 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.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The 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_id | integer | Id of the Datacenter (wire: datacenterId) |
service_name | string | Domain of the service (wire: serviceName) |
SELECT examples​
- get
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
;