Skip to main content
A newer release of this product is available.

Cluster MetroCluster operations endpoint overview

Contributors

Overview

Retrieves a list of recent MetroCluster operations. To view more information about a specific operation, use the /cluster/metrocluster/operations/{uuid} API endpoint.


Examples

Retrieves all MetroCluster operations

GET https://<mgmt-ip>/api/cluster/metrocluster/operations?fields=*
{
  "records": [
      {
          "uuid": "a14ae39f-8d85-11e9-b4a7-00505682dc8b",
          "type": "check",
          "state": "successful",
          "start_time": "2019-06-14T11:15:00-07:00",
          "end_time": "2019-06-14T11:16:08-07:00",
          "_links": {
              "self": {
                  "href": "/api/cluster/metrocluster/operations/a14ae39f-8d85-11e9-b4a7-00505682dc8b"
              }
          }
      },
      {
          "uuid": "7058df27-8d85-11e9-bbc9-005056826931",
          "type": "configure",
          "state": "successful",
          "start_time": "2019-06-12T19:46:27-07:00",
          "end_time": "2019-06-12T19:48:17-07:00",
          "_links": {
              "self": {
                  "href": "/api/cluster/metrocluster/operations/7058df27-8d85-11e9-bbc9-005056826931"
              }
          }
      },
      {
          "uuid": "7849515d-8d84-11e9-bbc9-005056826931",
          "type": "connect",
          "state": "successful",
          "start_time": "2019-06-12T19:39:30-07:00",
          "end_time": "2019-06-12T19:42:02-07:00",
          "_links": {
              "self": {
                  "href": "/api/cluster/metrocluster/operations/7849515d-8d84-11e9-bbc9-005056826931"
              }
          }
      },
      {
          "uuid": "331c79ad-8d84-11e9-b4a7-00505682dc8b",
          "type": "interface_create",
          "state": "successful",
          "start_time": "2019-06-12T19:37:35-07:00",
          "end_time": "2019-06-12T19:37:41-07:00",
          "_links": {
              "self": {
                  "href": "/api/cluster/metrocluster/operations/331c79ad-8d84-11e9-b4a7-00505682dc8b"
              }
          }
      }
  ],
  "num_records": 4,
  "_links": {
      "self": {
          "href": "/api/cluster/metrocluster/operations?fields=%2A"
      }
  }
}

Retrieves Information about a specific MetroCluster operation

GET https://<mgmt-ip>/api/cluster/metrocluster/operations/0db12274-86fd-11e9-8053-00505682c342
{
  "uuid": "0db12274-86fd-11e9-8053-00505682c342",
  "name": "check",
  "state": "successful",
  "start_time": "2019-06-06T16:15:01-07:00",
  "end_time": "2019-06-06T16:16:05-07:00",
  "_links": {
      "self": {
          "href": "/api/cluster/metrocluster/operations/0db12274-86fd-11e9-8053-00505682c342"
      }
  }
}