NetworkSecurityGroupRule.withPriority(int priority) 方法

定义

Set priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 3500. If any reserved or duplicate values are provided the request fails with HTTP status code 400.

public NetworkSecurityGroupRule withPriority(int priority)

参数

priority
int

the priority value to set

返回

the NetworkSecurityGroupRule object itself.

适用于