environments_database_properties
Creates, updates, deletes, gets or lists a environments_database_properties
resource.
Overview
Name | environments_database_properties |
Type | Resource |
Id | google.composer.environments_database_properties |
Fields
Name | Datatype | Description |
---|---|---|
isFailoverReplicaAvailable | boolean | The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica when the status is true. |
primaryGceZone | string | The Compute Engine zone that the instance is currently serving from. |
secondaryGceZone | string | The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
fetch_database_properties | SELECT | environmentsId, locationsId, projectsId | Fetches database properties. |
SELECT
examples
Fetches database properties.
SELECT
isFailoverReplicaAvailable,
primaryGceZone,
secondaryGceZone
FROM google.composer.environments_database_properties
WHERE environmentsId = '{{ environmentsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';