hcs-cli 0.1.318__py3-none-any.whl → 0.1.319__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. hcs_cli/__init__.py +1 -1
  2. hcs_cli/cmds/advisor/html_utils.py +30 -26
  3. hcs_cli/cmds/advisor/recommendation_engine.py +7 -10
  4. hcs_cli/cmds/daas/tenant/plan.py +1 -1
  5. hcs_cli/cmds/debug/start.py +0 -1
  6. hcs_cli/cmds/dev/fs/helper/credential_helper.py +2 -0
  7. hcs_cli/cmds/dev/fs/helper/k8s_util.py +0 -1
  8. hcs_cli/cmds/dev/fs/init.py +38 -5
  9. hcs_cli/cmds/dev/fs/profiler.py +0 -1
  10. hcs_cli/cmds/dev/fs/provided_files/akka.plan.yml +94 -250
  11. hcs_cli/cmds/dev/fs/provided_files/azsim.plan.yml +27 -34
  12. hcs_cli/cmds/dev/fs/provided_files/azure.plan.yml +294 -322
  13. hcs_cli/cmds/dev/fs/provided_files/mqtt-secret.yaml +188 -93
  14. hcs_cli/cmds/dev/fs/provided_files/mqtt-server-external.yaml +4 -5
  15. hcs_cli/cmds/dev/fs/provided_files/patch-mqtt-hostname.yml +3 -3
  16. hcs_cli/cmds/dev/fs/provided_files/patch-vernemq-ssl-depth.json +1 -1
  17. hcs_cli/cmds/dev/fs/tailor.py +7 -12
  18. hcs_cli/cmds/dev/mqtt.py +1 -2
  19. hcs_cli/cmds/dev/util/mqtt_helper.py +0 -1
  20. hcs_cli/cmds/hoc/search.py +39 -9
  21. hcs_cli/cmds/hst/clean.py +2 -1
  22. hcs_cli/cmds/inventory/assign.py +1 -3
  23. hcs_cli/cmds/inventory/deassign.py +1 -1
  24. hcs_cli/cmds/scm/plan.py +131 -3
  25. hcs_cli/cmds/task.py +2 -4
  26. hcs_cli/cmds/template/list_usage.py +2 -2
  27. hcs_cli/cmds/template/usage.py +20 -7
  28. hcs_cli/cmds/vm/list.py +0 -1
  29. hcs_cli/config/hcs-deployments.yaml +52 -52
  30. hcs_cli/main.py +0 -2
  31. hcs_cli/payload/akka.blueprint.yml +95 -243
  32. hcs_cli/payload/app/manual.json +19 -19
  33. hcs_cli/payload/edge/akka.json +6 -6
  34. hcs_cli/payload/edge/vsphere.json +6 -6
  35. hcs_cli/payload/hoc/lcm-capcalc.json.template +43 -0
  36. hcs_cli/payload/hoc/no-spare.json.template +1 -1
  37. hcs_cli/payload/inventory/assign.json +14 -16
  38. hcs_cli/payload/inventory/deassign.json +11 -11
  39. hcs_cli/payload/lcm/akka.json +31 -33
  40. hcs_cli/payload/lcm/azure-dummy-nt.json +64 -66
  41. hcs_cli/payload/lcm/azure-dummy.json +64 -66
  42. hcs_cli/payload/lcm/azure-real.json +13 -11
  43. hcs_cli/payload/lcm/edge-proxy.json +34 -36
  44. hcs_cli/payload/lcm/zero-dedicated.json +34 -36
  45. hcs_cli/payload/lcm/zero-delay-1m-per-vm.json +53 -69
  46. hcs_cli/payload/lcm/zero-fail-delete-template.json +43 -0
  47. hcs_cli/payload/lcm/zero-fail-destroy-onthread.json +38 -40
  48. hcs_cli/payload/lcm/zero-fail-destroy.json +38 -40
  49. hcs_cli/payload/lcm/zero-fail-prepare-onthread.json +38 -40
  50. hcs_cli/payload/lcm/zero-fail-prepare.json +38 -40
  51. hcs_cli/payload/lcm/zero-fail-vm-onthread.json +58 -74
  52. hcs_cli/payload/lcm/zero-fail-vm.json +58 -74
  53. hcs_cli/payload/lcm/zero-floating.json +34 -36
  54. hcs_cli/payload/lcm/zero-manual.json +33 -35
  55. hcs_cli/payload/lcm/zero-multisession.json +34 -36
  56. hcs_cli/payload/lcm/zero-nanw.json +31 -33
  57. hcs_cli/payload/lcm/zero-new-5k-delay.json +69 -78
  58. hcs_cli/payload/lcm/zero-new-5k.json +36 -38
  59. hcs_cli/payload/lcm/zero-new-snapshot.json +37 -39
  60. hcs_cli/payload/lcm/zero-new.json +37 -39
  61. hcs_cli/payload/lcm/zero-reuse-vm-id.json +33 -35
  62. hcs_cli/payload/lcm/zero-with-max-id-offset.json +32 -34
  63. hcs_cli/payload/lcm/zero.json +59 -73
  64. hcs_cli/payload/provider/ad-stes-vsphere.json +26 -26
  65. hcs_cli/payload/provider/akka.json +12 -12
  66. hcs_cli/payload/provider/azure.json +14 -14
  67. hcs_cli/payload/provider/edgeproxy.json +12 -12
  68. hcs_cli/payload/provider/vsphere.json +14 -14
  69. hcs_cli/payload/scm/starter.json +22 -23
  70. hcs_cli/payload/synt/core/p01-dummy-success.json +11 -15
  71. hcs_cli/payload/synt/core/p02-dummy-fail.json +12 -15
  72. hcs_cli/payload/synt/core/p03-dummy-exception.json +12 -15
  73. hcs_cli/payload/synt/core/p04-dummy-success-repeat.json +12 -15
  74. hcs_cli/payload/synt/core/p05-dummy-fail-repeat.json +13 -16
  75. hcs_cli/payload/synt/core/p06-dummy-exception-repeat.json +13 -16
  76. hcs_cli/payload/synt/core/p07-dummy-delay.json +12 -15
  77. hcs_cli/payload/synt/core/p08-dummy-property.json +12 -15
  78. hcs_cli/payload/synt/ext/p20-connect-success.json +12 -15
  79. hcs_cli/payload/synt/ext/p21-connect-fail.json +12 -15
  80. hcs_cli/payload/synt/ext/p30-ssl-success.json +12 -15
  81. hcs_cli/payload/synt/ext/p31-ssl-fail.json +13 -16
  82. hcs_cli/payload/synt/ext/p40-http-success.json +12 -15
  83. hcs_cli/payload/synt/ext/p41-http-fail.json +12 -15
  84. hcs_cli/payload/synt/ext/p42-http-status-code.json +14 -20
  85. hcs_cli/payload/synt/ext1/p10-ping-success.json +13 -16
  86. hcs_cli/payload/synt/ext1/p11-ping-fail.json +12 -15
  87. hcs_cli/payload/synt/ext1/p12-ping-success-repeat.json +14 -17
  88. hcs_cli/provider/hcs/cert.py +0 -1
  89. hcs_cli/provider/hcs/edge.py +1 -1
  90. hcs_cli/provider/hcs/uag.py +1 -1
  91. hcs_cli/service/hoc/diagnostic.py +0 -3
  92. hcs_cli/service/lcm/vm.py +0 -1
  93. hcs_cli/service/task.py +0 -1
  94. hcs_cli/support/debug_util.py +0 -1
  95. hcs_cli/support/plan_util.py +0 -1
  96. hcs_cli/support/predefined_payload.py +4 -1
  97. hcs_cli/support/template_util.py +0 -1
  98. hcs_cli/support/test_utils.py +2 -2
  99. hcs_cli/support/test_utils2.py +536 -0
  100. {hcs_cli-0.1.318.dist-info → hcs_cli-0.1.319.dist-info}/METADATA +24 -17
  101. {hcs_cli-0.1.318.dist-info → hcs_cli-0.1.319.dist-info}/RECORD +103 -100
  102. {hcs_cli-0.1.318.dist-info → hcs_cli-0.1.319.dist-info}/WHEEL +0 -0
  103. {hcs_cli-0.1.318.dist-info → hcs_cli-0.1.319.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,43 @@
1
+ {
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "onDeletePool": {
20
+ "delayAsyncMs": 0,
21
+ "delayOnThreadMs": 0,
22
+ "errAsync": 1,
23
+ "errOnThread": 0
24
+ }
25
+ },
26
+ "hdc": {
27
+ "vmHubName": "westus2",
28
+ "vmHubURL": ""
29
+ },
30
+ "edgeGateway": {
31
+ "id": "abcdefghijklmnopqrstuvwx",
32
+ "iotDeviceName": "syntheticIotDeviceName",
33
+ "adTwinId": "syntheticAdTwinId"
34
+ },
35
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
36
+ "agentCustomization": {
37
+ "sessionsPerVm": 1
38
+ },
39
+ "location": "US",
40
+ "properties": {
41
+ "new-task-engine": true
42
+ }
43
+ }
@@ -1,43 +1,41 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "onDeletePool": {
20
- "errOnThread": 1.0,
21
- "delayOnThreadMs" : 0
22
- }
23
- },
24
- "hdc": {
25
- "vmHubName": "westus2",
26
- "vmHubURL": ""
27
- },
28
- "edgeGateway": {
29
- "id": "abcdefghijklmnopqrstuvwx",
30
- "iotDeviceName": "syntheticIotDeviceName",
31
- "adTwinId": "syntheticAdTwinId"
32
- },
33
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
- "agentCustomization": {
35
- "sessionsPerVm": 1
36
- },
37
- "location": "US",
38
- "properties": {
39
- "new-task-engine": true
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "onDeletePool": {
20
+ "errOnThread": 1.0,
21
+ "delayOnThreadMs": 0
40
22
  }
23
+ },
24
+ "hdc": {
25
+ "vmHubName": "westus2",
26
+ "vmHubURL": ""
27
+ },
28
+ "edgeGateway": {
29
+ "id": "abcdefghijklmnopqrstuvwx",
30
+ "iotDeviceName": "syntheticIotDeviceName",
31
+ "adTwinId": "syntheticAdTwinId"
32
+ },
33
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
+ "agentCustomization": {
35
+ "sessionsPerVm": 1
36
+ },
37
+ "location": "US",
38
+ "properties": {
39
+ "new-task-engine": true
41
40
  }
42
-
43
-
41
+ }
@@ -1,43 +1,41 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "onDeletePool": {
20
- "errAsync": 1.0,
21
- "delayAsyncMs" : 0
22
- }
23
- },
24
- "hdc": {
25
- "vmHubName": "westus2",
26
- "vmHubURL": ""
27
- },
28
- "edgeGateway": {
29
- "id": "abcdefghijklmnopqrstuvwx",
30
- "iotDeviceName": "syntheticIotDeviceName",
31
- "adTwinId": "syntheticAdTwinId"
32
- },
33
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
- "agentCustomization": {
35
- "sessionsPerVm": 1
36
- },
37
- "location": "US",
38
- "properties": {
39
- "new-task-engine": true
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "onDeletePool": {
20
+ "errAsync": 1.0,
21
+ "delayAsyncMs": 0
40
22
  }
23
+ },
24
+ "hdc": {
25
+ "vmHubName": "westus2",
26
+ "vmHubURL": ""
27
+ },
28
+ "edgeGateway": {
29
+ "id": "abcdefghijklmnopqrstuvwx",
30
+ "iotDeviceName": "syntheticIotDeviceName",
31
+ "adTwinId": "syntheticAdTwinId"
32
+ },
33
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
+ "agentCustomization": {
35
+ "sessionsPerVm": 1
36
+ },
37
+ "location": "US",
38
+ "properties": {
39
+ "new-task-engine": true
41
40
  }
42
-
43
-
41
+ }
@@ -1,43 +1,41 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "defaults": {
20
- "errOnThread": 1.0,
21
- "delayOnThreadMs" : 0
22
- }
23
- },
24
- "hdc": {
25
- "vmHubName": "westus2",
26
- "vmHubURL": ""
27
- },
28
- "edgeGateway": {
29
- "id": "abcdefghijklmnopqrstuvwx",
30
- "iotDeviceName": "syntheticIotDeviceName",
31
- "adTwinId": "syntheticAdTwinId"
32
- },
33
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
- "agentCustomization": {
35
- "sessionsPerVm": 1
36
- },
37
- "location": "US",
38
- "properties": {
39
- "new-task-engine": true
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "defaults": {
20
+ "errOnThread": 1.0,
21
+ "delayOnThreadMs": 0
40
22
  }
23
+ },
24
+ "hdc": {
25
+ "vmHubName": "westus2",
26
+ "vmHubURL": ""
27
+ },
28
+ "edgeGateway": {
29
+ "id": "abcdefghijklmnopqrstuvwx",
30
+ "iotDeviceName": "syntheticIotDeviceName",
31
+ "adTwinId": "syntheticAdTwinId"
32
+ },
33
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
+ "agentCustomization": {
35
+ "sessionsPerVm": 1
36
+ },
37
+ "location": "US",
38
+ "properties": {
39
+ "new-task-engine": true
41
40
  }
42
-
43
-
41
+ }
@@ -1,43 +1,41 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "defaults": {
20
- "errAsync": 1.0,
21
- "delayAsyncMs" : 0
22
- }
23
- },
24
- "hdc": {
25
- "vmHubName": "westus2",
26
- "vmHubURL": ""
27
- },
28
- "edgeGateway": {
29
- "id": "abcdefghijklmnopqrstuvwx",
30
- "iotDeviceName": "syntheticIotDeviceName",
31
- "adTwinId": "syntheticAdTwinId"
32
- },
33
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
- "agentCustomization": {
35
- "sessionsPerVm": 1
36
- },
37
- "location": "US",
38
- "properties": {
39
- "new-task-engine": true
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "defaults": {
20
+ "errAsync": 1.0,
21
+ "delayAsyncMs": 0
40
22
  }
23
+ },
24
+ "hdc": {
25
+ "vmHubName": "westus2",
26
+ "vmHubURL": ""
27
+ },
28
+ "edgeGateway": {
29
+ "id": "abcdefghijklmnopqrstuvwx",
30
+ "iotDeviceName": "syntheticIotDeviceName",
31
+ "adTwinId": "syntheticAdTwinId"
32
+ },
33
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
34
+ "agentCustomization": {
35
+ "sessionsPerVm": 1
36
+ },
37
+ "location": "US",
38
+ "properties": {
39
+ "new-task-engine": true
41
40
  }
42
-
43
-
41
+ }
@@ -1,78 +1,62 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "defaults": {
20
- },
21
- "onDeletePool": {
22
- },
23
- "onList": {
24
- },
25
- "onPrepare": {
26
- },
27
- "vms": {
28
- "#default": {
29
- "onCreate": {
30
- "delayAsyncMs": 0,
31
- "delayOnThreadMs": 0,
32
- "errAsync": 0,
33
- "errOnThread": 1,
34
- "sequence": []
35
- },
36
- "onDelete": {
37
- },
38
- "onPowerOff": {
39
- },
40
- "onPowerOn": {
41
- },
42
- "onRestart": {
43
- },
44
- "onShutdown": {
45
- },
46
- "onRefresh": {
47
- },
48
- "onRevertSnapshot": {
49
- },
50
- "onTakeSnapshot": {
51
- }
52
- },
53
- "#123": {
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "defaults": {},
20
+ "onDeletePool": {},
21
+ "onList": {},
22
+ "onPrepare": {},
23
+ "vms": {
24
+ "#default": {
25
+ "onCreate": {
26
+ "delayAsyncMs": 0,
27
+ "delayOnThreadMs": 0,
28
+ "errAsync": 0,
29
+ "errOnThread": 1,
30
+ "sequence": []
54
31
  },
55
- "my-vm-0123": {
56
- }
57
- }
58
- },
59
- "hdc": {
60
- "vmHubName": "westus2",
61
- "vmHubURL": ""
62
- },
63
- "edgeGateway": {
64
- "id": "abcdefghijklmnopqrstuvwx",
65
- "iotDeviceName": "syntheticIotDeviceName",
66
- "adTwinId": "syntheticAdTwinId"
67
- },
68
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
69
- "agentCustomization": {
70
- "sessionsPerVm": 1
71
- },
72
- "location": "US",
73
- "properties": {
74
- "continuousErrorThreshold": "2"
32
+ "onDelete": {},
33
+ "onPowerOff": {},
34
+ "onPowerOn": {},
35
+ "onRestart": {},
36
+ "onShutdown": {},
37
+ "onRefresh": {},
38
+ "onRevertSnapshot": {},
39
+ "onTakeSnapshot": {}
40
+ },
41
+ "#123": {},
42
+ "my-vm-0123": {}
75
43
  }
44
+ },
45
+ "hdc": {
46
+ "vmHubName": "westus2",
47
+ "vmHubURL": ""
48
+ },
49
+ "edgeGateway": {
50
+ "id": "abcdefghijklmnopqrstuvwx",
51
+ "iotDeviceName": "syntheticIotDeviceName",
52
+ "adTwinId": "syntheticAdTwinId"
53
+ },
54
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
55
+ "agentCustomization": {
56
+ "sessionsPerVm": 1
57
+ },
58
+ "location": "US",
59
+ "properties": {
60
+ "continuousErrorThreshold": "2"
76
61
  }
77
-
78
-
62
+ }
@@ -1,78 +1,62 @@
1
1
  {
2
- "region": "westus2",
3
- "id": "${id}",
4
- "name": "nanw-test1",
5
- "templateType" : "FLOATING",
6
- "provisionWithAgentReady": false,
7
- "vmNamePattern": "z-s",
8
- "provider": {
9
- "providerAccessId": "${providerId}"
10
- },
11
- "sparePolicy": {
12
- "increment": 200,
13
- "limit": 3,
14
- "max": 2,
15
- "min": 1
16
- },
17
- "providerType": "ZEROCLOUD",
18
- "monkey": {
19
- "defaults": {
20
- },
21
- "onDeletePool": {
22
- },
23
- "onList": {
24
- },
25
- "onPrepare": {
26
- },
27
- "vms": {
28
- "#default": {
29
- "onCreate": {
30
- "delayAsyncMs": 0,
31
- "delayOnThreadMs": 0,
32
- "errAsync": 1,
33
- "errOnThread": 0,
34
- "sequence": []
35
- },
36
- "onDelete": {
37
- },
38
- "onPowerOff": {
39
- },
40
- "onPowerOn": {
41
- },
42
- "onRestart": {
43
- },
44
- "onShutdown": {
45
- },
46
- "onRefresh": {
47
- },
48
- "onRevertSnapshot": {
49
- },
50
- "onTakeSnapshot": {
51
- }
52
- },
53
- "#123": {
2
+ "region": "westus2",
3
+ "id": "${id}",
4
+ "name": "nanw-test1",
5
+ "templateType": "FLOATING",
6
+ "provisionWithAgentReady": false,
7
+ "vmNamePattern": "z-s",
8
+ "provider": {
9
+ "providerAccessId": "${providerId}"
10
+ },
11
+ "sparePolicy": {
12
+ "increment": 200,
13
+ "limit": 3,
14
+ "max": 2,
15
+ "min": 1
16
+ },
17
+ "providerType": "ZEROCLOUD",
18
+ "monkey": {
19
+ "defaults": {},
20
+ "onDeletePool": {},
21
+ "onList": {},
22
+ "onPrepare": {},
23
+ "vms": {
24
+ "#default": {
25
+ "onCreate": {
26
+ "delayAsyncMs": 0,
27
+ "delayOnThreadMs": 0,
28
+ "errAsync": 1,
29
+ "errOnThread": 0,
30
+ "sequence": []
54
31
  },
55
- "my-vm-0123": {
56
- }
57
- }
58
- },
59
- "hdc": {
60
- "vmHubName": "westus2",
61
- "vmHubURL": ""
62
- },
63
- "edgeGateway": {
64
- "id": "abcdefghijklmnopqrstuvwx",
65
- "iotDeviceName": "syntheticIotDeviceName",
66
- "adTwinId": "syntheticAdTwinId"
67
- },
68
- "orgId" : "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
69
- "agentCustomization": {
70
- "sessionsPerVm": 1
71
- },
72
- "location": "US",
73
- "properties": {
74
- "continuousErrorThreshold": "2"
32
+ "onDelete": {},
33
+ "onPowerOff": {},
34
+ "onPowerOn": {},
35
+ "onRestart": {},
36
+ "onShutdown": {},
37
+ "onRefresh": {},
38
+ "onRevertSnapshot": {},
39
+ "onTakeSnapshot": {}
40
+ },
41
+ "#123": {},
42
+ "my-vm-0123": {}
75
43
  }
44
+ },
45
+ "hdc": {
46
+ "vmHubName": "westus2",
47
+ "vmHubURL": ""
48
+ },
49
+ "edgeGateway": {
50
+ "id": "abcdefghijklmnopqrstuvwx",
51
+ "iotDeviceName": "syntheticIotDeviceName",
52
+ "adTwinId": "syntheticAdTwinId"
53
+ },
54
+ "orgId": "aecd10d9-ca4f-4af8-97fa-9d7b6f25e285",
55
+ "agentCustomization": {
56
+ "sessionsPerVm": 1
57
+ },
58
+ "location": "US",
59
+ "properties": {
60
+ "continuousErrorThreshold": "2"
76
61
  }
77
-
78
-
62
+ }