ConnectedEnvironmentsDaprComponentsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:connected_environments_dapr_components> attribute.

Inheritance
builtins.object
ConnectedEnvironmentsDaprComponentsOperations

Constructor

ConnectedEnvironmentsDaprComponentsOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a Dapr Component.

Creates or updates a Dapr Component in a connected environment.

delete

Delete a Dapr Component.

Delete a Dapr Component from a connected environment.

get

Get a dapr component.

Get a dapr component.

list

Get the Dapr Components for a connected environment.

Get the Dapr Components for a connected environment.

list_secrets

List secrets for a dapr component.

List secrets for a dapr component.

create_or_update

Creates or updates a Dapr Component.

Creates or updates a Dapr Component in a connected environment.

create_or_update(resource_group_name: str, connected_environment_name: str, component_name: str, dapr_component_envelope: _models.DaprComponent, *, content_type: str = 'application/json', **kwargs: Any) -> _models.DaprComponent

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the connected environment. Required.

component_name
Required
str

Name of the Dapr Component. Required.

dapr_component_envelope
Required

Configuration details of the Dapr Component. Is either a DaprComponent type or a IO[bytes] type. Required.

Returns

Type Description

DaprComponent or the result of cls(response)

Exceptions

Type Description

delete

Delete a Dapr Component.

Delete a Dapr Component from a connected environment.

delete(resource_group_name: str, connected_environment_name: str, component_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the connected environment. Required.

component_name
Required
str

Name of the Dapr Component. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get a dapr component.

Get a dapr component.

get(resource_group_name: str, connected_environment_name: str, component_name: str, **kwargs: Any) -> DaprComponent

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the connected environment. Required.

component_name
Required
str

Name of the Dapr Component. Required.

Returns

Type Description

DaprComponent or the result of cls(response)

Exceptions

Type Description

list

Get the Dapr Components for a connected environment.

Get the Dapr Components for a connected environment.

list(resource_group_name: str, connected_environment_name: str, **kwargs: Any) -> Iterable[DaprComponent]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the connected environment. Required.

Returns

Type Description

An iterator like instance of either DaprComponent or the result of cls(response)

Exceptions

Type Description

list_secrets

List secrets for a dapr component.

List secrets for a dapr component.

list_secrets(resource_group_name: str, connected_environment_name: str, component_name: str, **kwargs: Any) -> DaprSecretsCollection

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the connected environment. Required.

component_name
Required
str

Name of the Dapr Component. Required.

Returns

Type Description

DaprSecretsCollection or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.appcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>