github.com/akamai/AkamaiOPEN-edgegrid-golang/v8@v8.1.0/pkg/gtm/testdata/TestGTM_CreateResource.req.json (about) 1 { 2 "balanceByDownloadScore": false, 3 "failbackDelay": 0, 4 "failoverDelay": 0, 5 "handoutMode": "normal", 6 "healthMax": null, 7 "healthMultiplier": null, 8 "healthThreshold": null, 9 "ipv6": false, 10 "name": "origin", 11 "scoreAggregationType": "mean", 12 "staticTTL": 600, 13 "stickinessBonusConstant": 0, 14 "stickinessBonusPercentage": 0, 15 "type": "weighted-round-robin", 16 "useComputedTargets": false, 17 "mxRecords": [], 18 "livenessTests": [ 19 { 20 "disableNonstandardPortWarning": false, 21 "hostHeader": "foo.example.com", 22 "httpError3xx": true, 23 "httpError4xx": true, 24 "httpError5xx": true, 25 "name": "health-check", 26 "requestString": null, 27 "responseString": null, 28 "sslClientCertificate": null, 29 "sslClientPrivateKey": null, 30 "testInterval": 60, 31 "testObject": "/status", 32 "testObjectPassword": null, 33 "testObjectPort": 80, 34 "testObjectProtocol": "HTTP", 35 "testObjectUsername": null, 36 "testTimeout": 25.0 37 } 38 ], 39 "trafficTargets": [ 40 { 41 "datacenterId": 3134, 42 "enabled": true, 43 "weight": 50.0, 44 "servers": [ 45 "1.2.3.5" 46 ] 47 }, 48 { 49 "datacenterId": 3133, 50 "enabled": true, 51 "weight": 50.0, 52 "servers": [ 53 "1.2.3.4" 54 ] 55 } 56 ] 57 }