Skip to content

Commit e42c49d

Browse files
committed
Final changes from Amanda Hindman
1 parent ed24875 commit e42c49d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.subservice: partnercenter-marketplace-publisher
66
ms.topic: how-to
77
ms.author: amhindma
88
author: amhindma
9-
ms.date: 08/17/2022
9+
ms.date: 08/16/2022
1010
---
1111

1212
# Generate a SAS URI for a VM image
@@ -77,7 +77,7 @@ sas=$(az snapshot grant-access --resource-group $resourceGroupName --name $snaps
7777
az storage blob copy start --destination-blob $destinationVHDFileName --destination-container $storageContainerName --account-name $storageAccountName --account-key $storageAccountKey --source-uri $sas
7878
```
7979

80-
This script about uses the following commands to generate the SAS URI for a snapshot and copies the underlying VHD to a storage account using the SAS URI.
80+
This script above uses the following commands to generate the SAS URI for a snapshot and copies the underlying VHD to a storage account using the SAS URI.
8181

8282
|Command |Notes |
8383
|---------|---------|
@@ -124,8 +124,6 @@ There are two common tools used to create a SAS address (URI):
124124
| 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. |
125125
| 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. |
126126
127-
[![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)
128-
129127
1. Copy the SAS connection string and save it to a text file in a secure location. Edit this string to add the VHD location information to create the final SAS URI.
130128
1. In the Azure portal, go to the blob container that includes the VHD associated with the new URI.
131129
1. Copy the URL of the blob service endpoint.

0 commit comments

Comments
 (0)