Freigeben über


SecurityRulesOperationsExtensions.GetAsync Methode

Definition

Rufen Sie die angegebene Netzwerksicherheitsregel ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.SecurityRule> GetAsync(this Microsoft.Azure.Management.Network.ISecurityRulesOperations operations, string resourceGroupName, string networkSecurityGroupName, string securityRuleName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.ISecurityRulesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.SecurityRule>
<Extension()>
Public Function GetAsync (operations As ISecurityRulesOperations, resourceGroupName As String, networkSecurityGroupName As String, securityRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SecurityRule)

Parameter

operations
ISecurityRulesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

networkSecurityGroupName
String

Der Name der Netzwerksicherheitsgruppe.

securityRuleName
String

Der Name der Sicherheitsregel.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: