Partager via


ICorsRule.AllowedMethod Property

Definition

Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.

[Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "DELETE", "GET", "HEAD", "MERGE", "POST", "OPTIONS", "PUT", "PATCH", "CONNECT", "TRACE" })]
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=true, SerializedName="allowedMethods", Update=true)]
public System.Collections.Generic.List<string> AllowedMethod { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.PSArgumentCompleter(new System.String[] { "DELETE", "GET", "HEAD", "MERGE", "POST", "OPTIONS", "PUT", "PATCH", "CONNECT", "TRACE" })>]
[<Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.Info(Create=true, Description="Required if CorsRule element is present. A list of HTTP methods that are allowed to be executed by the origin.", PossibleTypes=new System.Type[] { typeof(System.String) }, Read=true, ReadOnly=false, Required=true, SerializedName="allowedMethods", Update=true)>]
member this.AllowedMethod : System.Collections.Generic.List<string> with get, set
Public Property AllowedMethod As List(Of String)

Property Value

Attributes

Applies to