Skip to content

Commit 4b16e32

Browse files
{Storage} az storage container create: Add example for creating container in PartitionedDNS enabled storage account (#30884)
* Update _help.py Adding Azure CLI command to create a container inside PartitionedDNS enabled Storage Account * Update src/azure-cli/azure/cli/command_modules/storage/_help.py --------- Co-authored-by: Zhiyi Huang <[email protected]>
1 parent 6b754df commit 4b16e32

File tree

1 file changed

+2
-0
lines changed
  • src/azure-cli/azure/cli/command_modules/storage

1 file changed

+2
-0
lines changed

src/azure-cli/azure/cli/command_modules/storage/_help.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,8 @@
14621462
text: az storage container create -n mystoragecontainer --fail-on-exist
14631463
- name: Create a storage container in a storage account and allow public read access for blobs.
14641464
text: az storage container create -n mystoragecontainer --public-access blob
1465+
- name: Create a storage container in a PartitionedDNS enabled storage account.
1466+
text: az storage container create --account-name mystorageaccount --name mystoragecontainer --account-key "enter-your-storage_account-key" --blob-endpoint "https://mystorageaccount.z3.blob.storage.azure.net/"
14651467
"""
14661468

14671469
helps['storage container delete'] = """

0 commit comments

Comments
 (0)