通过


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

Dapr interface

容器应用 Dapr 配置。

属性

appId

Dapr 应用程序标识符

appPort

告知 Dapr 应用程序正在侦听的端口

appProtocol

告知 Dapr 应用程序使用的协议。 有效选项为 http 和 grpc。 默认值为 http

enabled

指示 Dapr 侧车是否已启用的布尔值

属性详细信息

appId

Dapr 应用程序标识符

appId?: string

属性值

string

appPort

告知 Dapr 应用程序正在侦听的端口

appPort?: number

属性值

number

appProtocol

告知 Dapr 应用程序使用的协议。 有效选项为 http 和 grpc。 默认值为 http

appProtocol?: string

属性值

string

enabled

指示 Dapr 侧车是否已启用的布尔值

enabled?: boolean

属性值

boolean