Ixxerja permezz ta’


DaprComponentResiliencyPolicies interface

Interface representing a DaprComponentResiliencyPolicies.

Methods

createOrUpdate(string, string, string, string, DaprComponentResiliencyPolicy, DaprComponentResiliencyPoliciesCreateOrUpdateOptionalParams)

Creates or updates a resiliency policy for a Dapr component.

delete(string, string, string, string, DaprComponentResiliencyPoliciesDeleteOptionalParams)

Delete a resiliency policy for a Dapr component.

get(string, string, string, string, DaprComponentResiliencyPoliciesGetOptionalParams)

Get a Dapr component resiliency policy.

list(string, string, string, DaprComponentResiliencyPoliciesListOptionalParams)

Get the resiliency policies for a Dapr component.

Method Details

createOrUpdate(string, string, string, string, DaprComponentResiliencyPolicy, DaprComponentResiliencyPoliciesCreateOrUpdateOptionalParams)

Creates or updates a resiliency policy for a Dapr component.

function createOrUpdate(resourceGroupName: string, environmentName: string, componentName: string, name: string, daprComponentResiliencyPolicyEnvelope: DaprComponentResiliencyPolicy, options?: DaprComponentResiliencyPoliciesCreateOrUpdateOptionalParams): Promise<DaprComponentResiliencyPolicy>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

componentName

string

Name of the Dapr Component.

name

string

Name of the Dapr Component Resiliency Policy.

daprComponentResiliencyPolicyEnvelope
DaprComponentResiliencyPolicy

Configuration details of the Dapr Component Resiliency Policy.

Returns

delete(string, string, string, string, DaprComponentResiliencyPoliciesDeleteOptionalParams)

Delete a resiliency policy for a Dapr component.

function delete(resourceGroupName: string, environmentName: string, componentName: string, name: string, options?: DaprComponentResiliencyPoliciesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

componentName

string

Name of the Dapr Component.

name

string

Name of the Dapr Component Resiliency Policy.

options
DaprComponentResiliencyPoliciesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, DaprComponentResiliencyPoliciesGetOptionalParams)

Get a Dapr component resiliency policy.

function get(resourceGroupName: string, environmentName: string, componentName: string, name: string, options?: DaprComponentResiliencyPoliciesGetOptionalParams): Promise<DaprComponentResiliencyPolicy>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

componentName

string

Name of the Dapr Component.

name

string

Name of the Dapr Component Resiliency Policy.

options
DaprComponentResiliencyPoliciesGetOptionalParams

The options parameters.

Returns

list(string, string, string, DaprComponentResiliencyPoliciesListOptionalParams)

Get the resiliency policies for a Dapr component.

function list(resourceGroupName: string, environmentName: string, componentName: string, options?: DaprComponentResiliencyPoliciesListOptionalParams): PagedAsyncIterableIterator<DaprComponentResiliencyPolicy, DaprComponentResiliencyPolicy[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

environmentName

string

Name of the Managed Environment.

componentName

string

Name of the Dapr Component.

options
DaprComponentResiliencyPoliciesListOptionalParams

The options parameters.

Returns