Skip to content

Commit 13af766

Browse files
committed
Minor fixes
1 parent 1de028e commit 13af766

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

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

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -115,22 +115,22 @@ There are two common tools used to create a SAS address (URI):
115115
az storage container generate-sas --connection-string 'DefaultEndpointsProtocol=https;AccountName=<account-name>;AccountKey=<account-key>;EndpointSuffix=core.windows.net' --name <container-name> --permissions r --start '<start-date>' --expiry '<expiry-date>'
116116
```
117117
118-
Before running the command above, remember to insert the following parameter values.
119-
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. |
127-
128-
[![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)
129-
130-
6. 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.
131-
7. In the Azure portal, go to the blob container that includes the VHD associated with the new URI.
132-
8. Copy the URL of the blob service endpoint.
133-
9. Edit the text file with the SAS connection string from step 2. Create the complete SAS URI using this format. Be sure to insert a “?” between the endpoint URL and the connection string.
118+
Before running the command above, remember to insert the following parameter values.
119+
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. |
127+
128+
[![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)
129+
130+
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.
131+
1. In the Azure portal, go to the blob container that includes the VHD associated with the new URI.
132+
1. Copy the URL of the blob service endpoint.
133+
1. Edit the text file with the SAS connection string from step 2. Create the complete SAS URI using this format. Be sure to insert a “?” between the endpoint URL and the connection string.
134134
135135
`<blob-service-endpoint-url>?<sas-connection-string>`
136136

0 commit comments

Comments
 (0)