Give AlbumentationsX a star on GitHub — it powers this leaderboard

Star on GitHub

azure-mgmt-netapp

Microsoft Azure Netapp Management Client Library for Python

Rank: #1661Downloads: 5,533,373 (30 days)

Description

Microsoft Azure SDK for Python

This is the Microsoft Azure NetApp Files Management Client Library. This package has been tested with Python 3.9+. 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-netapp
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.netapp import NetAppManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = NetAppManagementClient(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

14.0.1 (2025-11-17)

Bugs Fixed

  • Certain models that were not available in last release version 14.0.0 was removed.
  • Model AccountProperties deleted or renamed its instance variable ldap_configuration
  • Model ReplicationObject deleted or renamed its instance variable external_replication_setup_status
  • Model ReplicationObject deleted or renamed its instance variable external_replication_setup_info
  • Model ReplicationObject deleted or renamed its instance variable mirror_state
  • Model ReplicationObject deleted or renamed its instance variable relationship_status
  • Model VolumeProperties deleted or renamed its instance variable ldap_server_type
  • Model VolumeProperties deleted or renamed its instance variable language
  • Deleted or renamed model ExternalReplicationSetupStatus
  • Deleted or renamed model LdapConfiguration
  • Deleted or renamed model LdapServerType
  • Deleted or renamed model ListQuotaReportResponse
  • Deleted or renamed model QuotaReport
  • Deleted or renamed model VolumeLanguage
  • Deleted or renamed method VolumesOperations.begin_list_quota_report

14.0.0 (2025-11-10)

Features Added

  • Model NetAppManagementClient added parameter cloud_setting in method __init__
  • Client NetAppManagementClient added method send_request
  • Client NetAppManagementClient added operation group net_app_resource_quota_limits_account
  • Model BackupPolicyPatch added property properties
  • Model CapacityPool added property properties
  • Model CapacityPoolPatch added property properties
  • Enum CheckNameResourceTypes added member MICROSOFT_NET_APP_NET_APP_ACCOUNTS_BACKUP_VAULTS_BACKUPS
  • Enum CheckNameResourceTypes added member MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_BACKUPS
  • Enum CheckQuotaNameResourceTypes added member MICROSOFT_NET_APP_NET_APP_ACCOUNTS_BACKUP_VAULTS_BACKUPS
  • Enum CheckQuotaNameResourceTypes added member MICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_BACKUPS
  • Model NetAppAccount added property properties
  • Model NetAppAccountPatch added property properties
  • Model RegionInfoResource added property properties
  • Model Replication added property mirror_state
  • Model Replication added property replication_creation_time
  • Model Replication added property replication_deletion_time
  • Model ReplicationObject added property external_replication_setup_status
  • Model ReplicationObject added property external_replication_setup_info
  • Model ReplicationObject added property mirror_state
  • Model ReplicationObject added property relationship_status
  • Enum ReplicationSchedule added member ENUM_10_MINUTELY
  • Model SnapshotPolicyPatch added property properties
  • Model SnapshotPolicyVolumeList added property next_link
  • Model SubvolumeInfo added property properties
  • Model UsageResult added property properties
  • Model VolumeGroupDetails added property properties
  • Model VolumeGroupDetails added property system_data
  • Model VolumeGroupVolumeProperties added property properties
  • Model VolumeQuotaRule added property properties
  • Model VolumeQuotaRulePatch added property properties
  • Added model AccountProperties
  • Added model BackupPatchProperties
  • Added enum Exclude
  • Added enum ExternalReplicationSetupStatus
  • Added model GetKeyVaultStatusResponseProperties
  • Added model LdapConfiguration
  • Added enum LdapServerType
  • Added model ListQuotaReportResponse
  • Added model ListReplicationsRequest
  • Added enum NetAppProvisioningState
  • Added model PoolPatchProperties
  • Added model PoolProperties
  • Added model QuotaItem
  • Added model QuotaItemProperties
  • Added model QuotaReport
  • Added enum ReplicationMirrorState
  • Added model SnapshotPatch
  • Added model SubvolumePatchParams
  • Added model SubvolumeProperties
  • Added model UsageProperties
  • Added enum VolumeBackupRelationshipStatus
  • Added model VolumeGroupListProperties
  • Added enum VolumeLanguage
  • Added model VolumeQuotaRulesProperties
  • Added enum VolumeReplicationRelationshipStatus
  • Added enum VolumeRestoreRelationshipStatus
  • Added operation group NetAppResourceQuotaLimitsAccountOperations
  • Operation group VolumesOperations added method begin_list_quota_report

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. And please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Model BackupPatch instance variable label has been moved under property properties
  • Model BackupPolicyPatch instance variables backup_policy_id, provisioning_state, daily_backups_to_keep, weekly_backups_to_keep, monthly_backups_to_keep, volumes_assigned, enabled, and volume_backups have been moved under property properties
  • Model CapacityPool instance variables pool_id, size, service_level, provisioning_state, total_throughput_mibps, utilized_throughput_mibps, custom_throughput_mibps, qos_type, cool_access, and encryption_type have been moved under property properties
  • Model CapacityPoolPatch instance variables size, qos_type, cool_access, and custom_throughput_mibps have been moved under property properties
  • Model GetKeyVaultStatusResponse instance variables key_vault_uri, key_name, key_vault_resource_id, and key_vault_private_endpoints have been moved under property properties
  • Model NetAppAccount instance variables provisioning_state, active_directories, encryption, disable_showmount, nfs_v4_id_domain, and multi_ad_status have been moved under property properties
  • Model NetAppAccountPatch instance variables provisioning_state, active_directories, encryption, disable_showmount, nfs_v4_id_domain, and multi_ad_status have been moved under property properties
  • Model RegionInfoResource instance variables storage_to_network_proximity and availability_zone_mappings have been moved under property properties
  • Model SnapshotPolicyPatch instance variables hourly_schedule, daily_schedule, weekly_schedule, monthly_schedule, enabled, and provisioning_state have been moved under property properties
  • Model SubvolumeInfo instance variables path, size, parent_path, and provisioning_state have been moved under property properties
  • Model SubvolumePatchRequest instance variables size and path have been moved under property properties
  • Model UsageResult instance variables current_value, limit, and unit have been moved under property properties
  • Model VolumeGroupDetails instance variables provisioning_state, group_meta_data, and volumes have been moved under property properties
  • Model VolumeGroupVolumeProperties instance variables file_system_id, creation_token, service_level, usage_threshold, export_policy, protocol_types, provisioning_state, snapshot_id, delete_base_snapshot, backup_id, baremetal_tenant_id, subnet_id, network_features, effective_network_features, network_sibling_set_id, storage_to_network_proximity, mount_targets, volume_type, data_protection, accept_grow_capacity_pool_for_short_term_clone_split, is_restoring, snapshot_directory_visible, kerberos_enabled, security_style, smb_encryption, smb_access_based_enumeration, smb_non_browsable, smb_continuously_available, throughput_mibps, actual_throughput_mibps, encryption_key_source, key_vault_private_endpoint_resource_id, ldap_enabled, cool_access, coolness_period, `cool_access_retrieval_po