Add Section
Create a New Empty Section
Operation
Identifier of the anchor rule or section. This is a required field in case operation like 'insert_before' and 'insert_after'.
{
"_self": {
"rel": "string"
},
"stateful": false,
"_system_owned": false,
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"section_type": "string",
"applied_tos": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"rule_count": 0,
"_schema": "string",
"is_default": false,
"_create_time": 0,
"_create_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_revision": 0,
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string"
}
Stateful or Stateless nature of firewall section is enforced on all rules inside the section. Layer3 sections can be stateful or stateless. Layer2 sections can only be stateless.
Indicates system owned resource
Defaults to ID if not set
description
Type of the rules which a section can contain. Only homogeneous sections are supported.
List of objects where the rules in this section will be enforced. This will take precedence over rule level appliedTo.
Number of rules in this section.
_schema
It is a boolean flag which reflects whether a firewall section is default section or not. Each Layer 3 and Layer 2 section will have at least and at most one default section.
Timestamp of resource creation
ID of the user who created this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Timestamp of last modification
ID of the user who last modified this resource
id
The type of this resource.
Resource created successfully
{
"_self": {
"rel": "string"
},
"stateful": false,
"_system_owned": false,
"display_name": "string",
"description": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"section_type": "string",
"applied_tos": [
{
"target_display_name": "string",
"is_valid": false,
"target_id": "string",
"target_type": "string"
}
],
"rule_count": 0,
"_schema": "string",
"is_default": false,
"_create_time": 0,
"_create_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_revision": 0,
"_last_modified_time": 0,
"_last_modified_user": "string",
"id": "string",
"resource_type": "string"
}
Stateful or Stateless nature of firewall section is enforced on all rules inside the section. Layer3 sections can be stateful or stateless. Layer2 sections can only be stateless.
Indicates system owned resource
Defaults to ID if not set
description
Type of the rules which a section can contain. Only homogeneous sections are supported.
List of objects where the rules in this section will be enforced. This will take precedence over rule level appliedTo.
Number of rules in this section.
_schema
It is a boolean flag which reflects whether a firewall section is default section or not. Each Layer 3 and Layer 2 section will have at least and at most one default section.
Timestamp of resource creation
ID of the user who created this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other's changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Timestamp of last modification
ID of the user who last modified this resource
id
The type of this resource.
Unexpected error
{
"module_name": "string",
"error_message": "string",
"error_code": 0
}
module_name
error_message
error_code