Share via


NetworkSecurityGroupResource.GetSecurityRules Method

Definition

Gets a collection of SecurityRuleResources in the NetworkSecurityGroup.

public virtual Azure.ResourceManager.Network.SecurityRuleCollection GetSecurityRules ();
abstract member GetSecurityRules : unit -> Azure.ResourceManager.Network.SecurityRuleCollection
override this.GetSecurityRules : unit -> Azure.ResourceManager.Network.SecurityRuleCollection
Public Overridable Function GetSecurityRules () As SecurityRuleCollection

Returns

An object representing collection of SecurityRuleResources and their operations over a SecurityRuleResource.

Applies to