Bagikan melalui


ISiteConfig.CorAllowedOrigin 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[] CorAllowedOrigin { 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.CorAllowedOrigin : string[] with get, set
Public Property CorAllowedOrigin As String()

Property Value

String[]
Attributes

Applies to