Share via


ConnectedEnvironmentsStoragesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:connected_environments_storages> attribute.

Constructor

ConnectedEnvironmentsStoragesOperations(*args, **kwargs)

Methods

begin_create_or_update

Create or update storage for a connectedEnvironment.

Create or update storage for a connectedEnvironment.

begin_delete

Delete storage for a connectedEnvironment.

Delete storage for a connectedEnvironment.

get

Get storage for a connectedEnvironment.

Get storage for a connectedEnvironment.

list

Get all storages for a connectedEnvironment.

Get all storages for a connectedEnvironment.

begin_create_or_update

Create or update storage for a connectedEnvironment.

Create or update storage for a connectedEnvironment.

begin_create_or_update(resource_group_name: str, connected_environment_name: str, storage_name: str, storage_envelope: _models.ConnectedEnvironmentStorage, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ConnectedEnvironmentStorage]

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Environment. Required.

storage_name
Required
str

Name of the storage. Required.

storage_envelope
Required

Configuration details of storage. Is either a ConnectedEnvironmentStorage type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Delete storage for a connectedEnvironment.

Delete storage for a connectedEnvironment.

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

connected_environment_name
Required
str

Name of the Environment. Required.

storage_name
Required
str

Name of the storage. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Get storage for a connectedEnvironment.

Get storage for a connectedEnvironment.

get(resource_group_name: str, connected_environment_name: str, storage_name: str, **kwargs: Any) -> ConnectedEnvironmentStorage

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Environment. Required.

storage_name
Required
str

Name of the storage. Required.

Returns

Type Description

ConnectedEnvironmentStorage or the result of cls(response)

Exceptions

Type Description

list

Get all storages for a connectedEnvironment.

Get all storages for a connectedEnvironment.

list(resource_group_name: str, connected_environment_name: str, **kwargs: Any) -> ConnectedEnvironmentStoragesCollection

Parameters

Name Description
resource_group_name
Required
str

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

connected_environment_name
Required
str

Name of the Environment. Required.

Returns

Type Description

ConnectedEnvironmentStoragesCollection 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'>