다음을 통해 공유


MapsCorsRule(IEnumerable<String>) Constructor

Definition

Initializes a new instance of MapsCorsRule.

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

Parameters

allowedOrigins
IEnumerable<String>

Required if CorsRule element is present. A list of origin domains that will be allowed via CORS, or "*" to allow all domains.

Exceptions

allowedOrigins is null.

Applies to