A script to show brief information of all service instances on TAS
search cancel

A script to show brief information of all service instances on TAS

book

Article ID: 298402

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Sometimes the user might want to briefly list out all services instances on TAS foundation. The attached script can be used to do the work.

Environment

TAS with service tiles. 

Resolution

Installation

  • Download the attached script and put it to some Linux machine with cf / jq utilities available 
  • Give execute permission with "chmod +x" command

Usage

  • Do "cf login" first with admin user
  • Run the script

Example

./get-service-instances-info.sh
ORG                              SPACE                                            SI_NAME                          SERVICE                          SI_GUID
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
myorg                            myspace                                          my-config-server-1               p.config-server                  1be182b8-120f-4342-a906-246ac9d29dc4
p-spring-cloud-services          1be182b8-120f-4342-a906-246ac9d29dc4             mirror-svc                       p.mirror-service                 2938e7d1-0257-4b11-82d0-5fe265bf3517
myorg                            myspace                                          my-config-server-2               p.config-server                  7ef35451-cf5b-4d15-b474-b89dba4f2534
p-spring-cloud-services          7ef35451-cf5b-4d15-b474-b89dba4f2534             mirror-svc                       p.mirror-service                 aa901d63-75b6-4f8b-a4b3-e9543ccfbbe6



Attachments

get-service-instances-info get_app