Partager via


ServersOperationsExtensions.GetAsync Méthode

Définition

Obtient des informations sur un serveur.

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

Paramètres

operations
IServersOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

serverName
String

Le nom du serveur

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à