Skip to content

Conversation

@alkabharathy
Copy link

Added the below line

#Name of the location where snapshot will be copied to location=locationName

Updated the location parameter

az snapshot create --resource-group $targetResourceGroupName --name $snapshotName --location $location --source $snapshotId --sku Standard_LRS

Description

Checklist

  • Scripts in this pull request are written for the bash shell.
  • This pull request was tested on at least one of the following platforms:
    • Linux
    • Azure Cloud Shell
    • macOS
    • Windows Subsystem for Linux
  • The most recent test date and test method are recorded in the script file.
  • Scripts do not contain passwords or other secret tokens that are not randomized.
  • No deprecated commands or arguments are used. (Release notes)
  • All Azure resource identifiers which must be universally unique are guaranteed to be so.
  • Resource names use a random function to ensure scripts can be run multiple times in quick succession without error.
  • All scripts can be run in their entirely without user input.

Testing information

CLI version:

az --version

Extensions required:

Added the below line

#Name of the location where snapshot will be copied to
location=locationName

Updated the location parameter

az snapshot create --resource-group $targetResourceGroupName --name $snapshotName --location $location --source $snapshotId --sku Standard_LRS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant