HttpRouteConfigOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
http_route_config attribute.
Constructor
HttpRouteConfigOperations(*args, **kwargs)
Methods
| begin_delete |
Deletes the specified Http Route Config. Deletes the specified Http Route Config. |
| 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 Http Route Config. |
| list |
List the Http Route Configs in a given managed environment. List the Http Route Configs in a given managed environment. |
| update |
Update tags of a Http Route Config object. Patches a Http Route Config resource. Only patching of tags is supported. |
begin_delete
Deletes the specified Http Route Config.
Deletes the specified Http Route Config.
begin_delete(resource_group_name: str, environment_name: str, http_route_name: str, **kwargs: Any) -> LROPoller[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. |
|
http_route_name
Required
|
Name of the Http Route Config Resource. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns either None or the result of cls(response) |
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
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the Managed Environment. Required. |
|
http_route_name
Required
|
Name of the Http Route Config Resource. 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 or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
get
Get the specified Http Route Config.
Get the specified 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
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the Managed Environment. Required. |
|
http_route_name
Required
|
Name of the Http Route Config Resource. Required. |
Returns
| Type | Description |
|---|---|
|
HttpRouteConfig or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list
List the Http Route Configs in a given managed environment.
List the Http Route Configs in a given managed environment.
list(resource_group_name: str, environment_name: str, **kwargs: Any) -> ItemPaged[HttpRouteConfig]
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 either HttpRouteConfig or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
update
Update tags of a Http Route Config object.
Patches a 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
|
The name of the resource group. The name is case insensitive. Required. |
|
environment_name
Required
|
Name of the Managed Environment. Required. |
|
http_route_name
Required
|
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 or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.appcontainers.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv67\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>