Share via


ContainerAppsSessionPoolsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:container_apps_session_pools> attribute.

Constructor

ContainerAppsSessionPoolsOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a session pool.

Create or update a session pool with the given properties.

begin_delete

Delete a session pool.

Delete the session pool with the given name.

begin_update

Update properties of a session pool.

Patches a session pool using JSON merge patch.

get

Get the properties of a session pool.

Get the properties of a session pool.

list_by_resource_group

Get the session pools in a given resource group of a subscription.

Get the session pools in a given resource group of a subscription.

list_by_subscription

Get the session pools in a given subscription.

Get the session pools in a given subscription.

begin_create_or_update

Create or update a session pool.

Create or update a session pool with the given properties.

begin_create_or_update(resource_group_name: str, session_pool_name: str, session_pool_envelope: _models.SessionPool, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.SessionPool]

Parameters

Name Description
resource_group_name
Required
str

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

session_pool_name
Required
str

Name of the session pool. Required.

session_pool_envelope
Required

Properties used to create a session pool. Is either a SessionPool type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either SessionPool or the result of cls(response)

Exceptions

Type Description

begin_delete

Delete a session pool.

Delete the session pool with the given name.

begin_delete(resource_group_name: str, session_pool_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.

session_pool_name
Required
str

Name of the session pool. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

begin_update

Update properties of a session pool.

Patches a session pool using JSON merge patch.

begin_update(resource_group_name: str, session_pool_name: str, session_pool_envelope: _models.SessionPoolUpdatableProperties, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.SessionPool]

Parameters

Name Description
resource_group_name
Required
str

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

session_pool_name
Required
str

Name of the session pool. Required.

session_pool_envelope
Required

Properties used to create a session pool. Is either a SessionPoolUpdatableProperties type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either SessionPool or the result of cls(response)

Exceptions

Type Description

get

Get the properties of a session pool.

Get the properties of a session pool.

get(resource_group_name: str, session_pool_name: str, **kwargs: Any) -> SessionPool

Parameters

Name Description
resource_group_name
Required
str

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

session_pool_name
Required
str

Name of the session pool. Required.

Returns

Type Description

SessionPool or the result of cls(response)

Exceptions

Type Description

list_by_resource_group

Get the session pools in a given resource group of a subscription.

Get the session pools in a given resource group of a subscription.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[SessionPool]

Parameters

Name Description
resource_group_name
Required
str

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

Returns

Type Description

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

Exceptions

Type Description

list_by_subscription

Get the session pools in a given subscription.

Get the session pools in a given subscription.

list_by_subscription(**kwargs: Any) -> Iterable[SessionPool]

Returns

Type Description

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

Exceptions

Type Description

Attributes

models

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