QueuesModelFactory.QueueCorsRule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The CORS rules.
public static Azure.Storage.Queues.Models.QueueCorsRule QueueCorsRule(string allowedOrigins = default, string allowedMethods = default, string allowedHeaders = default, string exposedHeaders = default, int maxAgeInSeconds = 0);
static member QueueCorsRule : string * string * string * string * int -> Azure.Storage.Queues.Models.QueueCorsRule
Public Shared Function QueueCorsRule (Optional allowedOrigins As String = Nothing, Optional allowedMethods As String = Nothing, Optional allowedHeaders As String = Nothing, Optional exposedHeaders As String = Nothing, Optional maxAgeInSeconds As Integer = 0) As QueueCorsRule
Parameters
- allowedOrigins
- String
- allowedMethods
- String
- allowedHeaders
- String
- exposedHeaders
- String
- maxAgeInSeconds
- Int32
Returns
A new QueueCorsRule instance for mocking.