-
Notifications
You must be signed in to change notification settings - Fork 0
/
new-app-pool.json
81 lines (81 loc) · 2.51 KB
/
new-app-pool.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"id": "cyberpool-4",
"displayName": "cyberbit like pool",
"url": "https://mybatch.westeurope.batch.azure.com/pools/cyberpool-4",
"eTag": "0x8D5AE13E45DB4AD",
"lastModified": "2018-04-29T20:58:00.175Z",
"creationTime": "2018-04-29T16:28:11.089Z",
"state": "active",
"stateTransitionTime": "2018-04-29T16:28:11.089Z",
"allocationState": "resizing",
"allocationStateTransitionTime": "2018-04-29T20:58:00.175Z",
"vmSize": "standard_a2m_v2",
"virtualMachineConfiguration": {
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"nodeAgentSKUId": "batch.node.windows amd64"
},
"resizeTimeout": "PT15M",
"currentDedicatedNodes": 1,
"currentLowPriorityNodes": 0,
"targetDedicatedNodes": 0,
"targetLowPriorityNodes": 0,
"enableAutoScale": false,
"enableInterNodeCommunication": false,
"startTask": {
"commandLine": "cmd /c @\"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Azure/batch-insights/master/windows.ps1')) ; cmd /c \"powershell.exe -file %AZ_BATCH_APP_PACKAGE_REBOOTNODE%\\AddInstallAppTask.ps1\"",
"resourceFiles": [],
"environmentSettings": [
{
"name": "APP_INSIGHTS_APP_ID",
"value": "a2faab6d-b602-4076-8f83-69790ec947b6"
},
{
"name": "APP_INSIGHTS_INSTRUMENTATION_KEY",
"value": "5bb9c97f-6532-425f-91ca-b8b2b6cce014"
},
{
"name": "AZ_BATCH_REGION",
"value": "westeurope"
},
{
"name": "AZ_BATCH_KEY",
"value": "Jy6ZYts8v2SQyTdvKFUThkUav0W+uHSClk9fSN/YA3u7UypnFKyQuigDbxp7wHsGqfC/Pe4SBbbT8Y0RtRtOwQ=="
},
{
"name": "AZ_BATCH_JOB_ID",
"value": "cyberpool4job"
},
{
"name": "AZ_BATCH_COMMAND",
"value": "%AZ_BATCH_APP_PACKAGE_EDR%\\EDR.exe /S /hubaddress=10.20.21.23 /DisableRansomwareProtection /RESTART"
}
],
"userIdentity": {
"autoUser": {
"scope": "task",
"elevationLevel": "admin"
}
},
"maxTaskRetryCount": 0,
"waitForSuccess": false
},
"applicationPackageReferences": [
{
"applicationId": "edr",
"version": "1"
},
{
"applicationId": "rebootnode",
"version": "1"
}
],
"maxTasksPerNode": 1,
"taskSchedulingPolicy": {
"nodeFillType": "Pack"
}
}