Class RegionUrlMapArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionUrlMapArgs : ResourceArgs
Constructors
View SourceRegionUrlMapArgs()
Declaration
public RegionUrlMapArgs()
Properties
View SourceDefaultService
A reference to a RegionBackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's path portion.
Declaration
public Input<string> DefaultService { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DefaultUrlRedirect
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.
Declaration
public Input<RegionUrlMapDefaultUrlRedirectArgs> DefaultUrlRedirect { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<RegionUrlMapDefaultUrlRedirectArgs> |
Description
Description of this test case.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HostRules
The list of HostRules to use against the URL. Structure is documented below.
Declaration
public InputList<RegionUrlMapHostRuleArgs> HostRules { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RegionUrlMapHostRuleArgs> |
Name
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
PathMatchers
The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion.
Declaration
public InputList<RegionUrlMapPathMatcherArgs> PathMatchers { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RegionUrlMapPathMatcherArgs> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Input<string> Project { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The Region in which the url map should reside. If it is not provided, the provider region is used.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tests
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.
Declaration
public InputList<RegionUrlMapTestArgs> Tests { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RegionUrlMapTestArgs> |