Show / Hide Table of Contents

Class 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 RuleCondition combinations:
    • SOURCE_IP_ADDRESS
    • SOURCE_VCN_ID
    • SOURCE_VCN_ID\", \"SOURCE_VCN_IP_ADDRESS
Inheritance
object
Rule
AllowRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class AllowRule : Rule

Properties

Conditions

Declaration
[Required(ErrorMessage = "Conditions is required.")]
[JsonProperty(PropertyName = "conditions")]
public List<RuleCondition> Conditions { get; set; }
Property Value
Type Description
List<RuleCondition>
Remarks

Required

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

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

In this article
Back to top