Method: App42::Base::Help.serviceinfo

Defined in:
lib/app42/base/help.rb

.serviceinfoObject



1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
# File 'lib/app42/base/help.rb', line 1031

def serviceinfo
  print <<-DESC
Usage:
  app42 serviceInfo

  Show meta information of the provisioned service

Options:
  [--service SERVICE]      # Name of service

Example:
  $ app42 serviceInfo
  1: mysqldb
  Select Service [mysqldb]: 1

  +---------------+-----------------+----------------------------------+--------------+---------+------------------+-----------+---------+--------------+----------------+----------------------------------+--------+--------------+
  |                                                                                                     === mysqldb Details ===                                                                                                     |
  +---------------+-----------------+----------------------------------+--------------+---------+------------------+-----------+---------+--------------+----------------+----------------------------------+--------+--------------+
  | Database Name | Iaas Provider   | Token                            | Vm Ip        | State   | User Name        | Source Ip | Vm Port | Service Type | Destination Ip | Password                         | Memory | Service Name |
  +---------------+-----------------+----------------------------------+--------------+---------+------------------+-----------+---------+--------------+----------------+----------------------------------+--------+--------------+
  | demo_db       | Amazon (Oregon) | 0pcmpc64srphrwijmy616uipdjv7t0oi | 172.16.2.167 | RUNNING | admk0ltirejxgh3o | 0.0.0.0   | 15847   | MySQL 5.5.31 | 54.213.93.154  | vagyqxta6e0a8q5jxunlr43v6cwohmdj | 256 MB | mysqldb      |
  +---------------+-----------------+----------------------------------+--------------+---------+------------------+-----------+---------+--------------+----------------+----------------------------------+--------+--------------+
  DESC
end