Share via


IDistributedApplicationResourceBuilderExtensions Class

Definition

Extensions to IResourceBuilder<T> related to Dapr.

public static class IDistributedApplicationResourceBuilderExtensions
type IDistributedApplicationResourceBuilderExtensions = class
Public Module IDistributedApplicationResourceBuilderExtensions
Inheritance
IDistributedApplicationResourceBuilderExtensions

Methods

WithDaprSidecar<T>(IResourceBuilder<T>, Action<IResourceBuilder<IDaprSidecarResource>>)

Ensures that a Dapr sidecar is started for the resource.

WithDaprSidecar<T>(IResourceBuilder<T>, DaprSidecarOptions)

Ensures that a Dapr sidecar is started for the resource.

WithDaprSidecar<T>(IResourceBuilder<T>, String)

Ensures that a Dapr sidecar is started for the resource.

WithOptions(IResourceBuilder<IDaprSidecarResource>, DaprSidecarOptions)

Configures a Dapr sidecar with the specified options.

WithReference<TDestination>(IResourceBuilder<TDestination>, IResourceBuilder<IDaprComponentResource>)

Associates a Dapr component with the Dapr sidecar started for the resource.

Applies to