Partilhar via


BastionHostsOperationsExtensions.GetAsync Método

Definição

Obtém o Bastion Host 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

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

bastionHostName
String

O nome do Bastion Host.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a