File: SoftLayer_Network_CdnMarketplace_Configuration_Mapping_Path.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 (44 lines) | stat: -rw-r--r-- 1,258 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
listOriginPath = [
    {
        "header": "test.example.com",
        "httpPort": 80,
        "mappingUniqueId": "993419389425697",
        "origin": "10.10.10.1",
        "originType": "HOST_SERVER",
        "path": "/example",
        "status": "RUNNING"
    },
    {
        "header": "test.example.com",
        "httpPort": 80,
        "mappingUniqueId": "993419389425697",
        "origin": "10.10.10.1",
        "originType": "HOST_SERVER",
        "path": "/example1",
        "status": "RUNNING"
    }
]

createOriginPath = [
    {
        "httpPort": 80,
        "httpsPort": 81,
        "mappingUniqueId": "993419389425697",
        "origin": "10.10.10.1",
        "originType": "HOST_SERVER",
        "header": "test.example.com",
        "path": "/example",
        "status": "RUNNING",
        "bucketName": "test-bucket",
        'fileExtension': 'jpg',
        "performanceConfiguration": "Dynamic content acceleration",
        "dynamicContentAcceleration": {
                "detectionPath": "/abc.html",
                "prefetchEnabled": True,
                "mobileImageCompressionEnabled": True
            },
        "cacheKeyQueryRule": "include-all"
    }
]

deleteOriginPath = "Origin with path /example/videos/* has been deleted"