Cors Policy Args
data class CorsPolicyArgs(val allowedHeaders: Output<String>? = null, val allowedMethods: Output<String>? = null, val allowedOrigins: Output<String>, val exposedHeaders: Output<String>? = null, val maxAgeInSeconds: Output<Double>? = null) : ConvertibleToJava<CorsPolicyArgs>
The CORS policy for the Cosmos DB database account.
Constructors
Properties
Link copied to clipboard
The request headers that the origin domain may specify on the CORS request.
Link copied to clipboard
The methods (HTTP request verbs) that the origin domain may use for a CORS request.
Link copied to clipboard
The origin domains that are permitted to make a request against the service via CORS.
Link copied to clipboard
The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
Link copied to clipboard
The maximum amount time that a browser should cache the preflight OPTIONS request.