你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerActiveDirectoryAdministrator 方法

定义

获取有关服务器的信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}
  • 操作IdAdministrators_Get
public virtual Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource> GetPostgreSqlFlexibleServerActiveDirectoryAdministrator (string objectId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerActiveDirectoryAdministrator : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>
override this.GetPostgreSqlFlexibleServerActiveDirectoryAdministrator : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerActiveDirectoryAdministratorResource>
Public Overridable Function GetPostgreSqlFlexibleServerActiveDirectoryAdministrator (objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PostgreSqlFlexibleServerActiveDirectoryAdministratorResource)

参数

objectId
String

管理员 objectId 的 Guid。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

objectId 是一个空字符串,预期为非空。

objectId 为 null。

适用于