Firewall Tag Resource
POST/v1/config/ngfirewalls/:ngfirewallname/tags
Add tags to an NGFW resource. You can tag the resources that you manage through NGFW policies.
Request
Path Parameters
The name of the NGFW.
- application/json
Body
- Array [
- ]
The unique ID of the account.
Tags object[]required
Possible values: <= 50
The tags associated with the firewall.
A unique identifier in the key-value pair. The constant that defines the data set. .
The variable that belongs to the data set.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- InvalidOperationException—Operation failed because it is not valid. For example, when you delete an NGFW or rulestack in use.
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- LimitExceededException—Operation failed due to violation in limit settings.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- ThrottlingException—Operation failed due to throttling limitations.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
The API call response.
Name of the NGFW, unique in a region for each customer.
Tags object[]
The tags associated with the firewall.
A unique identifier in the key-value pair. The constant that defines the data set.
The variable that belongs to the data set.
ResponseStatus object
The API call response status.
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
The error description.
{
"Response": {
"FirewallName": "string",
"Tags": [
{
"Key": "string",
"Value": "string"
}
]
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}