NetworkSecurityGroupRule.Priority 屬性

定義

取得或設定此規則的優先順序。

[Newtonsoft.Json.JsonProperty(PropertyName="priority")]
public int Priority { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="priority")>]
member this.Priority : int with get, set
Public Property Priority As Integer

屬性值

屬性
Newtonsoft.Json.JsonPropertyAttribute

備註

集區內的優先順序必須是唯一的,而且會依優先順序進行評估。 編號愈低,優先順序就愈高。 例如,可以使用訂單編號 150、250 和 350 來指定規則。 訂單編號為 150 的規則優先于順序為 250 的規則。 允許的優先順序為 150 到 4096。 如果提供任何保留或重複的值,要求就會因為 HTTP 狀態碼 400 而失敗。

適用於