Create Firewall Group
Create a firewall group.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/firewallGroups
COPY
Request Body
FirewallGroupDetails
of type(s)
application/json
Optional
{
"orgRef": {
"name": "string",
"id": "string"
},
"edgeGatewayRef": {
"name": "string",
"id": "string"
},
"ownerRef": {
"name": "string",
"id": "string"
},
"networkProviderScope": "string",
"status": {},
"id": "string",
"name": "string",
"description": "string",
"type": {},
"typeValue": "string",
"ipAddresses": [
"string"
],
"macAddresses": [
"0A-0A-0A-AA-AA-AA",
"0B:BB:BB:BB:BB:BB"
],
"members": [
{
"name": "string",
"id": "string"
}
],
"vmCriteria": [
{
"rules": [
{
"attributeType": "string",
"attributeValue": "string",
"operator": "string"
}
]
}
]
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
400
Invalid configuration.
Returns
Error
of type(s)
*/*;version=39.1
"Error Object"
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/firewallGroups
Availability
Added in 33.0
Firewall Groups Operations
GET
Get Firewall Groups
POST
Create Firewall Group