AuthorizationPolicyRule class
Constructors
-
AuthorizationPolicyRule({Input<
List< ? destinations, Input<AuthorizationPolicyRuleDestination> ?>List< ? sources})AuthorizationPolicyRuleSource> ?> -
Creates a new AuthorizationPolicyRule.
destinationsList of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers.sourcesList of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ipBlocks match.const -
AuthorizationPolicyRule.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
destinations
→ Input<
List< ?AuthorizationPolicyRuleDestination> ?> -
List of attributes for the traffic destination. All of the destinations must match. A destination is a match if a request matches all the specified hosts, ports, methods and headers.
If not set, the action specified in the 'action' field will be applied without any rule checks for the destination.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sources
→ Input<
List< ?AuthorizationPolicyRuleSource> ?> -
List of attributes for the traffic source. All of the sources must match. A source is a match if both principals and ipBlocks match.
If not set, the action specified in the 'action' field will be applied without any rule checks for the source.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited