Add Section

Add Section

Creates new empty firewall section in the system.

Request
URI
POST
https://nsxmanager.your.domain/api/v1/firewall/sections
COPY
Query Parameters
string
id
Optional

Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'.

string
operation
Optional

Operation

Possible values are : insert_top, insert_bottom, insert_after, insert_before,

Request Body
FirewallSection of type(s) application/json
Optional
This request body class requires all of the following: DSSection
{
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_revision": 0,
    "_system_owned": false,
    "display_name": "string",
    "description": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "_create_user": "string",
    "_protection": "string",
    "_create_time": 0,
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "id": "string",
    "resource_type": "string",
    "stateful": false,
    "is_default": false,
    "applied_tos": [
        {
            "target_display_name": "string",
            "is_valid": false,
            "target_id": "string",
            "target_type": "string"
        }
    ],
    "rule_count": 0,
    "section_type": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns FirewallSection of type(s) application/json
This response body class contains all of the following: DSSection
{
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_revision": 0,
    "_system_owned": false,
    "display_name": "string",
    "description": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "_create_user": "string",
    "_protection": "string",
    "_create_time": 0,
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "id": "string",
    "resource_type": "string",
    "stateful": false,
    "is_default": false,
    "applied_tos": [
        {
            "target_display_name": "string",
            "is_valid": false,
            "target_id": "string",
            "target_type": "string"
        }
    ],
    "rule_count": 0,
    "section_type": "string"
}

400
Returns BadRequest of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


403
Returns Forbidden of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


404
Returns NotFound of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


412
Returns PreconditionFailed of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


500
Returns InternalServerError of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


503
Returns ServiceUnavailable of type(s) application/json
{
    "details": "string",
    "related_errors": [
        "ApiError Object"
    ],
    "module_name": "string",
    "error_message": "string",
    "error_code": 0
}
object
error_data
Optional

Additional data about the error

string
details
Optional

Further details about the error

array of ApiError
related_errors
Optional

Other errors related to this error

string
module_name
Optional

The module name where the error occurred

string
error_message
Optional

A description of the error

integer As int64 As int64
error_code
Optional

A numeric error code


Services Operations
POST
Add Member Add Member
POST
Add Rule In Section
POST
Add Rules In Section Create Multiple
POST
Add Section
POST
Add Section With Rules Create With Rules
POST
Add Service Insertion Rule In Section
POST
Add Service Insertion Rules In Section Create Multiple
POST
Add Service Insertion Section
POST
Add Service Insertion Section With Rules Create With Rules
POST
Add Service Insertion Service
POST
Add Service Instance
POST
Check Member If Exists Check If Exists
POST
Create Dhcp Ip Pool
POST
Create Dhcp Profile
POST
Create Dhcp Server
POST
Create Dhcp Static Binding
POST
Create Dns Forwader
POST
Create Load Balancer Application Profile
POST
Create Load Balancer Client Ssl Profile
POST
Create Load Balancer Monitor
POST
Create Load Balancer Persistence Profile
POST
Create Load Balancer Pool
POST
Create Load Balancer Rule
POST
Create Load Balancer Server Ssl Profile
POST
Create Load Balancer Service
POST
Create Load Balancer Tcp Profile
POST
Create Load Balancer Virtual Server
POST
Create Metadata Proxy
DELETE
Delete Dhcp Ip Pool
DELETE
Delete Dhcp Profile
DELETE
Delete Dhcp Server
DELETE
Delete Dhcp Static Binding
DELETE
Delete Dns Forwarder
DELETE
Delete Load Balancer Application Profile
DELETE
Delete Load Balancer Client Ssl Profile
DELETE
Delete Load Balancer Monitor
DELETE
Delete Load Balancer Persistence Profile
DELETE
Delete Load Balancer Pool
DELETE
Delete Load Balancer Rule
DELETE
Delete Load Balancer Server Ssl Profile
DELETE
Delete Load Balancer Service
DELETE
Delete Load Balancer Tcp Profile
DELETE
Delete Load Balancer Virtual Server
DELETE
Delete Metadata Proxy
DELETE
Delete Rule
DELETE
Delete Section
DELETE
Delete Service Insertion Rule
DELETE
Delete Service Insertion Section
DELETE
Delete Service Insertion Service
DELETE
Delete Service Instance
POST
Delete Service V Ms Delete
POST
Deploy Service V Ms Deploy
POST
Disable Firewall On Target Resource Disable Firewall
POST
Enable Firewall On Target Resource Enable Firewall
GET
Get Dhcp Lease Info
GET
Get Dhcp Statistics
GET
Get Dhcp Status
GET
Get Exclude List
GET
Get Firewall Section Stats
GET
Get Firewall Stats
GET
Get Firewall Status
GET
Get Firewall Status On Target Resource
GET
Get Load Balancer Pool Statistics
GET
Get Load Balancer Pool Status
GET
Get Load Balancer Service Statistics
GET
Get Load Balancer Service Status
GET
Get Load Balancer Virtual Server Statistics
GET
Get Load Balancer Virtual Server Status
GET
Get Metadata Proxy Statistics
GET
Get Metadata Proxy Status
GET
Get Rule
GET
Get Rules
GET
Get Rule State
GET
Get Runtime Interface Operational Status
GET
Get Runtime Interface Statistics
GET
Get Section
GET
Get Sections Summary
GET
Get Section State
POST
Get Section With Rules List With Rules
GET
Get Service Insertion Rule
GET
Get Service Insertion Rules
GET
Get Service Insertion Section
POST
Get Service Insertion Section With Rules List With Rules
GET
Get Service Insertion Service
GET
Get Service Instance
GET
List Dhcp Ip Pools
GET
List Dhcp Profiles
GET
List Dhcp Servers
GET
List Dhcp Static Bindings
GET
List Dns Forwaders
GET
List Firewall Status
GET
List Instance Runtimes
GET
List Load Balancer Application Profiles
GET
List Load Balancer Client Ssl Profiles
GET
List Load Balancer Monitors
GET
List Load Balancer Persistence Profiles
GET
List Load Balancer Pools
GET
List Load Balancer Pool Statistics
GET
List Load Balancer Pool Statuses
GET
List Load Balancer Rules
GET
List Load Balancer Server Ssl Profiles
GET
List Load Balancer Services
GET
List Load Balancer Ssl Ciphers And Protocols
GET
List Load Balancer Tcp Profiles
GET
List Load Balancer Virtual Servers
GET
List Load Balancer Virtual Servers Statistics
GET
List Load Balancer Virtual Server Statuses
GET
List Metadata Proxy
GET
List Sections
GET
List Service Insertion Sections
GET
List Service Insertion Services
GET
List Service Instances For Service
POST
Perform Pool Member Action
GET
Read Dhcp Ip Pool
GET
Read Dhcp Profile
GET
Read Dhcp Server
GET
Read Dhcp Static Binding
GET
Read Dns Forwader
GET
Read Firewall Rule
GET
Read Load Balancer Application Profile
GET
Read Load Balancer Client Ssl Profile
GET
Read Load Balancer Monitor
GET
Read Load Balancer Persistence Profile
GET
Read Load Balancer Pool
GET
Read Load Balancer Rule
GET
Read Load Balancer Server Ssl Profile
GET
Read Load Balancer Service
GET
Read Load Balancer Service Debug Info
GET
Read Load Balancer Tcp Profile
GET
Read Load Balancer Virtual Server
GET
Read Metadata Proxy
POST
Remove Member Remove Member
POST
Reset Firewall Rule Stats Reset
POST
Revise Rule Revise
POST
Revise Section Revise
POST
Revise Section With Rules Revise With Rules
POST
Revise Service Insertion Rule Revise
POST
Revise Service Insertion Section Revise
POST
Revise Service Insertion Section With Rules Revise With Rules
PUT
Update Dhcp Ip Pool
PUT
Update Dhcp Profile
PUT
Update Dhcp Server
PUT
Update Dhcp Static Binding
PUT
Update Dns Forwarder
PUT
Update Exclude List
PUT
Update Firewall Status
PUT
Update Load Balancer Application Profile
PUT
Update Load Balancer Client Ssl Profile
PUT
Update Load Balancer Monitor
PUT
Update Load Balancer Persistence Profile
PUT
Update Load Balancer Pool
PUT
Update Load Balancer Rule
PUT
Update Load Balancer Server Ssl Profile
PUT
Update Load Balancer Service
PUT
Update Load Balancer Tcp Profile
PUT
Update Load Balancer Virtual Server
PUT
Update Metadata Proxy
PUT
Update Rule
PUT
Update Section
POST
Update Section With Rules Update With Rules
PUT
Update Service Insertion Rule
PUT
Update Service Insertion Section
POST
Update Service Insertion Section With Rules Update With Rules
PUT
Update Service Insertion Service
PUT
Update Service Instance
POST
Upgrade Service V Ms Upgrade