Class GetBucketsBucketCorsRuleResult
Inheritance
Inherited Members
Namespace: Pulumi.AliCloud.Oss.Outputs
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class GetBucketsBucketCorsRuleResult
Fields
View SourceAllowedHeaders
Control whether the headers specified by Access-Control-Request-Headers in the OPTIONS prefetch command are allowed. Each header specified by Access-Control-Request-Headers must match a value in AllowedHeader. Each rule allows up to one wildcard “*” .
Declaration
public readonly ImmutableArray<string> AllowedHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedMethods
Specify the allowed methods for cross-domain requests. Possible values: GET, PUT, DELETE, POST and HEAD.
Declaration
public readonly ImmutableArray<string> AllowedMethods
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AllowedOrigins
The origins allowed for cross-domain requests. Multiple elements can be used to specify multiple allowed origins. Each rule allows up to one wildcard "*". If "*" is specified, cross-domain requests of all origins are allowed.
Declaration
public readonly ImmutableArray<string> AllowedOrigins
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
ExposeHeaders
Specify the response headers allowing users to access from an application (for example, a Javascript XMLHttpRequest object). The wildcard "*" is not allowed.
Declaration
public readonly ImmutableArray<string> ExposeHeaders
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
MaxAgeSeconds
Specify the cache time for the returned result of a browser prefetch (OPTIONS) request to a specific resource.
Declaration
public readonly int MaxAgeSeconds
Field Value
| Type | Description |
|---|---|
| System.Int32 |