Note: The Bluemix Admin CLI plugin requires version 6.11.2 or later.
Admin Console UI
Admin Console - Installing Command Line
The CLI to the admin console is installed as follows. The reference to this is found in your own Dedicated/Local install via a link as follows with "cli" appended to the Admin Console URL
https://opsconsole.mylocalinstance.bluemix.net/cli
pasapicella@pas-macbook
pro:~$ cf add-plugin-repo BluemixAdmin https://opsconsole.mylocalinstance.bluemix.net/cli
OK
https://opsconsole.mylocalinstance.bluemix.net/cli/list added as 'BluemixAdmin'
pasapicella@pas-macbook-pro:~$ cf install-plugin bluemix-admin-cli -r BluemixAdmin
Looking up 'bluemix-admin-cli' from repository 'BluemixAdmin'
8889440 bytes downloaded...
Installing plugin /var/folders/rj/5r89y5nd6pd4c9hwkbvdp_1w0000gn/T/bluemix-admin...
OK
Plugin BluemixAdminCLI v0.0.1 successfully installed.
pasapicella@pas-macbook-pro:~$ cf plugins
Listing Installed Plugins...
OK
…...
Finally target admin API endpoint:
pasapicella@pas-macbook-pro:~$ cf baa https://opsconsole.mylocalinstance.bluemix.net
The API endpoint has been updated to 'https://opsconsole.mylocalinstance.bluemix.net'
At this point you can now run Admin Console commands as follows. To get help issue "cf {command} --help"
The current supported commands are as follows:
bluemix-admin-api, baa
bluemix-admin-add-user, baau
bluemix-admin-remove-user, baru
bluemix-admin-set-organization, baso
bluemix-admin-unset-organization, bauo
bluemix-admin-set-quota, basq
bluemix-admin-add-report, baar
bluemix-admin-delete-report, badr
bluemix-admin-retrieve-report, barr
bluemix-admin-enable-service-plan, baesp
bluemix-admin-disable-service-plan, badsp
bluemix-admin-add-service-plan-visibility, baaspv
bluemix-admin-remove-service-plan-visibility, barspv
bluemix-admin-edit-service-plan-visibilites, baespv
bluemix-admin-set-region-access, basra
bluemix-admin-create-organization, baco
bluemix-admin-delete-organization, bado
bluemix-admin-add-user, baau
bluemix-admin-remove-user, baru
bluemix-admin-set-organization, baso
bluemix-admin-unset-organization, bauo
bluemix-admin-set-quota, basq
bluemix-admin-add-report, baar
bluemix-admin-delete-report, badr
bluemix-admin-retrieve-report, barr
bluemix-admin-enable-service-plan, baesp
bluemix-admin-disable-service-plan, badsp
bluemix-admin-add-service-plan-visibility, baaspv
bluemix-admin-remove-service-plan-visibility, barspv
bluemix-admin-edit-service-plan-visibilites, baespv
bluemix-admin-set-region-access, basra
bluemix-admin-create-organization, baco
bluemix-admin-delete-organization, bado
No comments:
Post a Comment