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

DaprComponent interface

Dapr 组件。

扩展

属性

componentType

组件类型

deploymentErrors

部署或部署验证期间发生的任何错误注意:此属性不会序列化。 它只能由服务器填充。

ignoreErrors

描述组件错误是否被忽略的布尔值

initTimeout

初始化超时

metadata

组件元数据

provisioningState

Dapr 组件的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

scopes

可以使用此 Dapr 组件的容器应用的名称

secrets

Dapr 组件使用的机密集合

secretStoreComponent

要从中检索组件机密的 Dapr 组件的名称

version

组件版本

继承属性

id

资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”注意:此属性不会序列化。 它只能由服务器填充。

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 注意:此属性不会序列化。 它只能由服务器填充。

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

componentType

组件类型

componentType?: string

属性值

string

deploymentErrors

部署或部署验证期间发生的任何错误注意:此属性不会序列化。 它只能由服务器填充。

deploymentErrors?: string

属性值

string

ignoreErrors

描述组件错误是否被忽略的布尔值

ignoreErrors?: boolean

属性值

boolean

initTimeout

初始化超时

initTimeout?: string

属性值

string

metadata

组件元数据

metadata?: DaprMetadata[]

属性值

provisioningState

Dapr 组件的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState?: string

属性值

string

scopes

可以使用此 Dapr 组件的容器应用的名称

scopes?: string[]

属性值

string[]

secrets

Dapr 组件使用的机密集合

secrets?: Secret[]

属性值

Secret[]

secretStoreComponent

要从中检索组件机密的 Dapr 组件的名称

secretStoreComponent?: string

属性值

string

version

组件版本

version?: string

属性值

string

继承属性详细信息

id

资源的完全限定资源 ID。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自 ProxyResource.id

name

资源说明的名称:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自 ProxyResource.name

systemData

包含 createdBy 和 modifiedBy 信息的 Azure 资源管理器元数据。 注意:此属性不会序列化。 它只能由服务器填充。

systemData?: SystemData

属性值

继承自ProxyResource.systemData

type

资源的类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ProxyResource.type