Show / Hide Table of Contents

Class RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicy

Inheritance
System.Object
RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicy
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class RegionUrlMapPathMatcherPathRuleRouteActionCorsPolicy

Fields

View Source

AllowCredentials

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Disabled

If true, specifies the CORS policy is disabled.

Declaration
public readonly bool Disabled
Field Value
Type Description
System.Boolean
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.