github.com/akamai/AkamaiOPEN-edgegrid-golang/v2@v2.17.0/pkg/configgtm/testdata/TestGtm_GetDomain.resp.json (about) 1 { 2 "defaultSslClientCertificate": null, 3 "defaultSslClientPrivateKey": null, 4 "defaultUnreachableThreshold": null, 5 "lastModified": "2014-04-08T18:25:51.000+0000", 6 "lastModifiedBy": "admin@example.com", 7 "loadFeedback": true, 8 "loadImbalancePercentage": 10.0, 9 "minPingableRegionFraction": null, 10 "modificationComments": "CIDRMap example", 11 "name": "example.akadns.net", 12 "pingInterval": null, 13 "roundRobinPrefix": null, 14 "servermonitorLivenessCount": null, 15 "servermonitorLoadCount": null, 16 "type": "full", 17 "emailNotificationList": [], 18 "status": { 19 "changeId": "5beb11ae-8908-4bfe-8459-e88efc4d2fdc", 20 "message": "Change Pending", 21 "passingValidation": true, 22 "propagationStatus": "PENDING", 23 "propagationStatusDate": "2014-04-08T18:25:51.000+0000", 24 "links": [ 25 { 26 "href": "/config-gtm/v1/domains/example.akadns.net/status/current", 27 "rel": "self" 28 } 29 ] 30 }, 31 "links": [ 32 { 33 "href": "/config-gtm/v1/domains/example.akadns.net", 34 "rel": "self" 35 }, 36 { 37 "href": "/config-gtm/v1/domains/example.akadns.net/datacenters", 38 "rel": "datacenters" 39 }, 40 { 41 "href": "/config-gtm/v1/domains/example.akadns.net/properties", 42 "rel": "properties" 43 }, 44 { 45 "href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps", 46 "rel": "geographic-maps" 47 }, 48 { 49 "href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps", 50 "rel": "cidr-maps" 51 }, 52 { 53 "href": "/config-gtm/v1/domains/example.akadns.net/resources", 54 "rel": "resources" 55 } 56 ], 57 "cidrMaps": [ 58 { 59 "name": "The North", 60 "defaultDatacenter": { 61 "datacenterId": 5400, 62 "nickname": "All Other CIDR Blocks" 63 }, 64 "assignments": [ 65 { 66 "datacenterId": 3134, 67 "nickname": "Frostfangs and the Fist of First Men", 68 "blocks": [ 69 "1.3.5.9", 70 "1.2.3.0/24" 71 ] 72 }, 73 { 74 "datacenterId": 3133, 75 "nickname": "Winterfell", 76 "blocks": [ 77 "1.2.4.0/24" 78 ] 79 } 80 ], 81 "links": [ 82 { 83 "href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps/The%20North", 84 "rel": "self" 85 } 86 ] 87 } 88 ], 89 "datacenters": [ 90 { 91 "city": "Downpatrick", 92 "cloneOf": 0, 93 "continent": "EU", 94 "country": "GB", 95 "datacenterId": 3133, 96 "latitude": 54.367, 97 "longitude": -5.582, 98 "nickname": "Winterfell", 99 "stateOrProvince": null, 100 "virtual": true, 101 "defaultLoadObject": { 102 "loadObject": null, 103 "loadObjectPort": 0, 104 "loadServers": null 105 }, 106 "links": [ 107 { 108 "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3133", 109 "rel": "self" 110 } 111 ] 112 }, 113 { 114 "city": "Doune", 115 "cloneOf": 0, 116 "continent": "EU", 117 "country": "GB", 118 "datacenterId": 3134, 119 "latitude": 56.185097, 120 "longitude": -4.050264, 121 "nickname": "Winterfell", 122 "stateOrProvince": "Perthshire", 123 "virtual": true, 124 "defaultLoadObject": { 125 "loadObject": null, 126 "loadObjectPort": 0, 127 "loadServers": null 128 }, 129 "links": [ 130 { 131 "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3134", 132 "rel": "self" 133 } 134 ] 135 }, 136 { 137 "city": null, 138 "cloneOf": 0, 139 "continent": null, 140 "country": null, 141 "datacenterId": 5400, 142 "latitude": 0.0, 143 "longitude": 0.0, 144 "nickname": "Default Datacenter", 145 "stateOrProvince": null, 146 "virtual": true, 147 "defaultLoadObject": { 148 "loadObject": null, 149 "loadObjectPort": 0, 150 "loadServers": null 151 }, 152 "links": [ 153 { 154 "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/5400", 155 "rel": "self" 156 } 157 ] 158 } 159 ], 160 "geographicMaps": [ 161 { 162 "name": "UK Delivery", 163 "defaultDatacenter": { 164 "datacenterId": 5400, 165 "nickname": "Default Mapping" 166 }, 167 "assignments": [ 168 { 169 "datacenterId": 3133, 170 "nickname": "UK users", 171 "countries": [ 172 "GB" 173 ] 174 } 175 ], 176 "links": [ 177 { 178 "href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps/UK%20Delivery", 179 "rel": "self" 180 } 181 ] 182 } 183 ], 184 "properties": [ 185 { 186 "backupCName": null, 187 "backupIp": null, 188 "balanceByDownloadScore": false, 189 "cname": null, 190 "comments": null, 191 "dynamicTTL": 300, 192 "failbackDelay": 0, 193 "failoverDelay": 0, 194 "handoutMode": "normal", 195 "healthMax": null, 196 "healthMultiplier": null, 197 "healthThreshold": null, 198 "ipv6": false, 199 "lastModified": "2014-04-08T18:25:52.000+0000", 200 "mapName": null, 201 "maxUnreachablePenalty": null, 202 "name": "www", 203 "scoreAggregationType": "mean", 204 "staticTTL": 600, 205 "stickinessBonusConstant": 0, 206 "stickinessBonusPercentage": 0, 207 "type": "failover", 208 "unreachableThreshold": null, 209 "useComputedTargets": false, 210 "mxRecords": [], 211 "links": [ 212 { 213 "href": "/config-gtm/v1/domains/example.akadns.net/properties/www", 214 "rel": "self" 215 } 216 ], 217 "livenessTests": [ 218 { 219 "disableNonstandardPortWarning": false, 220 "hostHeader": "foo.example.com", 221 "httpError3xx": true, 222 "httpError4xx": true, 223 "httpError5xx": true, 224 "name": "health-check", 225 "requestString": null, 226 "responseString": null, 227 "sslClientCertificate": null, 228 "sslClientPrivateKey": null, 229 "testInterval": 60, 230 "testObject": "/status", 231 "testObjectPassword": null, 232 "testObjectPort": 80, 233 "testObjectProtocol": "HTTP", 234 "testObjectUsername": null, 235 "testTimeout": 25.0, 236 "links": [] 237 } 238 ], 239 "trafficTargets": [ 240 { 241 "datacenterId": 5400, 242 "enabled": false, 243 "handoutCName": null, 244 "name": null, 245 "weight": 0.0, 246 "servers": [] 247 }, 248 { 249 "datacenterId": 3134, 250 "enabled": true, 251 "handoutCName": null, 252 "name": null, 253 "weight": 0.0, 254 "servers": [ 255 "1.2.3.5" 256 ] 257 }, 258 { 259 "datacenterId": 3133, 260 "enabled": true, 261 "handoutCName": null, 262 "name": null, 263 "weight": 1.0, 264 "servers": [ 265 "1.2.3.4" 266 ] 267 } 268 ] 269 }, 270 { 271 "backupCName": null, 272 "backupIp": null, 273 "balanceByDownloadScore": false, 274 "cname": null, 275 "comments": null, 276 "dynamicTTL": 300, 277 "failbackDelay": 0, 278 "failoverDelay": 0, 279 "handoutMode": "normal", 280 "healthMax": null, 281 "healthMultiplier": null, 282 "healthThreshold": null, 283 "ipv6": true, 284 "lastModified": "2014-04-08T18:25:52.000+0000", 285 "loadImbalancePercentage": null, 286 "mapName": null, 287 "maxUnreachablePenalty": null, 288 "name": "mail", 289 "scoreAggregationType": "mean", 290 "staticTTL": 600, 291 "stickinessBonusConstant": 0, 292 "stickinessBonusPercentage": 0, 293 "type": "weighted-round-robin", 294 "unreachableThreshold": null, 295 "useComputedTargets": false, 296 "livenessTests": [], 297 "mxRecords": [], 298 "links": [ 299 { 300 "href": "/config-gtm/v1/domains/example.akadns.net/properties/mail", 301 "rel": "self" 302 } 303 ], 304 "trafficTargets": [ 305 { 306 "datacenterId": 5400, 307 "enabled": false, 308 "handoutCName": null, 309 "name": null, 310 "weight": 0.0, 311 "servers": [] 312 }, 313 { 314 "datacenterId": 3134, 315 "enabled": true, 316 "handoutCName": null, 317 "name": null, 318 "weight": 1.0, 319 "servers": [ 320 "2001:4878::5043:4078" 321 ] 322 }, 323 { 324 "datacenterId": 3133, 325 "enabled": true, 326 "handoutCName": null, 327 "name": null, 328 "weight": 1.0, 329 "servers": [ 330 "2001:4878::5043:4072", 331 "2001:4878::5043:4071" 332 ] 333 } 334 ] 335 }, 336 { 337 "backupCName": null, 338 "backupIp": null, 339 "balanceByDownloadScore": false, 340 "cname": null, 341 "comments": null, 342 "dynamicTTL": 300, 343 "failbackDelay": 0, 344 "failoverDelay": 0, 345 "handoutMode": "normal", 346 "healthMax": null, 347 "healthMultiplier": null, 348 "healthThreshold": null, 349 "ipv6": false, 350 "lastModified": "2014-04-08T18:25:52.000+0000", 351 "loadImbalancePercentage": null, 352 "mapName": null, 353 "maxUnreachablePenalty": null, 354 "name": "supplies", 355 "scoreAggregationType": "mean", 356 "staticTTL": 600, 357 "stickinessBonusConstant": 0, 358 "stickinessBonusPercentage": 0, 359 "type": "failover", 360 "unreachableThreshold": null, 361 "useComputedTargets": false, 362 "livenessTests": [], 363 "mxRecords": [], 364 "links": [ 365 { 366 "href": "/config-gtm/v1/domains/example.akadns.net/properties/supplies", 367 "rel": "self" 368 } 369 ], 370 "trafficTargets": [ 371 { 372 "datacenterId": 5400, 373 "enabled": false, 374 "handoutCName": "supplies.example.com", 375 "name": null, 376 "weight": 0.0, 377 "servers": [] 378 }, 379 { 380 "datacenterId": 3134, 381 "enabled": true, 382 "handoutCName": "winter.supplies.example.com", 383 "name": null, 384 "weight": 0.0, 385 "servers": [] 386 }, 387 { 388 "datacenterId": 3133, 389 "enabled": true, 390 "handoutCName": "redcross.org", 391 "name": null, 392 "weight": 0.0, 393 "servers": [] 394 } 395 ] 396 }, 397 { 398 "backupCName": null, 399 "backupIp": null, 400 "balanceByDownloadScore": false, 401 "cname": null, 402 "comments": null, 403 "dynamicTTL": 300, 404 "failbackDelay": 0, 405 "failoverDelay": 0, 406 "handoutMode": "normal", 407 "healthMax": null, 408 "healthMultiplier": null, 409 "healthThreshold": null, 410 "ipv6": false, 411 "lastModified": "2014-04-08T18:25:52.000+0000", 412 "loadImbalancePercentage": null, 413 "mapName": "UK Delivery", 414 "maxUnreachablePenalty": null, 415 "name": "shop", 416 "scoreAggregationType": "mean", 417 "staticTTL": 600, 418 "stickinessBonusConstant": 0, 419 "stickinessBonusPercentage": 0, 420 "type": "geographic", 421 "unreachableThreshold": null, 422 "useComputedTargets": false, 423 "livenessTests": [], 424 "mxRecords": [], 425 "links": [ 426 { 427 "href": "/config-gtm/v1/domains/example.akadns.net/properties/shop", 428 "rel": "self" 429 } 430 ], 431 "trafficTargets": [ 432 { 433 "datacenterId": 5400, 434 "enabled": true, 435 "handoutCName": "shop.example.com", 436 "name": null, 437 "weight": 1.0, 438 "servers": [] 439 }, 440 { 441 "datacenterId": 3134, 442 "enabled": false, 443 "handoutCName": null, 444 "name": null, 445 "weight": 1.0, 446 "servers": [] 447 }, 448 { 449 "datacenterId": 3133, 450 "enabled": true, 451 "handoutCName": "uk.shop.example.com", 452 "name": null, 453 "weight": 1.0, 454 "servers": [] 455 } 456 ] 457 } 458 ], 459 "resources": [ 460 { 461 "aggregationType": "latest", 462 "constrainedProperty": "mail", 463 "decayRate": null, 464 "description": "CPU utilization", 465 "hostHeader": null, 466 "leaderString": null, 467 "leastSquaresDecay": null, 468 "loadImbalancePercentage": null, 469 "maxUMultiplicativeIncrement": null, 470 "name": "cpu", 471 "type": "XML load object via HTTP", 472 "upperBound": 0, 473 "links": [ 474 { 475 "href": "/config-gtm/v1/domains/example.akadns.net/resources/cpu", 476 "rel": "self" 477 } 478 ], 479 "resourceInstances": [ 480 { 481 "datacenterId": 3134, 482 "loadObject": "/cpu", 483 "loadObjectPort": 80, 484 "useDefaultLoadObject": false, 485 "loadServers": [ 486 "1.2.3.8" 487 ] 488 }, 489 { 490 "datacenterId": 3133, 491 "loadObject": "/cpu", 492 "loadObjectPort": 80, 493 "useDefaultLoadObject": false, 494 "loadServers": [ 495 "1.2.3.7" 496 ] 497 }, 498 { 499 "datacenterId": 5400, 500 "loadObject": null, 501 "loadObjectPort": 0, 502 "useDefaultLoadObject": false, 503 "loadServers": [] 504 } 505 ] 506 }, 507 { 508 "aggregationType": "latest", 509 "constrainedProperty": "**", 510 "decayRate": null, 511 "description": "Supply levels of Arbor Gold", 512 "hostHeader": null, 513 "leaderString": null, 514 "leastSquaresDecay": null, 515 "loadImbalancePercentage": null, 516 "maxUMultiplicativeIncrement": null, 517 "name": "arbor-gold", 518 "type": "Non-XML load object via HTTP", 519 "upperBound": 0, 520 "links": [ 521 { 522 "href": "/config-gtm/v1/domains/example.akadns.net/resources/arbor-gold", 523 "rel": "self" 524 } 525 ], 526 "resourceInstances": [ 527 { 528 "datacenterId": 3134, 529 "loadObject": "/cups", 530 "loadObjectPort": 80, 531 "useDefaultLoadObject": false, 532 "loadServers": [ 533 "1.2.3.8" 534 ] 535 }, 536 { 537 "datacenterId": 3133, 538 "loadObject": "/cups", 539 "loadObjectPort": 80, 540 "useDefaultLoadObject": false, 541 "loadServers": [ 542 "1.2.3.7" 543 ] 544 }, 545 { 546 "datacenterId": 5400, 547 "loadObject": null, 548 "loadObjectPort": 0, 549 "useDefaultLoadObject": false, 550 "loadServers": [] 551 } 552 ] 553 } 554 ] 555 }