Associate a GlobalRuleStack
PUT/v1/config/ngfirewalls/:ngfirewallname/globalrulestack
Associate a global rulestack to an NGFW.
Request
Path Parameters
ngfirewallname stringrequired
The name of the NGFW to which you want to associate the global rulestack.
- application/json
Body
AccountId Accountid (string)required
The unique ID of the global rulestack account.
RuleStackName Rulestackname (string)required
Possible values: non-empty
and <= 128 characters
, Value must match regular expression ^[a-zA-Z0-9-]+$
Name of the global rulestack you want to associate to NGFW.
UpdateToken Updatetoken (string)
Refresh token.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- 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.
AccountId Accountid (string)
The unique ID of the global rulestack account.
FirewallName Firewallname (string)
Name of the NGFW, unique in a region for each customer.
ResponseStatus object
The API call response status.
ErrorCode Errorcode (integer)
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
Reason Reason (string)
The error description
RuleStackName Rulestackname (string)
Name of the global rulestack you want to associate to NGFW.
UpdateToken Updatetoken (string)
Refresh token.
{
"AccountId": "string",
"FirewallName": "string",
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
},
"RuleStackName": "string",
"UpdateToken": "string"
}
Loading...