Freigeben über


BastionHostsOperationsExtensions.GetAsync Methode

Definition

Ruft den angegebenen Bastion-Host ab.

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

Parameter

operations
IBastionHostsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

bastionHostName
String

Der Name des Bastion-Hosts.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: