Compartir a través de


BastionHostsOperationsExtensions.GetAsync Método

Definición

Obtiene el host bastión especificado.

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)

Parámetros

operations
IBastionHostsOperations

El grupo de operaciones de este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos.

bastionHostName
String

Nombre del host de Bastion.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a