Class RegionUrlMapPathMatcherRouteRuleRouteActionCorsPolicy
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Compute.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionUrlMapPathMatcherRouteRuleRouteActionCorsPolicy
Fields
View SourceAllowCredentials
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This translates to the Access- Control-Allow-Credentials header. Defaults to false.
Declaration
public readonly bool? AllowCredentials
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
AllowHeaders
Specifies the content for the Access-Control-Allow-Headers header.
Declaration
public readonly ImmutableArray<string> AllowHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowMethods
Specifies the content for the Access-Control-Allow-Methods header.
Declaration
public readonly ImmutableArray<string> AllowMethods
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowOriginRegexes
Specifies the regualar expression patterns that match allowed origins. For regular expression grammar please see en.cppreference.com/w/cpp/regex/ecmascript An origin is allowed if it matches either allow_origins or allow_origin_regex.
Declaration
public readonly ImmutableArray<string> AllowOriginRegexes
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowOrigins
Specifies the list of origins that will be allowed to do CORS requests. An origin is allowed if it matches either allow_origins or allow_origin_regex.
Declaration
public readonly ImmutableArray<string> AllowOrigins
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
Disabled
If true, specifies the CORS policy is disabled.
Declaration
public readonly bool? Disabled
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ExposeHeaders
Specifies the content for the Access-Control-Expose-Headers header.
Declaration
public readonly ImmutableArray<string> ExposeHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
MaxAge
Specifies how long the results of a preflight request can be cached. This translates to the content for the Access-Control-Max-Age header.
Declaration
public readonly int? MaxAge
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |