[Storage] `az storage blob upload`: make --name optional
Description
Previously, the --name parameter is required even when the file path has been passed. For customers' convenience, it can be optional. This PR is to match #19553 in the main repo.
Testing Guide
Previously -n is required
az storage blob upload -f {file-path} -c {container-name} -n {blob-name}
Now the name would be inferred from the file-path
az storage blob upload -f {file-path} -c {container-name}
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
- [ ] Have you run
azdev style <YOUR_EXT>locally? (pip install azdevrequired) - [ ] Have you run
python scripts/ci/test_index.py -qlocally?
For new extensions:
- [ ] My extension description/summary conforms to the Extension Summary Guidelines.
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.
Storage