region_instances
Creates, updates, deletes, gets or lists a region_instances
resource.
Overview
Name | region_instances |
Type | Resource |
Id | google.compute.region_instances |
Fields
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
bulk_insert | INSERT | project, region | Creates 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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: count
value: string
- name: minCount
value: string
- name: namePattern
value: string
- name: perInstanceProperties
value: object
- name: sourceInstanceTemplate
value: string
- name: instanceProperties
value:
- name: description
value: string
- name: tags
value:
- name: items
value:
- string
- name: fingerprint
value: string
- name: resourceManagerTags
value: object
- name: machineType
value: string
- name: canIpForward
value: boolean
- name: networkInterfaces
value:
- - name: kind
value: string
- name: network
value: string
- name: subnetwork
value: string
- name: networkIP
value: string
- name: ipv6Address
value: string
- name: internalIpv6PrefixLength
value: integer
- name: name
value: string
- name: accessConfigs
value:
- - name: kind
value: string
- name: type
value: string
- name: name
value: string
- name: natIP
value: string
- name: externalIpv6
value: string
- name: externalIpv6PrefixLength
value: integer
- name: setPublicPtr
value: boolean
- name: publicPtrDomainName
value: string
- name: networkTier
value: string
- name: securityPolicy
value: string
- name: ipv6AccessConfigs
value:
- - name: kind
value: string
- name: type
value: string
- name: name
value: string
- name: natIP
value: string
- name: externalIpv6
value: string
- name: externalIpv6PrefixLength
value: integer
- name: setPublicPtr
value: boolean
- name: publicPtrDomainName
value: string
- name: networkTier
value: string
- name: securityPolicy
value: string
- name: aliasIpRanges
value:
- - name: ipCidrRange
value: string
- name: subnetworkRangeName
value: string
- name: fingerprint
value: string
- name: stackType
value: string
- name: ipv6AccessType
value: string
- name: queueCount
value: integer
- name: nicType
value: string
- name: networkAttachment
value: string
- name: disks
value:
- - name: kind
value: string
- name: type
value: string
- name: mode
value: string
- name: savedState
value: string
- name: source
value: string
- name: deviceName
value: string
- name: index
value: integer
- name: boot
value: boolean
- name: initializeParams
value:
- name: diskName
value: string
- name: sourceImage
value: string
- name: diskSizeGb
value: string
- name: diskType
value: string
- name: sourceImageEncryptionKey
value:
- name: rawKey
value: string
- name: rsaEncryptedKey
value: string
- name: kmsKeyName
value: string
- name: sha256
value: string
- name: kmsKeyServiceAccount
value: string
- name: labels
value: object
- name: sourceSnapshot
value: string
- name: description
value: string
- name: replicaZones
value:
- string
- name: resourcePolicies
value:
- string
- name: onUpdateAction
value: string
- name: provisionedIops
value: string
- name: licenses
value:
- string
- name: architecture
value: string
- name: resourceManagerTags
value: object
- name: provisionedThroughput
value: string
- name: enableConfidentialCompute
value: boolean
- name: storagePool
value: string
- name: autoDelete
value: boolean
- name: licenses
value:
- string
- name: interface
value: string
- name: guestOsFeatures
value:
- - name: type
value: string
- name: diskSizeGb
value: string
- name: shieldedInstanceInitialState
value:
- name: pk
value:
- name: content
value: string
- name: fileType
value: string
- name: keks
value:
- - name: content
value: string
- name: fileType
value: string
- name: dbs
value:
- - name: content
value: string
- name: fileType
value: string
- name: dbxs
value:
- - name: content
value: string
- name: fileType
value: string
- name: forceAttach
value: boolean
- name: architecture
value: string
- name: metadata
value:
- name: kind
value: string
- name: fingerprint
value: string
- name: items
value:
- - name: key
value: string
- name: value
value: string
- name: serviceAccounts
value:
- - name: email
value: string
- name: scopes
value:
- string
- name: scheduling
value:
- name: onHostMaintenance
value: string
- name: automaticRestart
value: boolean
- name: preemptible
value: boolean
- name: nodeAffinities
value:
- - name: key
value: string
- name: operator
value: string
- name: values
value:
- string
- name: minNodeCpus
value: integer
- name: locationHint
value: string
- name: availabilityDomain
value: integer
- name: provisioningModel
value: string
- name: instanceTerminationAction
value: string
- name: maxRunDuration
value:
- name: seconds
value: string
- name: nanos
value: integer
- name: terminationTime
value: string
- name: onInstanceStopAction
value:
- name: discardLocalSsd
value: boolean
- name: labels
value: object
- name: guestAccelerators
value:
- - name: acceleratorType
value: string
- name: acceleratorCount
value: integer
- name: minCpuPlatform
value: string
- name: reservationAffinity
value:
- name: consumeReservationType
value: string
- name: key
value: string
- name: values
value:
- string
- name: shieldedInstanceConfig
value:
- name: enableSecureBoot
value: boolean
- name: enableVtpm
value: boolean
- name: enableIntegrityMonitoring
value: boolean
- name: resourcePolicies
value:
- string
- name: confidentialInstanceConfig
value:
- name: enableConfidentialCompute
value: boolean
- name: confidentialInstanceType
value: string
- name: privateIpv6GoogleAccess
value: string
- name: advancedMachineFeatures
value:
- name: enableNestedVirtualization
value: boolean
- name: threadsPerCore
value: integer
- name: visibleCoreCount
value: integer
- name: enableUefiNetworking
value: boolean
- name: performanceMonitoringUnit
value: string
- name: turboMode
value: string
- name: networkPerformanceConfig
value:
- name: totalEgressBandwidthTier
value: string
- name: keyRevocationActionType
value: string
- name: locationPolicy
value:
- name: locations
value: object
- name: targetShape
value: string