Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Microsoft Azure SDK for Python

This is the Microsoft Azure Elasticsan Management Client Library. This package has been tested with Python 3.10+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-elasticsan
pip install azure-identity

Authentication

By default, Microsoft Entra token authentication depends on correct configuration of the following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.elasticsan import ElasticSanMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = ElasticSanMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Release History

3.0.0b1 (2026-10-08)

Features Added

  • Client ElasticSanMgmtClient added method begin_restore_volume
  • Model ElasticSanProperties added property total_reserved_iops
  • Model ElasticSanProperties added property total_reserved_m_bps
  • Model ElasticSanProperties added property used_capacity_gi_b
  • Model ElasticSanProperties added property version
  • Model ElasticSanUpdateProperties added property total_iops
  • Model ElasticSanUpdateProperties added property total_m_bps
  • Model ElasticSanUpdateProperties added property total_size_ti_b
  • Enum ProvisioningStates added member SOFT_DELETING
  • Model SkuLocationInfo added property zone_details
  • Enum SkuName added member ELASTIC_SAN_LRS
  • Model SnapshotProperties added property completion_percent
  • Model SnapshotProperties added property snapshot_access_state
  • Enum StorageTargetType added member DIRECT_ATTACH
  • Model VolumeGroupProperties added property delete_retention_policy
  • Model VolumeGroupProperties added property encryption_in_transit
  • Model VolumeGroupProperties added property quality_of_service
  • Model VolumeGroupProperties added property reserved_iops
  • Model VolumeGroupProperties added property reserved_m_bps
  • Model VolumeGroupUpdateProperties added property delete_retention_policy
  • Model VolumeGroupUpdateProperties added property reserved_iops
  • Model VolumeGroupUpdateProperties added property reserved_m_bps
  • Added model DeleteRetentionPolicy
  • Added enum DeleteType
  • Added enum ElasticSanVersion
  • Added model ManagedByResources
  • Added enum PolicyState
  • Added enum QualityOfService
  • Added model SkuZoneDetails
  • Added enum SnapshotAccessState
  • Added enum XMsAccessSoftDeletedResources
  • Operation groups VolumeGroupsOperations added parameter x_ms_access_soft_deleted_resources in method list_by_elastic_san
  • Operation groups VolumesOperations added parameter delete_type in method begin_delete
  • Operation groups VolumesOperations added parameter x_ms_access_soft_deleted_resources in method list_by_volume_group

Breaking Changes

  • Deleted or renamed model ManagedByInfo

2.0.0 (2026-01-29)

Features Added

  • Model ElasticSanMgmtClient added parameter cloud_setting in method __init__
  • Client ElasticSanMgmtClient added method send_request
  • Model ElasticSanProperties added property auto_scale_properties
  • Model ElasticSanUpdateProperties added property auto_scale_properties
  • Enum ProvisioningStates added member DELETED
  • Enum ProvisioningStates added member RESTORING
  • Added enum AutoScalePolicyEnforcement
  • Added model AutoScaleProperties
  • Added model DiskSnapshotList
  • Added model PreValidationResponse
  • Added model ScaleUpProperties
  • Added model VolumeNameList
  • Operation group VolumesOperations added method begin_pre_backup
  • Operation group VolumesOperations added method begin_pre_restore

Breaking Changes

  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Deleted model ElasticSanList/SkuInformationList/SnapshotList/VolumeGroupList/VolumeList which actually were not used by SDK users
  • Method VolumesOperations.begin_delete changed its parameter x_ms_delete_snapshots from positional_or_keyword to keyword_only
  • Method VolumesOperations.begin_delete changed its parameter x_ms_force_delete from positional_or_keyword to keyword_only

1.2.0b2 (2025-04-21)

Features Added

  • Client ElasticSanMgmtClient added method begin_restore_volume
  • Model ElasticSanMgmtClient added property url
  • Enum ProvisioningStates added member DELETED
  • Enum ProvisioningStates added member RESTORING
  • Enum ProvisioningStates added member SOFT_DELETING
  • Model VolumeGroupProperties added property delete_retention_policy
  • Model VolumeGroupUpdateProperties added property delete_retention_policy
  • Added model DeleteRetentionPolicy
  • Added enum DeleteType
  • Added model DiskSnapshotList
  • Added enum PolicyState
  • Added model PreValidationResponse
  • Added model VolumeNameList
  • Added enum XMsAccessSoftDeletedResources
  • Operation group VolumesOperations added method begin_pre_backup
  • Operation group VolumesOperations added method begin_pre_restore
  • Added operation group ElasticSanMgmtClientOperationsMixin

1.2.0b1 (2024-10-20)

Features Added

  • Model ElasticSanProperties added property auto_scale_properties
  • Model ElasticSanUpdateProperties added property auto_scale_properties
  • Added enum AutoScalePolicyEnforcement
  • Added model AutoScaleProperties
  • Added model ScaleUpProperties

1.1.0 (2024-09-23)

Features Added

  • Model VolumeGroupProperties has a new parameter enforce_data_integrity_check_for_iscsi
  • Model VolumeGroupUpdateProperties has a new parameter enforce_data_integrity_check_for_iscsi

1.0.0 (2024-01-25)

Features Added

  • Model ElasticSanUpdate has a new parameter properties
  • Model PrivateLinkResource has a new parameter properties
  • Model VolumeGroup has a new parameter properties
  • Model VolumeGroupUpdate has a new parameter properties
  • Model VolumeUpdate has a new parameter properties

Breaking Changes

  • Model ElasticSan has a new required parameter properties
  • Model ElasticSan no longer has parameter availability_zones
  • Model ElasticSan no longer has parameter base_size_ti_b
  • Model ElasticSan no longer has parameter extended_capacity_size_ti_b
  • Model ElasticSan no longer has parameter private_endpoint_connections
  • Model ElasticSan no longer has parameter provisioning_state
  • Model ElasticSan no longer has parameter public_network_access
  • Model ElasticSan no longer has parameter sku
  • Model ElasticSan no longer has parameter total_iops
  • Model ElasticSan no longer has parameter total_m_bps
  • Model ElasticSan no longer has parameter total_size_ti_b
  • Model ElasticSan no longer has parameter total_volume_size_gi_b
  • Model ElasticSan no longer has parameter volume_group_count
  • Model ElasticSanUpdate no longer has parameter base_size_ti_b
  • Model ElasticSanUpdate no longer has parameter extended_capacity_size_ti_b
  • Model ElasticSanUpdate no longer has parameter public_network_access
  • Model PrivateEndpointConnection has a new required parameter properties
  • Model PrivateEndpointConnection no longer has parameter group_ids
  • Model PrivateEndpointConnection no longer has parameter private_endpoint
  • Model PrivateEndpointConnection no longer has parameter private_link_service_connection_state
  • Model PrivateEndpointConnection no longer has parameter provisioning_state
  • Model PrivateLinkResource no longer has parameter group_id
  • Model PrivateLinkResource no longer has parameter required_members
  • Model PrivateLinkResource no longer has parameter required_zone_names
  • Model Snapshot has a new required parameter properties
  • Model Snapshot no longer has parameter creation_data
  • Model Snapshot no longer has parameter provisioning_state
  • Model Snapshot no longer has parameter source_volume_size_gi_b
  • Model Snapshot no longer has parameter volume_name
  • Model Volume has a new required parameter properties
  • Model Volume no longer has parameter creation_data
  • Model Volume no longer has parameter managed_by
  • Model Volume no longer has parameter provisioning_state
  • Model Volume no longer has parameter size_gi_b
  • Model Volume no longer has parameter storage_target
  • Model Volume no longer has parameter volume_id
  • Model VolumeGroup no longer has parameter encryption
  • Model VolumeGroup no longer has parameter encryption_properties
  • Model VolumeGroup no longer has parameter network_acls
  • Model VolumeGroup no longer has parameter private_endpoint_connections
  • Model VolumeGroup no longer has parameter protocol_type
  • Model VolumeGroup no longer has parameter provisioning_state
  • Model VolumeGroupUpdate no longer has parameter encryption
  • Model VolumeGroupUpdate no longer has parameter encryption_properties
  • Model VolumeGroupUpdate no longer has parameter network_acls
  • Model VolumeGroupUpdate no longer has parameter protocol_type
  • Model VolumeUpdate no longer has parameter managed_by
  • Model VolumeUpdate no longer has parameter size_gi_b

1.0.0b3 (2023-10-23)

Features Added

  • Added operation group VolumeSnapshotsOperations
  • Model ElasticSan has a new parameter public_network_access
  • Model ElasticSanUpdate has a new parameter public_network_access
  • Model SourceCreationData has a new parameter source_id
  • Model Volume has a new parameter managed_by
  • Model Volume has a new parameter provisioning_state
  • Model VolumeGroup has a new parameter encryption_properties
  • Model VolumeGroup has a new parameter identity
  • Model VolumeGroupUpdate has a new parameter encryption_properties
  • Model VolumeGroupUpdate has a new parameter identity
  • Model VolumeUpdate has a new parameter managed_by
  • Operation VolumesOperations.begin_delete has a new optional parameter x_ms_delete_snapshots
  • Operation VolumesOperations.begin_delete has a new optional parameter x_ms_force_delete

Breaking Changes

  • Model SourceCreationData no longer has parameter source_uri
  • Model VirtualNetworkRule no longer has parameter state

1.0.0b2 (2023-07-21)

Features Added

  • Added operation group PrivateEndpointConnectionsOperations
  • Added operation group PrivateLinkResourcesOperations
  • Model ElasticSan has a new parameter private_endpoint_connections
  • Model ErrorResponse has a new parameter error
  • Model Resource has a new parameter system_data
  • Model SkuInformationList has a new parameter next_link
  • Model TrackedResource has a new parameter system_data
  • Model VolumeGroup has a new parameter private_endpoint_connections

Breaking Changes

  • Client name is changed from ElasticSanManagement to ElasticSanMgmtClient
  • Model ErrorResponse no longer has parameter additional_info
  • Model ErrorResponse no longer has parameter code
  • Model ErrorResponse no longer has parameter details
  • Model ErrorResponse no longer has parameter message
  • Model ErrorResponse no longer has parameter target
  • Model Resource no longer has parameter tags
  • Model Volume no longer has parameter tags
  • Model VolumeGroup no longer has parameter tags
  • Model VolumeGroupUpdate no longer has parameter tags
  • Model VolumeUpdate no longer has parameter tags
  • Parameter location of model ElasticSan is now required
  • Parameter location of model TrackedResource is now required
  • Parameter size_gi_b of model Volume is now required

1.0.0b1 (2022-10-21)

  • Initial Release

Metadata

Release files for azure-mgmt-elasticsan 3.0.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-mgmt-elasticsan 3.0.0b1
File Size Uploaded
azure_mgmt_elasticsan-3.0.0b1.tar.gz 103.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-elasticsan 3.0.0b1
File Interpreter ABI Platform
azure_mgmt_elasticsan-3.0.0b1-py3-none-any.whl Python 3 none any Details

Total release size: 207.5 kB

Release files / azure_mgmt_elasticsan-3.0.0b1.tar.gz

Download URL azure_mgmt_elasticsan-3.0.0b1.tar.gz
Size 103.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2f3c0def8efc6996837166af1d989b3f69c66f689533d2303d69e69478e99ee2
BLAKE2b-256 checksum
How to use checksums
f223f354a693577f08538aee2ba7be85d30a4939642f6daf07fd92d261367c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_mgmt_elasticsan-3.0.0b1-py3-none-any.whl

Download URL azure_mgmt_elasticsan-3.0.0b1-py3-none-any.whl
Size 103.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17a8105b3ee2222d5db7319c7be2f4559e8a6cde8c2b35258007be30c1b9579e
BLAKE2b-256 checksum
How to use checksums
1ef1232b98042f8d3f512b34774c36f83afa1a6550560ef3ed3ecdacc060d2bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page