Partager via


PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.GetAsync Méthode

Définition

Obtient des informations sur un serveur.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • IdAdministrators_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>> GetAsync (string objectId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>>
Public Overridable Function GetAsync (objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerActiveDirectoryAdministratorResource))

Paramètres

objectId
String

GUID de l’objectId pour l’administrateur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

objectId est une chaîne vide et devait être non vide.

objectId a la valeur null.

S’applique à