Principal class
Deprecated All fields defined in a principal are ANDed.
Constructors
-
Principal({Input<
String> ? condition, Input<List< ? groups, Input<String> >List< ? ips, Input<String> >List< ? namespaces, Input<String> >List< ? notGroups, Input<String> >List< ? notIps, Input<String> >List< ? notNamespaces, Input<String> >List< ? notUsers, Input<String> >Map< ? properties, Input<String, String> >List< ? users})String> > -
Creates a new Principal.
conditionAn expression to specify custom condition.groupsThe groups the principal belongs to. Exact match, prefix match, and suffix match are supported.ipsIPv4 or IPv6 address or range (In CIDR format)namespacesThe namespaces. Exact match, prefix match, and suffix match are supported.notGroupsNegate of groups. Specifies exclusions.notIpsNegate of IPs. Specifies exclusions.notNamespacesNegate of namespaces. Specifies exclusions.notUsersNegate of users. Specifies exclusions.propertiesA map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example,request.headers[version]: "v1". The properties are ANDed together.usersThe user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.const -
Principal.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
condition
→ Input<
String> ? -
An expression to specify custom condition.
final
-
groups
→ Input<
List< ?String> > -
The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ips
→ Input<
List< ?String> > -
IPv4 or IPv6 address or range (In CIDR format)
final
-
namespaces
→ Input<
List< ?String> > -
The namespaces. Exact match, prefix match, and suffix match are supported.
final
-
notGroups
→ Input<
List< ?String> > -
Negate of groups. Specifies exclusions.
final
-
notIps
→ Input<
List< ?String> > -
Negate of IPs. Specifies exclusions.
final
-
notNamespaces
→ Input<
List< ?String> > -
Negate of namespaces. Specifies exclusions.
final
-
notUsers
→ Input<
List< ?String> > -
Negate of users. Specifies exclusions.
final
-
properties
→ Input<
Map< ?String, String> > -
A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example,
request.headers[version]: "v1". The properties are ANDed together.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
users
→ Input<
List< ?String> > -
The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.
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