Compartir a través de


VirtualNetworkResource.GetNetworkManagerEffectiveSecurityAdminRulesAsync Método

Definición

Enumere todas las reglas de administración de seguridad vigentes aplicadas en una red virtual.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules
  • Operation IdListNetworkManagerEffectiveSecurityAdminRules
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule> GetNetworkManagerEffectiveSecurityAdminRulesAsync (Azure.ResourceManager.Network.Models.NetworkManagementQueryContent content, int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkManagerEffectiveSecurityAdminRulesAsync : Azure.ResourceManager.Network.Models.NetworkManagementQueryContent * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule>
override this.GetNetworkManagerEffectiveSecurityAdminRulesAsync : Azure.ResourceManager.Network.Models.NetworkManagementQueryContent * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.EffectiveBaseSecurityAdminRule>
Public Overridable Function GetNetworkManagerEffectiveSecurityAdminRulesAsync (content As NetworkManagementQueryContent, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of EffectiveBaseSecurityAdminRule)

Parámetros

content
NetworkManagementQueryContent

Parámetros proporcionados para mostrar la página correcta.

top
Nullable<Int32>

Parámetro de consulta opcional que especifica el número máximo de registros que va a devolver el servidor.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de que puede tomar varias solicitudes de EffectiveBaseSecurityAdminRule servicio para iterar.

Excepciones

content es null.

Se aplica a