Partager via


ICorsSettings.AllowedOrigin Property

Definition

Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all.

[Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(Description="Gets or sets the list of origins that should be allowed to make cross-origin\r\n        calls (for example: http://example.com:12345). Use "*" to allow all.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=false, SerializedName="allowedOrigins")]
public string[] AllowedOrigin { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(Description="Gets or sets the list of origins that should be allowed to make cross-origin\r\n        calls (for example: http://example.com:12345). Use "*" to allow all.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=false, SerializedName="allowedOrigins")>]
member this.AllowedOrigin : string[] with get, set
Public Property AllowedOrigin As String()

Property Value

String[]
Attributes

Applies to