Partager via


PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync Méthode

Définition

Obtient des informations sur un serveur.

  • Chemin/abonnements de la demande/{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>> GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync (string objectId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>>
override this.GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>>
Public Overridable Function GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync (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 on s’attendait à ce qu’elle ne soit pas vide.

objectId a la valeur null.

S’applique à