Skip to main content

instances_server_ca

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

Overview

Nameinstances_server_ca
TypeResource
Idgoogle.sqladmin.instances_server_ca

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
add_server_caINSERTinstance, projectAdds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in. For instances that have enabled Certificate Authority Service (CAS) based server CA, please use AddServerCertificate to add a new server certificate.

INSERT example

Use the following StackQL query and manifest file to create a new instances_server_ca resource.

/*+ create */
INSERT INTO google.sqladmin.instances_server_ca (
instance,
project
)
SELECT
'{{ instance }}',
'{{ project }}'
;