RegionUrlMapState class
Input properties used for looking up and filtering RegionUrlMap resources.
Constructors
-
RegionUrlMapState({Input<
String?> ? creationTimestamp, Input<RegionUrlMapDefaultRouteAction?> ? defaultRouteAction, Input<String?> ? defaultService, Input<RegionUrlMapDefaultUrlRedirect?> ? defaultUrlRedirect, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? fingerprint, Input<RegionUrlMapHeaderAction?> ? headerAction, Input<List< ? hostRules, Input<RegionUrlMapHostRule> ?>int?> ? mapId, Input<String?> ? name, Input<List< ? pathMatchers, Input<RegionUrlMapPathMatcher> ?>String?> ? project, Input<String?> ? region, Input<String?> ? selfLink, Input<List< ? tests})RegionUrlMapTest> ?> -
Creates a new RegionUrlMapState.
creationTimestampCreation timestamp in RFC3339 text format.defaultRouteActiondefaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.defaultServiceThe full or partial URL of the defaultService resource to which traffic is directed ifdefaultUrlRedirectWhen none of the specified hostRules match, the request is redirected to a URL specifieddeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource. Provide this property whenfingerprintFingerprint of this resource. This field is used internally duringheaderActionSpecifies changes to request and response headers that need to take effect for the selected backendService.hostRulesThe list of HostRules to use against the URL.mapIdThe unique identifier for the resource.nameName of the resource. Provided by the client when the resource ispathMatchersThe list of named PathMatchers to use against the URL.projectThe ID of the project in which the resource belongs.regionThe Region in which the url map should reside.selfLinkThe URI of the created resource.testsThe list of expected URL mappings. Requests to update this UrlMap willconst -
RegionUrlMapState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
creationTimestamp
→ Input<
String?> ? -
Creation timestamp in RFC3339 text format.
final
-
defaultRouteAction
→ Input<
RegionUrlMapDefaultRouteAction?> ? -
defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices.
Only one of defaultRouteAction or defaultUrlRedirect must be set.
URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction.
defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true.
Structure is documented below.
final
-
defaultService
→ Input<
String?> ? -
The full or partial URL of the defaultService resource to which traffic is directed if
none of the hostRules match. If defaultRouteAction is additionally specified, advanced
routing actions like URL Rewrites, etc. take effect prior to sending the request to the
backend. However, if defaultService is specified, defaultRouteAction cannot contain any
weightedBackendServices. Conversely, if routeAction specifies any
weightedBackendServices, service must not be specified. Only one of defaultService,
defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set.
final
-
defaultUrlRedirect
→ Input<
RegionUrlMapDefaultUrlRedirect?> ? -
When none of the specified hostRules match, the request is redirected to a URL specified
by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or
defaultRouteAction must not be set.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional description of this resource. Provide this property when
you create the resource.
final
-
fingerprint
→ Input<
String?> ? -
Fingerprint of this resource. This field is used internally during
updates of this resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headerAction
→ Input<
RegionUrlMapHeaderAction?> ? -
Specifies changes to request and response headers that need to take effect for the selected backendService.
headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap.
headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL.
Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true.
Structure is documented below.
final
-
hostRules
→ Input<
List< ?RegionUrlMapHostRule> ?> -
The list of HostRules to use against the URL.
Structure is documented below.
final
-
mapId
→ Input<
int?> ? -
The unique identifier for the resource.
final
-
name
→ Input<
String?> ? -
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.final -
pathMatchers
→ Input<
List< ?RegionUrlMapPathMatcher> ?> -
The list of named PathMatchers to use against the URL.
Structure is documented below.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
The Region in which the url map should reside.
If it is not provided, the provider region is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<
String?> ? -
The URI of the created resource.
final
-
tests
→ Input<
List< ?RegionUrlMapTest> ?> -
The list of expected URL mappings. Requests to update this UrlMap will
succeed only if all of the test cases pass.
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