Freigeben über


NetworkWatchersOperationsExtensions.BeginGetVMSecurityRulesAsync Methode

Definition

Ruft die konfigurierten und effektiven Sicherheitsgruppenregeln auf der angegebenen VM ab.

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)

Parameter

operations
INetworkWatchersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkWatcherName
String

Der Name des Network Watchers.

targetResourceId
String

ID der Ziel-VM.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: