Skip to content

Compute Engine Instances

Provider: Google Cloud
Service ID: gcp_compute_instances
Rendering: Standard table with expandable detail rows

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'gcp_compute_instances',
    provider: 'gcp',
    region: 'europe-west2',
    source: 'live',
    attributes: ['project', 'name', 'instance_id', 'machine_type', 'status', 'zone']
});
</script>

<div data-sd-service="gcp_compute_instances" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['project', 'name', 'instance_id', 'machine_type', 'status', 'zone', 'internal_ip', 'external_ip', 'network', 'creation_time']

All Attributes

Attribute Display Name Format Description
project Project text From API field: __project_id__
name Name text From API field: name
instance_id Instance ID text From API field: id
machine_type Machine Type gcp_resource_name From API field: machine_type
status Status status_badge From API field: status
zone Zone gcp_resource_name From API field: zone
internal_ip Internal IP text From API field: network_interfaces[0].network_ip
external_ip External IP text From API field: network_interfaces[0].access_configs[0].nat_ip
network Network gcp_resource_name From API field: network_interfaces[0].network
creation_time Creation Time datetime From API field: creation_timestamp
labels Labels tags_table All tags/labels as a key-value table

= included in default view

Sort Order

Results are sorted by: name