File: SoftLayer_Network_CdnMarketplace_Configuration_Mapping.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 (101 lines) | stat: -rw-r--r-- 3,132 bytes parent folder | download
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
94
95
96
97
98
99
100
101
listDomainMappings = [
    {
        "cacheKeyQueryRule": "include-all",
        "cname": "cdnakauuiet7s6u6.cdnedge.bluemix.net",
        "createDate": "2020-09-29T15:19:01-06:00",
        "domain": "test.example.com",
        "header": "test.example.com",
        "httpPort": 80,
        "originHost": "1.1.1.1",
        "originType": "HOST_SERVER",
        "path": "/",
        "protocol": "HTTP",
        "status": "CNAME_CONFIGURATION",
        "uniqueId": "11223344",
        "vendorName": "akamai"
    }
]

listDomainMappingByUniqueId = [
    {
        "cname": "cdnakauuiet7s6u6.cdnedge.bluemix.net",
        "performanceConfiguration": "Large file optimization",
        "domain": "test.example.com",
        "header": "test.example.com",
        "httpPort": 80,
        "originHost": "1.1.1.1",
        "originType": "HOST_SERVER",
        "path": "/",
        "protocol": "HTTP",
        "status": "CNAME_CONFIGURATION",
        "uniqueId": "11223344",
        "vendorName": "akamai"
    }
]

updateDomainMapping = [
    {
        "createDate": "2021-02-09T19:32:29-06:00",
        "originType": "HOST_SERVER",
        "path": "/*",
        "performanceConfiguration": "Large file optimization",
        "protocol": "HTTP",
        "respectHeaders": True,
        "uniqueId": "11223344",
        "vendorName": "akamai",
        "header": "www.test.com",
        "httpPort": 83,
        "cname": "cdn.test.cloud",
        "originHost": "1.1.1.1",
        "cacheKeyQueryRule": "include: test"
    }
]

deleteDomainMapping = [
    {
        "akamaiCname": "wildcard.appdomain.mdc.edgekey.net",
        "certificateType": "NO_CERT",
        "cname": "cdnakayq9fye4t88239.cdn.appdomain.cloud",
        "createDate": "2023-03-29T07:33:42-06:00",
        "domain": "www.test.com",
        "header": "www.header.com",
        "httpPort": 80,
        "httpsPort": None,
        "modifyDate": "2023-03-29T07:33:46-06:00",
        "originHost": "67.228.227.82",
        "originType": "HOST_SERVER",
        "path": "/path/*",
        "performanceConfiguration": "General web delivery",
        "protocol": "HTTP",
        "respectHeaders": False,
        "serveStale": True,
        "status": "DELETING",
        "uniqueId": "303727924488685",
        "vendorName": "akamai"
    }
]
createDomainMapping = [
    {
        "bucketName": "test-bucket-name",
        "akamaiCname": "wildcard.appdomain.mdc.edgekey.net",
        "cacheKeyQueryRule": "include-all",
        "certificateType": "WILDCARD_CERT",
        "cname": "test.cdn.appdomain.cloud",
        "createDate": "2020-09-29T15:19:01-06:00",
        "domain": "test.com",
        "header": "header.test.com",
        "httpPort": 80,
        "httpsPort": None,
        "modifyDate": "2021-06-24T09:02:22-06:00",
        "originHost": "10.32.12.125",
        "originType": "HOST_SERVER",
        "path": "/*",
        "performanceConfiguration": "General web delivery",
        "protocol": "HTTP",
        "respectHeaders": True,
        "serveStale": True,
        "status": "CNAME_CONFIGURATION",
        "uniqueId": "354034879028850",
        "vendorName": "akamai"
    }
]