ContainerAppCorsPolicy(IEnumerable<String>) Constructor
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.
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.