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

     1  {
     2      "resource": {
     3          "backupCName": null,
     4          "backupIp": null,
     5          "balanceByDownloadScore": false,
     6          "cname": null,
     7          "comments": null,
     8          "dynamicTTL": 300,
     9          "failbackDelay": 0,
    10          "failoverDelay": 0,
    11          "handoutMode": "normal",
    12          "healthMax": null,
    13          "healthMultiplier": null,
    14          "healthThreshold": null,
    15          "ipv6": false,
    16          "lastModified": null,
    17          "loadImbalancePercentage": null,
    18          "mapName": null,
    19          "maxUnreachablePenalty": null,
    20          "name": "origin",
    21          "scoreAggregationType": "mean",
    22          "staticTTL": 600,
    23          "stickinessBonusConstant": 0,
    24          "stickinessBonusPercentage": 0,
    25          "type": "weighted-round-robin",
    26          "unreachableThreshold": null,
    27          "useComputedTargets": false,
    28          "mxRecords": [],
    29          "links": [
    30              {
    31                  "href": "/config-gtm/v1/domains/example.akadns.net/properties/origin",
    32                  "rel": "self"
    33              }
    34          ],
    35          "livenessTests": [
    36              {
    37                  "disableNonstandardPortWarning": false,
    38                  "hostHeader": "foo.example.com",
    39                  "httpError3xx": true,
    40                  "httpError4xx": true,
    41                  "httpError5xx": true,
    42                  "name": "health-check",
    43                  "requestString": null,
    44                  "responseString": null,
    45                  "sslClientCertificate": null,
    46                  "sslClientPrivateKey": null,
    47                  "testInterval": 60,
    48                  "testObject": "/status",
    49                  "testObjectPassword": null,
    50                  "testObjectPort": 80,
    51                  "testObjectProtocol": "HTTP",
    52                  "testObjectUsername": null,
    53                  "testTimeout": 25.0
    54              }
    55          ],
    56          "trafficTargets": [
    57              {
    58                  "datacenterId": 3134,
    59                  "enabled": true,
    60                  "handoutCName": null,
    61                  "name": null,
    62                  "weight": 50.0,
    63                  "servers": [
    64                      "1.2.3.5"
    65                  ]
    66              },
    67              {
    68                  "datacenterId": 3133,
    69                  "enabled": true,
    70                  "handoutCName": null,
    71                  "name": null,
    72                  "weight": 50.0,
    73                  "servers": [
    74                      "1.2.3.4"
    75                  ]
    76              }
    77          ]
    78      },
    79      "status": {
    80          "changeId": "eee0c3b4-0e45-4f4b-822c-7dbc60764d18",
    81          "message": "Change Pending",
    82          "passingValidation": true,
    83          "propagationStatus": "PENDING",
    84          "propagationStatusDate": "2014-04-15T11:30:27.000+0000",
    85          "links": [
    86              {
    87                  "href": "/config-gtm/v1/domains/example.akadns.net/status/current",
    88                  "rel": "self"
    89              }
    90          ]
    91      }
    92  }