DotNetComponentsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:dot_net_components> attribute.

Constructor

DotNetComponentsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates a .NET Component.

Creates or updates a .NET Component in a Managed Environment.

begin_delete

Delete a .NET Component.

Deletes a .NET component from a managed environment.

begin_update

Update properties of a .NET Component.

Patches a .NET Component using JSON Merge Patch.

get

Get a .NET Component.

Gets the details of a .NET component in a managed environment.

list

Get the .NET Components for a managed environment.

Lists the .NET components in a managed environment.

begin_create_or_update

Creates or updates a .NET Component.

Creates or updates a .NET Component in a Managed Environment.

begin_create_or_update(resource_group_name: str, environment_name: str, name: str, dot_net_component_envelope: _models.DotNetComponent, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DotNetComponent]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the managed environment. Required.

name
Required
str

Name of the .NET Component. Required.

dot_net_component_envelope
Required

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

Returns

Type Description

An instance of LROPoller that returns DotNetComponent. The DotNetComponent is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a .NET Component.

Deletes a .NET component from a managed environment.

begin_delete(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the managed environment. Required.

name
Required
str

Name of the .NET Component. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_update

Update properties of a .NET Component.

Patches a .NET Component using JSON Merge Patch.

begin_update(resource_group_name: str, environment_name: str, name: str, dot_net_component_envelope: _models.DotNetComponent, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.DotNetComponent]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the managed environment. Required.

name
Required
str

Name of the .NET Component. Required.

dot_net_component_envelope
Required

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

Returns

Type Description

An instance of LROPoller that returns DotNetComponent. The DotNetComponent is compatible with MutableMapping

Exceptions

Type Description

get

Get a .NET Component.

Gets the details of a .NET component in a managed environment.

get(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> DotNetComponent

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the managed environment. Required.

name
Required
str

Name of the .NET Component. Required.

Returns

Type Description

DotNetComponent. The DotNetComponent is compatible with MutableMapping

Exceptions

Type Description

list

Get the .NET Components for a managed environment.

Lists the .NET components in a managed environment.

list(resource_group_name: str, environment_name: str, **kwargs: Any) -> ItemPaged[DotNetComponent]

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the managed environment. Required.

Returns

Type Description

An iterator like instance of DotNetComponent

Exceptions

Type Description