azure-cli
azure-cli copied to clipboard
{NetAppFiles} Feature netapp add 2023 05 01
Related command
az netappfiles
Description
Adding support for Azure NetApp Files api-version 2023-05-01.
Note this migrates the netappfiles module to code generation with customization for backwards compatibility.
Testing Guide
History Notes
[NetAppFiles] BREAKING CHANGE: az netappfiles
: All delete commands not requre confirmation as per Azure CLI convention
[NetAppFiles] az netappfiles check-file-path-availability
: Add new command to check if a file path is available
[NetAppFiles] az netappfiles check-name-availability
: Add new command to check if a resource name is available
[NetAppFiles] az netappfiles check-quota-availability
: Add new command to check if a quota is available
[NetAppFiles] az netappfiles query-network-sibling-set
: Add new command to describe a network sibling set
[NetAppFiles] az netappfiles update-network-sibling-set
: Add new command to Update the network features of a network sibling set
[NetAppFiles] az netappfiles quota-limit
: Add new command group to mange quota limits
[NetAppFiles] az netappfiles volume populate-availability-zone
: Add new command to populate availability zone information for a volume
[NetAppFiles] az netappfiles volume replication re-initialize
: Add new command to Re-establish a previously deleted replication between 2 volumes that have a common ad-hoc or policy-based snapshots
This checklist is used to make sure that common guidelines for a pull request are followed.
-
[x] The PR title and description has followed the guideline in Submitting Pull Requests.
-
[x] I adhere to the Command Guidelines.
-
[x] I adhere to the Error Handling Guidelines.
️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.11
️✔️3.9
️✔️ams
️✔️latest
️✔️3.11
️✔️3.9
️✔️apim
️✔️latest
️✔️3.11
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.11
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️aro
️✔️latest
️✔️3.11
️✔️3.9
️✔️backup
️✔️latest
️✔️3.11
️✔️3.9
️✔️batch
️✔️latest
️✔️3.11
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.11
️✔️3.9
️✔️billing
️✔️latest
️✔️3.11
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.11
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.11
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.11
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️config
️✔️latest
️✔️3.11
️✔️3.9
️✔️configure
️✔️latest
️✔️3.11
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.11
️✔️3.9
️✔️container
️✔️latest
️✔️3.11
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.11
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.11
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️dla
️✔️latest
️✔️3.11
️✔️3.9
️✔️dls
️✔️latest
️✔️3.11
️✔️3.9
️✔️dms
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.11
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.11
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.11
️✔️3.9
️✔️find
️✔️latest
️✔️3.11
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.11
️✔️3.9
️✔️identity
️✔️latest
️✔️3.11
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️kusto
️✔️latest
️✔️3.11
️✔️3.9
️✔️lab
️✔️latest
️✔️3.11
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.11
️✔️3.9
️✔️maps
️✔️latest
️✔️3.11
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.11
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.11
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.11
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.11
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.11
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.11
️✔️3.9
️✔️profile
️✔️latest
️✔️3.11
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.11
️✔️3.9
️✔️redis
️✔️latest
️✔️3.11
️✔️3.9
️✔️relay
️✔️latest
️✔️3.11
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️role
️✔️latest
️✔️3.11
️✔️3.9
️✔️search
️✔️latest
️✔️3.11
️✔️3.9
️✔️security
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.11
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.11
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.11
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.11
️✔️3.9
️✔️sql
️✔️latest
️✔️3.11
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.11
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.11
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
️✔️util
️✔️latest
️✔️3.11
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.11
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.11
️✔️3.9
️✔️latest
️✔️3.11
️✔️3.9
❌AzureCLI-BreakingChangeTest
❌netappfiles
rule cmd_name rule_message suggest_message ❌ 1007 - ParaRemove netappfiles account ad add cmd netappfiles account ad add
removed parametergroup_dn
please add back parameter group_dn
for cmdnetappfiles account ad add
❌ 1007 - ParaRemove netappfiles account ad add cmd netappfiles account ad add
removed parametergroup_filter
please add back parameter group_filter
for cmdnetappfiles account ad add
❌ 1007 - ParaRemove netappfiles account ad add cmd netappfiles account ad add
removed parameteruser_dn
please add back parameter user_dn
for cmdnetappfiles account ad add
❌ 1007 - ParaRemove netappfiles account ad update cmd netappfiles account ad update
removed parameterencrypt_dc_conn
please add back parameter encrypt_dc_conn
for cmdnetappfiles account ad update
❌ 1007 - ParaRemove netappfiles account ad update cmd netappfiles account ad update
removed parametergroup_dn
please add back parameter group_dn
for cmdnetappfiles account ad update
❌ 1007 - ParaRemove netappfiles account ad update cmd netappfiles account ad update
removed parametergroup_filter
please add back parameter group_filter
for cmdnetappfiles account ad update
❌ 1007 - ParaRemove netappfiles account ad update cmd netappfiles account ad update
removed parameteruser_dn
please add back parameter user_dn
for cmdnetappfiles account ad update
❌ 1007 - ParaRemove netappfiles account backup-policy update cmd netappfiles account backup-policy update
removed parameterlocation
please add back parameter location
for cmdnetappfiles account backup-policy update
❌ 1007 - ParaRemove netappfiles account create cmd netappfiles account create
removed parameterencryption
please add back parameter encryption
for cmdnetappfiles account create
❌ 1010 - ParaPropUpdate netappfiles account renew-credentials cmd netappfiles account renew-credentials
update parameteraccount_name
: updated propertyoptions
from['--account-name', '--name', '-a', '-n']
to['--account-name', '-a']
please change property options
from['--account-name', '-a']
to['--account-name', '--name', '-a', '-n']
for parameteraccount_name
of cmdnetappfiles account renew-credentials
❌ 1007 - ParaRemove netappfiles account update cmd netappfiles account update
removed parameterencryption
please add back parameter encryption
for cmdnetappfiles account update
❌ 1007 - ParaRemove netappfiles snapshot policy update cmd netappfiles snapshot policy update
removed parameterno_wait
please add back parameter no_wait
for cmdnetappfiles snapshot policy update
❌ 1007 - ParaRemove netappfiles snapshot update cmd netappfiles snapshot update
removed parameterbody
please add back parameter body
for cmdnetappfiles snapshot update
❌ 1010 - ParaPropUpdate netappfiles volume backup create cmd netappfiles volume backup create
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup create
❌ 1010 - ParaPropUpdate netappfiles volume backup delete cmd netappfiles volume backup delete
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup delete
❌ 1010 - ParaPropUpdate netappfiles volume backup list cmd netappfiles volume backup list
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup list
❌ 1006 - ParaAdd netappfiles volume backup restore-files cmd netappfiles volume backup restore-files
added parameterfile_list
please remove parameter file_list
for cmdnetappfiles volume backup restore-files
❌ 1007 - ParaRemove netappfiles volume backup restore-files cmd netappfiles volume backup restore-files
removed parameterdestination_path
please add back parameter destination_path
for cmdnetappfiles volume backup restore-files
❌ 1007 - ParaRemove netappfiles volume backup restore-files cmd netappfiles volume backup restore-files
removed parameterfile_paths
please add back parameter file_paths
for cmdnetappfiles volume backup restore-files
❌ 1010 - ParaPropUpdate netappfiles volume backup restore-files cmd netappfiles volume backup restore-files
update parameterbackup_name
: updated propertyoptions
from['--backup-name', '-b']
to['--backup-name']
please change property options
from['--backup-name']
to['--backup-name', '-b']
for parameterbackup_name
of cmdnetappfiles volume backup restore-files
❌ 1010 - ParaPropUpdate netappfiles volume backup restore-files cmd netappfiles volume backup restore-files
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup restore-files
❌ 1010 - ParaPropUpdate netappfiles volume backup show cmd netappfiles volume backup show
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup show
❌ 1010 - ParaPropUpdate netappfiles volume backup status cmd netappfiles volume backup status
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup status
❌ 1010 - ParaPropUpdate netappfiles volume backup update cmd netappfiles volume backup update
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup update
❌ 1010 - ParaPropUpdate netappfiles volume backup wait cmd netappfiles volume backup wait
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-n', '-v']
please change property options
from['--volume-name', '-n', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume backup wait
❌ 1010 - ParaPropUpdate netappfiles volume break-file-locks cmd netappfiles volume break-file-locks
update parameterclient_ip
: updated propertyoptions
from['--client-ip', '-i']
to['--client-ip']
please change property options
from['--client-ip']
to['--client-ip', '-i']
for parameterclient_ip
of cmdnetappfiles volume break-file-locks
❌ 1010 - ParaPropUpdate netappfiles volume create cmd netappfiles volume create
update parametersmb_access_based_enumeration
: updated propertyoptions
from['--smb-access']
to['--smb-access-based-enumeration', '--smb-access-enumeration']
please change property options
from['--smb-access-based-enumeration', '--smb-access-enumeration']
to['--smb-access']
for parametersmb_access_based_enumeration
of cmdnetappfiles volume create
❌ 1010 - ParaPropUpdate netappfiles volume create cmd netappfiles volume create
update parametersmb_non_browsable
: updated propertyoptions
from['--smb-browsable']
to['--smb-non-browsable']
please change property options
from['--smb-non-browsable']
to['--smb-browsable']
for parametersmb_non_browsable
of cmdnetappfiles volume create
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5_r
please add back parameter kerberos5_r
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5_rw
please add back parameter kerberos5_rw
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5i_r
please add back parameter kerberos5i_r
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5i_rw
please add back parameter kerberos5i_rw
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5p_r
please add back parameter kerberos5p_r
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy add cmd netappfiles volume export-policy add
removed parameterkerberos5p_rw
please add back parameter kerberos5p_rw
for cmdnetappfiles volume export-policy add
❌ 1007 - ParaRemove netappfiles volume export-policy remove cmd netappfiles volume export-policy remove
removed parameterforce_string
please add back parameter force_string
for cmdnetappfiles volume export-policy remove
❌ 1007 - ParaRemove netappfiles volume export-policy remove cmd netappfiles volume export-policy remove
removed parameterproperties_to_add
please add back parameter properties_to_add
for cmdnetappfiles volume export-policy remove
❌ 1007 - ParaRemove netappfiles volume export-policy remove cmd netappfiles volume export-policy remove
removed parameterproperties_to_remove
please add back parameter properties_to_remove
for cmdnetappfiles volume export-policy remove
❌ 1007 - ParaRemove netappfiles volume export-policy remove cmd netappfiles volume export-policy remove
removed parameterproperties_to_set
please add back parameter properties_to_set
for cmdnetappfiles volume export-policy remove
❌ 1010 - ParaPropUpdate netappfiles volume get-groupid-list-for-ldapuser cmd netappfiles volume get-groupid-list-for-ldapuser
update parameterusername
: updated propertyoptions
from['--username', '-u']
to['--username']
please change property options
from['--username']
to['--username', '-u']
for parameterusername
of cmdnetappfiles volume get-groupid-list-for-ldapuser
❌ 1010 - ParaPropUpdate netappfiles volume quota-rule list cmd netappfiles volume quota-rule list
update parametervolume_name
: updated propertyoptions
from['--name', '--volume-name', '-n', '-v']
to['--volume-name', '-v']
please change property options
from['--volume-name', '-v']
to['--name', '--volume-name', '-n', '-v']
for parametervolume_name
of cmdnetappfiles volume quota-rule list
❌ 1007 - ParaRemove netappfiles volume quota-rule update cmd netappfiles volume quota-rule update
removed parameterquota_target
please add back parameter quota_target
for cmdnetappfiles volume quota-rule update
❌ 1007 - ParaRemove netappfiles volume quota-rule update cmd netappfiles volume quota-rule update
removed parameterquota_type
please add back parameter quota_type
for cmdnetappfiles volume quota-rule update
❌ 1007 - ParaRemove netappfiles volume relocate cmd netappfiles volume relocate
removed parameterbody
please add back parameter body
for cmdnetappfiles volume relocate
❌ 1010 - ParaPropUpdate netappfiles volume-group create cmd netappfiles volume-group create
update parametergp_rules
: updated propertyoptions
from['--global-placement-rules', '--gp-rules']
to['--gp-rules']
please change property options
from['--gp-rules']
to['--global-placement-rules', '--gp-rules']
for parametergp_rules
of cmdnetappfiles volume-group create
❌ 1010 - ParaPropUpdate netappfiles volume-group create cmd netappfiles volume-group create
update parametersubnet
: updated propertydefault
fromdefault
toDefault
please change property default
fromDefault
todefault
for parametersubnet
of cmdnetappfiles volume-group create
NetAppFiles
/azp run
Commenter does not have sufficient privileges for PR 27951 in repo Azure/azure-cli
@kairu-ms Not sure why piprline fails now, after reverting that change in networking.
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
/azp help
Supported commands
- help:
- Get descriptions, examples and documentation about supported commands
- Example: help "command_name"
- list:
- List all pipelines for this repository using a comment.
- Example: "list"
- run:
- Run all pipelines or specific pipelines for this repository using a comment. Use this command by itself to trigger all related pipelines, or specify specific pipelines to run.
- Example: "run" or "run pipeline_name, pipeline_name, pipeline_name"
- where:
- Report back the Azure DevOps orgs that are related to this repository and org
- Example: "where"
See additional documentation.
/azp list
CI/CD Pipelines for this repository:
/azp run
Commenter does not have sufficient privileges for PR 27951 in repo Azure/azure-cli
/azp run Azure.azure-cli Breaking Change Test
Azure Pipelines successfully started running 1 pipeline(s).
@kairu-ms updated
Please add tests for the new commands.
BTW, your PR removed the command group az netappfiles account backup
. It's a breaking change. You can do that only in the breaking change window. Do you want to postpone to breaking change release, which is around March 2024.
BTW, your PR removed the command group
az netappfiles account backup
. It's a breaking change. You can do that only in the breaking change window. Do you want to postpone to breaking change release, which is around March 2024.
That is too long for this release. The issue is a bit tricky since the APIs were removed to be replaced by new APIs in a preview api-version. Those are supperted in out extension netappfiles-preview.
Is there a way to work around this by adding those commands while using the older api-version even if this version is all generated to 2023-05-01? Perhaps use the old commands and SDK?
BTW, your PR removed the command group
az netappfiles account backup
. It's a breaking change. You can do that only in the breaking change window. Do you want to postpone to breaking change release, which is around March 2024.
@kairu-ms We added support for backup command group using older api version for backwards compatability.
@kairu-ms can we move this along now ?
@audunn, If you want to release the changes in this PR immediately in a new version, you need update the version and history notes as well.
@audunn, If you want to release the changes in this PR immediately in a new version, you need update the version and history notes as well.
Hi @jsntcy, history notes are in the pr description, should they be somewhere else as well? Also as this is our first generated version of the main NetApp Files modules I am unsure where do we update the version?
@jsntcy can we move this along?
@kairu-ms @necusjz can we move this along?
@audunn could you please provide the pr link in aaz repo?
/azp run
Azure Pipelines successfully started running 3 pipeline(s).
@audunn could you please provide the pr link in aaz repo?
@necusjz https://github.com/Azure/aaz/pull/424