DotNetComponentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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.
async 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) -> AsyncLROPoller[_models.DotNetComponent]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the managed environment. Required. |
|
name
Required
|
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 AsyncLROPoller 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.
async begin_delete(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> AsyncLROPoller[None]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the managed environment. Required. |
|
name
Required
|
Name of the .NET Component. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller that returns None |
Exceptions
| Type | Description |
|---|---|
begin_update
Update properties of a .NET Component.
Patches a .NET Component using JSON Merge Patch.
async begin_update(resource_group_name: str, environment_name: str, name: str, dot_net_component_envelope: _models.DotNetComponent, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.DotNetComponent]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the managed environment. Required. |
|
name
Required
|
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 AsyncLROPoller 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.
async get(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> DotNetComponent
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the managed environment. Required. |
|
name
Required
|
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) -> AsyncItemPaged[DotNetComponent]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the managed environment. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of DotNetComponent |
Exceptions
| Type | Description |
|---|---|