Compartir a través de


NetworkWatchersOperationsExtensions.BeginGetVMSecurityRulesAsync Método

Definición

Obtiene las reglas de grupo de seguridad configuradas y eficaces en la máquina virtual especificada.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.SecurityGroupViewResultInner> BeginGetVMSecurityRulesAsync (this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, string targetResourceId, System.Threading.CancellationToken cancellationToken = default);
static member BeginGetVMSecurityRulesAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.SecurityGroupViewResultInner>
<Extension()>
Public Function BeginGetVMSecurityRulesAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, targetResourceId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityGroupViewResultInner)

Parámetros

operations
INetworkWatchersOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

networkWatcherName
String

Nombre del monitor de red.

targetResourceId
String

Identificador de la máquina virtual de destino.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a