ArmMapsModelFactory.MapsCorsRule(IEnumerable<String>) 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.
Specifies a CORS rule for the Map Account.
public static Azure.ResourceManager.Maps.Models.MapsCorsRule MapsCorsRule(System.Collections.Generic.IEnumerable<string> allowedOrigins = default);
static member MapsCorsRule : seq<string> -> Azure.ResourceManager.Maps.Models.MapsCorsRule
Public Shared Function MapsCorsRule (Optional allowedOrigins As IEnumerable(Of String) = Nothing) As MapsCorsRule
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.
Returns
A new MapsCorsRule instance for mocking.