Partilhar via


NetworkSecurityGroupsOperationsExtensions.GetAsync Método

Definição

Obtém o grupo de segurança de rede especificado.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner> GetAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroupsOperations operations, string resourceGroupName, string networkSecurityGroupName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.NetworkSecurityGroupInner>
<Extension()>
Public Function GetAsync (operations As INetworkSecurityGroupsOperations, resourceGroupName As String, networkSecurityGroupName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NetworkSecurityGroupInner)

Parâmetros

operations
INetworkSecurityGroupsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

networkSecurityGroupName
String

O nome do grupo de segurança de rede.

expand
String

Expande os recursos referenciados.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a