Skip to content

Commit 1de028e

Browse files
committed
validation fixes
1 parent 20585ed commit 1de028e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/marketplace/azure-vm-get-sas-uri.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ To extract the VHD from your VM, you need to first take a snapshot of your VM di
3030

3131
Take a snapshot of your VM disk:
3232

33-
1. Sign in to the [Azure portal](http://www.portal.azure.com/).
33+
1. Sign in to the [Azure portal](https://www.portal.azure.com/).
3434
1. Select **Create a resource**, then search for and select **Snapshot**.
3535
1. In the Snapshot blade, select **Create**.
3636
1. Select the **Subscription**. Select an existing resource group within the selected subscription or **Create new** and enter the name for a new resource group to be created. This is the resource group the snapshot will be associated to.
@@ -83,7 +83,7 @@ This script about uses the following commands to generate the SAS URI for a snap
8383
|Command |Notes |
8484
|---------|---------|
8585
| az disk grant-access | Generates read-only SAS that is used to copy the underlying VHD file to a storage account or download it to on-premises. |
86-
| az storage blob copy start | Copies a blob asynchronously from one storage account to another. Use [az storage blob show](/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-show) to check the status of the new blob. |
86+
| az storage blob copy start | Copies a blob asynchronously from one storage account to another. Use [az storage blob show](/cli/azure/storage/blob#az-storage-blob-show) to check the status of the new blob. |
8787

8888
## Generate the SAS URI
8989

@@ -117,11 +117,13 @@ There are two common tools used to create a SAS address (URI):
117117
118118
Before running the command above, remember to insert the following parameter values.
119119
120-
- account-name – Your Azure storage account name.
121-
- account-key – Your Azure storage account key.
122-
- container-name – Your blob container that hosts the VHD file.
123-
- start-date – This is the permission start date for VHD access. Provide a date one day before the current date. For example, if the current date is July 15, 2022, set the date as 07/14/2022. Provide dates in UTC date/time format (YYYY-MM-DDT00:00:00Z), such as 2022-04-01T00:00:00Z.
124-
- expiry-date – This is the permission expiration date for VHD access. Provide a date at least three weeks after the current date. Provide dates in UTC date/time format (YYYY-MM-DDT00:00:00Z), such as 2022-04-01T00:00:00Z.
120+
| Parameter value | Description |
121+
| --------------- | ----------- |
122+
| account-name | Your Azure storage account name. |
123+
| account-key | Your Azure storage account key. |
124+
| container-name | Your blob container that hosts the VHD file. |
125+
| start-date | This is the permission start date for VHD access. Provide a date one day before the current date. For example, if the current date is July 15, 2022, set the date as 07/14/2022. Provide dates in UTC date/time format (YYYY-MM-DDT00:00:00Z), such as 2022-04-01T00:00:00Z. |
126+
| expiry-date | This is the permission expiration date for VHD access. Provide a date at least three weeks after the current date. Provide dates in UTC date/time format (YYYY-MM-DDT00:00:00Z), such as 2022-04-01T00:00:00Z. |
125127
126128
[![creation of a SAS connection string within the PowerShell editor](media/vm/create-sas-uri-power-shell-ise.png)](media/vm/create-sas-uri-power-shell-ise.png#lightbox)
127129

0 commit comments

Comments
 (0)