Skip to content

Commit

Permalink
{Storage} az storage file copy start: add examples for snapshot #12410
Browse files Browse the repository at this point in the history
  • Loading branch information
Juliehzl authored Mar 3, 2020
1 parent f62b257 commit 29d381e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/azure-cli/azure/cli/command_modules/storage/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,9 @@
- name: Copy a file asynchronously from source uri to destination storage account with sas token.
text: |
az storage file copy start --source-uri "https://srcaccount.file.core.windows.net/myshare/mydir/myfile?<sastoken>" --destination-path <destpath-to-file> --destination-share destshare --account-name destaccount --sas-token <destinaition-sas>
- name: Copy a file asynchronously from file snapshot to destination storage account with sas token.
text: |
az storage file copy start --source-account-name srcaccount --source-account-key 00000000 --source-path <srcpath-to-file> --source-share srcshare --file-snapshot "2020-03-02T13:51:54.0000000Z" --destination-path <destpath-to-file> --destination-share destshare --account-name destaccount --sas-token <destinaition-sas>
"""

helps['storage file copy start-batch'] = """
Expand Down

0 comments on commit 29d381e

Please sign in to comment.