1. Packages
  2. Azure Native
  3. API Docs
  4. app
  5. DaprComponent
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.app.DaprComponent

Explore with Pulumi AI

Dapr Component.

Uses Azure REST API version 2024-03-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01.

Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native app [ApiVersion]. See the version guide for details.

Example Usage

Create or update dapr component with secret store component

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var daprComponent = new AzureNative.App.DaprComponent("daprComponent", new()
    {
        ComponentName = "reddog",
        ComponentType = "state.azure.cosmosdb",
        EnvironmentName = "myenvironment",
        IgnoreErrors = false,
        InitTimeout = "50s",
        Metadata = new[]
        {
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "url",
                Value = "<COSMOS-URL>",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "database",
                Value = "itemsDB",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "collection",
                Value = "items",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "masterkey",
                SecretRef = "masterkey",
            },
        },
        ResourceGroupName = "examplerg",
        Scopes = new[]
        {
            "container-app-1",
            "container-app-2",
        },
        SecretStoreComponent = "my-secret-store",
        Version = "v1",
    });

});
Copy
package main

import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewDaprComponent(ctx, "daprComponent", &app.DaprComponentArgs{
			ComponentName:   pulumi.String("reddog"),
			ComponentType:   pulumi.String("state.azure.cosmosdb"),
			EnvironmentName: pulumi.String("myenvironment"),
			IgnoreErrors:    pulumi.Bool(false),
			InitTimeout:     pulumi.String("50s"),
			Metadata: app.DaprMetadataArray{
				&app.DaprMetadataArgs{
					Name:  pulumi.String("url"),
					Value: pulumi.String("<COSMOS-URL>"),
				},
				&app.DaprMetadataArgs{
					Name:  pulumi.String("database"),
					Value: pulumi.String("itemsDB"),
				},
				&app.DaprMetadataArgs{
					Name:  pulumi.String("collection"),
					Value: pulumi.String("items"),
				},
				&app.DaprMetadataArgs{
					Name:      pulumi.String("masterkey"),
					SecretRef: pulumi.String("masterkey"),
				},
			},
			ResourceGroupName: pulumi.String("examplerg"),
			Scopes: pulumi.StringArray{
				pulumi.String("container-app-1"),
				pulumi.String("container-app-2"),
			},
			SecretStoreComponent: pulumi.String("my-secret-store"),
			Version:              pulumi.String("v1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.DaprComponent;
import com.pulumi.azurenative.app.DaprComponentArgs;
import com.pulumi.azurenative.app.inputs.DaprMetadataArgs;
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 daprComponent = new DaprComponent("daprComponent", DaprComponentArgs.builder()
            .componentName("reddog")
            .componentType("state.azure.cosmosdb")
            .environmentName("myenvironment")
            .ignoreErrors(false)
            .initTimeout("50s")
            .metadata(            
                DaprMetadataArgs.builder()
                    .name("url")
                    .value("<COSMOS-URL>")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("database")
                    .value("itemsDB")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("collection")
                    .value("items")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("masterkey")
                    .secretRef("masterkey")
                    .build())
            .resourceGroupName("examplerg")
            .scopes(            
                "container-app-1",
                "container-app-2")
            .secretStoreComponent("my-secret-store")
            .version("v1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const daprComponent = new azure_native.app.DaprComponent("daprComponent", {
    componentName: "reddog",
    componentType: "state.azure.cosmosdb",
    environmentName: "myenvironment",
    ignoreErrors: false,
    initTimeout: "50s",
    metadata: [
        {
            name: "url",
            value: "<COSMOS-URL>",
        },
        {
            name: "database",
            value: "itemsDB",
        },
        {
            name: "collection",
            value: "items",
        },
        {
            name: "masterkey",
            secretRef: "masterkey",
        },
    ],
    resourceGroupName: "examplerg",
    scopes: [
        "container-app-1",
        "container-app-2",
    ],
    secretStoreComponent: "my-secret-store",
    version: "v1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dapr_component = azure_native.app.DaprComponent("daprComponent",
    component_name="reddog",
    component_type="state.azure.cosmosdb",
    environment_name="myenvironment",
    ignore_errors=False,
    init_timeout="50s",
    metadata=[
        {
            "name": "url",
            "value": "<COSMOS-URL>",
        },
        {
            "name": "database",
            "value": "itemsDB",
        },
        {
            "name": "collection",
            "value": "items",
        },
        {
            "name": "masterkey",
            "secret_ref": "masterkey",
        },
    ],
    resource_group_name="examplerg",
    scopes=[
        "container-app-1",
        "container-app-2",
    ],
    secret_store_component="my-secret-store",
    version="v1")
Copy
resources:
  daprComponent:
    type: azure-native:app:DaprComponent
    properties:
      componentName: reddog
      componentType: state.azure.cosmosdb
      environmentName: myenvironment
      ignoreErrors: false
      initTimeout: 50s
      metadata:
        - name: url
          value: <COSMOS-URL>
        - name: database
          value: itemsDB
        - name: collection
          value: items
        - name: masterkey
          secretRef: masterkey
      resourceGroupName: examplerg
      scopes:
        - container-app-1
        - container-app-2
      secretStoreComponent: my-secret-store
      version: v1
Copy

Create or update dapr component with secrets

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var daprComponent = new AzureNative.App.DaprComponent("daprComponent", new()
    {
        ComponentName = "reddog",
        ComponentType = "state.azure.cosmosdb",
        EnvironmentName = "myenvironment",
        IgnoreErrors = false,
        InitTimeout = "50s",
        Metadata = new[]
        {
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "url",
                Value = "<COSMOS-URL>",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "database",
                Value = "itemsDB",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "collection",
                Value = "items",
            },
            new AzureNative.App.Inputs.DaprMetadataArgs
            {
                Name = "masterkey",
                SecretRef = "masterkey",
            },
        },
        ResourceGroupName = "examplerg",
        Scopes = new[]
        {
            "container-app-1",
            "container-app-2",
        },
        Secrets = new[]
        {
            new AzureNative.App.Inputs.SecretArgs
            {
                Name = "masterkey",
                Value = "keyvalue",
            },
        },
        Version = "v1",
    });

});
Copy
package main

import (
	app "github.com/pulumi/pulumi-azure-native-sdk/app/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := app.NewDaprComponent(ctx, "daprComponent", &app.DaprComponentArgs{
			ComponentName:   pulumi.String("reddog"),
			ComponentType:   pulumi.String("state.azure.cosmosdb"),
			EnvironmentName: pulumi.String("myenvironment"),
			IgnoreErrors:    pulumi.Bool(false),
			InitTimeout:     pulumi.String("50s"),
			Metadata: app.DaprMetadataArray{
				&app.DaprMetadataArgs{
					Name:  pulumi.String("url"),
					Value: pulumi.String("<COSMOS-URL>"),
				},
				&app.DaprMetadataArgs{
					Name:  pulumi.String("database"),
					Value: pulumi.String("itemsDB"),
				},
				&app.DaprMetadataArgs{
					Name:  pulumi.String("collection"),
					Value: pulumi.String("items"),
				},
				&app.DaprMetadataArgs{
					Name:      pulumi.String("masterkey"),
					SecretRef: pulumi.String("masterkey"),
				},
			},
			ResourceGroupName: pulumi.String("examplerg"),
			Scopes: pulumi.StringArray{
				pulumi.String("container-app-1"),
				pulumi.String("container-app-2"),
			},
			Secrets: app.SecretArray{
				&app.SecretArgs{
					Name:  pulumi.String("masterkey"),
					Value: pulumi.String("keyvalue"),
				},
			},
			Version: pulumi.String("v1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.DaprComponent;
import com.pulumi.azurenative.app.DaprComponentArgs;
import com.pulumi.azurenative.app.inputs.DaprMetadataArgs;
import com.pulumi.azurenative.app.inputs.SecretArgs;
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 daprComponent = new DaprComponent("daprComponent", DaprComponentArgs.builder()
            .componentName("reddog")
            .componentType("state.azure.cosmosdb")
            .environmentName("myenvironment")
            .ignoreErrors(false)
            .initTimeout("50s")
            .metadata(            
                DaprMetadataArgs.builder()
                    .name("url")
                    .value("<COSMOS-URL>")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("database")
                    .value("itemsDB")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("collection")
                    .value("items")
                    .build(),
                DaprMetadataArgs.builder()
                    .name("masterkey")
                    .secretRef("masterkey")
                    .build())
            .resourceGroupName("examplerg")
            .scopes(            
                "container-app-1",
                "container-app-2")
            .secrets(SecretArgs.builder()
                .name("masterkey")
                .value("keyvalue")
                .build())
            .version("v1")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const daprComponent = new azure_native.app.DaprComponent("daprComponent", {
    componentName: "reddog",
    componentType: "state.azure.cosmosdb",
    environmentName: "myenvironment",
    ignoreErrors: false,
    initTimeout: "50s",
    metadata: [
        {
            name: "url",
            value: "<COSMOS-URL>",
        },
        {
            name: "database",
            value: "itemsDB",
        },
        {
            name: "collection",
            value: "items",
        },
        {
            name: "masterkey",
            secretRef: "masterkey",
        },
    ],
    resourceGroupName: "examplerg",
    scopes: [
        "container-app-1",
        "container-app-2",
    ],
    secrets: [{
        name: "masterkey",
        value: "keyvalue",
    }],
    version: "v1",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

dapr_component = azure_native.app.DaprComponent("daprComponent",
    component_name="reddog",
    component_type="state.azure.cosmosdb",
    environment_name="myenvironment",
    ignore_errors=False,
    init_timeout="50s",
    metadata=[
        {
            "name": "url",
            "value": "<COSMOS-URL>",
        },
        {
            "name": "database",
            "value": "itemsDB",
        },
        {
            "name": "collection",
            "value": "items",
        },
        {
            "name": "masterkey",
            "secret_ref": "masterkey",
        },
    ],
    resource_group_name="examplerg",
    scopes=[
        "container-app-1",
        "container-app-2",
    ],
    secrets=[{
        "name": "masterkey",
        "value": "keyvalue",
    }],
    version="v1")
Copy
resources:
  daprComponent:
    type: azure-native:app:DaprComponent
    properties:
      componentName: reddog
      componentType: state.azure.cosmosdb
      environmentName: myenvironment
      ignoreErrors: false
      initTimeout: 50s
      metadata:
        - name: url
          value: <COSMOS-URL>
        - name: database
          value: itemsDB
        - name: collection
          value: items
        - name: masterkey
          secretRef: masterkey
      resourceGroupName: examplerg
      scopes:
        - container-app-1
        - container-app-2
      secrets:
        - name: masterkey
          value: keyvalue
      version: v1
Copy

Create DaprComponent Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DaprComponent(name: string, args: DaprComponentArgs, opts?: CustomResourceOptions);
@overload
def DaprComponent(resource_name: str,
                  args: DaprComponentArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def DaprComponent(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  environment_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  component_name: Optional[str] = None,
                  component_type: Optional[str] = None,
                  ignore_errors: Optional[bool] = None,
                  init_timeout: Optional[str] = None,
                  metadata: Optional[Sequence[DaprMetadataArgs]] = None,
                  scopes: Optional[Sequence[str]] = None,
                  secret_store_component: Optional[str] = None,
                  secrets: Optional[Sequence[SecretArgs]] = None,
                  version: Optional[str] = None)
func NewDaprComponent(ctx *Context, name string, args DaprComponentArgs, opts ...ResourceOption) (*DaprComponent, error)
public DaprComponent(string name, DaprComponentArgs args, CustomResourceOptions? opts = null)
public DaprComponent(String name, DaprComponentArgs args)
public DaprComponent(String name, DaprComponentArgs args, CustomResourceOptions options)
type: azure-native:app:DaprComponent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DaprComponentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DaprComponentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DaprComponentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DaprComponentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DaprComponentArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var daprComponentResource = new AzureNative.App.DaprComponent("daprComponentResource", new()
{
    EnvironmentName = "string",
    ResourceGroupName = "string",
    ComponentName = "string",
    ComponentType = "string",
    IgnoreErrors = false,
    InitTimeout = "string",
    Metadata = new[]
    {
        new AzureNative.App.Inputs.DaprMetadataArgs
        {
            Name = "string",
            SecretRef = "string",
            Value = "string",
        },
    },
    Scopes = new[]
    {
        "string",
    },
    SecretStoreComponent = "string",
    Secrets = new[]
    {
        new AzureNative.App.Inputs.SecretArgs
        {
            Identity = "string",
            KeyVaultUrl = "string",
            Name = "string",
            Value = "string",
        },
    },
    Version = "string",
});
Copy
example, err := app.NewDaprComponent(ctx, "daprComponentResource", &app.DaprComponentArgs{
	EnvironmentName:   pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	ComponentName:     pulumi.String("string"),
	ComponentType:     pulumi.String("string"),
	IgnoreErrors:      pulumi.Bool(false),
	InitTimeout:       pulumi.String("string"),
	Metadata: app.DaprMetadataArray{
		&app.DaprMetadataArgs{
			Name:      pulumi.String("string"),
			SecretRef: pulumi.String("string"),
			Value:     pulumi.String("string"),
		},
	},
	Scopes: pulumi.StringArray{
		pulumi.String("string"),
	},
	SecretStoreComponent: pulumi.String("string"),
	Secrets: app.SecretArray{
		&app.SecretArgs{
			Identity:    pulumi.String("string"),
			KeyVaultUrl: pulumi.String("string"),
			Name:        pulumi.String("string"),
			Value:       pulumi.String("string"),
		},
	},
	Version: pulumi.String("string"),
})
Copy
var daprComponentResource = new DaprComponent("daprComponentResource", DaprComponentArgs.builder()
    .environmentName("string")
    .resourceGroupName("string")
    .componentName("string")
    .componentType("string")
    .ignoreErrors(false)
    .initTimeout("string")
    .metadata(DaprMetadataArgs.builder()
        .name("string")
        .secretRef("string")
        .value("string")
        .build())
    .scopes("string")
    .secretStoreComponent("string")
    .secrets(SecretArgs.builder()
        .identity("string")
        .keyVaultUrl("string")
        .name("string")
        .value("string")
        .build())
    .version("string")
    .build());
Copy
dapr_component_resource = azure_native.app.DaprComponent("daprComponentResource",
    environment_name="string",
    resource_group_name="string",
    component_name="string",
    component_type="string",
    ignore_errors=False,
    init_timeout="string",
    metadata=[{
        "name": "string",
        "secret_ref": "string",
        "value": "string",
    }],
    scopes=["string"],
    secret_store_component="string",
    secrets=[{
        "identity": "string",
        "key_vault_url": "string",
        "name": "string",
        "value": "string",
    }],
    version="string")
Copy
const daprComponentResource = new azure_native.app.DaprComponent("daprComponentResource", {
    environmentName: "string",
    resourceGroupName: "string",
    componentName: "string",
    componentType: "string",
    ignoreErrors: false,
    initTimeout: "string",
    metadata: [{
        name: "string",
        secretRef: "string",
        value: "string",
    }],
    scopes: ["string"],
    secretStoreComponent: "string",
    secrets: [{
        identity: "string",
        keyVaultUrl: "string",
        name: "string",
        value: "string",
    }],
    version: "string",
});
Copy
type: azure-native:app:DaprComponent
properties:
    componentName: string
    componentType: string
    environmentName: string
    ignoreErrors: false
    initTimeout: string
    metadata:
        - name: string
          secretRef: string
          value: string
    resourceGroupName: string
    scopes:
        - string
    secretStoreComponent: string
    secrets:
        - identity: string
          keyVaultUrl: string
          name: string
          value: string
    version: string
Copy

DaprComponent Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DaprComponent resource accepts the following input properties:

EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ComponentName Changes to this property will trigger replacement. string
Name of the Dapr Component.
ComponentType string
Component type
IgnoreErrors bool
Boolean describing if the component errors are ignores
InitTimeout string
Initialization timeout
Metadata List<Pulumi.AzureNative.App.Inputs.DaprMetadata>
Component metadata
Scopes List<string>
Names of container apps that can use this Dapr component
SecretStoreComponent string
Name of a Dapr component to retrieve component secrets from
Secrets List<Pulumi.AzureNative.App.Inputs.Secret>
Collection of secrets used by a Dapr component
Version string
Component version
EnvironmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ComponentName Changes to this property will trigger replacement. string
Name of the Dapr Component.
ComponentType string
Component type
IgnoreErrors bool
Boolean describing if the component errors are ignores
InitTimeout string
Initialization timeout
Metadata []DaprMetadataArgs
Component metadata
Scopes []string
Names of container apps that can use this Dapr component
SecretStoreComponent string
Name of a Dapr component to retrieve component secrets from
Secrets []SecretArgs
Collection of secrets used by a Dapr component
Version string
Component version
environmentName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
componentName Changes to this property will trigger replacement. String
Name of the Dapr Component.
componentType String
Component type
ignoreErrors Boolean
Boolean describing if the component errors are ignores
initTimeout String
Initialization timeout
metadata List<DaprMetadata>
Component metadata
scopes List<String>
Names of container apps that can use this Dapr component
secretStoreComponent String
Name of a Dapr component to retrieve component secrets from
secrets List<Secret>
Collection of secrets used by a Dapr component
version String
Component version
environmentName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
componentName Changes to this property will trigger replacement. string
Name of the Dapr Component.
componentType string
Component type
ignoreErrors boolean
Boolean describing if the component errors are ignores
initTimeout string
Initialization timeout
metadata DaprMetadata[]
Component metadata
scopes string[]
Names of container apps that can use this Dapr component
secretStoreComponent string
Name of a Dapr component to retrieve component secrets from
secrets Secret[]
Collection of secrets used by a Dapr component
version string
Component version
environment_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Managed Environment.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
component_name Changes to this property will trigger replacement. str
Name of the Dapr Component.
component_type str
Component type
ignore_errors bool
Boolean describing if the component errors are ignores
init_timeout str
Initialization timeout
metadata Sequence[DaprMetadataArgs]
Component metadata
scopes Sequence[str]
Names of container apps that can use this Dapr component
secret_store_component str
Name of a Dapr component to retrieve component secrets from
secrets Sequence[SecretArgs]
Collection of secrets used by a Dapr component
version str
Component version
environmentName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Managed Environment.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
componentName Changes to this property will trigger replacement. String
Name of the Dapr Component.
componentType String
Component type
ignoreErrors Boolean
Boolean describing if the component errors are ignores
initTimeout String
Initialization timeout
metadata List<Property Map>
Component metadata
scopes List<String>
Names of container apps that can use this Dapr component
secretStoreComponent String
Name of a Dapr component to retrieve component secrets from
secrets List<Property Map>
Collection of secrets used by a Dapr component
version String
Component version

Outputs

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

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.App.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

DaprMetadata
, DaprMetadataArgs

Name string
Metadata property name.
SecretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
Value string
Metadata property value.
Name string
Metadata property name.
SecretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
Value string
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Dapr Component secret from which to pull the metadata property value.
value String
Metadata property value.
name string
Metadata property name.
secretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
value string
Metadata property value.
name str
Metadata property name.
secret_ref str
Name of the Dapr Component secret from which to pull the metadata property value.
value str
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Dapr Component secret from which to pull the metadata property value.
value String
Metadata property value.

DaprMetadataResponse
, DaprMetadataResponseArgs

Name string
Metadata property name.
SecretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
Value string
Metadata property value.
Name string
Metadata property name.
SecretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
Value string
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Dapr Component secret from which to pull the metadata property value.
value String
Metadata property value.
name string
Metadata property name.
secretRef string
Name of the Dapr Component secret from which to pull the metadata property value.
value string
Metadata property value.
name str
Metadata property name.
secret_ref str
Name of the Dapr Component secret from which to pull the metadata property value.
value str
Metadata property value.
name String
Metadata property name.
secretRef String
Name of the Dapr Component secret from which to pull the metadata property value.
value String
Metadata property value.

Secret
, SecretArgs

Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Value string
Secret Value.
Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Value string
Secret Value.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
value String
Secret Value.
identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
name string
Secret Name.
value string
Secret Value.
identity str
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
key_vault_url str
Azure Key Vault URL pointing to the secret referenced by the container app.
name str
Secret Name.
value str
Secret Value.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
value String
Secret Value.

SecretResponse
, SecretResponseArgs

Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
Identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
KeyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
Name string
Secret Name.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.
identity string
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl string
Azure Key Vault URL pointing to the secret referenced by the container app.
name string
Secret Name.
identity str
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
key_vault_url str
Azure Key Vault URL pointing to the secret referenced by the container app.
name str
Secret Name.
identity String
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
keyVaultUrl String
Azure Key Vault URL pointing to the secret referenced by the container app.
name String
Secret Name.

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:app:DaprComponent reddog /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0