Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Server - listAllServerIds

Server - listAllServerIds

Description :

This command returns the server IDs of all servers available to the current role.

Return type : String

Command Input : no input

Example

The following example shows how to do something to each server available to the current role:

Script





SERVER_LIST=`blcli Server listAllServerIds` 

for serverId in $SERVER_LIST 

do 

#perform some task with server $serverId 

done 



Was this page helpful? Yes No Submitting... Thank you

Comments