Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

setMasterProxy() - Change master proxy of a proxy cluster

Function:

BcAdminProxyCluster.setMasterProxy()

Sets another proxy as the master proxy of the proxy cluster.

Parameters:

bc_object (BcObject of type BcObjectType.PROXY_CLUSTER)

Proxy cluster in which the proxy is to become the new master proxy.

proxy_object (BcObject of type BcObjectType.PROXY).

Proxy that is to be the new master proxy of the proxy cluster.

Return:

None

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminProxyCluster
import BcAdminProxy
...
clstr_obj=BcAdminProxyCluster.getObject("BCCluster")
proxy_dicn=BcAdminProxyCluster.getList(clstr_obj, "proxy")
new_mproxy_obj=proxy_dicn["BCProxy"]
BcAdminProxyCluster.setMasterProxy(clstr_obj, new_mproxy_obj)
...