PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/?api-version=2023-08-01-preview
Creates or updates a Dapr Component in a Managed Environment.
Servers
- https://management.azure.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
subscriptionId |
String | Yes |
The ID of the target subscription. The value must be an UUID. |
environmentName |
String | Yes |
Name of the Managed Environment. |
resourceGroupName |
String | Yes |
The name of the resource group. The name is case insensitive. |
componentName |
String | Yes |
Name of the Dapr Component. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
properties |
Object | No |
Dapr Component resource specific properties |
properties.scopes[] |
Array | No |
Names of container apps that can use this Dapr component |
properties.serviceComponentBind[] |
Array | No |
List of container app services that are bound to the Dapr component |
properties.serviceComponentBind[].name |
String | No |
Name of the service bind |
properties.serviceComponentBind[].serviceId |
String | No |
Resource id of the target service |
properties.serviceComponentBind[].metadata |
Object | No |
Dapr component metadata. |
properties.serviceComponentBind[].metadata.name |
String | No |
Service bind metadata property name. |
properties.serviceComponentBind[].metadata.value |
String | No |
Service bind metadata property value. |
properties.ignoreErrors |
Boolean | No |
Boolean describing if the component errors are ignores Default value: false |
properties.secretStoreComponent |
String | No |
Name of a Dapr component to retrieve component secrets from |
properties.secrets[] |
Array | No |
Collection of secrets used by a Dapr component |
properties.secrets[].name |
String | No |
Secret Name. |
properties.secrets[].keyVaultUrl |
String | No |
Azure Key Vault URL pointing to the secret referenced by the container app. |
properties.secrets[].value |
String | No |
Secret Value. |
properties.secrets[].identity |
String | No |
Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity. |
properties.version |
String | No |
Component version |
properties.metadata[] |
Array | No |
Component metadata |
properties.metadata[].name |
String | No |
Metadata property name. |
properties.metadata[].secretRef |
String | No |
Name of the Dapr Component secret from which to pull the metadata property value. |
properties.metadata[].value |
String | No |
Metadata property value. |
properties.componentType |
String | No |
Component type |
properties.initTimeout |
String | No |
Initialization timeout |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.