SevOne

SevOne

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

List GCP compute instances 

Wed April 03, 2024 10:22 AM

Purpose of Workflow: To authenticate and connect to the Google Cloud Platform (GCP) and retrieve a list of virtual machine instances in a specified project and zone.

Description: This workflow uses the GCP integration to authenticate and connect to the GCP. Once connected, it retrieves a list of all virtual machine instances in the specified project and zone and outputs details about each virtual machine including its name, zone, status, and IP addresses.

Integrations required: GCP minimum version 1.0.0

Authentication(s) needed: GCP_Authkey

 

Setup: You must modify the variable GCP_Authkey in the start block to your current GCP authentication name. You must also provide the GCP project and zone that you wish to retrieve the virtual machine instances from.

 

Expected results:

A list of all virtual machine instances in the specified GCP project and zone.

For each virtual machine instance, details including its name, zone, status, and IP addresses.

Statistics
0 Favorited
6 Views
1 Files
0 Shares
1 Downloads
Attachment(s)
zip file
GCP Compute List Instances_2023-03-24_16_50_34.zip   729 B   1 version
Uploaded - Wed April 03, 2024