15.4.2.2 updateWebgateTemplateToWebgateMapping

The updateWebgateTemplateToWebgateMapping command enables you to associate WebGates with a WebGate template.

Description

The updateWebgateTemplateToWebgateMapping command enables you to associate all the WebGates having common parameters with a WebGate template, using WebGate IDs. This command overrides the existing parameters and values.

Syntax

updateWebgateTemplateToWebgateMapping(webgateTemplateName="<NameOfTemplate>", webgateIdsList="<webgateIdsList>", webgateIdsExclusionList="<Webgate1, Webgate2, ...>", [isWebgateIdsListAFilePath="False"], [batchSize="<batchSize>"])
Argument Definition

webgateTemplateName

Specifies the name of the WebGate template.

webgateIdsList

A comma-separated list of WebGate IDs that needs to be associated with the WebGate template.

Supports a file containing a list (separated by new-line) of WebGate IDs.

webgateIdsExclusionList

Specifies the IDs of the WebGates that need to be excluded from the WebGate template.

isWebgateIdsListAFilePath

[Optional] Defaults to False. Set this value to True to specify a file containing the WebGate IDs.

batchSize

[Optional] Specifies the number of WebGate instances to be processed per thread. Default value is 10.

Example 15-2 Example

These examples illustrates the use of updateWebgateTemplateToWebgateMapping command.

updateWebgateTemplateToWebgateMapping(webgateTemplateName="TemplateA", webgateIdsList="/tmp/test.txt", webgateIdsExclusionList="Webgate1,Webgate2", isWebgateIdsListAFilePath = "True", batchSize="20")
updateWebgateTemplateToWebgateMapping(webgateTemplateName="TemplateA", webgateIdsList="IAMSuiteAgent", isWebgateIdsListAFilePath = "False")