Udostępnij za pośrednictwem


NetworkSecurityGroupOperationsExtensions.GetAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetResponse> GetAsync (this Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations operations, string networkSecurityGroupName, string detailLevel);
static member GetAsync : Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetResponse>
<Extension()>
Public Function GetAsync (operations As INetworkSecurityGroupOperations, networkSecurityGroupName As String, detailLevel As String) As Task(Of NetworkSecurityGroupGetResponse)

Parameters

operations
INetworkSecurityGroupOperations

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

networkSecurityGroupName
String

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

detailLevel
String

Optional. Use 'Full' to list rules.

Returns

A Network Security Group associated with your subscription.

Applies to