You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2019/07/30 13:55:57 UTC

[mesos-site] branch asf-site updated: Updated the website built from mesos SHA: 00bb0b6d6.

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/mesos-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 7876be7  Updated the website built from mesos SHA: 00bb0b6d6.
7876be7 is described below

commit 7876be7ede17051f8107aed07d0a108829fddc86
Author: jenkins <bu...@apache.org>
AuthorDate: Tue Jul 30 13:55:52 2019 +0000

    Updated the website built from mesos SHA: 00bb0b6d6.
---
 .../latest/operator-http-api/index.html            | 170 +++++++++++++++++++++
 content/documentation/operator-http-api/index.html | 170 +++++++++++++++++++++
 2 files changed, 340 insertions(+)

diff --git a/content/documentation/latest/operator-http-api/index.html b/content/documentation/latest/operator-http-api/index.html
index 1460689..6f4da4d 100644
--- a/content/documentation/latest/operator-http-api/index.html
+++ b/content/documentation/latest/operator-http-api/index.html
@@ -1735,6 +1735,91 @@ Content-Type: application/json
 }
 </code></pre>
 
+<h3>GET_OPERATIONS</h3>
+
+<p>Returns a list of all offer operations throughout the cluster, not including
+<code>LAUNCH</code> or <code>LAUNCH_GROUP</code> operations which can be retrieved with <code>GET_TASKS</code>.</p>
+
+<pre><code>GET_OPERATIONS HTTP Request (JSON):
+
+POST /api/v1  HTTP/1.1
+
+Host: masterhost:5050
+Content-Type: application/json
+Accept: application/json
+
+{
+  "type": "GET_OPERATIONS"
+}
+
+
+GET_OPERATIONS HTTP Response (JSON):
+
+HTTP/1.1 200 OK
+
+Content-Type: application/json
+
+{
+  "type": "GET_OPERATIONS",
+  "get_operations": {
+    "operations": [
+      {
+        "framework_id": {"value": "74bddcbc-4a02-4d64-b291-aed52032055f-0000"},
+        "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+        "info": {
+          "type": "CREATE_DISK",
+          "id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "create_disk": {
+            "source": {
+              "provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"},
+              "name": "disk",
+              "type": "SCALAR",
+              "scalar": {"value": 1024.0},
+              "role": "storage-role-1",
+              "allocation_info": {"role": "storage-role-1"},
+              "reservation": {
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              },
+              "reservations": [{
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              }],
+              "disk": {
+                "source": {
+                  "type": "RAW",
+                  "vendor": "nas-service",
+                  "id": "vol-19827509",
+                  "profile": "fast-volume"
+                }
+              }
+            },
+            "target_type": "MOUNT"
+          }
+        },
+        "latest_status": {
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        },
+        "statuses": [{
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        }],
+        "uuid": {"value": "nsj27802-jd82-jd19-jd38-837jdfnoqfij-u284"}
+      }
+    ]
+  }
+}
+</code></pre>
+
 <h3>GET_WEIGHTS</h3>
 
 <p>This call retrieves the information about role weights.</p>
@@ -3607,6 +3692,91 @@ Content-Type: application/json
 }
 </code></pre>
 
+<h3>GET_OPERATIONS</h3>
+
+<p>Returns a list of all offer operations known to the agent, not including
+<code>LAUNCH</code> or <code>LAUNCH_GROUP</code> operations which can be retrieved with <code>GET_TASKS</code>.</p>
+
+<pre><code>GET_OPERATIONS HTTP Request (JSON):
+
+POST /api/v1  HTTP/1.1
+
+Host: agenthost:5051
+Content-Type: application/json
+Accept: application/json
+
+{
+  "type": "GET_OPERATIONS"
+}
+
+
+GET_OPERATIONS HTTP Response (JSON):
+
+HTTP/1.1 200 OK
+
+Content-Type: application/json
+
+{
+  "type": "GET_OPERATIONS",
+  "get_operations": {
+    "operations": [
+      {
+        "framework_id": {"value": "74bddcbc-4a02-4d64-b291-aed52032055f-0000"},
+        "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+        "info": {
+          "type": "CREATE_DISK",
+          "id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "create_disk": {
+            "source": {
+              "provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"},
+              "name": "disk",
+              "type": "SCALAR",
+              "scalar": {"value": 1024.0},
+              "role": "storage-role-1",
+              "allocation_info": {"role": "storage-role-1"},
+              "reservation": {
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              },
+              "reservations": [{
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              }],
+              "disk": {
+                "source": {
+                  "type": "RAW",
+                  "vendor": "nas-service",
+                  "id": "vol-19827509",
+                  "profile": "fast-volume"
+                }
+              }
+            },
+            "target_type": "MOUNT"
+          }
+        },
+        "latest_status": {
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        },
+        "statuses": [{
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        }],
+        "uuid": {"value": "nsj27802-jd82-jd19-jd38-837jdfnoqfij-u284"}
+      }
+    ]
+  }
+}
+</code></pre>
+
 <h3>LAUNCH_NESTED_CONTAINER</h3>
 
 <p>This call launches a nested container. Any authorized entity,
diff --git a/content/documentation/operator-http-api/index.html b/content/documentation/operator-http-api/index.html
index 80893fb..9642dbe 100644
--- a/content/documentation/operator-http-api/index.html
+++ b/content/documentation/operator-http-api/index.html
@@ -1735,6 +1735,91 @@ Content-Type: application/json
 }
 </code></pre>
 
+<h3>GET_OPERATIONS</h3>
+
+<p>Returns a list of all offer operations throughout the cluster, not including
+<code>LAUNCH</code> or <code>LAUNCH_GROUP</code> operations which can be retrieved with <code>GET_TASKS</code>.</p>
+
+<pre><code>GET_OPERATIONS HTTP Request (JSON):
+
+POST /api/v1  HTTP/1.1
+
+Host: masterhost:5050
+Content-Type: application/json
+Accept: application/json
+
+{
+  "type": "GET_OPERATIONS"
+}
+
+
+GET_OPERATIONS HTTP Response (JSON):
+
+HTTP/1.1 200 OK
+
+Content-Type: application/json
+
+{
+  "type": "GET_OPERATIONS",
+  "get_operations": {
+    "operations": [
+      {
+        "framework_id": {"value": "74bddcbc-4a02-4d64-b291-aed52032055f-0000"},
+        "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+        "info": {
+          "type": "CREATE_DISK",
+          "id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "create_disk": {
+            "source": {
+              "provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"},
+              "name": "disk",
+              "type": "SCALAR",
+              "scalar": {"value": 1024.0},
+              "role": "storage-role-1",
+              "allocation_info": {"role": "storage-role-1"},
+              "reservation": {
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              },
+              "reservations": [{
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              }],
+              "disk": {
+                "source": {
+                  "type": "RAW",
+                  "vendor": "nas-service",
+                  "id": "vol-19827509",
+                  "profile": "fast-volume"
+                }
+              }
+            },
+            "target_type": "MOUNT"
+          }
+        },
+        "latest_status": {
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        },
+        "statuses": [{
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        }],
+        "uuid": {"value": "nsj27802-jd82-jd19-jd38-837jdfnoqfij-u284"}
+      }
+    ]
+  }
+}
+</code></pre>
+
 <h3>GET_WEIGHTS</h3>
 
 <p>This call retrieves the information about role weights.</p>
@@ -3607,6 +3692,91 @@ Content-Type: application/json
 }
 </code></pre>
 
+<h3>GET_OPERATIONS</h3>
+
+<p>Returns a list of all offer operations known to the agent, not including
+<code>LAUNCH</code> or <code>LAUNCH_GROUP</code> operations which can be retrieved with <code>GET_TASKS</code>.</p>
+
+<pre><code>GET_OPERATIONS HTTP Request (JSON):
+
+POST /api/v1  HTTP/1.1
+
+Host: agenthost:5051
+Content-Type: application/json
+Accept: application/json
+
+{
+  "type": "GET_OPERATIONS"
+}
+
+
+GET_OPERATIONS HTTP Response (JSON):
+
+HTTP/1.1 200 OK
+
+Content-Type: application/json
+
+{
+  "type": "GET_OPERATIONS",
+  "get_operations": {
+    "operations": [
+      {
+        "framework_id": {"value": "74bddcbc-4a02-4d64-b291-aed52032055f-0000"},
+        "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+        "info": {
+          "type": "CREATE_DISK",
+          "id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "create_disk": {
+            "source": {
+              "provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"},
+              "name": "disk",
+              "type": "SCALAR",
+              "scalar": {"value": 1024.0},
+              "role": "storage-role-1",
+              "allocation_info": {"role": "storage-role-1"},
+              "reservation": {
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              },
+              "reservations": [{
+                "type": "DYNAMIC",
+                "role": "storage-role-1",
+                "principal": "storage-service"
+              }],
+              "disk": {
+                "source": {
+                  "type": "RAW",
+                  "vendor": "nas-service",
+                  "id": "vol-19827509",
+                  "profile": "fast-volume"
+                }
+              }
+            },
+            "target_type": "MOUNT"
+          }
+        },
+        "latest_status": {
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        },
+        "statuses": [{
+          "operation_id": {"value": "n2j8nksj-9827-82bk-nd7u-83hbchu7whdk-9978"},
+          "state": "OPERATION_PENDING",
+          "uuid": {"value": "28987843-j288-1k0s-l29n-837ybzmo18tj-nv73"},
+          "agent_id": {"value": "18083noa-j287-dan4-9qx6-l02b84nksb7z-0021"},
+          "resource_provider_id": {"value": "837hfmi2-u2u7-19pp-1884-812i8f02828j-0030"}
+        }],
+        "uuid": {"value": "nsj27802-jd82-jd19-jd38-837jdfnoqfij-u284"}
+      }
+    ]
+  }
+}
+</code></pre>
+
 <h3>LAUNCH_NESTED_CONTAINER</h3>
 
 <p>This call launches a nested container. Any authorized entity,