PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}/resiliencyPolicies/{name}/?api-version=2023-08-01-preview

Creates or updates a resiliency policy for a Dapr component.

Servers

Path parameters

Name Type Required Description
name String Yes

Name of the Dapr Component Resiliency Policy.

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 Resiliency Policy resource specific properties

properties.inboundPolicy Object No

Dapr Component Resiliency Policy Configuration.

properties.inboundPolicy.httpRetryPolicy Object No

Dapr Component Resiliency Policy HTTP Retry Policy Configuration.

properties.inboundPolicy.httpRetryPolicy.maxRetries Integer No

The optional maximum number of retries

properties.inboundPolicy.httpRetryPolicy.retryBackOff Object No

Dapr Component Resiliency Policy HTTP Retry Backoff Configuration.

properties.inboundPolicy.httpRetryPolicy.retryBackOff.maxIntervalInMilliseconds Integer No

The optional maximum time interval in milliseconds between retry attempts

properties.inboundPolicy.httpRetryPolicy.retryBackOff.initialDelayInMilliseconds Integer No

The optional initial delay in milliseconds before an operation is retried

properties.inboundPolicy.timeoutPolicy Object No

Dapr Component Resiliency Policy Timeout Policy Configuration.

properties.inboundPolicy.timeoutPolicy.responseTimeoutInSeconds Integer No

The optional response timeout in seconds

properties.outboundPolicy Object No

Dapr Component Resiliency Policy Configuration.

properties.outboundPolicy.httpRetryPolicy Object No

Dapr Component Resiliency Policy HTTP Retry Policy Configuration.

properties.outboundPolicy.httpRetryPolicy.maxRetries Integer No

The optional maximum number of retries

properties.outboundPolicy.httpRetryPolicy.retryBackOff Object No

Dapr Component Resiliency Policy HTTP Retry Backoff Configuration.

properties.outboundPolicy.httpRetryPolicy.retryBackOff.maxIntervalInMilliseconds Integer No

The optional maximum time interval in milliseconds between retry attempts

properties.outboundPolicy.httpRetryPolicy.retryBackOff.initialDelayInMilliseconds Integer No

The optional initial delay in milliseconds before an operation is retried

properties.outboundPolicy.timeoutPolicy Object No

Dapr Component Resiliency Policy Timeout Policy Configuration.

properties.outboundPolicy.timeoutPolicy.responseTimeoutInSeconds Integer No

The optional response timeout in seconds

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.