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

ApiKeyAuthWorkspaceConnectionProperties interface

此连接类型涵盖泛型 ApiKey 身份验证连接类别,例如:AzureOpenAI:Category:= AzureOpenAI AuthType:= ApiKey (作为类型歧视性) 凭据:= {ApiKey} 作为 Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {ApiBase}

CognitiveService: Category:= CognitiveService AuthType:= ApiKey (作为类型鉴别器) 凭据:= {SubscriptionKey} as Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= ServiceRegion={serviceRegion}

CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey (作为类型鉴别器) 凭据:= {Key} 作为 Microsoft.MachineLearning.AccountRP.Contracts.WorkspaceConnection.ApiKey Target:= {Endpoint}

对 ApiType、ApiVersion、Kind 和其他元数据字段使用元数据属性包

扩展

属性

authType

多态鉴别器,它指定此对象可以的不同类型的

credentials

工作区连接凭据的 API 密钥对象。

继承属性

category

连接的类别

createdByWorkspaceArmId

注意:此属性不会序列化。 它只能由服务器填充。

expiryTime
group

基于连接类别的组注意:此属性不会序列化。 它只能由服务器填充。

isSharedToAll
metadata

存储此连接的用户元数据

sharedUserList
target
value

工作区连接的值详细信息。

valueFormat

工作区连接值的格式

属性详细信息

authType

多态鉴别器,它指定此对象可以的不同类型的

authType: "ApiKey"

属性值

"ApiKey"

credentials

工作区连接凭据的 API 密钥对象。

credentials?: WorkspaceConnectionApiKey

属性值

继承属性详细信息

category

连接的类别

category?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.category

createdByWorkspaceArmId

注意:此属性不会序列化。 它只能由服务器填充。

createdByWorkspaceArmId?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.createdByWorkspaceArmId

expiryTime

expiryTime?: Date

属性值

Date

继承自WorkspaceConnectionPropertiesV2.expiryTime

group

基于连接类别的组注意:此属性不会序列化。 它只能由服务器填充。

group?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.group

isSharedToAll

isSharedToAll?: boolean

属性值

boolean

继承自WorkspaceConnectionPropertiesV2.isSharedToAll

metadata

存储此连接的用户元数据

metadata?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承自WorkspaceConnectionPropertiesV2.metadata

sharedUserList

sharedUserList?: string[]

属性值

string[]

继承自 WorkspaceConnectionPropertiesV2.sharedUserList

target

target?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.target

value

工作区连接的值详细信息。

value?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.value

valueFormat

工作区连接值的格式

valueFormat?: string

属性值

string

继承自WorkspaceConnectionPropertiesV2.valueFormat