ContainerAppManagedEnvironmentDaprComponentResource.GetDaprComponentResiliencyPolicyAsync Method

Definition

Get a Dapr component resiliency policy.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.DaprComponentResiliencyPolicyResource>> GetDaprComponentResiliencyPolicyAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDaprComponentResiliencyPolicyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.DaprComponentResiliencyPolicyResource>>
override this.GetDaprComponentResiliencyPolicyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.DaprComponentResiliencyPolicyResource>>
Public Overridable Function GetDaprComponentResiliencyPolicyAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DaprComponentResiliencyPolicyResource))

Parameters

name
String

Name of the Dapr Component Resiliency Policy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to