Share via


NetworkSecurityGroupOperationsExtensions.ListAsync Method

Lists all of the Network Security Groups for the subscription.

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

Usage

'Usage
Dim operations As INetworkSecurityGroupOperations
Dim returnValue As Task(Of NetworkSecurityGroupListResponse)

returnValue = NetworkSecurityGroupOperationsExtensions.ListAsync(operations)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As INetworkSecurityGroupOperations _
) As Task(Of NetworkSecurityGroupListResponse)
[ExtensionAttribute] 
public static Task<NetworkSecurityGroupListResponse> ListAsync (
    INetworkSecurityGroupOperations operations
)
[ExtensionAttribute] 
public:
static Task<NetworkSecurityGroupListResponse^>^ ListAsync (
    INetworkSecurityGroupOperations^ operations
)
/** @attribute ExtensionAttribute() */ 
public static Task<NetworkSecurityGroupListResponse> ListAsync (
    INetworkSecurityGroupOperations operations
)
ExtensionAttribute 
public static function ListAsync (
    operations : INetworkSecurityGroupOperations
) : Task<NetworkSecurityGroupListResponse>

Parameters

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

Return Value

The List Definitions operation response.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

NetworkSecurityGroupOperationsExtensions Class
NetworkSecurityGroupOperationsExtensions Members
Microsoft.WindowsAzure.Management.Network Namespace