Freigeben über


DaprComponents interface

Interface representing a DaprComponents.

Methods

createOrUpdate(string, string, string, DaprComponent, DaprComponentsCreateOrUpdateOptionalParams)

Creates or updates a Dapr Component in a Managed Environment.

delete(string, string, string, DaprComponentsDeleteOptionalParams)

Delete a Dapr Component from a Managed Environment.

get(string, string, string, DaprComponentsGetOptionalParams)

Get a dapr component.

list(string, string, DaprComponentsListOptionalParams)

Get the Dapr Components for a managed environment.

listSecrets(string, string, string, DaprComponentsListSecretsOptionalParams)

List secrets for a dapr component

Method Details

createOrUpdate(string, string, string, DaprComponent, DaprComponentsCreateOrUpdateOptionalParams)

Creates or updates a Dapr Component in a Managed Environment.

function createOrUpdate(resourceGroupName: string, environmentName: string, componentName: string, daprComponentEnvelope: DaprComponent, options?: DaprComponentsCreateOrUpdateOptionalParams): Promise<DaprComponent>

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.

daprComponentEnvelope
DaprComponent

Configuration details of the Dapr Component.

options
DaprComponentsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DaprComponent>

delete(string, string, string, DaprComponentsDeleteOptionalParams)

Delete a Dapr Component from a Managed Environment.

function delete(resourceGroupName: string, environmentName: string, componentName: string, options?: DaprComponentsDeleteOptionalParams): 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.

options
DaprComponentsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, DaprComponentsGetOptionalParams)

Get a dapr component.

function get(resourceGroupName: string, environmentName: string, componentName: string, options?: DaprComponentsGetOptionalParams): Promise<DaprComponent>

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
DaprComponentsGetOptionalParams

The options parameters.

Returns

Promise<DaprComponent>

list(string, string, DaprComponentsListOptionalParams)

Get the Dapr Components for a managed environment.

function list(resourceGroupName: string, environmentName: string, options?: DaprComponentsListOptionalParams): PagedAsyncIterableIterator<DaprComponent, DaprComponent[], PageSettings>

Parameters

resourceGroupName

string

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

environmentName

string

Name of the Managed Environment.

options
DaprComponentsListOptionalParams

The options parameters.

Returns

listSecrets(string, string, string, DaprComponentsListSecretsOptionalParams)

List secrets for a dapr component

function listSecrets(resourceGroupName: string, environmentName: string, componentName: string, options?: DaprComponentsListSecretsOptionalParams): Promise<DaprSecretsCollection>

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
DaprComponentsListSecretsOptionalParams

The options parameters.

Returns