HttpRouteConfigOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

http_route_config attribute.

Constructor

HttpRouteConfigOperations(*args, **kwargs)

Methods

begin_delete

Deletes the specified Http Route Config.

Deletes the specified Managed Http Route.

create_or_update

Create or Update a Http Route Config.

Create or Update a Http Route Config.

get

Get the specified Http Route Config.

Get the specified Managed Http Route Config.

list

List the Http Route Configs in a given managed environment.

Get the Managed Http Routes in a given managed environment.

update

Update tags of a Http Route Config object.

Patches an http route config resource. Only patching of tags is supported.

begin_delete

Deletes the specified Http Route Config.

Deletes the specified Managed Http Route.

begin_delete(resource_group_name: str, environment_name: str, http_route_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 Environment. Required.

http_route_name
Required
str

Name of the Http Route Config Resource. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

create_or_update

Create or Update a Http Route Config.

Create or Update a Http Route Config.

create_or_update(resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: _models.HttpRouteConfig | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> _models.HttpRouteConfig

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.

http_route_name
Required
str

Name of the Http Route Config. Required.

http_route_config_envelope

Http Route config to be created or updated. Is either a HttpRouteConfig type or a IO[bytes] type. Default value is None.

Default value: None

Returns

Type Description

HttpRouteConfig. The HttpRouteConfig is compatible with MutableMapping

Exceptions

Type Description

get

Get the specified Http Route Config.

Get the specified Managed Http Route Config.

get(resource_group_name: str, environment_name: str, http_route_name: str, **kwargs: Any) -> HttpRouteConfig

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.

http_route_name
Required
str

Name of the Http Route Config. Required.

Returns

Type Description

HttpRouteConfig. The HttpRouteConfig is compatible with MutableMapping

Exceptions

Type Description

list

List the Http Route Configs in a given managed environment.

Get the Managed Http Routes in a given managed environment.

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

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 HttpRouteConfig

Exceptions

Type Description

update

Update tags of a Http Route Config object.

Patches an http route config resource. Only patching of tags is supported.

update(resource_group_name: str, environment_name: str, http_route_name: str, http_route_config_envelope: _models.HttpRouteConfig, *, content_type: str = 'application/json', **kwargs: Any) -> _models.HttpRouteConfig

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 Environment. Required.

http_route_name
Required
str

Name of the Http Route Config Resource. Required.

http_route_config_envelope
Required

Properties of http route config that need to be updated. Is either a HttpRouteConfig type or a IO[bytes] type. Required.

Returns

Type Description

HttpRouteConfig. The HttpRouteConfig is compatible with MutableMapping

Exceptions

Type Description