你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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