Share via


ContainerAppCorsPolicy(IEnumerable<String>) Constructor

Definition

Initializes a new instance of ContainerAppCorsPolicy.

public ContainerAppCorsPolicy (System.Collections.Generic.IEnumerable<string> allowedOrigins);
new Azure.ResourceManager.AppContainers.Models.ContainerAppCorsPolicy : seq<string> -> Azure.ResourceManager.AppContainers.Models.ContainerAppCorsPolicy
Public Sub New (allowedOrigins As IEnumerable(Of String))

Parameters

allowedOrigins
IEnumerable<String>

Specifies the content for the access-control-allow-origins header.

Exceptions

allowedOrigins is null.

Applies to