azure-mgmt-netapp
Microsoft Azure Netapp Management Client Library for Python
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
- Python 3.9+ is required to use this package.
- Azure subscription
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_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor 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:
- Search NetApp Files Management on docs.microsoft.com
- Azure Python Mgmt SDK Samples Repo
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.0was removed. - Model
AccountPropertiesdeleted or renamed its instance variableldap_configuration - Model
ReplicationObjectdeleted or renamed its instance variableexternal_replication_setup_status - Model
ReplicationObjectdeleted or renamed its instance variableexternal_replication_setup_info - Model
ReplicationObjectdeleted or renamed its instance variablemirror_state - Model
ReplicationObjectdeleted or renamed its instance variablerelationship_status - Model
VolumePropertiesdeleted or renamed its instance variableldap_server_type - Model
VolumePropertiesdeleted or renamed its instance variablelanguage - 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
NetAppManagementClientadded parametercloud_settingin method__init__ - Client
NetAppManagementClientadded methodsend_request - Client
NetAppManagementClientadded operation groupnet_app_resource_quota_limits_account - Model
BackupPolicyPatchadded propertyproperties - Model
CapacityPooladded propertyproperties - Model
CapacityPoolPatchadded propertyproperties - Enum
CheckNameResourceTypesadded memberMICROSOFT_NET_APP_NET_APP_ACCOUNTS_BACKUP_VAULTS_BACKUPS - Enum
CheckNameResourceTypesadded memberMICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_BACKUPS - Enum
CheckQuotaNameResourceTypesadded memberMICROSOFT_NET_APP_NET_APP_ACCOUNTS_BACKUP_VAULTS_BACKUPS - Enum
CheckQuotaNameResourceTypesadded memberMICROSOFT_NET_APP_NET_APP_ACCOUNTS_CAPACITY_POOLS_VOLUMES_BACKUPS - Model
NetAppAccountadded propertyproperties - Model
NetAppAccountPatchadded propertyproperties - Model
RegionInfoResourceadded propertyproperties - Model
Replicationadded propertymirror_state - Model
Replicationadded propertyreplication_creation_time - Model
Replicationadded propertyreplication_deletion_time - Model
ReplicationObjectadded propertyexternal_replication_setup_status - Model
ReplicationObjectadded propertyexternal_replication_setup_info - Model
ReplicationObjectadded propertymirror_state - Model
ReplicationObjectadded propertyrelationship_status - Enum
ReplicationScheduleadded memberENUM_10_MINUTELY - Model
SnapshotPolicyPatchadded propertyproperties - Model
SnapshotPolicyVolumeListadded propertynext_link - Model
SubvolumeInfoadded propertyproperties - Model
UsageResultadded propertyproperties - Model
VolumeGroupDetailsadded propertyproperties - Model
VolumeGroupDetailsadded propertysystem_data - Model
VolumeGroupVolumePropertiesadded propertyproperties - Model
VolumeQuotaRuleadded propertyproperties - Model
VolumeQuotaRulePatchadded propertyproperties - 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
VolumesOperationsadded methodbegin_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
BackupPatchinstance variablelabelhas been moved under propertyproperties - Model
BackupPolicyPatchinstance variablesbackup_policy_id,provisioning_state,daily_backups_to_keep,weekly_backups_to_keep,monthly_backups_to_keep,volumes_assigned,enabled, andvolume_backupshave been moved under propertyproperties - Model
CapacityPoolinstance variablespool_id,size,service_level,provisioning_state,total_throughput_mibps,utilized_throughput_mibps,custom_throughput_mibps,qos_type,cool_access, andencryption_typehave been moved under propertyproperties - Model
CapacityPoolPatchinstance variablessize,qos_type,cool_access, andcustom_throughput_mibpshave been moved under propertyproperties - Model
GetKeyVaultStatusResponseinstance variableskey_vault_uri,key_name,key_vault_resource_id, andkey_vault_private_endpointshave been moved under propertyproperties - Model
NetAppAccountinstance variablesprovisioning_state,active_directories,encryption,disable_showmount,nfs_v4_id_domain, andmulti_ad_statushave been moved under propertyproperties - Model
NetAppAccountPatchinstance variablesprovisioning_state,active_directories,encryption,disable_showmount,nfs_v4_id_domain, andmulti_ad_statushave been moved under propertyproperties - Model
RegionInfoResourceinstance variablesstorage_to_network_proximityandavailability_zone_mappingshave been moved under propertyproperties - Model
SnapshotPolicyPatchinstance variableshourly_schedule,daily_schedule,weekly_schedule,monthly_schedule,enabled, andprovisioning_statehave been moved under propertyproperties - Model
SubvolumeInfoinstance variablespath,size,parent_path, andprovisioning_statehave been moved under propertyproperties - Model
SubvolumePatchRequestinstance variablessizeandpathhave been moved under propertyproperties - Model
UsageResultinstance variablescurrent_value,limit, andunithave been moved under propertyproperties - Model
VolumeGroupDetailsinstance variablesprovisioning_state,group_meta_data, andvolumeshave been moved under propertyproperties - Model
VolumeGroupVolumePropertiesinstance variablesfile_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