Compartilhar via


NetworkManagerResource.GetActiveSecurityAdminRules Método

Definição

Lista as regras de administrador de segurança ativas em um gerenciador de rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules
  • Operação IdListActiveSecurityAdminRules
public virtual Azure.Pageable<Azure.ResourceManager.Network.Models.ActiveBaseSecurityAdminRule> GetActiveSecurityAdminRules (Azure.ResourceManager.Network.Models.ActiveConfigurationContent content, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetActiveSecurityAdminRules : Azure.ResourceManager.Network.Models.ActiveConfigurationContent * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ActiveBaseSecurityAdminRule>
override this.GetActiveSecurityAdminRules : Azure.ResourceManager.Network.Models.ActiveConfigurationContent * Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.ActiveBaseSecurityAdminRule>
Public Overridable Function GetActiveSecurityAdminRules (content As ActiveConfigurationContent, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ActiveBaseSecurityAdminRule)

Parâmetros

content
ActiveConfigurationContent

Parâmetro de configuração ativo.

top
Nullable<Int32>

Um parâmetro de consulta opcional que especifica o número máximo de registros a serem retornados pelo servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de ActiveBaseSecurityAdminRule que pode levar várias solicitações de serviço para iterar.

Exceções

content é nulo.

Aplica-se a