instances_secondary
Creates, updates, deletes, gets or lists a instances_secondary
resource.
Overview
Name | instances_secondary |
Type | Resource |
Id | google.alloydb.instances_secondary |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
createsecondary | INSERT | clustersId, locationsId, projectsId | Creates a new SECONDARY Instance in a given project and location. |
INSERT
example
Use the following StackQL query and manifest file to create a new instances_secondary
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.alloydb.instances_secondary (
clustersId,
locationsId,
projectsId,
displayName,
labels,
instanceType,
machineConfig,
availabilityType,
gceZone,
databaseFlags,
queryInsightsConfig,
readPoolConfig,
etag,
annotations,
clientConnectionConfig,
pscInstanceConfig,
networkConfig
)
SELECT
'{{ clustersId }}',
'{{ locationsId }}',
'{{ projectsId }}',
'{{ displayName }}',
'{{ labels }}',
'{{ instanceType }}',
'{{ machineConfig }}',
'{{ availabilityType }}',
'{{ gceZone }}',
'{{ databaseFlags }}',
'{{ queryInsightsConfig }}',
'{{ readPoolConfig }}',
'{{ etag }}',
'{{ annotations }}',
'{{ clientConnectionConfig }}',
'{{ pscInstanceConfig }}',
'{{ networkConfig }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: displayName
value: string
- name: uid
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: deleteTime
value: string
- name: labels
value: object
- name: state
value: string
- name: instanceType
value: string
- name: machineConfig
value:
- name: cpuCount
value: integer
- name: availabilityType
value: string
- name: gceZone
value: string
- name: databaseFlags
value: object
- name: writableNode
value:
- name: zoneId
value: string
- name: id
value: string
- name: ip
value: string
- name: state
value: string
- name: nodes
value:
- - name: zoneId
value: string
- name: id
value: string
- name: ip
value: string
- name: state
value: string
- name: queryInsightsConfig
value:
- name: recordApplicationTags
value: boolean
- name: recordClientAddress
value: boolean
- name: queryStringLength
value: integer
- name: queryPlansPerMinute
value: integer
- name: readPoolConfig
value:
- name: nodeCount
value: integer
- name: ipAddress
value: string
- name: publicIpAddress
value: string
- name: reconciling
value: boolean
- name: etag
value: string
- name: annotations
value: object
- name: clientConnectionConfig
value:
- name: requireConnectors
value: boolean
- name: sslConfig
value:
- name: sslMode
value: string
- name: caSource
value: string
- name: satisfiesPzs
value: boolean
- name: pscInstanceConfig
value:
- name: serviceAttachmentLink
value: string
- name: allowedConsumerProjects
value:
- string
- name: pscDnsName
value: string
- name: networkConfig
value:
- name: authorizedExternalNetworks
value:
- - name: cidrRange
value: string
- name: enablePublicIp
value: boolean
- name: enableOutboundPublicIp
value: boolean
- name: outboundPublicIpAddresses
value:
- string