createGateway
Creates a new gateway.
Scenario: You have two zones, ZoneA and ZoneB. ResourceA in ZoneA is accessible from ResourceB in ZoneB, and conversely—communication between specified gateway resources is enabled with host/port information recorded in each resource object. Other resources in each zone are restricted to talking to resources within their zone only. Creating a gateway between ResourceA and ResourceB to link the two zones enables resources from one zone to communicate with the other using ResourceA and ResourceB.
You must specify gatewayName
.
Arguments | Descriptions |
---|---|
gatewayName |
The name of the gateway that must be unique among all gateway names. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
gatewayDisabled |
(Optional) < Boolean flag— If set to Argument type: Boolean |
hostName1 |
(Optional) The domain name or IP of the agent where Resource1 resides. This host name is used by Resource2 to communicate with Resource1 . Do not specify this option is you want to use the host name from the Resource1 definition. Argument type: String |
hostName2 |
(Optional) The domain name or IP of the agent where Resource2 resides. This host name is used by Resource1 to communicate with Resource2 . Do not specify this option is you want to use the host name from the Resource2 definition. Argument type: String |
port1 |
(Optional) The port number used by Resource1 . The default is the port number used by the resource. Argument type: Integer |
port2 |
(Optional) The port number used by Resource2 . The default is the port number used by the resource. Argument type: Integer |
resourceName1 |
(Optional) Name of first resource in the gateway specification. Do not include spaces in the resource name. Other resources in this resource’s zone forward messages through this resource to agents in the Argument type: String |
resourceName2 |
(Optional) Name of second resource in the gateway specification. Do not include spaces in the resource name. Other resources in this resource’s zone forward messages through this resource to agents in the Argument type: String |
deleteGateway
Deletes a gateway.
You must enter a gatewayName
.
Arguments | Descriptions |
---|---|
gatewayName |
The name of the gateway to delete. Argument type: String |
getGateway
Finds a gateway by name.
You must specify a gatewayName
.
Arguments | Descriptions |
---|---|
gatewayName |
The name of the gateway. Argument type: String |
Response
Returns one gateway element.
getGateways
Retrieves all gateways.
Arguments | Descriptions |
---|---|
None |
– |
Response
Returns one or more gateway elements.
modifyGateway
Modifies an existing gateway.
You must specify a gatewayName
.
Arguments | Descriptions |
---|---|
gatewayName |
The name of the gateway. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
gatewayDisabled |
(Optional) < Boolean flag— If this is set to Argument type: Boolean |
hostName1 |
(Optional) The domain name or IP address of the agent where Resource1 resides. This host name is used by Resource2 to communicate with Resource1 . Do not specify this option is you want to use the host name from the Resource1 definition. Argument type: String |
hostName2 |
(Optional) The domain name or IP address of the agent where Resource2 resides. This host name is used by Resource1 to communicate with Resource2 . Do not specify this option is you want to use the host name from the Resource2 definition. Argument type: String |
newName |
(Optional) New name of the gateway. Argument type: String |
port1 |
(Optional) The port number used by Resource1 . The default is the port number used by the resource. Argument type: Integer |
port2 |
(Optional) The port number used by Resource2 . The default is the port number used by the resource. Argument type: Integer |
resourceName1 |
(Optional) Name of first resource in the gateway specification. Do not include spaces in the resource name. Other resources in this resource’s zone forward messages through this resource to agents in the Argument type: String |
resourceName2 |
(Optional) Name of second resource in the gateway specification. Do not include spaces in the resource name. Other resources in this resource’s zone forward messages through this resource to agents in the Argument type: String |
createZone
Creates a new zone.
You must specify a zoneName
.
Arguments | Descriptions |
---|---|
zoneName |
The unique name of the zone. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
deleteZone
Deletes an existing zone.
You must specify a zoneName
.
Arguments | Descriptions |
---|---|
zoneName |
The name of the zone to delete. Argument type: String |
getZone
Finds a zone by name.
You must specify a zoneName
.
Arguments | Descriptions |
---|---|
zoneName |
The name of the zone. Argument type: String |
Response
Returns a zone element, including a list of resources belonging to the zone.
modifyZone
Modifies an existing zone.
You must specify a zoneName
.
Arguments | Descriptions |
---|---|
zoneName |
The name of this zone. Argument type: String |
description |
(Optional) A plain text or HTML description for this object. If using HTML, you must surround your text with Argument type: String |
newName |
(Optional) New name of the zone. Argument type: String |