github.com/akamai/AkamaiOPEN-edgegrid-golang/v8@v8.1.0/pkg/gtm/testdata/TestGTM_UpdateDomain.resp.json (about)

     1  {
     2      "resource": {
     3          "defaultSslClientCertificate": null,
     4          "defaultSslClientPrivateKey": null,
     5          "defaultUnreachableThreshold": null,
     6          "lastModified": "2014-04-08T18:25:51.000+0000",
     7          "lastModifiedBy": "admin@example.com",
     8          "loadFeedback": true,
     9          "loadImbalancePercentage": 10.0,
    10          "minPingableRegionFraction": null,
    11          "modificationComments": "CIDRMap example",
    12          "name": "example.akadns.net",
    13          "pingInterval": null,
    14          "roundRobinPrefix": null,
    15          "servermonitorLivenessCount": null,
    16          "servermonitorLoadCount": null,
    17          "type": "full",
    18          "emailNotificationList": [],
    19          "status": {
    20              "changeId": "5beb11ae-8908-4bfe-8459-e88efc4d2fdc",
    21              "message": "Change Pending",
    22              "passingValidation": true,
    23              "propagationStatus": "PENDING",
    24              "propagationStatusDate": "2014-04-08T18:25:51.000+0000",
    25              "links": [
    26                  {
    27                      "href": "/config-gtm/v1/domains/example.akadns.net/status/current",
    28                      "rel": "self"
    29                  }
    30              ]
    31          },
    32          "links": [
    33              {
    34                  "href": "/config-gtm/v1/domains/example.akadns.net",
    35                  "rel": "self"
    36              },
    37              {
    38                  "href": "/config-gtm/v1/domains/example.akadns.net/datacenters",
    39                  "rel": "datacenters"
    40              },
    41              {
    42                  "href": "/config-gtm/v1/domains/example.akadns.net/properties",
    43                  "rel": "properties"
    44              },
    45              {
    46                  "href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps",
    47                  "rel": "geographic-maps"
    48              },
    49              {
    50                  "href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps",
    51                  "rel": "cidr-maps"
    52              },
    53              {
    54                  "href": "/config-gtm/v1/domains/example.akadns.net/resources",
    55                  "rel": "resources"
    56              }
    57          ],
    58          "cidrMaps": [
    59              {
    60                  "name": "The North",
    61                  "defaultDatacenter": {
    62                      "datacenterId": 5400,
    63                      "nickname": "All Other CIDR Blocks"
    64                  },
    65                  "assignments": [
    66                      {
    67                          "datacenterId": 3134,
    68                          "nickname": "Frostfangs and the Fist of First Men",
    69                          "blocks": [
    70                              "1.3.5.9",
    71                              "1.2.3.0/24"
    72                          ]
    73                      },
    74                      {
    75                          "datacenterId": 3133,
    76                          "nickname": "Winterfell",
    77                          "blocks": [
    78                              "1.2.4.0/24"
    79                          ]
    80                      }
    81                  ],
    82                  "links": [
    83                      {
    84                          "href": "/config-gtm/v1/domains/example.akadns.net/cidr-maps/The%20North",
    85                          "rel": "self"
    86                      }
    87                  ]
    88              }
    89          ],
    90          "datacenters": [
    91              {
    92                  "city": "Doune",
    93                  "cloneOf": 0,
    94                  "continent": "EU",
    95                  "country": "GB",
    96                  "datacenterId": 3133,
    97                  "latitude": 56.185097,
    98                  "longitude": -4.050264,
    99                  "nickname": "Winterfell",
   100                  "stateOrProvince": "Perthshire",
   101                  "virtual": true,
   102                  "defaultLoadObject": {
   103                      "loadObject": null,
   104                      "loadObjectPort": 0,
   105                      "loadServers": null
   106                  },
   107                  "links": [
   108                      {
   109                          "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3133",
   110                          "rel": "self"
   111                      }
   112                  ]
   113              },
   114              {
   115                  "city": "Sn\u00e6fellsj\u00f6kull",
   116                  "cloneOf": 0,
   117                  "continent": "EU",
   118                  "country": "IS",
   119                  "datacenterId": 3134,
   120                  "latitude": 64.808,
   121                  "longitude": -23.776,
   122                  "nickname": "Frostfangs",
   123                  "stateOrProvince": null,
   124                  "virtual": true,
   125                  "defaultLoadObject": {
   126                      "loadObject": null,
   127                      "loadObjectPort": 0,
   128                      "loadServers": null
   129                  },
   130                  "links": [
   131                      {
   132                          "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/3134",
   133                          "rel": "self"
   134                      }
   135                  ]
   136              },
   137              {
   138                  "city": null,
   139                  "cloneOf": 0,
   140                  "continent": null,
   141                  "country": null,
   142                  "datacenterId": 5400,
   143                  "latitude": 0.0,
   144                  "longitude": 0.0,
   145                  "nickname": "Default Datacenter",
   146                  "stateOrProvince": null,
   147                  "virtual": true,
   148                  "defaultLoadObject": {
   149                      "loadObject": null,
   150                      "loadObjectPort": 0,
   151                      "loadServers": null
   152                  },
   153                  "links": [
   154                      {
   155                          "href": "/config-gtm/v1/domains/example.akadns.net/datacenters/5400",
   156                          "rel": "self"
   157                      }
   158                  ]
   159              }
   160          ],
   161          "geographicMaps": [
   162              {
   163                  "name": "UK Delivery",
   164                  "defaultDatacenter": {
   165                      "datacenterId": 5400,
   166                      "nickname": "Default Mapping"
   167                  },
   168                  "assignments": [
   169                      {
   170                          "datacenterId": 3133,
   171                          "nickname": "UK users",
   172                          "countries": [
   173                              "GB"
   174                          ]
   175                      }
   176                  ],
   177                  "links": [
   178                      {
   179                          "href": "/config-gtm/v1/domains/example.akadns.net/geographic-maps/UK%20Delivery",
   180                          "rel": "self"
   181                      }
   182                  ]
   183              }
   184          ],
   185          "properties": [
   186              {
   187                  "backupCName": null,
   188                  "backupIp": null,
   189                  "balanceByDownloadScore": false,
   190                  "cname": null,
   191                  "comments": null,
   192                  "dynamicTTL": 300,
   193                  "failbackDelay": 0,
   194                  "failoverDelay": 0,
   195                  "handoutMode": "normal",
   196                  "healthMax": null,
   197                  "healthMultiplier": null,
   198                  "healthThreshold": null,
   199                  "ipv6": false,
   200                  "lastModified": "2014-04-08T18:25:52.000+0000",
   201                  "mapName": null,
   202                  "maxUnreachablePenalty": null,
   203                  "name": "www",
   204                  "scoreAggregationType": "mean",
   205                  "staticTTL": 600,
   206                  "stickinessBonusConstant": 0,
   207                  "stickinessBonusPercentage": 0,
   208                  "type": "failover",
   209                  "unreachableThreshold": null,
   210                  "useComputedTargets": false,
   211                  "mxRecords": [],
   212                  "links": [
   213                      {
   214                          "href": "/config-gtm/v1/domains/example.akadns.net/properties/www",
   215                          "rel": "self"
   216                      }
   217                  ],
   218                  "livenessTests": [
   219                      {
   220                          "disableNonstandardPortWarning": false,
   221                          "hostHeader": "foo.example.com",
   222                          "httpError3xx": true,
   223                          "httpError4xx": true,
   224                          "httpError5xx": true,
   225                          "name": "health-check",
   226                          "requestString": null,
   227                          "responseString": null,
   228                          "sslClientCertificate": null,
   229                          "sslClientPrivateKey": null,
   230                          "testInterval": 60,
   231                          "testObject": "/status",
   232                          "testObjectPassword": null,
   233                          "testObjectPort": 80,
   234                          "testObjectProtocol": "HTTP",
   235                          "testObjectUsername": null,
   236                          "testTimeout": 25.0,
   237                          "links": []
   238                      }
   239                  ],
   240                  "trafficTargets": [
   241                      {
   242                          "datacenterId": 5400,
   243                          "enabled": false,
   244                          "handoutCName": null,
   245                          "name": null,
   246                          "weight": 0.0,
   247                          "servers": []
   248                      },
   249                      {
   250                          "datacenterId": 3134,
   251                          "enabled": true,
   252                          "handoutCName": null,
   253                          "name": null,
   254                          "weight": 0.0,
   255                          "servers": [
   256                              "1.2.3.5"
   257                          ]
   258                      },
   259                      {
   260                          "datacenterId": 3133,
   261                          "enabled": true,
   262                          "handoutCName": null,
   263                          "name": null,
   264                          "weight": 1.0,
   265                          "servers": [
   266                              "1.2.3.4"
   267                          ]
   268                      }
   269                  ]
   270              },
   271              {
   272                  "backupCName": null,
   273                  "backupIp": null,
   274                  "balanceByDownloadScore": false,
   275                  "cname": null,
   276                  "comments": null,
   277                  "dynamicTTL": 300,
   278                  "failbackDelay": 0,
   279                  "failoverDelay": 0,
   280                  "handoutMode": "normal",
   281                  "healthMax": null,
   282                  "healthMultiplier": null,
   283                  "healthThreshold": null,
   284                  "ipv6": true,
   285                  "lastModified": "2014-04-08T18:25:52.000+0000",
   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": 1.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": true,
   374                          "handoutCName": "supplies.example.com",
   375                          "name": null,
   376                          "weight": 1.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      },
   556      "status": {
   557          "changeId": "5beb11ae-8908-4bfe-8459-e88efc4d2fdc",
   558          "message": "Change Pending",
   559          "passingValidation": true,
   560          "propagationStatus": "PENDING",
   561          "propagationStatusDate": "2014-04-08T18:25:51.000+0000",
   562          "links": [
   563              {
   564                  "href": "/config-gtm/v1/domains/example.akadns.net/status/current",
   565                  "rel": "self"
   566              }
   567          ]
   568      }
   569  }