Skip to main content

Microsoft Azure Elasticsan Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Elasticsan Management Client Library. This package has been tested with Python 3.8+. 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, Azure Active Directory 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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_elasticsan-2.0.0.tar.gz (76.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azure_mgmt_elasticsan-2.0.0-py3-none-any.whl (82.9 kB view details)

Uploaded Python 3

File details

Details for the file azure_mgmt_elasticsan-2.0.0.tar.gz.

File metadata

  • Download URL: azure_mgmt_elasticsan-2.0.0.tar.gz
  • Upload date:
  • Size: 76.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for azure_mgmt_elasticsan-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6274bd0e6fd56562731e4c2d041c8be06a1a8c9d8353b173c5d1501004239fb3
MD5 6aad0fd4311b8d1486e05ff13b5a15f0
BLAKE2b-256 14fda1f22f5e7fa302923afac9eb526ab02c4358b0261cfdedd4aeb4c5fe455d

See more details on using hashes here.

File details

Details for the file azure_mgmt_elasticsan-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_elasticsan-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6678de4d861cf87a8edcf530db9f38352fe07ae939df6551ee959710e8dad68a
MD5 6a719e5760e392a157db32138cc1db87
BLAKE2b-256 e81f086ad2e110cadf07c62a79ed2f1203dc963e0e631418acca5cbe0632e6cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page