ManagedEnvironmentsStoragesOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

ContainerAppsAPIClient's

<xref:managed_environments_storages> attribute.

Inheritance
builtins.object
ManagedEnvironmentsStoragesOperations

Constructor

ManagedEnvironmentsStoragesOperations(*args, **kwargs)

Methods

create_or_update

Create or update storage for a managedEnvironment.

Create or update storage for a managedEnvironment.

delete

Delete storage for a managedEnvironment.

Delete storage for a managedEnvironment.

get

Get storage for a managedEnvironment.

Get storage for a managedEnvironment.

list

Get all storages for a managedEnvironment.

Get all storages for a managedEnvironment.

create_or_update

Create or update storage for a managedEnvironment.

Create or update storage for a managedEnvironment.

create_or_update(resource_group_name: str, environment_name: str, storage_name: str, storage_envelope: _models.ManagedEnvironmentStorage, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ManagedEnvironmentStorage

Parameters

Name Description
resource_group_name
Required
str

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

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 ManagedEnvironmentStorage type or a IO type. Required.

Keyword-Only Parameters

Name Description
content_type
str

Body Parameter content-type. Known values are: 'application/json'. Default value is None.

cls

A custom type or function that will be passed the direct response

Returns

Type Description

ManagedEnvironmentStorage or the result of cls(response)

Exceptions

Type Description

delete

Delete storage for a managedEnvironment.

Delete storage for a managedEnvironment.

delete(resource_group_name: str, environment_name: str, storage_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Environment. Required.

storage_name
Required
str

Name of the storage. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Get storage for a managedEnvironment.

Get storage for a managedEnvironment.

get(resource_group_name: str, environment_name: str, storage_name: str, **kwargs: Any) -> ManagedEnvironmentStorage

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Environment. Required.

storage_name
Required
str

Name of the storage. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

ManagedEnvironmentStorage or the result of cls(response)

Exceptions

Type Description

list

Get all storages for a managedEnvironment.

Get all storages for a managedEnvironment.

list(resource_group_name: str, environment_name: str, **kwargs: Any) -> ManagedEnvironmentStoragesCollection

Parameters

Name Description
resource_group_name
Required
str

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

environment_name
Required
str

Name of the Environment. Required.

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

ManagedEnvironmentStoragesCollection or the result of cls(response)

Exceptions

Type Description

Attributes

models

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