You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/remote-rendering/samples/powershell-example-scripts.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,15 +85,17 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
85
85
### accountSettings
86
86
87
87
For `arrAccountId` and `arrAccountKey`, see [Create an Azure Remote Rendering account](../how-tos/create-an-account.md).
88
-
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md), except if you are running on a non-public Azure region, whereas you have to specify the full url to the account authentication service in your region.
88
+
The `arrAccountDomain` should be a region from [list of available regions](../reference/regions.md). If you're running on a nonpublic Azure region, you have to specify the full url to the account authentication service in your region.
89
89
90
90
### renderingSessionSettings
91
91
92
92
This structure must be filled out if you want to run **RenderingSession.ps1**:
93
93
94
94
-**vmSize:** Selects the size of the virtual machine. Select [*standard*](../reference/vm-sizes.md) or [*premium*](../reference/vm-sizes.md). Shut down rendering sessions when you don't need them anymore.
95
-
-**maxLeaseTime:** The duration for which you want to lease the VM. It will be shut down when the lease expires. The lease time can be extended later (see below).
96
-
-**remoteRenderingDomain:** The region where the remote rendering VM will be setup in. Can differ from the arrAccountDomain, but still should be a region from [list of available regions](../reference/regions.md), except if you are running on a non-public Azure region, whereas you have to specify the full url to the remote rendering service in your region.
95
+
-**maxLeaseTime:** The duration for which you want to lease the VM. The VM shuts down when the lease expires. The lease time can be extended later (see [here](#change-session-properties)).
96
+
-**remoteRenderingDomain:** The region where the remote rendering VM resides in.
97
+
- Can differ from the arrAccountDomain, but still should be a region from [list of available regions](../reference/regions.md)
98
+
- If you're running on a nonpublic Azure region, you have to specify the full url to the remote rendering service in your region.
97
99
98
100
### assetConversionSettings
99
101
@@ -116,7 +118,7 @@ Normal usage with a fully filled out arrconfig.json:
116
118
.\RenderingSession.ps1
117
119
```
118
120
119
-
The script will call the [session management REST API](../how-tos/session-rest-api.md) to spin up a rendering VM with the specified settings. On success, it will retrieve the *sessionId*. Then it will poll the session properties until the session is ready or an error occurred.
121
+
The script calls the [session management REST API](../how-tos/session-rest-api.md) to spin up a rendering VM with the specified settings. On success, it retrieves the *sessionId*. Afterwards it polls the session properties until the session is ready or an error occurred.
120
122
121
123
To use an **alternative config** file:
122
124
@@ -193,7 +195,7 @@ Using a linked storage account is the preferred way to use the conversion servic
193
195
.\Conversion.ps1
194
196
```
195
197
196
-
1. Upload all files contained in the `assetConversionSettings.modelLocation` to the input blob container under the given `inputFolderPath`..
198
+
1. Upload all files contained in the `assetConversionSettings.modelLocation` to the input blob container under the given `inputFolderPath`.
197
199
1. Call the [model conversion REST API](../how-tos/conversion/conversion-rest-api.md) to kick off the [model conversion](../how-tos/conversion/model-conversion.md)
198
200
1. Poll the conversion status until the conversion succeeded or failed.
199
201
1. Output details of the converted file location (storage account, output container, file path in the container).
@@ -244,7 +246,7 @@ You can **override individual settings** from the config file using the followin
244
246
***OutputFolderPath:** override for the outputFolderPath of assetConversionSettings
245
247
***OutputAssetFileName:** override for outputAssetFileName of assetConversionSettings
246
248
247
-
For example you can combine a number of the given options like this:
249
+
For example you can combine the given options like this:
0 commit comments