AccountBlobPropertiesCorsRuleArgs

data class AccountBlobPropertiesCorsRuleArgs(val allowedHeaders: Output<List<String>>, val allowedMethods: Output<List<String>>, val allowedOrigins: Output<List<String>>, val exposedHeaders: Output<List<String>>, val maxAgeInSeconds: Output<Int>) : ConvertibleToJava<AccountBlobPropertiesCorsRuleArgs>

Constructors

Link copied to clipboard
constructor(allowedHeaders: Output<List<String>>, allowedMethods: Output<List<String>>, allowedOrigins: Output<List<String>>, exposedHeaders: Output<List<String>>, maxAgeInSeconds: Output<Int>)

Properties

Link copied to clipboard
val allowedHeaders: Output<List<String>>

A list of headers that are allowed to be a part of the cross-origin request.

Link copied to clipboard
val allowedMethods: Output<List<String>>

A list of HTTP methods that are allowed to be executed by the origin. Valid options are DELETE, GET, HEAD, MERGE, POST, OPTIONS, PUT or PATCH.

Link copied to clipboard
val allowedOrigins: Output<List<String>>

A list of origin domains that will be allowed by CORS.

Link copied to clipboard
val exposedHeaders: Output<List<String>>

A list of response headers that are exposed to CORS clients.

Link copied to clipboard
val maxAgeInSeconds: Output<Int>

The number of seconds the client should cache a preflight response.

Functions

Link copied to clipboard
open override fun toJava(): AccountBlobPropertiesCorsRuleArgs