Skip to content

Commit c0975ff

Browse files
Merge pull request #39411 from sjwaight/patch-8
Update SAS date, fix job schema
2 parents b8291d7 + b5c2f89 commit c0975ff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/batch/tutorial-rendering-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,20 +164,20 @@ az storage container create \
164164
--name job-myrenderjob
165165
```
166166

167-
To write output files to the container, Batch needs to use a Shared Access Signature (SAS) token. Create the token with the [az storage account generate-sas](/cli/azure/storage/account#az-storage-account-generate-sas) command. This example creates a token to write to any blob container in the account, and the token expires on November 15, 2018:
167+
To write output files to the container, Batch needs to use a Shared Access Signature (SAS) token. Create the token with the [az storage account generate-sas](/cli/azure/storage/account#az-storage-account-generate-sas) command. This example creates a token to write to any blob container in the account, and the token expires on November 15, 2020:
168168

169169
```azurecli-interactive
170170
az storage account generate-sas \
171171
--permissions w \
172172
--resource-types co \
173173
--services b \
174-
--expiry 2019-11-15
174+
--expiry 2020-11-15
175175
```
176176

177177
Take note of the token returned by the command, which looks similar to the following. You use this token in a later step.
178178

179179
```
180-
se=2018-11-15&sp=rw&sv=2017-04-17&ss=b&srt=co&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
180+
se=2020-11-15&sp=rw&sv=2019-09-24&ss=b&srt=co&sig=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
181181
```
182182

183183
## Render a single-frame scene
@@ -213,7 +213,7 @@ Modify the `blobSource` and `containerURL` elements in the JSON file so that the
213213
"commandLine": "cmd /c \"%3DSMAX_2018%3dsmaxcmdio.exe -secure off -v:5 -rfw:0 -start:1 -end:1 -outputName:\"dragon.jpg\" -w 400 -h 300 MotionBlur-DragonFlying.max\"",
214214
"resourceFiles": [
215215
{
216-
"blobSource": "https://mystorageaccount.blob.core.windows.net/scenefiles/MotionBlur-DragonFlying.max",
216+
"httpUrl": "https://mystorageaccount.blob.core.windows.net/scenefiles/MotionBlur-DragonFlying.max",
217217
"filePath": "MotionBlur-DragonFlying.max"
218218
}
219219
],

0 commit comments

Comments
 (0)