File: SoftLayer_Scale_Policy.py

package info (click to toggle)
python-softlayer 6.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,508 kB
  • sloc: python: 57,195; makefile: 133; xml: 97; sh: 59
file content (58 lines) | stat: -rw-r--r-- 1,687 bytes parent folder | download | duplicates (3)
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
getObject = {
    "cooldown": None,
    "createDate": "2019-09-27T06:30:14+08:00",
    "id": 11111,
    "name": "prime-poly",
    "scaleGroupId": 2255111,
    "scaleGroup": {
        "accountId": 31111,
        "cooldown": 1800,
        "createDate": "2018-05-01T03:07:40+08:00",
        "id": 2252222,
        "lastActionDate": "2019-09-28T02:31:47+08:00",
        "maximumMemberCount": 6,
        "minimumMemberCount": 2,
        "modifyDate": "2019-09-28T02:31:50+08:00",
        "name": "ajcb-autoscale11",
        "regionalGroupId": 663,
        "terminationPolicyId": 2,
        "virtualGuestMemberTemplate": {
            "accountId": 31111,
            "domain": "techsupport.com",
            "hostname": "ajcb-autoscale22",
            "id": None,
            "maxMemory": 1024,
            "postInstallScriptUri": "https://pastebin.com/raw/62wrEKuW",
            "startCpus": 1,
            "blockDevices": [
                {
                    "device": "0",
                    "diskImage": {
                        "capacity": 25,
                    }
                },
                {
                    "device": "2",
                    "diskImage": {
                        "capacity": 10,
                    }
                }
            ],
            "datacenter": {
                "id": None,
                "name": "sao01",
            },
            "networkComponents": [
                {
                    "maxSpeed": 100,
                }
            ],
            "operatingSystemReferenceCode": "CENTOS_LATEST",
            "sshKeys": [
                {
                    "id": 490279,
                }
            ]
        }
    }
}