Share via


INetworkSecurityGroupOperations.GetAsync Method (String, String, CancellationToken)

 

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

Task<NetworkSecurityGroupGetResponse> GetAsync(
    string networkSecurityGroupName,
    string detailLevel,
    CancellationToken cancellationToken
)
Task<NetworkSecurityGroupGetResponse^>^ GetAsync(
    String^ networkSecurityGroupName,
    String^ detailLevel,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        networkSecurityGroupName:string *
        detailLevel:string *
        cancellationToken:CancellationToken -> Task<NetworkSecurityGroupGetResponse>
Function GetAsync (
    networkSecurityGroupName As String,
    detailLevel As String,
    cancellationToken As CancellationToken
) As Task(Of NetworkSecurityGroupGetResponse)

Parameters

  • networkSecurityGroupName
    Type: System.String

    The name of the Network Security Group to retrieve.

Return Value

Type: System.Threading.Tasks.Task<NetworkSecurityGroupGetResponse>

A Network Security Group associated with your subscription.

See Also

INetworkSecurityGroupOperations Interface
Microsoft.WindowsAzure.Management.Network Namespace

Return to top