Compartilhar via


NetworkSecurityGroupOperationsExtensions.GetForNetworkInterfaceAsync Método

Definição

Obtém o Grupo de Segurança de Rede aplicado a um adaptador de rede específico.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse> GetForNetworkInterfaceAsync (this Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations operations, string serviceName, string deploymentName, string roleName, string networkInterfaceName);
static member GetForNetworkInterfaceAsync : Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse>
<Extension()>
Public Function GetForNetworkInterfaceAsync (operations As INetworkSecurityGroupOperations, serviceName As String, deploymentName As String, roleName As String, networkInterfaceName As String) As Task(Of NetworkSecurityGroupGetAssociationResponse)

Parâmetros

operations
INetworkSecurityGroupOperations

Referência ao Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations.

serviceName
String

Obrigatórios.

deploymentName
String

Obrigatórios.

roleName
String

Obrigatórios.

networkInterfaceName
String

Obrigatórios.

Retornos

O Grupo de Segurança de Rede associado a uma entidade: sub-rede, adaptador de rede ou função.

Aplica-se a