ContainerAppsSessionPoolsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<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.
async begin_create_or_update(resource_group_name: str, session_pool_name: str, session_pool_envelope: _models.SessionPool, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.SessionPool]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
session_pool_name
Required
|
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 AsyncLROPoller 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.
async begin_delete(resource_group_name: str, session_pool_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. |
|
session_pool_name
Required
|
Name of the session pool. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of AsyncLROPoller 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.
async begin_update(resource_group_name: str, session_pool_name: str, session_pool_envelope: _models.SessionPoolUpdatableProperties, *, content_type: str = 'application/json', **kwargs: Any) -> AsyncLROPoller[_models.SessionPool]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
session_pool_name
Required
|
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 AsyncLROPoller 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.
async get(resource_group_name: str, session_pool_name: str, **kwargs: Any) -> SessionPool
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
session_pool_name
Required
|
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) -> AsyncIterable[SessionPool]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
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) -> AsyncIterable[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:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv67\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>