Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

create() - Add proxy cluster to the configuration

Function:

BcAdminProxyCluster.create()

Adds a new proxy cluster, which contains the specified proxy as master proxy, to the configuration.

Parameters:

object_name (String)

Name of the new BeanConnect proxy cluster

proxy_object (BcObject of type BcObjectType.PROXY)

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

props

Dictionary with the key-value pairs for the properties that are to be assigned to the proxy cluster. You can find the possible values for key in Properties of a proxy cluster .

Return:

(BcObject of type BcObjectType.PROXY_CLUSTER)

The proxy cluster added to the configuration.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Note:

Before you can use the returned object as an input parameter for other functions, you must first perform an authentication (see the function authenticate()).

Example:

...
import BcAdminProxyCluster
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
clstr_obj=BcAdminProxyCluster.create("BCCluster",proxy_obj)
...