ComputeUrlMapUrlMapHostRule class
One host_rule entry. Binds a set of Host: header values to a
ComputeUrlMapUrlMapPathMatcher by name. Multiple host_rule entries can point at
the same pathMatcher.
The schema models host_rule as a set of blocks; the wrapper still
accepts a List<ComputeUrlMapUrlMapHostRule> -- duplicate entries are deduped by
the Terraform engine on apply.
- Annotations
-
- @immutable
Constructors
-
ComputeUrlMapUrlMapHostRule({required List<
String> hosts, required TfArg<String> pathMatcher, TfArg<String> ? description}) -
const
Properties
-
description
→ TfArg<
String> ? -
Free-form description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hosts
→ List<
String> -
Host:values to match. Each entry can be a literal hostname ('mysite.com') or a wildcard pattern ('*.mysite.com'). At least one entry is required per the schema.final -
pathMatcher
→ TfArg<
String> -
Local name of the ComputeUrlMapUrlMapPathMatcher this rule dispatches to. Must
match a ComputeUrlMapUrlMapPathMatcher.name within the same URL map -- this is
NOT a
google_compute_*resource address.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArgMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited