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