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
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,9 +55,10 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
55
55
"accountSettings": {
56
56
"arrAccountId": "<fill in the account ID from the Azure Portal>",
57
57
"arrAccountKey": "<fill in the account key from the Azure Portal>",
58
-
"region": "<select from available regions>"
58
+
"arrAccountDomain": "<select from available regions or specify the full url>"
59
59
},
60
60
"renderingSessionSettings": {
61
+
"remoteRenderingDomain": "<select from available regions or specify the full url>",
61
62
"vmSize": "<select standard or premium>",
62
63
"maxLeaseTime": "<hh:mm:ss>"
63
64
},
@@ -84,14 +85,15 @@ Next to the `.ps1` files there's an `arrconfig.json` that you need to fill out:
84
85
### accountSettings
85
86
86
87
For `arrAccountId` and `arrAccountKey`, see [Create an Azure Remote Rendering account](../how-tos/create-an-account.md).
87
-
For `region` see the [list of available regions](../reference/regions.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
89
89
90
### renderingSessionSettings
90
91
91
92
This structure must be filled out if you want to run **RenderingSession.ps1**:
92
93
93
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.
94
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
97
96
98
### assetConversionSettings
97
99
@@ -125,7 +127,7 @@ To use an **alternative config** file:
125
127
You can **override individual settings** from the config file:
To only **start a session without polling**, you can use:
@@ -174,7 +176,7 @@ At the moment, we only support changing the maxLeaseTime of a session.
174
176
This script is used to convert input models into the Azure Remote Rendering specific runtime format.
175
177
176
178
> [!IMPORTANT]
177
-
> Make sure you have filled out the *accountSettings* and *assetConversionSettings* sections in arrconfig.json.
179
+
> Make sure you have filled out the *accountSettings* and *assetConversionSettings* sections, and the *remoteRenderingDomain* option in the *renderingSessionSettings* in arrconfig.json.
178
180
179
181
The script demonstrates the two options to use storage accounts with the service:
180
182
@@ -231,7 +233,8 @@ You can **override individual settings** from the config file using the followin
231
233
***Id:** ConversionId used with GetConversionStatus
232
234
***ArrAccountId:** arrAccountId of accountSettings
233
235
***ArrAccountKey:** override for arrAccountKey of accountSettings
234
-
***Region:** override for region of accountSettings
236
+
***ArrAccountDomain:** override for arrAccountDomain of accountSettings
237
+
***RemoteRenderingDomain:** override for remoteRenderingDomain of renderingSessionSettings
235
238
***ResourceGroup:** override for resourceGroup of assetConversionSettings
236
239
***StorageAccountName:** override for storageAccountName of assetConversionSettings
237
240
***BlobInputContainerName:** override for blobInputContainer of assetConversionSettings
0 commit comments