Skip to main content

dr_status

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

Overview​

Namedr_status
TypeResource
Idokta.dr.dr_status

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
domainstringDomain for your org
isFailedOverbooleanIndicates if the domain has been failed over

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_drstatus_for_domainselectdomain, subdomainRetrieves the failover or failback status for the domain specified in the request path
get_drstatusselectsubdomainRetrieves the failover or failback status for all the domains for your org

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
domainstringThe Okta domain name of your org or one of your custom domains
subdomainstring(default: my-org)

SELECT examples​

Retrieves the failover or failback status for the domain specified in the request path

SELECT
domain,
isFailedOver
FROM okta.dr.dr_status
WHERE domain = '{{ domain }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;