instances_server_cas
Creates, updates, deletes, gets or lists an instances_server_cas
resource.
Overview
Name | instances_server_cas |
Type | Resource |
Id | google.sqladmin.instances_server_cas |
Fields
The following fields are returned by SELECT
queries:
- list_server_cas
Successful response
Name | Datatype | Description |
---|---|---|
activeVersion | string | |
certs | array | List of server CA certificates for the instance. |
kind | string | This is always sql#instancesListServerCas . |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_server_cas | select | project , instance | Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out. |
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 |
---|---|---|
instance | string | |
project | string |
SELECT
examples
- list_server_cas
Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.
SELECT
activeVersion,
certs,
kind
FROM google.sqladmin.instances_server_cas
WHERE project = '{{ project }}' -- required
AND instance = '{{ instance }}' -- required;