Partilhar via


PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerActiveDirectoryAdministratorAsync Método

Definição

Obtém informações sobre um servidor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • Operação IdAdministrators_Get
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))

Parâmetros

objectId
String

Guid da objectId para o administrador.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

objectId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

objectId é nulo.

Aplica-se a