Method: App42::Base::Help.bindip

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

.bindipObject



940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
# File 'lib/app42/base/help.rb', line 940

def bindip
  print "Usage:\n  app42 bindIP\n\n  Bind IP to provisioned service\n\nExample:\n  $app42 bindIP\n  Enter Service Name: mysqldb\n\n  Please Provide Source IP\n  (For public access, use '0.0.0.0'): 0.0.0.0\n\n  Binding IP to service... OK\n\n  Operation is in progress, Please wait...\n  Service binding has been completed successfully.\n\n  +---------------+-----------------+----------------------------------+---------------+-----------+---------+------------------+---------+--------------+----------------------------------+--------+--------------+\n  |                                                                                             === mysqldb Details ===                                                                                             |\n  +---------------+-----------------+----------------------------------+---------------+-----------+---------+------------------+---------+--------------+----------------------------------+--------+--------------+\n  | Database Name | Iaas Provider   | Token                            | Vm Ip         | Source Ip | State   | User Name        | Vm Port | Service Type | Password                         | Memory | Service Name |\n  +---------------+-----------------+----------------------------------+---------------+-----------+---------+------------------+---------+--------------+----------------------------------+--------+--------------+\n  | demo_db       | Amazon (Oregon) | 0pcmpc64srphrwijmy616uipdjv7t0oi | 54.213.93.154 | 0.0.0.0   | RUNNING | admk0ltirejxgh3o | 15847   | MySQL 5.5.31 | vagyqxta6e0a8q5jxunlr43v6cwohmdj | 256 MB | mysqldb      |\n  +---------------+-----------------+----------------------------------+---------------+-----------+---------+------------------+---------+--------------+----------------------------------+--------+--------------+\n    DESC\nend\n"