ContextCacheContainersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

StorageManagementClient's

<xref:context_cache_containers> attribute.

Constructor

ContextCacheContainersOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update a container in a Context Cache.

begin_delete

Delete a container from a Context Cache.

begin_update

Update a container in a Context Cache.

get

Get a container in a Context Cache.

list_by_context_cache

List all containers in a Context Cache.

begin_create_or_update

Create or update a container in a Context Cache.

begin_create_or_update(resource_group_name: str, context_cache_name: str, context_cache_container_name: str, resource: _models.ContextCacheContainer, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ContextCacheContainer]

Parameters

Name Description
resource_group_name
Required
str

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

context_cache_name
Required
str

The name of the context cache. Required.

context_cache_container_name
Required
str

The name of the context cache container. Required.

resource
Required

Resource create parameters. Is either a ContextCacheContainer type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns ContextCacheContainer. The ContextCacheContainer is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Delete a container from a Context Cache.

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

context_cache_name
Required
str

The name of the context cache. Required.

context_cache_container_name
Required
str

The name of the context cache container. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

begin_update

Update a container in a Context Cache.

begin_update(resource_group_name: str, context_cache_name: str, context_cache_container_name: str, properties: _models.ContextCacheContainerUpdate, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ContextCacheContainer]

Parameters

Name Description
resource_group_name
Required
str

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

context_cache_name
Required
str

The name of the context cache. Required.

context_cache_container_name
Required
str

The name of the context cache container. Required.

properties
Required

The resource properties to be updated. Is either a ContextCacheContainerUpdate type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns ContextCacheContainer. The ContextCacheContainer is compatible with MutableMapping

Exceptions

Type Description

get

Get a container in a Context Cache.

get(resource_group_name: str, context_cache_name: str, context_cache_container_name: str, **kwargs: Any) -> ContextCacheContainer

Parameters

Name Description
resource_group_name
Required
str

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

context_cache_name
Required
str

The name of the context cache. Required.

context_cache_container_name
Required
str

The name of the context cache container. Required.

Returns

Type Description

ContextCacheContainer. The ContextCacheContainer is compatible with MutableMapping

Exceptions

Type Description

list_by_context_cache

List all containers in a Context Cache.

list_by_context_cache(resource_group_name: str, context_cache_name: str, **kwargs: Any) -> ItemPaged[ContextCacheContainer]

Parameters

Name Description
resource_group_name
Required
str

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

context_cache_name
Required
str

The name of the context cache. Required.

Returns

Type Description

An iterator like instance of ContextCacheContainer

Exceptions

Type Description