Skip to content

Fix variable assignment syntax in sample az cli commands for azure storage immutability policy #127476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AbhishekKrishna123
Copy link

@AbhishekKrishna123 AbhishekKrishna123 commented Aug 6, 2025

Removed leading $ to fix the incorrect $etag=$(something) bash variable assignment syntax

Copy link
Contributor

@AbhishekKrishna123 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@AbhishekKrishna123 AbhishekKrishna123 changed the title Fix variable assignment syntax in sample az cli commands Fix variable assignment syntax in sample az cli commands for azure storage immutability policy Aug 6, 2025
Copy link
Contributor

Learn Build status updates of commit 57abfc3:

✅ Validation status: passed

File Status Preview URL Details
articles/storage/blobs/immutable-policy-configure-container-scope.md ✅Succeeded

For more details, please refer to the build report.

@v-dirichards
Copy link
Contributor

@normesta

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Aug 6, 2025
@AbhishekKrishna123
Copy link
Author

@normesta Looks like the document was written with AZ CLI in mind running on Powershell. I just assumed it was intended for bash. This command work on pwsh, and isn't wrong. I can close this PR if all commands we have in the docs for az cli are intended to be run on Powershell and not bash.

I see there is dedicated document explaining the differences in the environment.
https://learn.microsoft.com/en-us/cli/azure/get-started-tutorial-2-environment-syntax?view=azure-cli-latest&tabs=Bash

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.

3 participants