LogicalDistributedFirewallInterface replaceInboundRules request
Description
This API replaces the existing set of inbound firewall rules on the interface with the newly provided set of LogicalFirewallRule
objects.
The replaceInboundRules
API may only be used within the context of a LogicalHostingEnvironment
lock. Locking the LogicalHostingEnvironment
object prevents concurrent updates to the same firewalls or rules. The API usage pattern should be as follows :
Acquire a lock ID using the LogicalHostingEnvironment
acquireLock
API.
Use the lock ID to make the replaceInboundRules
API call.
Release the LogicalHostingEnvironment
lock.
API stability classification
API overview
HTTP |
URI |
Return |
Return type |
---|---|---|---|
|
|
|
Not applicable |
HTTP request message
Query string parameters
This API does not use query string parameters.
Request message headers
This API uses only common headers listed in HTTP request and response headers.
Request message body
This API uses the following objects in the request message body JSON.
Top-level objects
Name |
Type |
Multi- |
Description |
---|---|---|---|
|
|
0..1 |
URL to call when the operation finishes |
|
|
0..1 |
Identifier of a callout to run after the operation executes |
|
|
0..1 |
Identifier of a callout to run before the operation executes |
|
|
0..1 |
Timeout setting. For more information about using the timeout, see Synchronous and asynchronous operations. Timeout values:
|
|
1 |
Array of input parameters. The following table contains the list of input parameters. For information about setting up the input parameters, see Passing input parameters with an API request. |
Input parameters to include in
operationParams
Name |
Type |
Multi- |
Description |
---|---|---|---|
|
|
0..1 |
If an |
|
|
1 |
Lock ID acquired from a |
|
0..* |
List of new inbound |
HTTP response message
Response message headers
This API uses only common headers listed in HTTP request and response headers.
Response message body
The response message body contains a Task
object.
Comments
Log in or register to comment.