Compute Engine Instances¶
Provider: Google Cloud
Service ID: gcp_compute_instances
Rendering: Standard table with expandable detail rows
Quick Example¶
<!-- 1. the key, once per page -->
<script>window.lpEmbed = { accessKey: 'lp_ak_YOUR_ACCESS_KEY' };</script>
<!-- 2. the loader, once per page -->
<script src="https://lightpane.io/embed/lp.js"></script>
<!-- 3. one container per pane -->
<div data-lp-service="gcp_compute_instances"
data-lp-account="YOUR_ACCOUNT_HANDLE"
data-lp-region="europe-west2"
data-lp-attributes="project,name,instance_id,machine_type,status,zone"></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