Skip to content

Commit

Permalink
fix using --ids in documentation (#4329)
Browse files Browse the repository at this point in the history
  • Loading branch information
HatemAlSum authored and tjprescott committed Sep 5, 2017
1 parent 8e62103 commit 56a9a39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
short-summary: Returns storage account properties
examples:
- name: Show properties for a storage account using one or more resource ID.
text: az storage account show --ids ${storage_account_resource_id}
text: az storage account show --ids $(storage_account_resource_id)
- name: Show properties for a storage account using an account name and resource group.
text: az storage account show -g MyResourceGroup -n MyStorageAccount
"""
Expand All @@ -116,7 +116,7 @@
short-summary: Deletes a storage account.
examples:
- name: Delete a storage account using one or more resource ID.
text: az storage account delete --ids ${storage_account_resource_id}
text: az storage account delete --ids $(storage_account_resource_id)
- name: Delete a storage account using an account name and resource group.
text: az storage account delete -n MyStorageAccount -g MyResourceGroup
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -777,9 +777,9 @@
- name: The process to deallocate, generalize, and capture multiple stopped virtual machines.
text: >
vms_ids=$(az vm list -g MyResourceGroup --query "[].id" -o tsv)\n\r
az vm deallocate --ids ${vms_ids}\n\r
az vm generalize --ids ${vms_ids}\n\r
az vm capture --ids ${vms_ids} --vhd-name-prefix MyPrefix\n\r
az vm deallocate --ids $(vms_ids)\n\r
az vm generalize --ids $(vms_ids)\n\r
az vm capture --ids $(vms_ids) --vhd-name-prefix MyPrefix\n\r
"""

helps['vm capture'] = """
Expand Down

0 comments on commit 56a9a39

Please sign in to comment.