1. Packages
  2. Azure Classic
  3. API Docs
  4. containerapp
  5. EnvironmentDaprComponent

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

azure.containerapp.EnvironmentDaprComponent

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi

    Manages a Dapr Component for a Container App Environment.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
        {
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Sku = "PerGB2018",
            RetentionInDays = 30,
        });
    
        var exampleEnvironment = new Azure.ContainerApp.Environment("exampleEnvironment", new()
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
        });
    
        var exampleEnvironmentDaprComponent = new Azure.ContainerApp.EnvironmentDaprComponent("exampleEnvironmentDaprComponent", new()
        {
            ContainerAppEnvironmentId = exampleEnvironment.Id,
            ComponentType = "state.azure.blobstorage",
            Version = "v1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/containerapp"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "exampleAnalyticsWorkspace", &operationalinsights.AnalyticsWorkspaceArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Sku:               pulumi.String("PerGB2018"),
    			RetentionInDays:   pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEnvironment, err := containerapp.NewEnvironment(ctx, "exampleEnvironment", &containerapp.EnvironmentArgs{
    			Location:                exampleResourceGroup.Location,
    			ResourceGroupName:       exampleResourceGroup.Name,
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerapp.NewEnvironmentDaprComponent(ctx, "exampleEnvironmentDaprComponent", &containerapp.EnvironmentDaprComponentArgs{
    			ContainerAppEnvironmentId: exampleEnvironment.ID(),
    			ComponentType:             pulumi.String("state.azure.blobstorage"),
    			Version:                   pulumi.String("v1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
    import com.pulumi.azure.containerapp.Environment;
    import com.pulumi.azure.containerapp.EnvironmentArgs;
    import com.pulumi.azure.containerapp.EnvironmentDaprComponent;
    import com.pulumi.azure.containerapp.EnvironmentDaprComponentArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .sku("PerGB2018")
                .retentionInDays(30)
                .build());
    
            var exampleEnvironment = new Environment("exampleEnvironment", EnvironmentArgs.builder()        
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
                .build());
    
            var exampleEnvironmentDaprComponent = new EnvironmentDaprComponent("exampleEnvironmentDaprComponent", EnvironmentDaprComponentArgs.builder()        
                .containerAppEnvironmentId(exampleEnvironment.id())
                .componentType("state.azure.blobstorage")
                .version("v1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        sku="PerGB2018",
        retention_in_days=30)
    example_environment = azure.containerapp.Environment("exampleEnvironment",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        log_analytics_workspace_id=example_analytics_workspace.id)
    example_environment_dapr_component = azure.containerapp.EnvironmentDaprComponent("exampleEnvironmentDaprComponent",
        container_app_environment_id=example_environment.id,
        component_type="state.azure.blobstorage",
        version="v1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("exampleAnalyticsWorkspace", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        sku: "PerGB2018",
        retentionInDays: 30,
    });
    const exampleEnvironment = new azure.containerapp.Environment("exampleEnvironment", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
    });
    const exampleEnvironmentDaprComponent = new azure.containerapp.EnvironmentDaprComponent("exampleEnvironmentDaprComponent", {
        containerAppEnvironmentId: exampleEnvironment.id,
        componentType: "state.azure.blobstorage",
        version: "v1",
    });
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        properties:
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          sku: PerGB2018
          retentionInDays: 30
      exampleEnvironment:
        type: azure:containerapp:Environment
        properties:
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
      exampleEnvironmentDaprComponent:
        type: azure:containerapp:EnvironmentDaprComponent
        properties:
          containerAppEnvironmentId: ${exampleEnvironment.id}
          componentType: state.azure.blobstorage
          version: v1
    

    Create EnvironmentDaprComponent Resource

    new EnvironmentDaprComponent(name: string, args: EnvironmentDaprComponentArgs, opts?: CustomResourceOptions);
    @overload
    def EnvironmentDaprComponent(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 component_type: Optional[str] = None,
                                 container_app_environment_id: Optional[str] = None,
                                 ignore_errors: Optional[bool] = None,
                                 init_timeout: Optional[str] = None,
                                 metadatas: Optional[Sequence[EnvironmentDaprComponentMetadataArgs]] = None,
                                 name: Optional[str] = None,
                                 scopes: Optional[Sequence[str]] = None,
                                 secrets: Optional[Sequence[EnvironmentDaprComponentSecretArgs]] = None,
                                 version: Optional[str] = None)
    @overload
    def EnvironmentDaprComponent(resource_name: str,
                                 args: EnvironmentDaprComponentArgs,
                                 opts: Optional[ResourceOptions] = None)
    func NewEnvironmentDaprComponent(ctx *Context, name string, args EnvironmentDaprComponentArgs, opts ...ResourceOption) (*EnvironmentDaprComponent, error)
    public EnvironmentDaprComponent(string name, EnvironmentDaprComponentArgs args, CustomResourceOptions? opts = null)
    public EnvironmentDaprComponent(String name, EnvironmentDaprComponentArgs args)
    public EnvironmentDaprComponent(String name, EnvironmentDaprComponentArgs args, CustomResourceOptions options)
    
    type: azure:containerapp:EnvironmentDaprComponent
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args EnvironmentDaprComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnvironmentDaprComponentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnvironmentDaprComponentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvironmentDaprComponentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvironmentDaprComponentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    EnvironmentDaprComponent Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EnvironmentDaprComponent resource accepts the following input properties:

    ComponentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    ContainerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    Version string

    The version of the component.

    IgnoreErrors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    InitTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    Metadatas List<EnvironmentDaprComponentMetadata>

    One or more metadata blocks as detailed below.

    Name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    Scopes List<string>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    Secrets List<EnvironmentDaprComponentSecret>

    A secret block as detailed below.

    ComponentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    ContainerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    Version string

    The version of the component.

    IgnoreErrors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    InitTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    Metadatas []EnvironmentDaprComponentMetadataArgs

    One or more metadata blocks as detailed below.

    Name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    Scopes []string

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    Secrets []EnvironmentDaprComponentSecretArgs

    A secret block as detailed below.

    componentType String

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId String

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    version String

    The version of the component.

    ignoreErrors Boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout String

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas List<EnvironmentDaprComponentMetadata>

    One or more metadata blocks as detailed below.

    name String

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes List<String>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets List<EnvironmentDaprComponentSecret>

    A secret block as detailed below.

    componentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    version string

    The version of the component.

    ignoreErrors boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas EnvironmentDaprComponentMetadata[]

    One or more metadata blocks as detailed below.

    name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes string[]

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets EnvironmentDaprComponentSecret[]

    A secret block as detailed below.

    component_type str

    The Dapr Component Type. For example state.azure.blobstorage.

    container_app_environment_id str

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    version str

    The version of the component.

    ignore_errors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    init_timeout str

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas Sequence[EnvironmentDaprComponentMetadataArgs]

    One or more metadata blocks as detailed below.

    name str

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes Sequence[str]

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets Sequence[EnvironmentDaprComponentSecretArgs]

    A secret block as detailed below.

    componentType String

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId String

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    version String

    The version of the component.

    ignoreErrors Boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout String

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas List<Property Map>

    One or more metadata blocks as detailed below.

    name String

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes List<String>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets List<Property Map>

    A secret block as detailed below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnvironmentDaprComponent resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing EnvironmentDaprComponent Resource

    Get an existing EnvironmentDaprComponent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EnvironmentDaprComponentState, opts?: CustomResourceOptions): EnvironmentDaprComponent
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            component_type: Optional[str] = None,
            container_app_environment_id: Optional[str] = None,
            ignore_errors: Optional[bool] = None,
            init_timeout: Optional[str] = None,
            metadatas: Optional[Sequence[EnvironmentDaprComponentMetadataArgs]] = None,
            name: Optional[str] = None,
            scopes: Optional[Sequence[str]] = None,
            secrets: Optional[Sequence[EnvironmentDaprComponentSecretArgs]] = None,
            version: Optional[str] = None) -> EnvironmentDaprComponent
    func GetEnvironmentDaprComponent(ctx *Context, name string, id IDInput, state *EnvironmentDaprComponentState, opts ...ResourceOption) (*EnvironmentDaprComponent, error)
    public static EnvironmentDaprComponent Get(string name, Input<string> id, EnvironmentDaprComponentState? state, CustomResourceOptions? opts = null)
    public static EnvironmentDaprComponent get(String name, Output<String> id, EnvironmentDaprComponentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ComponentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    ContainerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    IgnoreErrors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    InitTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    Metadatas List<EnvironmentDaprComponentMetadata>

    One or more metadata blocks as detailed below.

    Name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    Scopes List<string>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    Secrets List<EnvironmentDaprComponentSecret>

    A secret block as detailed below.

    Version string

    The version of the component.

    ComponentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    ContainerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    IgnoreErrors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    InitTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    Metadatas []EnvironmentDaprComponentMetadataArgs

    One or more metadata blocks as detailed below.

    Name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    Scopes []string

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    Secrets []EnvironmentDaprComponentSecretArgs

    A secret block as detailed below.

    Version string

    The version of the component.

    componentType String

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId String

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    ignoreErrors Boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout String

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas List<EnvironmentDaprComponentMetadata>

    One or more metadata blocks as detailed below.

    name String

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes List<String>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets List<EnvironmentDaprComponentSecret>

    A secret block as detailed below.

    version String

    The version of the component.

    componentType string

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId string

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    ignoreErrors boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout string

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas EnvironmentDaprComponentMetadata[]

    One or more metadata blocks as detailed below.

    name string

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes string[]

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets EnvironmentDaprComponentSecret[]

    A secret block as detailed below.

    version string

    The version of the component.

    component_type str

    The Dapr Component Type. For example state.azure.blobstorage.

    container_app_environment_id str

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    ignore_errors bool

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    init_timeout str

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas Sequence[EnvironmentDaprComponentMetadataArgs]

    One or more metadata blocks as detailed below.

    name str

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes Sequence[str]

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets Sequence[EnvironmentDaprComponentSecretArgs]

    A secret block as detailed below.

    version str

    The version of the component.

    componentType String

    The Dapr Component Type. For example state.azure.blobstorage.

    containerAppEnvironmentId String

    The ID of the Container App Managed Environment for this Dapr Component. Changing this forces a new resource to be created.

    ignoreErrors Boolean

    Should the Dapr sidecar to continue initialisation if the component fails to load. Defaults to false

    initTimeout String

    The timeout for component initialisation as a ISO8601 formatted string. e.g. 5s, 2h, 1m. Defaults to 5s

    metadatas List<Property Map>

    One or more metadata blocks as detailed below.

    name String

    The name for this Dapr component. Changing this forces a new resource to be created.

    scopes List<String>

    A list of scopes to which this component applies.

    NOTE: See the official docs for more information at https://learn.microsoft.com/en-us/azure/container-apps/dapr-overview?tabs=bicep1%2Cyaml#component-scopes

    secrets List<Property Map>

    A secret block as detailed below.

    version String

    The version of the component.

    Supporting Types

    EnvironmentDaprComponentMetadata, EnvironmentDaprComponentMetadataArgs

    Name string

    The name of the Metadata configuration item.

    SecretName string

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    Value string

    The value for this metadata configuration item.

    Name string

    The name of the Metadata configuration item.

    SecretName string

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    Value string

    The value for this metadata configuration item.

    name String

    The name of the Metadata configuration item.

    secretName String

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    value String

    The value for this metadata configuration item.

    name string

    The name of the Metadata configuration item.

    secretName string

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    value string

    The value for this metadata configuration item.

    name str

    The name of the Metadata configuration item.

    secret_name str

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    value str

    The value for this metadata configuration item.

    name String

    The name of the Metadata configuration item.

    secretName String

    The name of a secret specified in the secrets block that contains the value for this metadata configuration item.

    value String

    The value for this metadata configuration item.

    EnvironmentDaprComponentSecret, EnvironmentDaprComponentSecretArgs

    Name string

    The Secret name.

    Value string

    The value for this secret.

    Name string

    The Secret name.

    Value string

    The value for this secret.

    name String

    The Secret name.

    value String

    The value for this secret.

    name string

    The Secret name.

    value string

    The value for this secret.

    name str

    The Secret name.

    value str

    The value for this secret.

    name String

    The Secret name.

    value String

    The value for this secret.

    Import

    A Dapr Component for a Container App Environment can be imported using the resource id, e.g.

     $ pulumi import azure:containerapp/environmentDaprComponent:EnvironmentDaprComponent example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.App/managedEnvironments/myenv/daprComponents/mydaprcomponent"
    

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the azurerm Terraform Provider.

    azure logo

    We recommend using Azure Native.

    Azure Classic v5.52.0 published on Monday, Oct 2, 2023 by Pulumi