Skip to main content

region_instance_groups_instances

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

Overview

Nameregion_instance_groups_instances
TypeResource
Idgoogle.compute.region_instance_groups_instances

Fields

NameDatatypeDescription
instancestring[Output Only] The URL of the instance.
namedPortsarray[Output Only] The named ports that belong to this instance group.
statusstring[Output Only] The status of the instance.

Methods

NameAccessible byRequired ParamsDescription
list_instancesSELECTinstanceGroup, project, regionLists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

SELECT examples

Lists the instances in the specified instance group and displays information about the named ports. Depending on the specified options, this method can list all instances or only the instances that are running. The orderBy query parameter is not supported.

SELECT
instance,
namedPorts,
status
FROM google.compute.region_instance_groups_instances
WHERE instanceGroup = '{{ instanceGroup }}'
AND project = '{{ project }}'
AND region = '{{ region }}';