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

ClientConfigDiagnostic type

此类型保存与 初始化相关的信息 CosmosClient

type ClientConfigDiagnostic = {
  aadCredentialsConfigured: boolean
  agentConfigured: boolean
  connectionPolicyConfigured: boolean
  consistencyLevel?: keyof typeof ConsistencyLevel
  defaultHeaders?: { [key: string]: any }
  diagnosticLevel?: CosmosDbDiagnosticLevel
  endpoint: string
  pluginsConfigured: boolean
  resourceTokensConfigured: boolean
  sDKVersion: string
  tokenProviderConfigured: boolean
  userAgentSuffix: string
}