Compartilhar via


PostgreSqlFlexibleServerActiveDirectoryAdministratorCollection.GetAsync 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>> 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))

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 era esperado que não estivesse vazio.

objectId é nulo.

Aplica-se a