Delen via


DaprComponent Class

Dapr Component.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

DaprComponent(*, component_type: str | None = None, version: str | None = None, ignore_errors: bool = False, init_timeout: str | None = None, secrets: List[_models.Secret] | None = None, secret_store_component: str | None = None, metadata: List[_models.DaprMetadata] | None = None, scopes: List[str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
component_type
str

Component type.

Default value: None
version
str

Component version.

Default value: None
ignore_errors

Boolean describing if the component errors are ignores.

Default value: False
init_timeout
str

Initialization timeout.

Default value: None
secrets

Collection of secrets used by a Dapr component.

Default value: None
secret_store_component
str

Name of a Dapr component to retrieve component secrets from.

Default value: None
metadata

Component metadata.

Default value: None
scopes

Names of container apps that can use this Dapr component.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

component_type
str

Component type.

version
str

Component version.

ignore_errors

Boolean describing if the component errors are ignores.

init_timeout
str

Initialization timeout.

secrets

Collection of secrets used by a Dapr component.

secret_store_component
str

Name of a Dapr component to retrieve component secrets from.

metadata

Component metadata.

scopes

Names of container apps that can use this Dapr component.