Compartilhar via


NetworkSecurityGroupOperationsExtensions.GetForNetworkInterface Método

Definição

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

public static Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse GetForNetworkInterface (this Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations operations, string serviceName, string deploymentName, string roleName, string networkInterfaceName);
static member GetForNetworkInterface : Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations * string * string * string * string -> Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse
<Extension()>
Public Function GetForNetworkInterface (operations As INetworkSecurityGroupOperations, serviceName As String, deploymentName As String, roleName As String, networkInterfaceName As String) As 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