Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace AllowRule

An object that represents the action of configuring an access control rule. Access control rules permit access to application resources based on user-specified match conditions. This rule applies only to HTTP listeners. NOTES:

  • If you do not specify any access control rules, the default rule is to allow all traffic.
  • If you add access control rules, the load balancer denies any traffic that does not match the rules.
  • Maximum of two match conditions can be specified in a rule.
  • You can specify this rule only with the following {@code RuleCondition} combinations:
  • {@code SOURCE_IP_ADDRESS}
  • {@code SOURCE_VCN_ID}
  • {@code SOURCE_VCN_ID", "SOURCE_VCN_IP_ADDRESS}

Properties

Const action

action: string = "ALLOW"

conditions

conditions: Array<RuleCondition>

Optional description

description: undefined | string

A brief description of the access control rule. Avoid entering confidential information. example: {@code 192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.}

Methods

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Rule): object

getJsonObj

  • getJsonObj(obj: Rule): object