NetworkSecurityGroupOperationsExtensions.GetAsync 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)

public static Task<NetworkSecurityGroupGetResponse> GetAsync(
	this INetworkSecurityGroupOperations operations,
	string networkSecurityGroupName,
	string detailLevel
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations

Reference to the Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations.

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: System.Threading.Tasks.Task<NetworkSecurityGroupGetResponse>

A Network Security Group associated with your subscription.

Return to top
Show: