共用方式為


InboundNATPool.NetworkSecurityGroupRules Property

Definition

Gets or sets a list of network security group rules that will be applied to the endpoint.

[Newtonsoft.Json.JsonProperty(PropertyName="networkSecurityGroupRules")]
public System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.NetworkSecurityGroupRule> NetworkSecurityGroupRules { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="networkSecurityGroupRules")>]
member this.NetworkSecurityGroupRules : System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.NetworkSecurityGroupRule> with get, set
Public Property NetworkSecurityGroupRules As IList(Of NetworkSecurityGroupRule)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The maximum number of rules that can be specified across all the endpoints on a Batch Pool is 25. If no network security group rules are specified, a default rule will be created to allow inbound access to the specified backendPort. If the maximum number of network security group rules is exceeded the request fails with HTTP status code 400.

Applies to