CorsRule

Creates an object representing the service properties pertaining to CORS.

Properties

AllowedOrigins

Gets or sets domain names allowed via CORS.

ExposedHeaders

Gets or sets response headers that should be exposed to client via CORS.

AllowedHeaders

Gets or sets headers allowed to be part of the CORS request.

AllowedMethods

Gets or sets the HTTP methods permitted to execute for this origin.

MaxAgeInSeconds

Gets or sets the length of time in seconds that a preflight response should be cached by browser.


Please refer to the following Azure API reference documentation:

Documentation to assist in setting properties:

https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.storage.shared.protocol.corsrule?view=azure-dotnet