instances_connection_info
Creates, updates, deletes, gets or lists a instances_connection_info
resource.
Overview
Name | instances_connection_info |
Type | Resource |
Id | google.alloydb.instances_connection_info |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the ConnectionInfo singleton resource, e.g.: projects/{project}/locations/{location}/clusters//instances//connectionInfo This field currently has no semantic meaning. |
instanceUid | string | Output only. The unique ID of the Instance. |
ipAddress | string | Output only. The private network IP address for the Instance. This is the default IP for the instance and is always created (even if enable_public_ip is set). This is the connection endpoint for an end-user application. |
publicIpAddress | string | Output only. The public IP addresses for the Instance. This is available ONLY when enable_public_ip is set. This is the connection endpoint for an end-user application. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_connection_info | SELECT | clustersId, instancesId, locationsId, projectsId | Get instance metadata used for a connection. |
SELECT
examples
Get instance metadata used for a connection.
SELECT
name,
instanceUid,
ipAddress,
publicIpAddress
FROM google.alloydb.instances_connection_info
WHERE clustersId = '{{ clustersId }}'
AND instancesId = '{{ instancesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';