Share via


NetworkSecurityGroupBaseCmdlet.GetNetworkSecurityGroup Method

Definition

public Microsoft.Azure.Commands.Network.Models.PSNetworkSecurityGroup GetNetworkSecurityGroup (string resourceGroupName, string name, string expandResource = default);
member this.GetNetworkSecurityGroup : string * string * string -> Microsoft.Azure.Commands.Network.Models.PSNetworkSecurityGroup
Public Function GetNetworkSecurityGroup (resourceGroupName As String, name As String, Optional expandResource As String = Nothing) As PSNetworkSecurityGroup

Parameters

resourceGroupName
String
name
String
expandResource
String

Returns

Applies to