ConnectedEnvironmentsStoragesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:connected_environments_storages> attribute.
- Inheritance
-
builtins.objectConnectedEnvironmentsStoragesOperations
Constructor
ConnectedEnvironmentsStoragesOperations(*args, **kwargs)
Methods
create_or_update |
Create or update storage for a connectedEnvironment. Create or update storage for a connectedEnvironment. |
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. |
create_or_update
Create or update storage for a connectedEnvironment.
Create or update storage for a connectedEnvironment.
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) -> _models.ConnectedEnvironmentStorage
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
connected_environment_name
Required
|
Name of the Environment. Required. |
storage_name
Required
|
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 |
---|---|
ConnectedEnvironmentStorage or the result of cls(response) |
Exceptions
Type | Description |
---|---|
delete
Delete storage for a connectedEnvironment.
Delete storage for a connectedEnvironment.
delete(resource_group_name: str, connected_environment_name: str, storage_name: str, **kwargs: Any) -> None
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
connected_environment_name
Required
|
Name of the Environment. Required. |
storage_name
Required
|
Name of the storage. Required. |
Returns
Type | Description |
---|---|
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
|
The name of the resource group. The name is case insensitive. Required. |
connected_environment_name
Required
|
Name of the Environment. Required. |
storage_name
Required
|
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
|
The name of the resource group. The name is case insensitive. Required. |
connected_environment_name
Required
|
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:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>
Azure SDK for Python