<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.1.4" />

Microsoft.Azure.Storage.Shared.Protocol.CorsRule

public sealed class CorsRule
Class representing the service properties pertaining to CORS.
public IList<string> AllowedHeaders { get; set; }

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

public CorsHttpMethods AllowedMethods { get; set; }

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

public IList<string> AllowedOrigins { get; set; }

Gets or sets domain names allowed via CORS.

public IList<string> ExposedHeaders { get; set; }

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

public int MaxAgeInSeconds { get; set; }

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

public CorsRule()