File: SoftLayer_Network_Storage_Hub_Cleversafe_Account.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 (93 lines) | stat: -rw-r--r-- 2,658 bytes parent folder | download | duplicates (2)
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
82
83
84
85
86
87
88
89
90
91
92
93
credentialCreate = {
    "accountId": "12345",
    "createDate": "2019-04-05T13:25:25-06:00",
    "id": 11111,
    "password": "nwUEUsx6PiEoN0B1Xe9z9hUCyXMkAFhDOjHqYJva",
    "username": "XfHhBNBPlPdlWyaPPJAI",
    "type": {
        "description": "A credential for generating S3 Compatible Signatures.",
        "keyName": "S3_COMPATIBLE_SIGNATURE",
        "name": "S3 Compatible Signature"
    }
}

getCredentials = [
    {
        "accountId": "12345",
        "createDate": "2019-04-05T13:25:25-06:00",
        "id": 11111,
        "password": "nwUEUsx6PiEoN0B1Xe9z9hUCyXMkAFhDOjHqYJva",
        "username": "XfHhBNBPlPdlWyaPPJAI",
        "type": {
            "description": "A credential for generating S3 Compatible Signatures.",
            "keyName": "S3_COMPATIBLE_SIGNATURE",
            "name": "S3 Compatible Signature"
        }
    },
    {
        "accountId": "12345",
        "createDate": "2019-04-05T13:25:25-06:00",
        "id": 11111,
        "password": "nwUEUsx6PiEoN0B1Xe9z9hUCyXMkAFhDOjHqYJva",
        "username": "XfHhBNBPlPdlWyaPPJAI",
        "type": {
            "description": "A credential for generating S3 Compatible Signatures.",
            "keyName": "S3_COMPATIBLE_SIGNATURE",
            "name": "S3 Compatible Signature"
        }
    }
]

getBuckets = [
    {
        "bytesUsed": 40540117,
        "name": "normal-bucket",
        "objectCount": 4,
        "storageLocation": "us-standard"
    }
]

getEndpoints = [
    {
        'legacy': False,
        'region': 'us-geo',
        'type': 'public',
        'url': 's3.us.cloud-object-storage.appdomain.cloud'
    },
    {
        'legacy': False,
        'region': 'us-geo',
        'type': 'private',
        'url': 's3.private.us.cloud-object-storage.appdomain.cloud'
    }
]
getCredentialLimit = 2

credentialDelete = True

getObject = {
    'id': 123456,
    'username': 'TEST307608-1',
    'credentials': [
        {
            'id': 1933496,
            'password': 'Um1Bp420FIFNvAg2QHjn5Sci2c2x4RNDXpVDDvnfsdsd1010',
            'username': 'Kv9aNIhtNa7ZRceabecs',
            'type': {
                'description': 'A credential for generating S3 Compatible Signatures.',
                'keyName': 'S3_COMPATIBLE_SIGNATURE'
            }
        },
        {

            'id': 1732820,
            'password': 'q6NtwqeuXDaRqGc0Jrugg2sDgbatyNsoN9sPEmjo',
            'username': '252r9BN8ibuDSQAXLOeL',
            'type': {
                'description': 'A credential for generating S3 Compatible Signatures.',
                'keyName': 'S3_COMPATIBLE_SIGNATURE',
            }
        }
    ],
    'uuid': '01c449c484ae4a58a42d9b79d4c5e4ed'
}