Skip to main content

Associate a RuleStack

PUT 

/v1/config/ngfirewalls/:ngfirewallname/rulestack

Associate a local rulestack to an NGFW.

Request

Path Parameters

    ngfirewallname stringrequired

    The name of the NGFW to which you want to associate the local rulestack.

Body

    AccountId Accountid (string)required

    The unique ID of the local 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 local rulestack you want to associate to NGFW.

    UpdateToken Updatetoken (string)

    Refresh token.

Responses

OK

Schema
    AccountId Accountid (string)

    The unique ID of the local 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

    • 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.

    500—Bad request

    • InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
    Reason Reason (string)

    The error description.

    RuleStackName Rulestackname (string)

    Name of the local rulestack you want to associate to NGFW.

    UpdateToken Updatetoken (string)

    Refresh token.

Loading...