Skip to main content

region_instances

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

Overview

Nameregion_instances
TypeResource
Idgoogle.compute.region_instances

Fields

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

Methods

NameAccessible byRequired ParamsDescription
bulk_insertINSERTproject, regionCreates multiple instances in a given region. Count specifies the number of instances to create.

INSERT example

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

/*+ create */
INSERT INTO google.compute.region_instances (
project,
region,
count,
minCount,
namePattern,
perInstanceProperties,
sourceInstanceTemplate,
instanceProperties,
locationPolicy
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ count }}',
'{{ minCount }}',
'{{ namePattern }}',
'{{ perInstanceProperties }}',
'{{ sourceInstanceTemplate }}',
'{{ instanceProperties }}',
'{{ locationPolicy }}'
;