Share via


NetworkSecurityGroupOperationsExtensions.Get Method (INetworkSecurityGroupOperations, String, String)

 

Gets the details for the specified Network Security Group in the subscription.

Namespace:   Microsoft.WindowsAzure.Management.Network
Assembly:  Microsoft.WindowsAzure.Management.Network (in Microsoft.WindowsAzure.Management.Network.dll)

Syntax

public static NetworkSecurityGroupGetResponse Get(
    this INetworkSecurityGroupOperations operations,
    string networkSecurityGroupName,
    string detailLevel
)
public:
[ExtensionAttribute]
static NetworkSecurityGroupGetResponse^ Get(
    INetworkSecurityGroupOperations^ operations,
    String^ networkSecurityGroupName,
    String^ detailLevel
)
static member Get : 
        operations:INetworkSecurityGroupOperations *
        networkSecurityGroupName:string *
        detailLevel:string -> NetworkSecurityGroupGetResponse
<ExtensionAttribute>
Public Shared Function Get (
    operations As INetworkSecurityGroupOperations,
    networkSecurityGroupName As String,
    detailLevel As String
) As NetworkSecurityGroupGetResponse

Parameters

  • networkSecurityGroupName
    Type: System.String

    Required. The name of the Network Security Group to retrieve.

  • detailLevel
    Type: System.String

    Optional. Use 'Full' to list rules.

Return Value

Type: Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetResponse

A Network Security Group associated with your subscription.

See Also

NetworkSecurityGroupOperationsExtensions Class
Microsoft.WindowsAzure.Management.Network Namespace

Return to top