Skip to content

[NetAppFiles] Bumping API version to 2026-09-01 - #34474

Merged
xuming-ms merged 4 commits into
Azure:devfrom
hnsunil:release-Microsoft.NetApp-2026-09-01
Nov 23, 2026
Merged

xuming-ms merged 4 commits into
Azure:devfrom
hnsunil:release-Microsoft.NetApp-2026-09-01

Conversation

@hnsunil

@hnsunil Sunil H N (hnsunil) commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes Tests Suppressions
⚠️ None ️✔️ 130/130 ️✔️ None
⚠️AzureCLI-BreakingChangeTest
⚠️netappfiles
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd netappfiles cache create cmd netappfiles cache create added parameter smb_oplocks
⚠️ 1010 - ParaPropUpdate netappfiles cache create cmd netappfiles cache create update parameter ldap_server_type: updated property choices from ['ActiveDirectory', 'OpenLDAP'] to ['ActiveDirectory', 'OpenLdap']
⚠️ 1006 - ParaAdd netappfiles cache update cmd netappfiles cache update added parameter smb_oplocks
⚠️ 1006 - ParaAdd netappfiles volume create cmd netappfiles volume create added parameter ldap_server_type
⚠️ 1006 - ParaAdd netappfiles volume create cmd netappfiles volume create added parameter smb_oplocks
⚠️ 1006 - ParaAdd netappfiles volume update cmd netappfiles volume update added parameter smb_oplocks

Related command
az netappfiles

Description
Updates az netappfiles to api-version to 2026-09-01 and add smb-oplocks and ldap-server-type options for az netapp files volume create/update

aaz Azure/aaz#1177

Testing Guide

(az-cli-python-env) PS C:\Users\b-sunilhn\source\repos\az-cli-forks-2026-09-01\azure-cli> azdev test test_volume_create_with_smb_oplocks --live

(az-cli-python-env) PS C:\Users\b-sunilhn\source\repos\az-cli-forks-2026-09-01\azure-cli> azdev test test_refresh_ldap_bind_password --live

History Notes

[NetAppFiles] az netappfiles volume create: Add ldap-server-type option
[NetAppFiles] az netappfiles volume create: Add smb-oplocks option to support enabling and disabling oplocks on SMB shares
[NetAppFiles] az netappfiles volume update: Add smb-oplocks option to support enabling and disabling oplocks on SMB shares
[NetAppFiles] az netappfiles cache create: Add smb-oplocks option to support enabling and disabling oplocks on SMB shares
[NetAppFiles] az netappfiles cache update: Add smb-oplocks option to support enabling and disabling oplocks on SMB shares


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@x-engineering-agent

Copy link
Copy Markdown
Contributor

Hi Sunil H N (@hnsunil),
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@hnsunil
Sunil H N (hnsunil) marked this pull request as ready for review November 20, 2026 10:31
Copilot AI balanced review requested due to automatic review settings November 20, 2026 10:31
@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Active issues leave assertions skipped in playback, allow --smb-oplocks null without including the field in PATCH requests, and risk leaving test resources outside cleanup when creation polling fails.

3 open issues
What changed in this PR

Updates Azure CLI’s az netappfiles commands to API version 2026-09-01, adding SMB opportunistic-lock controls and LDAP server-type support.

Changes:

  • Advances generated commands and selected test recordings to the new API version.
  • Adds SMB oplock arguments and response fields, adds LDAP server-type fields, and removes subvolume fields from affected schemas.
  • Adds a live SMB oplock scenario and expands the LDAP password-refresh scenario with resource setup and cleanup.

Paths below are relative to src/azure-cli/azure/cli/command_modules/netappfiles/.

File Description
tests/​latest/​test_volume_smb_oplocks.py Adds live oplock create/update coverage.
tests/​latest/​test_account_refresh_ldap_bind_password.py Expands live LDAP setup, assertions, and cleanup.
tests/​latest/​recordings/​test_region_info_show.yaml Refreshes region-show recording.
tests/​latest/​recordings/​test_region_info_list.yaml Refreshes region-list recording.
tests/​latest/​recordings/​test_get_region_info.yaml Refreshes region-query recording.
tests/​latest/​recordings/​test_check_quota_availability.yaml Refreshes quota-check recording.
tests/​latest/​recordings/​test_check_name_availability.yaml Refreshes name-check recording.
aaz/​latest/​netappfiles/​volume/​replication/​_suspend.py Advances suspend API version.
aaz/​latest/​netappfiles/​volume/​replication/​_status.py Advances replication-status API version.
aaz/​latest/​netappfiles/​volume/​replication/​_resume.py Advances resume API version.
aaz/​latest/​netappfiles/​volume/​replication/​_remove.py Advances replication-removal API version.
aaz/​latest/​netappfiles/​volume/​replication/​_reestablish.py Advances reestablish API version.
aaz/​latest/​netappfiles/​volume/​replication/​_re_initialize.py Advances reinitialization API version.
aaz/​latest/​netappfiles/​volume/​replication/​_populate_availability_zone.py Updates API version and volume response fields.
aaz/​latest/​netappfiles/​volume/​replication/​_perform_replication_transfer.py Advances transfer API version.
aaz/​latest/​netappfiles/​volume/​replication/​_peer_external_cluster.py Advances external-peering API version.
aaz/​latest/​netappfiles/​volume/​replication/​_list.py Advances replication-list API version.
aaz/​latest/​netappfiles/​volume/​replication/​_finalize_external_replication.py Advances external-finalization API version.
aaz/​latest/​netappfiles/​volume/​replication/​_authorize_external_replication.py Advances external-authorization API version.
aaz/​latest/​netappfiles/​volume/​replication/​_approve.py Advances replication-approval API version.
aaz/​latest/​netappfiles/​volume/​ransomware_report/​_show.py Advances report-show API version.
aaz/​latest/​netappfiles/​volume/​ransomware_report/​_list.py Advances report-list API version.
aaz/​latest/​netappfiles/​volume/​ransomware_report/​_clear_suspect.py Advances clear-suspect API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_wait.py Advances quota-rule polling API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_update.py Advances quota-rule update API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_show.py Advances quota-rule show API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_list.py Advances quota-rule list API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_delete.py Advances quota-rule deletion API version.
aaz/​latest/​netappfiles/​volume/​quota_rule/​_create.py Advances quota-rule creation API version.
aaz/​latest/​netappfiles/​volume/​latest_restore_status/​current/​_show.py Advances restore-status API version.
aaz/​latest/​netappfiles/​volume/​latest_backup_status/​current/​_show.py Advances backup-status API version.
aaz/​latest/​netappfiles/​volume/​export_policy/​_wait.py Updates polling API and volume schema.
aaz/​latest/​netappfiles/​volume/​export_policy/​_update.py Updates export-policy API and volume schema.
aaz/​latest/​netappfiles/​volume/​export_policy/​_show.py Updates show API and volume schema.
aaz/​latest/​netappfiles/​volume/​export_policy/​_remove.py Updates removal API and volume schema.
aaz/​latest/​netappfiles/​volume/​export_policy/​_list.py Updates list API and volume schema.
aaz/​latest/​netappfiles/​volume/​export_policy/​_add.py Updates add API and volume schema.
aaz/​latest/​netappfiles/​volume/​bucket/​_wait.py Advances bucket polling API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_update.py Advances bucket update API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_show.py Advances bucket show API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_refresh_certificate.py Advances certificate-refresh API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_list.py Advances bucket list API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_generate_credential.py Advances credential-generation API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_generate_akv_credential.py Advances Key Vault credential API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_delete.py Advances bucket deletion API version.
aaz/​latest/​netappfiles/​volume/​bucket/​_create.py Advances bucket creation API version.
aaz/​latest/​netappfiles/​volume/​_wait.py Updates polling API and volume response fields.
aaz/​latest/​netappfiles/​volume/​_update.py Adds oplock updates and refreshes API/schema.
aaz/​latest/​netappfiles/​volume/​_splitclonefromparent.py Updates clone-split API and response fields.
aaz/​latest/​netappfiles/​volume/​_show.py Updates API and volume response fields.
aaz/​latest/​netappfiles/​volume/​_revert.py Advances volume-revert API version.
aaz/​latest/​netappfiles/​volume/​_revert_relocation.py Advances relocation-revert API version.
aaz/​latest/​netappfiles/​volume/​_reset_cifs_pw.py Advances CIFS password-reset API version.
aaz/​latest/​netappfiles/​volume/​_relocate.py Advances relocation API version.
aaz/​latest/​netappfiles/​volume/​_pool_change.py Advances pool-change API version.
aaz/​latest/​netappfiles/​volume/​_migrate_backup.py Advances backup-migration API version.
aaz/​latest/​netappfiles/​volume/​_list.py Updates API and volume response fields.
aaz/​latest/​netappfiles/​volume/​_list_quota_report.py Advances quota-report API version.
aaz/​latest/​netappfiles/​volume/​_get_groupid_list_for_ldapuser.py Advances LDAP group-lookup API version.
aaz/​latest/​netappfiles/​volume/​_finalize_relocation.py Advances relocation-finalization API version.
aaz/​latest/​netappfiles/​volume/​_delete.py Advances volume deletion API version.
aaz/​latest/​netappfiles/​volume/​_create.py Adds LDAP type and oplock creation options.
aaz/​latest/​netappfiles/​volume/​_break_file_locks.py Advances file-lock breaking API version.
aaz/​latest/​netappfiles/​volume_group/​_wait.py Updates polling API and nested volume fields.
aaz/​latest/​netappfiles/​volume_group/​_update.py Adds nested oplocks; removes subvolume option.
aaz/​latest/​netappfiles/​volume_group/​_show.py Updates API and nested volume fields.
aaz/​latest/​netappfiles/​volume_group/​_list.py Advances volume-group list API version.
aaz/​latest/​netappfiles/​volume_group/​_delete.py Advances volume-group deletion API version.
aaz/​latest/​netappfiles/​volume_group/​_create.py Adds nested LDAP/oplock options; removes subvolumes.
aaz/​latest/​netappfiles/​usage/​_show.py Advances usage-show API version.
aaz/​latest/​netappfiles/​usage/​_list.py Advances usage-list API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_wait.py Advances snapshot-policy polling API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_volumes.py Updates API and associated-volume schema.
aaz/​latest/​netappfiles/​snapshot/​policy/​_update.py Advances snapshot-policy update API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_show.py Advances snapshot-policy show API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_list.py Advances snapshot-policy list API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_delete.py Advances snapshot-policy deletion API version.
aaz/​latest/​netappfiles/​snapshot/​policy/​_create.py Advances snapshot-policy creation API version.
aaz/​latest/​netappfiles/​snapshot/​_wait.py Advances snapshot polling API version.
aaz/​latest/​netappfiles/​snapshot/​_update.py Advances snapshot update API version.
aaz/​latest/​netappfiles/​snapshot/​_show.py Advances snapshot show API version.
aaz/​latest/​netappfiles/​snapshot/​_restore_files.py Advances snapshot file-restore API version.
aaz/​latest/​netappfiles/​snapshot/​_list.py Advances snapshot list API version.
aaz/​latest/​netappfiles/​snapshot/​_delete.py Advances snapshot deletion API version.
aaz/​latest/​netappfiles/​snapshot/​_create.py Advances snapshot creation API version.
aaz/​latest/​netappfiles/​resource/​region_info/​default/​_show.py Advances default region-info API version.
aaz/​latest/​netappfiles/​resource/​region_info/​_list.py Advances region-info list API version.
aaz/​latest/​netappfiles/​resource/​_query_region_info.py Advances region-info query API version.
aaz/​latest/​netappfiles/​quota_limit/​_show.py Advances quota-limit show API version.
aaz/​latest/​netappfiles/​quota_limit/​_list.py Advances quota-limit list API version.
aaz/​latest/​netappfiles/​pool/​_wait.py Advances pool polling API version.
aaz/​latest/​netappfiles/​pool/​_update.py Advances pool update API version.
aaz/​latest/​netappfiles/​pool/​_show.py Advances pool show API version.
aaz/​latest/​netappfiles/​pool/​_list.py Advances pool list API version.
aaz/​latest/​netappfiles/​pool/​_delete.py Advances pool deletion API version.
aaz/​latest/​netappfiles/​pool/​_create.py Advances pool creation API version.
aaz/​latest/​netappfiles/​cache/​_wait.py Updates API and exposes oplocks in polling schema.
aaz/​latest/​netappfiles/​cache/​_update.py Adds cache oplock updates and advances API.
aaz/​latest/​netappfiles/​cache/​_show.py Updates API and exposes cache oplocks.
aaz/​latest/​netappfiles/​cache/​_reset_smb_password.py Updates API and oplock response field.
aaz/​latest/​netappfiles/​cache/​_pool_change.py Updates API and oplock response field.
aaz/​latest/​netappfiles/​cache/​_list.py Updates API and exposes cache oplocks.
aaz/​latest/​netappfiles/​cache/​_list_peering_passphrase.py Advances peering-passphrase API version.
aaz/​latest/​netappfiles/​cache/​_delete.py Advances cache deletion API version.
aaz/​latest/​netappfiles/​cache/​_create.py Adds oplocks and normalizes OpenLdap enum casing.
aaz/​latest/​netappfiles/​account/​quota_limit/​_show.py Advances account quota-show API version.
aaz/​latest/​netappfiles/​account/​quota_limit/​_list.py Advances account quota-list API version.
aaz/​latest/​netappfiles/​account/​ldap_configuration/​_wait.py Advances LDAP configuration polling API.
aaz/​latest/​netappfiles/​account/​ldap_configuration/​_update.py Advances LDAP configuration update API.
aaz/​latest/​netappfiles/​account/​ldap_configuration/​_show.py Advances LDAP configuration show API.
aaz/​latest/​netappfiles/​account/​ldap_configuration/​_delete.py Advances LDAP configuration deletion API.
aaz/​latest/​netappfiles/​account/​ldap_configuration/​_create.py Advances LDAP configuration creation API.
aaz/​latest/​netappfiles/​account/​identity/​_wait.py Advances identity polling API version.
aaz/​latest/​netappfiles/​account/​identity/​_show.py Advances identity-show API version.
aaz/​latest/​netappfiles/​account/​identity/​_remove.py Advances identity-removal API version.
aaz/​latest/​netappfiles/​account/​identity/​_assign.py Advances identity-assignment API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_wait.py Advances backup polling API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_update.py Advances backup update API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_show.py Advances backup show API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_restore_file.py Advances backup file-restore API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_list.py Advances backup list API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_delete.py Advances backup deletion API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​backup/​_create.py Advances backup creation API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_wait.py Advances backup-vault polling API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_update.py Advances backup-vault update API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_show.py Advances backup-vault show API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_list.py Advances backup-vault list API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_delete.py Advances backup-vault deletion API version.
aaz/​latest/​netappfiles/​account/​backup_vault/​_create.py Advances backup-vault creation API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_wait.py Advances backup-policy polling API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_update.py Advances backup-policy update API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_show.py Advances backup-policy show API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_list.py Advances backup-policy list API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_delete.py Advances backup-policy deletion API version.
aaz/​latest/​netappfiles/​account/​backup_policy/​_create.py Advances backup-policy creation API version.
aaz/​latest/​netappfiles/​account/​ad/​_wait.py Advances Active Directory polling API.
aaz/​latest/​netappfiles/​account/​ad/​_update.py Advances Active Directory update API.
aaz/​latest/​netappfiles/​account/​ad/​_show.py Advances Active Directory show API.
aaz/​latest/​netappfiles/​account/​ad/​_remove.py Advances Active Directory removal API.
aaz/​latest/​netappfiles/​account/​ad/​_list.py Advances Active Directory list API.
aaz/​latest/​netappfiles/​account/​ad/​_add.py Advances Active Directory add API.
aaz/​latest/​netappfiles/​account/​_wait.py Advances account polling API version.
aaz/​latest/​netappfiles/​account/​_update.py Advances account update API version.
aaz/​latest/​netappfiles/​account/​_transitiontocmk.py Advances customer-managed-key transition API.
aaz/​latest/​netappfiles/​account/​_show.py Advances account show API version.
aaz/​latest/​netappfiles/​account/​_renew_credentials.py Advances credential-renewal API version.
aaz/​latest/​netappfiles/​account/​_refresh_ldap_bind_password.py Advances LDAP password-refresh API version.
aaz/​latest/​netappfiles/​account/​_migrate_backup.py Advances account backup-migration API version.
aaz/​latest/​netappfiles/​account/​_list.py Advances both account-list API routes.
aaz/​latest/​netappfiles/​account/​_get_key_vault_status.py Advances Key Vault status API version.
aaz/​latest/​netappfiles/​account/​_delete.py Advances account deletion API version.
aaz/​latest/​netappfiles/​account/​_create.py Advances account creation API version.
aaz/​latest/​netappfiles/​account/​_change_key_vault.py Advances Key Vault change API version.
aaz/​latest/​netappfiles/​_update_network_sibling_set.py Advances network sibling-set update API.
aaz/​latest/​netappfiles/​_query_network_sibling_set.py Advances network sibling-set query API.
aaz/​latest/​netappfiles/​_check_quota_availability.py Advances quota-availability API version.
aaz/​latest/​netappfiles/​_check_name_availability.py Advances name-availability API version.
aaz/​latest/​netappfiles/​_check_file_path_availability.py Advances file-path availability API version.

Review effort: Balanced

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@hnsunil

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 34474 in repo Azure/azure-cli

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@xuming-ms

Copy link
Copy Markdown
Contributor

You need to link the aaz PR here — please add aaz https://github.com/Azure/aaz/pull/1177 to this PR's description.

@xuming-ms
xuming-ms merged commit 8f70d8c into Azure:dev Nov 23, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants