Constructor
new BigIpGtm(bigIpCore, optionsopt)
GTM constructor
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bigIpCore |
Object | Base BigIp object. |
|||||||||||||
options |
Object |
<optional> |
Optional parameters. Properties
|
Methods
setPartition(partition)
Sets the partition to use for future requests on this instance
Parameters:
| Name | Type | Description |
|---|---|---|
partition |
String | The partition to use |
updatePool(poolName, serverName, virtualSservers, optionsopt) → {Promise}
Updates the A record for a GTM pool with the list of virtual servers
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
poolName |
String | Name of pool to update |
|||||||||||||
serverName |
String | Name of the server to update |
|||||||||||||
virtualSservers |
Array.<Object> | Array of virtual servers to set for the pool |
|||||||||||||
options |
Object |
<optional> |
Optional parameters Properties
|
Returns:
A promise which is resolved if succssful or rejected if an error occurs
- Type
- Promise
updateServer(serverName, virtualSservers, optionsopt) → {Promise}
Updates a GTM server
Parameters:
| Name | Type | Attributes | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
serverName |
String | Name of the server to update |
|||||||||||||
virtualSservers |
Array.<Object> | Array of virtual servers to set for the server |
|||||||||||||
options |
Object |
<optional> |
Optional parameters Properties
|
Returns:
A promise which is resolved if succssful or rejected if an error occurs
- Type
- Promise