Udostępnij za pośrednictwem


INetworkSecurityGroupOperations.GetAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetResponse> GetAsync (string networkSecurityGroupName, string detailLevel, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetResponse>
Public Function GetAsync (networkSecurityGroupName As String, detailLevel As String, cancellationToken As CancellationToken) As Task(Of NetworkSecurityGroupGetResponse)

Parameters

networkSecurityGroupName
String

The name of the Network Security Group to retrieve.

detailLevel
String

Use 'Full' to list rules.

cancellationToken
CancellationToken

Cancellation token.

Returns

A Network Security Group associated with your subscription.

Applies to