Activities

Up
get /ego/v1/activity/{id}
(getActivity)
Get the status of an existing resource orchestrator activity by using its ID.

Path parameters

id (required)
Path Parameter — The ID of the requested activity.

Return type

Example data

Content-Type: application/json
{
  "memorylocklimit" : "memorylocklimit",
  "filelimit" : "filelimit",
  "nofilelimit" : "nofilelimit",
  "environments" : [ "environments", "environments" ],
  "standardoutput" : "standardoutput",
  "allocationid" : "allocationid",
  "starttime" : "starttime",
  "activityspecification" : {
    "umask" : "umask",
    "stdoutfile" : "stdoutfile",
    "environments" : [ {
      "example_key" : "example_key"
    }, {
      "example_key" : "example_key"
    } ],
    "rlimitfsize" : 2,
    "rlimitdata" : 3,
    "rlimitrss" : 7,
    "rlimitnofile" : 4,
    "precmdstdoutfile" : "precmdstdoutfile",
    "stderrfile" : "stderrfile",
    "rlimitcpu" : 9,
    "rlimitcore" : 7,
    "precmdtimeout" : 5,
    "precommand" : "precommand",
    "precmdstderrfile" : "precmdstderrfile",
    "postcmdexitstatus" : 6,
    "executionuser" : "executionuser",
    "postcmdstdoutfile" : "postcmdstdoutfile",
    "executioncwd" : "executioncwd",
    "command" : "command",
    "rlimitstack" : 1,
    "postcmdtimeout" : 1,
    "precmdexitstatus" : 5,
    "precmdexitreason" : "precmdexitreason",
    "postcmdstderrfile" : "postcmdstderrfile",
    "postcommand" : "postcommand",
    "postcmdexitreason" : "postcmdexitreason",
    "executionhost" : "executionhost",
    "rlimitas" : 2
  },
  "cpulimit" : "cpulimit",
  "aslimit" : "aslimit",
  "clientname" : "clientname",
  "datalimit" : "datalimit",
  "exitstatus" : 0,
  "id" : "id",
  "state" : "state",
  "inforeportedbyjobmonitor" : "inforeportedbyjobmonitor",
  "corelimit" : "corelimit",
  "exitreason" : "exitreason",
  "stacklimit" : "stacklimit",
  "executionuser" : "executionuser",
  "endtime" : "endtime",
  "consumername" : "consumername",
  "command" : "command",
  "cwd" : "cwd",
  "runtimeinformation" : {
    "jmpid" : 5,
    "uid" : 1,
    "pempid" : 1,
    "gid" : 1,
    "jmpgid" : 9,
    "jmpempid" : 9,
    "rrusage" : {
      "mem" : 8,
      "npids" : 6,
      "swap" : 9,
      "utime" : 6,
      "gpumetrics" : [ {
        "gpumemusage" : 5.94489560761401580890606055618263781070709228515625,
        "gpuutilization" : 6,
        "gpudeviceindex" : 6
      }, {
        "gpumemusage" : 5.94489560761401580890606055618263781070709228515625,
        "gpuutilization" : 6,
        "gpudeviceindex" : 6
      } ],
      "stime" : 3,
      "nthreads" : 2,
      "npgids" : 1,
      "gpudevicenum" : 6
    },
    "pgid" : 7,
    "srusage" : {
      "maxrss" : 7.143538047012306,
      "idrss" : 6.519180951018382,
      "msgrcv" : 3.2588565619047607,
      "nsignals" : 4.078845849666752,
      "utime" : 3.353193347011243,
      "nswap" : 7.740351818741173,
      "minflt" : 4.652396432933246,
      "stime" : 3.0937452626664474,
      "msgsnd" : 5.533258397034986,
      "exutime" : 4.258773108174356,
      "majflt" : 8.969578798196912,
      "inblock" : 3.0205796992916243,
      "isrss" : 0.10263654006109402,
      "oublock" : 3.0576100241049344,
      "ioch" : 7.04836565559697,
      "nvcsw" : 0.2025324113236393,
      "ismrss" : 7.058770351582356,
      "ixrss" : 0.8851374739011653,
      "nivcsw" : 6.628464275087742
    },
    "pid" : 6,
    "jmpempgid" : 6,
    "pempgid" : 4
  },
  "processid" : "processid",
  "name" : "name",
  "rsslimit" : "rsslimit",
  "jobmonitorcommand" : "jobmonitorcommand",
  "resourcename" : "resourcename",
  "dockercontainergroupinfo" : {
    "totalnumberofdockercontainer" : 1,
    "dockernetworkinfo" : "dockernetworkinfo"
  }
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the activity information. ActivityInfo

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The activity with the specified ID was not found.

500

An unexpected error occurred while retrieving the activity information.

Up
get /ego/v1/activity/{id}/dockercontainers
(getActivityDockerContainers)
Get the Docker containers of an existing resource orchestrator activity by its ID.

Path parameters

id (required)
Path Parameter — The ID of the requested activity.

Return type

Example data

Content-Type: application/json
[ {
  "errormessage" : "errormessage",
  "diskio" : 1.4658129805029452,
  "publishedports" : "publishedports",
  "memory" : 6.027456183070403,
  "name" : "name",
  "id" : "id",
  "cputime" : 0
}, {
  "errormessage" : "errormessage",
  "diskio" : 1.4658129805029452,
  "publishedports" : "publishedports",
  "memory" : 6.027456183070403,
  "name" : "name",
  "id" : "id",
  "cputime" : 0
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the Docker container information for the activity.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The activity with the specified ID was not found.

500

An unexpected error occurred while trying to get the Docker container information for the activity.

Up
post /ego/v1/activity
(startActivity)
Start a new activity on a host in the cluster.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

activity ActivityInfoRequest (required)
Body Parameter — The activity detail.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "id" : "id"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

The activity is started successfully. ActivityInfoCreateResponse

400

The start request is missing values or contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

500

An unexpected error occurred while starting the activity.

Up
delete /ego/v1/activity/{id}
(terminateActivity)
Terminate an activity by its ID.

Path parameters

id (required)
Path Parameter — The ID of the requested activity.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully terminated the activity.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The activity with the specified ID was not found.

500

An unexpected error occurred while terminating the activity.

Authentication

Up
get /ego/v1/auth/logon
(logon)
Obtain login session tokens to use for session authentication within the RESTful API. Tokens are valid for 8 hours.

Request headers

Return type

Example data

Content-Type: application/json
{
  "csrftoken" : "csrftoken"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successful response that contains the CSRF token. CSRFToken

401

Authentication error. The request was denied.

500

An unexpected error occurred.

Up
post /ego/v1/auth/renew
(renew)
Renew login session tokens to use for session authentication. Tokens are valid for 8 hours and must be renewed before they expire.

Request body

csrftoken CSRFToken (optional)
Body Parameter — The CSRF token that is obtained by the previous call to the /logon method.

Request headers

Return type

Example data

Content-Type: application/json
{
  "csrftoken" : "csrftoken"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successful response that contains the renewed CSRF token. CSRFToken

401

Authentication error. The request was denied.

500

An unexpected error occurred.

Consumers

Up
post /ego/v1/consumers/{consumerPath}
(createConsumer)
Create a new consumer.

Path parameters

consumerPath (required)
Path Parameter — The consumer path of the new consumer's parent. The new consumer is created under this path.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

consumer Consumer (required)
Body Parameter — The details for the new consumer.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "rebalance" : true,
  "allowedgroups" : [ "allowedgroups", "allowedgroups" ],
  "executionuser" : "executionuser",
  "roles" : [ "roles", "roles" ],
  "name" : "name",
  "reclamationtime" : 0,
  "users" : [ "users", "users" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ],
  "allowedusers" : [ "allowedusers", "allowedusers" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully created the new consumer. ConsumerResponseObject

400

Bad request. The consumer details might be invalid.

401

Authentication error. The request was denied.

500

An unexpected error occurred while creating a new consumer.

Up
get /ego/v1/consumers
(getAllConsumers)
Get a list of all of the consumer resources in the cluster.

Query parameters

name (optional)
Query Parameter — Optionally filter the list by consumer name.

Return type

Example data

Content-Type: application/json
[ {
  "path" : "path",
  "name" : "name"
}, {
  "path" : "path",
  "name" : "name"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the consumer list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the consumer list.

Up
get /ego/v1/consumers/{consumerPath}
(getConsumerByPath)
Get a consumer by the consumer path.

Path parameters

consumerPath (required)
Path Parameter — The path of the consumer that is being retrieved. Note that if the initial slash of the consumer path is explicitly specified (for example /ego/v1/consumers//ParentConsumer/LeafConsumer), the users and roles associated with the consumer will be returned. If the initial slash is not explicitly specified (for example /ego/v1/consumers/ParentConsumer/LeafConsumer), the users and roles will not be returned.

Return type

Example data

Content-Type: application/json
{
  "rebalance" : true,
  "allowedgroups" : [ "allowedgroups", "allowedgroups" ],
  "executionuser" : "executionuser",
  "roles" : [ "roles", "roles" ],
  "name" : "name",
  "reclamationtime" : 0,
  "users" : [ "users", "users" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ],
  "allowedusers" : [ "allowedusers", "allowedusers" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the consumer information. ConsumerWithUserAndRoles

401

Authentication error. The request was denied.

404

The consumer is not found.

500

An unexpected error occurred while retrieving the consumer details.

Up
put /ego/v1/consumers/{consumerPath}
(modifyConsumer)
Modify an existing consumer.

Path parameters

consumerPath (required)
Path Parameter — The path of the consumer that is being modified. Note that you do not need to specify an additional slash for the start of the consumer path (for example, /ego/v1/consumers/ParentConsumer/ConsumerToModify).

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

consumer Consumer (required)
Body Parameter — The details to modify for the consumer.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "rebalance" : true,
  "allowedgroups" : [ "allowedgroups", "allowedgroups" ],
  "executionuser" : "executionuser",
  "roles" : [ "roles", "roles" ],
  "name" : "name",
  "reclamationtime" : 0,
  "users" : [ "users", "users" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ],
  "allowedusers" : [ "allowedusers", "allowedusers" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the consumer. ConsumerResponseObject

400

Bad request. The consumer details might be invalid.

401

Authentication error. The request was denied.

404

The consumer is not found.

409

A resource group in the consumer details does not belong to the parent of the specified consumer.

500

An unexpected error occurred while modifying the consumer.

Up
delete /ego/v1/consumers/{consumerPath}
(removeConsumer)
Remove a consumer.

Path parameters

consumerPath (required)
Path Parameter — The path of the consumer that is being removed. Note that you do not need to specify an additional slash for the start of the consumer path (for example, /ego/v1/consumers/ParentConsumer/ConsumerToDelete).

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully removed the consumer.

401

Authentication error. The request was denied.

404

The consumer is not found.

409

The consumer cannot be removed while it has resource allocations.

500

An unexpected error occurred while removing the consumer.

Deployments

Up
post /deployment/v1
(addServicePackage)
Add the service package at the specified consumer path. If the service package exists, it is overwritten by the new package. Ensure that the content-type of the request to send is multipart/form-data, and that all parameters are appended to the query string.

Query parameters

consumerpath (required)
Query Parameter — The consumer path at which the service package is added.
packagename (required)
Query Parameter — The name of the service package to add. The package name must not exceed 120 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).
verifypackage (optional)
Query Parameter — Whether to verify that the service package complies with structure and configuration requirements. Default is true.
csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Form parameters

packageFile (required)
Form Parameter — The content of the service package file to add. Ensure that the content format of service package file complies with the content type multipart/form-data and is no larger than 4 GB.

Responses

201

Successfully added the service package at the specified consumer.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

500

An unexpected error occurred while adding the service package.

Up
post /deployment/v1/copyfile/{os}
(createCopyFileServicePackageLinux)
Create a service package at the specified consumer path. The service package will copy the uploaded file to the specified destination path at deploy time. If the service package exists, it is overwritten by the new package. Ensure that the content-type of the request to send is multipart/form-data, and that all parameters are appended to the query string.

Path parameters

os (required)
Path Parameter — The operating system to create the service package for. Supported values are [linux].

Query parameters

consumerpath (required)
Query Parameter — The consumer path at which the service package is added.
packagename (required)
Query Parameter — The name of the service package to add. The package name must not exceed 120 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).
destinationpath (required)
Query Parameter — The path to copy the file to when the service package is deployed.
permissions (optional)
Query Parameter — The unix file permissions for the copied file. The default value is 644.
decompress (optional)
Query Parameter — Flag to indicate whether the file should be decompressed after it is copied to the destination path. The default value is false.
csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Form parameters

file (required)
Form Parameter — The content of the service package file to add. Ensure that the content format of service package file complies with the content type multipart/form-data and is no larger than 4 GB.

Responses

201

Successfully added the service package at the specified consumer.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

500

An unexpected error occurred while adding the service package.

Up
delete /deployment/v1/{consumerPath}
(deleteServicePackage)
Delete a service package at the specified consumer path and package name combination.

Path parameters

consumerPath (required)
Path Parameter — The consumer path and the package name, which are separated by /, indicating the consumer and name of the service package that are removed. [Note] Escape (space) in the consumer path with %20. The package name must not exceed 1024 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully deleted the service package.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The service package with the specified name and consumer was not found.

409

Cannot delete a service package while a deployment is in progress.

500

An unexpected error occurred while deleting the service package.

Up
put /deployment/v1/deploy
(deployServicePackage)
Trigger deployment (push) of the specified service package to the specified targets. When one deployment or undeployment is in progress, another deployment cannot be triggered successfully.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

packageDeploymentInfo ServicePackageOperationInfo (required)
Body Parameter — The service package operation resource that specifies the deployment operation to perform on the service package.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully triggered deploying (pushing) the service package to the specified targets.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The service package with the specified name and consumer was not found.

409

A conflicting deployment or undeployment is already in progress.

500

An unexpected error occurred while deploying the service package.

Up
get /deployment/v1/*
(getAllServicePackages)
Retrieve service packages from the root consumer.

Request headers

Query parameters

packagename (optional)
Query Parameter — Optionally filter the list by service package name. The package name must not exceed 1024 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).
subnodes (optional)
Query Parameter — Whether to retrieve service packages from descendant consumers in the specified consumer branch. Default is false.
supernodes (optional)
Query Parameter — Whether to retrieve service packages from ancestral consumers in the specified consumer branch. Default is false.

Return type

Example data

Content-Type: application/json
[ {
  "size" : 0,
  "consumerpath" : "consumerpath",
  "name" : "name",
  "updatetime" : 6
}, {
  "size" : 0,
  "consumerpath" : "consumerpath",
  "name" : "name",
  "updatetime" : 6
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service package list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while trying to get the service package list.

Up
get /deployment/v1/status/{packageName}
(getHostDeploymentStatus)
Retrieve the status of deployment or undeployment on a host. When multiple service packages with the same package name are deployed or undeployed or are triggered to deploy or undeploy, the status is the one of the last triggered deployment or undeployment.

Path parameters

packageName (required)
Path Parameter — The name of the service package to query (required). The package name must not exceed 1024 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).

Request headers

Query parameters

host (optional)
Query Parameter — Optionally filter by host name.
status (optional)
Query Parameter — Optionally filter by deployment status. Valid values are NOT STARTED, ALLOCATING, ALLOCATED, WAITING, DOWNLOADING, RUNNING, INSTALLED, UNINSTALLED, ERROR, and CANCELLED.

Return type

Example data

Content-Type: application/json
[ {
  "name" : "name",
  "status" : "status"
}, {
  "name" : "name",
  "status" : "status"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the host deployment status.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The service package with the specified name was not found.

416

An index is out of range.

500

An unexpected error occurred while trying to get host deployment status.

Up
get /deployment/v1/{consumerPath}
(getServicePackagesByConsumer)
Retrieve service packages at the specified consumer path.

Path parameters

consumerPath (required)
Path Parameter — The consumer path at which the service package is retrieved.

Request headers

Query parameters

packagename (optional)
Query Parameter — Optionally filter the list by service package name. The package name must not exceed 1024 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).
subnodes (optional)
Query Parameter — Whether to retrieve service packages from descendant consumers in the specified consumer branch. Default is false.
supernodes (optional)
Query Parameter — Whether to retrieve service packages from ancestral consumers in the specified consumer branch. Default is false.

Return type

Example data

Content-Type: application/json
[ {
  "size" : 0,
  "consumerpath" : "consumerpath",
  "name" : "name",
  "updatetime" : 6
}, {
  "size" : 0,
  "consumerpath" : "consumerpath",
  "name" : "name",
  "updatetime" : 6
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service package list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while trying to get the service packages list.

Up
put /deployment/v1/undeploy
(undeployServicePackage)
Trigger undeployment of the specified service package from the specified targets. When one deployment or undeployment is in progress, another deployment cannot be triggered successfully.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

packageUndeploymentInfo ServicePackageOperationInfo (required)
Body Parameter — The service package operation resource that specifies the undeployment operation to perform on the service package.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully triggered undeploying (pushing) the service package from the specified targets.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

404

The service package with the specified name and consumer was not found.

409

A conflicting deployment or undeployment is already in progress.

500

An unexpected error occurred while undeploying the service package.

Entitlements

Up
get /ego/v1/entitlements
(getEntitlementStatus)
Get a list of entitlements in the cluster.

Return type

Example data

Content-Type: application/json
{
  "sym" : "sym",
  "ego" : "ego",
  "cws" : "cws",
  "lsf" : "lsf"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the list of entitlements in the cluster. EntitlementStatus

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the entitlement list.

Hosts

Up
get /ego/v1/hosts/{hostname}
(getHost)
Get a host resource by host name.

Path parameters

hostname (required)
Path Parameter — The host name of the server that is being retrieved.

Return type

Example data

Content-Type: application/json
{
  "hostname" : "hostname",
  "attributes" : [ {
    "name" : "name",
    "value" : "value"
  }, {
    "name" : "name",
    "value" : "value"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the host resource. Host

401

Authentication error. The request was denied.

404

The host resource is not found.

500

An unexpected error occurred while retrieving the host resource.

Up
get /ego/v1/hosts
(getHosts)
Get a list of hosts in the cluster by host name.

Request headers

Query parameters

resourcerequirement (optional)
Query Parameter — Optionally filter by resource requirement.

Return type

array[Host]

Example data

Content-Type: application/json
[ {
  "hostname" : "hostname",
  "attributes" : [ {
    "name" : "name",
    "value" : "value"
  }, {
    "name" : "name",
    "value" : "value"
  } ]
}, {
  "hostname" : "hostname",
  "attributes" : [ {
    "name" : "name",
    "value" : "value"
  }, {
    "name" : "name",
    "value" : "value"
  } ]
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the host list.

400

Bad request. The request might contain invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the host list.

Logs

Up
get /ego/v1/logs/system/{hostname}/{filename}
(getLog)
Get the contents of a log file from a host.

Path parameters

hostname (required)
Path Parameter — The host name of the server where the log is located.
filename (required)
Path Parameter — The log file name to retrieve.

Request headers

Query parameters

executionuser (optional)
Query Parameter — The execution user of consumers for which the logon user can retrieve logs (required when 'RestrictHostLogRetrieve' in pmc_conf_ego.xml is set to 'True').

Return type

String

Example data

Content-Type:

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • text/plain

Responses

200

Successfully retrieved the log file. String

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The host or file is not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the log.

Up
get /ego/v1/logs/service/{servicename}/{serviceinstanceid}/{filename}
(getServiceInstanceLog)
Get the contents of a service instance log file from a host. Pagination by bytes is supported.

Path parameters

servicename (required)
Path Parameter — The name of the resource orchestrator service.
serviceinstanceid (required)
Path Parameter — Sequence ID of service instance.
filename (required)
Path Parameter — The log file name to retrieve.

Request headers

Query parameters

executionuser (optional)
Query Parameter — The execution user of consumers for which the logon user can retrieve logs (required when 'RestrictHostLogRetrieve' in pmc_conf_ego.xml is set to 'True').

Return type

String

Example data

Content-Type:

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • text/plain

Responses

200

Successfully retrieved the log file. String

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The host or file is not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the log.

Up
get /ego/v1/logs/service/{servicename}/{serviceinstanceid}
(getServiceLogListPerInstance)
Get a list of service instance logs that are available on a host for a specified instance based on the service's log retrieval pattern. Pagination is supported.

Path parameters

servicename (required)
Path Parameter — The name of the resource orchestrator service.
serviceinstanceid (required)
Path Parameter — The sequence ID of a service instance.

Request headers

Query parameters

prefix (optional)
Query Parameter — Optionally filter by log prefix; for example "lim".
executionuser (optional)
Query Parameter — The execution user of consumers for which the logon user can retrieve logs (required when 'RestrictHostLogRetrieve' in pmc_conf_ego.xml is set to 'True').

Return type

array[Log]

Example data

Content-Type: application/json
[ {
  "date" : "date",
  "size" : 0,
  "name" : "name"
}, {
  "date" : "date",
  "size" : 0,
  "name" : "name"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the log list for the service instance.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the log list.

Up
get /ego/v1/logs/system/{hostname}
(getSystemLogsByHost)
Get a list of system logs on a host in the cluster.

Path parameters

hostname (required)
Path Parameter — The host name of the server to search for logs.

Request headers

Query parameters

prefix (optional)
Query Parameter — Optionally filter by log prefi; for example "lim".
executionuser (optional)
Query Parameter — The execution user of consumers for which the logon user can retrieve logs (required when 'RestrictHostLogRetrieve' in pmc_conf_ego.xml is set to 'True').

Return type

array[Log]

Example data

Content-Type: application/json
[ {
  "date" : "date",
  "size" : 0,
  "name" : "name"
}, {
  "date" : "date",
  "size" : 0,
  "name" : "name"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the log list on the host.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the log list.

MultidimensionalScheduling

Up
post /ego/v1/mdsplans
(createMDSplan)
Create a new multidimensional resource plan.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

mdsPlanName MDSPlan (required)
Body Parameter — The name of the multidimensional resource plan that specifies the details to set in the new multidimensional resource plan.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "planname" : "planname",
  "consumers" : [ "consumers", "consumers" ],
  "resourcemetrics" : [ "resourcemetrics", "resourcemetrics" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully created the multidimensional resource plan. MDSPlan

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

409

A multidimensional resource plan with the same name already exists.

500

An unexpected error occurred while creating the multidimensional resource plan.

Up
delete /ego/v1/mdsplans/{mdsPlanName}
(deleteMDSplan)
Delete a multidimensional resource plan.

Path parameters

mdsPlanName (required)
Path Parameter — The name of the multidimensional resource plan to delete.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully deleted the multidimensional resource plan.

401

Authentication error. The request was denied.

404

The multidimensional resource plan with the specified name was not found.

500

An unexpected error occurred while deleting the multidimensional resource plan.

Up
get /ego/v1/mdsplans/xml
(exportMDSplansXML)
Export the XML of all existing multidimensional resource plans in the cluster.

Request headers

Return type

String

Example data

Content-Type:

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • text/plain

Responses

200

Successfully exported the XML of all existing multidimensional resource plans. String

400

Bad request. The request contains unsupported values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

500

An unexpected error occurred while exporting the XML of the multidimensional resource plans.

Up
get /ego/v1/mdsplans/xml/{mdsPlanName}
(exportSingleMDSplanXML)
Export the XML for a single existing multidimensional resource plan in the cluster.

Path parameters

mdsPlanName (required)
Path Parameter — The name of the multidimensional resource plan that is being exported.

Request headers

Return type

String

Example data

Content-Type:

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • text/plain

Responses

200

Successfully exported the XML of a single existing multidimensional resource plan. String

400

Bad request. The request contains unsupported values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

500

An unexpected error occurred while exporting the XML of the multidimensional resource plan.

Up
get /ego/v1/mdsplans
(getAllMDSplans)
Get a list of all multidimensional resource plans in the cluster.

Request headers

Query parameters

consumer (optional)
Query Parameter — Optionally filter the list by consumer.

Return type

array[MDSPlan]

Example data

Content-Type: application/json
[ {
  "planname" : "planname",
  "consumers" : [ "consumers", "consumers" ],
  "resourcemetrics" : [ "resourcemetrics", "resourcemetrics" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ]
}, {
  "planname" : "planname",
  "consumers" : [ "consumers", "consumers" ],
  "resourcemetrics" : [ "resourcemetrics", "resourcemetrics" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ]
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the multidimensional resource plans.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

403

Forbidden. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the multidimensional resource plan.

Up
get /ego/v1/mdsplans/{mdsPlanName}
(getMDSplan)
Get a multidimensional resource plan by its name.

Path parameters

mdsPlanName (required)
Path Parameter — The name of the multidimensional resource plan that is being retrieved.

Return type

Example data

Content-Type: application/json
{
  "planname" : "planname",
  "consumers" : [ "consumers", "consumers" ],
  "resourcemetrics" : [ "resourcemetrics", "resourcemetrics" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the multidimensional resource plan. MDSPlan

401

Authentication error. The request was denied.

404

The requested multidimensional resource plan is not found.

500

An unexpected error occurred while retrieving the multidimensional resource plan.

Up
put /ego/v1/mdsplans/xml/{mdsPlanName}
(importExistedMDSplanXML)
Import the XML of a multidimensional resource plan to update an existing multidimensional resource plan.

Path parameters

mdsPlanName (required)
Path Parameter — The name of the multidimensional resource plan that is being modified.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Form parameters

file (required)
Form Parameter — The contents of the multidimensional resource plan's XML file to update. Ensure that the content format of the multidimensional resource plan's XML file complies with the content type multipart and data form, and does not exceed 4 GB.

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully imported the XML of the multidimensional resource plan to update the existing multidimensional resource plan.

400

Bad request. The request contains unsupported values.

401

Authentication error. The request was denied.

404

The requested multidimensional resource plan is not found.

409

The multidimensional resource plan name in the request URL does not match the name of the multidimensional resource plan in the request body.

500

An unexpected error occurred while importing the XML of the multidimensional resource plan.

Up
post /ego/v1/mdsplans/xml
(importNewMDSplanXML)
Import the XML of a multidimensional resource plan to create a new multidimensional resource plan.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Form parameters

file (required)
Form Parameter — The contents, of the multidimensional resource plan's XML file, to add. Ensure that the content format of the multidimensional resource plan's XML file only contains one multidimensional resource plan, complies with the content type multipart and form data, and does not exceed 4 GB.

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully imported the XML of the multidimensional resource plan.

400

Bad request. The request contains unsupported values.

401

Authentication error. The request was denied.

409

A multidimensional resource plan with the same name already exists.

500

An unexpected error occurred while importing the XML of the multidimensional resource plan.

Up
put /ego/v1/mdsplans/{mdsPlanName}
(modifyMDSplan)
Modify an existing multidimensional resource plan.

Path parameters

mdsPlanName (required)
Path Parameter — The name of the multidimensional resource plan that is being modified.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

mdsResPlan ModifyMDSPlan (required)
Body Parameter — The multidimensional resource plan that specifies the details to set in the multidimensional resource plan.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "planname" : "planname",
  "consumers" : [ "consumers", "consumers" ],
  "resourcemetrics" : [ "resourcemetrics", "resourcemetrics" ],
  "resourcegroups" : [ "resourcegroups", "resourcegroups" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the multidimensional resource plan. ModifyMDSPlan

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The requested multidimensional resource plan is not found.

409

The multidimensional resource plan name in the request URL does not match the name of the multidimensional resource plan in the request body.

500

An unexpected error occurred while modifying the multidimensional resource plan.

Packages

Up
get /ego/v1/packages
(getClusterPackageInfo)
Get a list of hosts' packages in the cluster.

Return type

Example data

Content-Type: application/json
{
  "hostsInfo" : [ {
    "hostName" : "hostName",
    "collectTime" : "collectTime",
    "moduleList" : [ {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    }, {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    } ],
    "activeList" : [ {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    }, {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    } ],
    "patchList" : [ {
      "patchName" : "patchName",
      "linkto" : "linkto",
      "buildno" : "buildno",
      "version" : "version"
    }, {
      "patchName" : "patchName",
      "linkto" : "linkto",
      "buildno" : "buildno",
      "version" : "version"
    } ],
    "cStatus" : "cStatus"
  }, {
    "hostName" : "hostName",
    "collectTime" : "collectTime",
    "moduleList" : [ {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    }, {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    } ],
    "activeList" : [ {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    }, {
      "linkto" : "linkto",
      "moduleName" : "moduleName",
      "version" : "version"
    } ],
    "patchList" : [ {
      "patchName" : "patchName",
      "linkto" : "linkto",
      "buildno" : "buildno",
      "version" : "version"
    }, {
      "patchName" : "patchName",
      "linkto" : "linkto",
      "buildno" : "buildno",
      "version" : "version"
    } ],
    "cStatus" : "cStatus"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the list of packages in the cluster. ClusterPackageInfo

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the package list.

ResourceGroups

Up
post /ego/v1/resourcegroups
(createResourceGroups)
Create a new resource group.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

resourcegroup ResourceGroup (required)
Body Parameter — The resource group resource that specifies the details to set in the new resource group.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "resourcerequirement" : "resourcerequirement",
  "resourceplan" : "resourceplan",
  "hosts" : [ {
    "hostname" : "hostname"
  }, {
    "hostname" : "hostname"
  } ],
  "name" : "name",
  "description" : "description",
  "numresourcemetrics" : 1,
  "totalslots" : 0,
  "type" : "static",
  "slotexpression" : "slotexpression",
  "numhosts" : 6,
  "schedulerpluginname" : "schedulerpluginname",
  "resourcemetrics" : [ {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  }, {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully created the resource group. ResourceGroup

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

409

A resource group with the same name already exists.

500

An unexpected error occurred while creating the resource group.

Up
get /ego/v1/resourcegroups
(getAllResourceGroups)
Get a list of all resource groups in the cluster.

Request headers

Query parameters

name (optional)
Query Parameter — Optionally filter the list by group name.
type (optional)
Query Parameter — Optionally filter the list by group type.

Return type

array[ResourceGroup]

Example data

Content-Type: application/json
[ {
  "resourcerequirement" : "resourcerequirement",
  "resourceplan" : "resourceplan",
  "hosts" : [ {
    "hostname" : "hostname"
  }, {
    "hostname" : "hostname"
  } ],
  "name" : "name",
  "description" : "description",
  "numresourcemetrics" : 1,
  "totalslots" : 0,
  "type" : "static",
  "slotexpression" : "slotexpression",
  "numhosts" : 6,
  "schedulerpluginname" : "schedulerpluginname",
  "resourcemetrics" : [ {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  }, {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  } ]
}, {
  "resourcerequirement" : "resourcerequirement",
  "resourceplan" : "resourceplan",
  "hosts" : [ {
    "hostname" : "hostname"
  }, {
    "hostname" : "hostname"
  } ],
  "name" : "name",
  "description" : "description",
  "numresourcemetrics" : 1,
  "totalslots" : 0,
  "type" : "static",
  "slotexpression" : "slotexpression",
  "numhosts" : 6,
  "schedulerpluginname" : "schedulerpluginname",
  "resourcemetrics" : [ {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  }, {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  } ]
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the resource group list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the resource group list.

Up
get /ego/v1/resourcegroups/{groupName}/members
(getAllResourceGroupsHosts)
Get a list of the hosts in a resource group.

Path parameters

groupName (required)
Path Parameter — The resource group name to retrieve hosts from.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "hostname" : "hostname",
  "freeslots" : 6,
  "numslots" : 0
}, {
  "hostname" : "hostname",
  "freeslots" : 6,
  "numslots" : 0
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the host list of the resource group.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The resource group with the specified name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the host list of the resource group.

Up
get /ego/v1/resourcegroups/{groupName}
(getResourceGroup)
Get a resource group by group name.

Path parameters

groupName (required)
Path Parameter — The name of the resource group that is being retrieved.

Return type

Example data

Content-Type: application/json
{
  "resourcerequirement" : "resourcerequirement",
  "resourceplan" : "resourceplan",
  "hosts" : [ {
    "hostname" : "hostname"
  }, {
    "hostname" : "hostname"
  } ],
  "name" : "name",
  "description" : "description",
  "numresourcemetrics" : 1,
  "totalslots" : 0,
  "type" : "static",
  "slotexpression" : "slotexpression",
  "numhosts" : 6,
  "schedulerpluginname" : "schedulerpluginname",
  "resourcemetrics" : [ {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  }, {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the resource group. ResourceGroup

401

Authentication error. The request was denied.

404

The requested resource group is not found.

500

An unexpected error occurred while retrieving the resource group.

Up
put /ego/v1/resourcegroups/{groupName}
(modifyResourceGroup)
Modify an existing resource group.

Path parameters

groupName (required)
Path Parameter — The name of the resource group that is being modified.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

resourcegroup ResourceGroup (required)
Body Parameter — The resource group resource that specifies the details to set in the new resource group.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "resourcerequirement" : "resourcerequirement",
  "resourceplan" : "resourceplan",
  "hosts" : [ {
    "hostname" : "hostname"
  }, {
    "hostname" : "hostname"
  } ],
  "name" : "name",
  "description" : "description",
  "numresourcemetrics" : 1,
  "totalslots" : 0,
  "type" : "static",
  "slotexpression" : "slotexpression",
  "numhosts" : 6,
  "schedulerpluginname" : "schedulerpluginname",
  "resourcemetrics" : [ {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  }, {
    "name" : "name",
    "free" : "free",
    "allocated" : "allocated"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the resource group. ResourceGroup

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The requested resource group is not found.

409

The resource group name in the request URL does not match the name of the resource group in the request body.

500

An unexpected error occurred while modifying the resource group.

Up
delete /ego/v1/resourcegroups/{groupName}
(removeResourceGroup)
Delete a resource group.

Path parameters

groupName (required)
Path Parameter — The name of the resource group to delete.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully deleted the resource group.

401

Authentication error. The request was denied.

404

The resource group with the specified name was not found.

500

An unexpected error occurred while deleting the resource group.

Roles

Up
post /ego/v1/roles
(addRole)
Add a role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

role RBACRoleRequest (required)
Body Parameter — The details for the role to add.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "roles4assignment" : "roles4assignment",
  "roleid" : "roleid",
  "rolename" : "rolename",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "changeable" : 0,
  "usertype" : 6,
  "permissionlist" : [ "permissionlist", "permissionlist" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

201

Successfully added the role. RBACRoleResponse

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while adding the role.

Up
post /ego/v1/roles/assignments/usergroups
(addUserGroupRole)
Add a user group role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACAddUserRoleInfo (required)
Body Parameter — The role assignment resource that specifies the details for the user group role to add.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "addedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully added the user group role. RBACAddUserRoleInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while adding the user group role.

Up
post /ego/v1/roles/assignments/users
(addUserRole)
Add a user role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACAddUserRoleInfo (required)
Body Parameter — The role assignment resource that specifies the details for the user role that is added.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "addedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully added the user role. RBACAddUserRoleInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while adding the user role.

Up
delete /ego/v1/roles/{rolename}
(deleteRole)
Delete a role.

Path parameters

rolename (required)
Path Parameter — The name of the role to delete.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

role RBACRoleDeleteRequest (required)
Body Parameter — The details for the role to delete.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully deleted the role.

400

Bad request. The request contains invalid values.

404

The role with the specified role name was not found.

500

An unexpected error occurred while deleting the role.

Up
delete /ego/v1/roles/assignments/usergroups
(deleteUserGroupRole)
Delete a user group role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACAssignmentForDelete (required)
Body Parameter — The role assignment resource that specifies the details for the user group role to delete.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "removedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully deleted the user group role. RBACAssignmentForDelete

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while deleting the user group role.

Up
delete /ego/v1/roles/assignments/users
(deleteUserRole)
Delete a user role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACAssignmentForDelete (required)
Body Parameter — The role assignment resource that specifies the details for the user role that is deleted.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "removedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully deleted the user role. RBACAssignmentForDelete

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while deleting the user role.

Up
get /ego/v1/roles/permissions
(getAllPermissions)
Get a list of all available permissions.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "component" : "component",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "id" : "id",
  "baseid" : "baseid",
  "object" : "object"
}, {
  "component" : "component",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "id" : "id",
  "baseid" : "baseid",
  "object" : "object"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the permission list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the permission list.

Up
get /ego/v1/roles/assignments/users
(getAllRoleUserAssignments)
Get a list of role-user assignments.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role-user assignment list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the role-user assignment list.

Up
get /ego/v1/roles/assignments/usergroups
(getAllRoleUserGroupAssignments)
Get a list of role-user group assignments.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role-user group assignment list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the role-user group assignment list.

Up
get /ego/v1/roles
(getAllRoles)
Get a list of all roles.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "roles4assignment" : "roles4assignment",
  "roleid" : "roleid",
  "rolename" : "rolename",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "changeable" : 0,
  "usertype" : 6,
  "permissionlist" : [ "permissionlist", "permissionlist" ]
}, {
  "roles4assignment" : "roles4assignment",
  "roleid" : "roleid",
  "rolename" : "rolename",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "changeable" : 0,
  "usertype" : 6,
  "permissionlist" : [ "permissionlist", "permissionlist" ]
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred retrieving the role list.

Up
get /ego/v1/roles/assignments/usernames
(getAssignmentUsernames)
Get a list of users by using their consumers, permissions, or role names.

Request headers

Query parameters

consumerpath (required)
Query Parameter — Retrieve users by their consumer path.
permissionlist (optional)
Query Parameter — Retrieve users by their permissions. This parameter is required if the role name is not specified. Commas will be treated as "AND", and semi-colons will be treated as "OR". For example, "p1,p2;p3,p4" is will return users with either both "p1" and "p2" permissions, or both "p3" and "p4" permissions.
rolename (optional)
Query Parameter — Retrieve users by their role name. This parameter is required if the permission list is not specified.

Return type

array[String]

Example data

Content-Type: application/json
[ "", "" ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the filtered user list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the user list.

Up
get /ego/v1/roles/{rolename}
(getRole)
Get a single role by its name.

Path parameters

rolename (required)
Path Parameter — The name of the role to retrieve.

Return type

Example data

Content-Type: application/json
{
  "roles4assignment" : "roles4assignment",
  "roleid" : "roleid",
  "rolename" : "rolename",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "changeable" : 0,
  "usertype" : 6,
  "permissionlist" : [ "permissionlist", "permissionlist" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role. RBACRoleResponse

401

Authentication error. The request was denied.

404

The role with the specified role name was not found.

500

An unexpected error occurred while retrieving the role.

Up
get /ego/v1/roles/{rolename}/assignments/users
(getRoleUserAssignments)
Get a list of users that are assigned to a role.

Path parameters

rolename (required)
Path Parameter — The name of the role from which to get the assigned user list.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the assigned user list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The role with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the assigned user list.

Up
get /ego/v1/roles/{rolename}/assignments/usergroups
(getRoleUserGroupAssignments)
Get a list of user groups assigned to a role.

Path parameters

rolename (required)
Path Parameter — The name of the role from which to get the list of user groups.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the assigned user group list.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The role with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the assigned user group list.

Up
put /ego/v1/roles/{rolename}
(updateRole)
Update a role.

Path parameters

rolename (required)
Path Parameter — The name of the role to update.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

role RBACRoleRequest (required)
Body Parameter — The details for the role to update.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "roles4assignment" : "roles4assignment",
  "roleid" : "roleid",
  "rolename" : "rolename",
  "contexttypes" : "contexttypes",
  "description" : "description",
  "changeable" : 0,
  "usertype" : 6,
  "permissionlist" : [ "permissionlist", "permissionlist" ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully updated the role. RBACRoleResponse

400

Bad request. The request contains invalid values.

404

The role with the specified role name was not found.

500

An unexpected error occurred while updating the role.

Up
put /ego/v1/roles/permissions
(updateRolePermissions)
Update role permissions.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

updaterolepermissions RBACUpdateRolePermissionInfo (required)
Body Parameter — The role permission resource details to update.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
[ {
  "addedpermissionlist" : [ {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  }, {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  } ],
  "removedpermissionlist" : [ {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  }, {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  } ]
}, {
  "addedpermissionlist" : [ {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  }, {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  } ],
  "removedpermissionlist" : [ {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  }, {
    "enforced" : "enforced",
    "roles4assignment" : "roles4assignment",
    "rolename" : "rolename",
    "description" : "description",
    "permissionlist" : [ "permissionlist", "permissionlist" ]
  } ]
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully updated the role permissions.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while updating the role permissions.

Up
put /ego/v1/roles/assignments/usergroups
(updateUserGroupRole)
Update a user group role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACUpdateUserRoleInfo (required)
Body Parameter — The role assignment resource that specifies the details for the user group role to update.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "addedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ],
  "removedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully updated the user group role. RBACUpdateUserRoleInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while updating the user group role.

Up
put /ego/v1/roles/assignments/users
(updateUserRole)
Update a user role.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

assignment RBACUpdateUserRoleInfo (required)
Body Parameter — The role assignment resource that specifies the details for the user role that is updated.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "addedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ],
  "removedroleassignment" : [ {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  }, {
    "rolename" : "rolename",
    "context" : "context",
    "username" : "username"
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully updated the user role. RBACUpdateUserRoleInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while updating the user role.

ServiceGroups

Up
post /ego/v1/servicegroups
(createServiceGroup)
Create a new service group.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

servicegroup ServiceGroupInfoForCreate (required)
Body Parameter — The service group resource that specifies the details to set in the new service group.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "srvgrpname" : "srvgrpname",
  "servicenames" : [ "servicenames", "servicenames" ],
  "description" : "description"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

201

Successfully retrieved the service group. ServiceGroupInfoForCreate

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

409

A service group with the specified service group name already exists.

500

An unexpected error occurred while creating the service group.

Up
delete /ego/v1/servicegroups/{groupName}
(deleteServiceGroup)
Delete a service group.

Path parameters

groupName (required)
Path Parameter — The name of the service group to delete.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully deleted the service group.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service group with the specified service group name was not found.

500

An unexpected error occurred while deleting the service group.

Up
get /ego/v1/servicegroups
(getAllServiceGroups)
Get a list of all service groups in the cluster. The usage information requires IBM Spectrum Conductor installation and entitlement and is updated every 30 seconds.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "srvgrpname" : "srvgrpname",
  "servicenames" : [ "servicenames", "servicenames" ],
  "usage" : {
    "mem" : 6.0274563,
    "coresused" : 0.8008282,
    "diskrate" : 5.962134,
    "iorate" : 1.4658129
  },
  "description" : "description"
}, {
  "srvgrpname" : "srvgrpname",
  "servicenames" : [ "servicenames", "servicenames" ],
  "usage" : {
    "mem" : 6.0274563,
    "coresused" : 0.8008282,
    "diskrate" : 5.962134,
    "iorate" : 1.4658129
  },
  "description" : "description"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service group list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the service group list.

Up
get /ego/v1/servicegroups/{groupName}
(getServiceGroup)
Get a single service group by name.

Path parameters

groupName (required)
Path Parameter — The name of the service group to retrieve.

Return type

Example data

Content-Type: application/json
{
  "srvgrpname" : "srvgrpname",
  "servicenames" : [ "servicenames", "servicenames" ],
  "usage" : {
    "mem" : 6.0274563,
    "coresused" : 0.8008282,
    "diskrate" : 5.962134,
    "iorate" : 1.4658129
  },
  "description" : "description"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service group. ServiceGroupInfo

401

Authentication error. The request was denied.

404

The service group with the specified service group name was not found.

500

An unexpected error occurred while retrieving the service group.

Up
put /ego/v1/servicegroups/{groupName}
(modifyServiceGroup)
Modify an existing service group.

Path parameters

groupName (required)
Path Parameter — The name of the service group to modify.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

servicegroup ServiceGroupInfoForCreate (required)
Body Parameter — The service group resource that specifies the details to set in the service group.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "srvgrpname" : "srvgrpname",
  "servicenames" : [ "servicenames", "servicenames" ],
  "description" : "description"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the service group. ServiceGroupInfoForCreate

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service group with the specified service group name was not found.

409

The service group name that is specified in the URL does not match the service group name that is specified in the body of the request.

500

An unexpected error occurred while modifying the service group.

Services

Up
put /ego/v1/services/dynamicconfig/{name}
(dynamicConfigService)
Reconfigure some properties dynamically for a registered service.

Path parameters

name (required)
Path Parameter — The name of the service to modify.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

dynamicConfig ServiceDynamicConfig (required)
Body Parameter — The dynamic configuration details.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "maxinstancesperslot" : 1,
  "resourcegroup" : "resourcegroup",
  "resourcerequirement" : "resourcerequirement",
  "instancetoslotratio" : "instancetoslotratio",
  "description" : "description",
  "basevirtualip" : "basevirtualip",
  "type" : "type",
  "maxinstances" : 6,
  "dependencies" : [ "dependencies", "dependencies" ],
  "affinityrequirements" : {
    "affinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ],
    "antiaffinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ]
  },
  "netmask" : "netmask",
  "mininstances" : 0,
  "mdsproperties" : {
    "service" : "service",
    "type" : "hard"
  },
  "name" : "name",
  "starttype" : "AUTOMATIC",
  "maxrestarts" : 5,
  "consumer" : "consumer"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the service. ServiceInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service with the specified name is not found.

409

A service property that cannot be dynamically changed was specified.

500

An unexpected error occurred while registering the service.

Up
get /ego/v1/services/instances
(getAllServiceInstances)
Get a list of service instances for the cluster. The usage information requires IBM Spectrum Conductor and is updated every 30 seconds.

Request headers

Query parameters

name (optional)
Query Parameter — Optionally filter by service name.

Return type

Example data

Content-Type: application/json
[ {
  "activityid" : 1,
  "resourcegroup" : "resourcegroup",
  "hostname" : "hostname",
  "logpath" : "logpath",
  "sequencenum" : 0,
  "processid" : 6,
  "usage" : {
    "disk" : 3.6160767,
    "mem" : 2.302136,
    "coresused" : 5.637377,
    "io" : 7.0614014,
    "diskrate" : 2.027123,
    "iorate" : 9.301444,
    "cputime" : 5
  },
  "servicename" : "servicename",
  "state" : "state",
  "starttime" : "starttime",
  "userinfo" : "userinfo",
  "virtualip" : "virtualip"
}, {
  "activityid" : 1,
  "resourcegroup" : "resourcegroup",
  "hostname" : "hostname",
  "logpath" : "logpath",
  "sequencenum" : 0,
  "processid" : 6,
  "usage" : {
    "disk" : 3.6160767,
    "mem" : 2.302136,
    "coresused" : 5.637377,
    "io" : 7.0614014,
    "diskrate" : 2.027123,
    "iorate" : 9.301444,
    "cputime" : 5
  },
  "servicename" : "servicename",
  "state" : "state",
  "starttime" : "starttime",
  "userinfo" : "userinfo",
  "virtualip" : "virtualip"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service instances.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the service instances.

Up
get /ego/v1/services
(getAllServices)
Get a list of all services registered in the cluster.

Request headers

Query parameters

consumer (optional)
Query Parameter — Optionally filter the list by consumer.
name (optional)
Query Parameter — Optionally filter the list by service name.
resourcegroup (optional)
Query Parameter — Optionally filter the list by resource group.
srvGrpName (optional)
Query Parameter — Optionally filter the list by service group name. If this parameter is set, other parameters are not valid.
state (optional)
Query Parameter — Optionally filter the list by service state.
type (optional)
Query Parameter — Optionally filter the list by service type. For services with no type, use and empty type filter.

Return type

Example data

Content-Type: application/json
[ {
  "numinstances" : 6,
  "numstartinginstances" : 1,
  "numholdinginstances" : 5,
  "usage" : {
    "mem" : 2.027123,
    "coresused" : 3.6160767,
    "diskrate" : 7.386282,
    "iorate" : 4.145608
  },
  "allocationid" : 0,
  "type" : "type",
  "numrunninginstances" : 5,
  "numunknowninstances" : 2,
  "numfinishedinstances" : 7,
  "name" : "name",
  "state" : "state",
  "consumer" : "consumer",
  "numerrorinstances" : 9
}, {
  "numinstances" : 6,
  "numstartinginstances" : 1,
  "numholdinginstances" : 5,
  "usage" : {
    "mem" : 2.027123,
    "coresused" : 3.6160767,
    "diskrate" : 7.386282,
    "iorate" : 4.145608
  },
  "allocationid" : 0,
  "type" : "type",
  "numrunninginstances" : 5,
  "numunknowninstances" : 2,
  "numfinishedinstances" : 7,
  "name" : "name",
  "state" : "state",
  "consumer" : "consumer",
  "numerrorinstances" : 9
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service list.

401

Authentication error. The request was denied.

404

The service with the specified service name was not found.

500

An unexpected error occurred while retrieving the service list.

Up
get /ego/v1/services/{name}
(getService)
Get a single service resource by name.

Path parameters

name (required)
Path Parameter — The name of the service to retrieve.

Return type

Example data

Content-Type: application/json
{
  "maxinstancesperslot" : 1,
  "resourcegroup" : "resourcegroup",
  "resourcerequirement" : "resourcerequirement",
  "instancetoslotratio" : "instancetoslotratio",
  "description" : "description",
  "basevirtualip" : "basevirtualip",
  "type" : "type",
  "maxinstances" : 6,
  "dependencies" : [ "dependencies", "dependencies" ],
  "affinityrequirements" : {
    "affinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ],
    "antiaffinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ]
  },
  "netmask" : "netmask",
  "mininstances" : 0,
  "mdsproperties" : {
    "service" : "service",
    "type" : "hard"
  },
  "name" : "name",
  "starttype" : "AUTOMATIC",
  "maxrestarts" : 5,
  "consumer" : "consumer"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service. ServiceInfo

401

Authentication error. The request was denied.

404

The service with the specified service name was not found.

500

An unexpected error occurred while retrieving the service.

Up
get /ego/v1/services/{name}/instances/{sequenceNum}
(getServiceInstance)
Get a list of service instance resources for a service. The usage information requires IBM Spectrum Conductor and is updated every 30 seconds.

Path parameters

name (required)
Path Parameter — The name of the service for which to retrieve the instance.
sequenceNum (required)
Path Parameter — The sequence number of the instance.

Return type

Example data

Content-Type: application/json
{
  "activityid" : 1,
  "resourcegroup" : "resourcegroup",
  "hostname" : "hostname",
  "logpath" : "logpath",
  "sequencenum" : 0,
  "processid" : 6,
  "usage" : {
    "disk" : 3.6160767,
    "mem" : 2.302136,
    "coresused" : 5.637377,
    "io" : 7.0614014,
    "diskrate" : 2.027123,
    "iorate" : 9.301444,
    "cputime" : 5
  },
  "servicename" : "servicename",
  "state" : "state",
  "starttime" : "starttime",
  "userinfo" : "userinfo",
  "virtualip" : "virtualip"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service instance. ServiceInstanceInfo

401

Authentication error. The request was denied.

404

The service with the specified service name was not found, or the instance with the specified sequence number was not found.

500

An unexpected error occurred while retrieving the service instance.

Up
get /ego/v1/services/{name}/instances
(getServiceInstances)
Get a list of service instance resources for a service. The usage information requires IBM Spectrum Conductor and is updated every 30 seconds.

Path parameters

name (required)
Path Parameter — The name of the service for which to retrieve the instances.

Query parameters

hostname (optional)
Query Parameter — Optionally filter by host name.
resourcegroup (optional)
Query Parameter — Optionally filter by resource group.
state (optional)
Query Parameter — Optionally filter by instance state.

Return type

Example data

Content-Type: application/json
[ {
  "activityid" : 1,
  "resourcegroup" : "resourcegroup",
  "hostname" : "hostname",
  "logpath" : "logpath",
  "sequencenum" : 0,
  "processid" : 6,
  "usage" : {
    "disk" : 3.6160767,
    "mem" : 2.302136,
    "coresused" : 5.637377,
    "io" : 7.0614014,
    "diskrate" : 2.027123,
    "iorate" : 9.301444,
    "cputime" : 5
  },
  "servicename" : "servicename",
  "state" : "state",
  "starttime" : "starttime",
  "userinfo" : "userinfo",
  "virtualip" : "virtualip"
}, {
  "activityid" : 1,
  "resourcegroup" : "resourcegroup",
  "hostname" : "hostname",
  "logpath" : "logpath",
  "sequencenum" : 0,
  "processid" : 6,
  "usage" : {
    "disk" : 3.6160767,
    "mem" : 2.302136,
    "coresused" : 5.637377,
    "io" : 7.0614014,
    "diskrate" : 2.027123,
    "iorate" : 9.301444,
    "cputime" : 5
  },
  "servicename" : "servicename",
  "state" : "state",
  "starttime" : "starttime",
  "userinfo" : "userinfo",
  "virtualip" : "virtualip"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service instances.

401

Authentication error. The request was denied.

404

The service with the specified service name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the service instances.

Up
get /ego/v1/services/{name}/profile
(getServiceProfile)
Get the runtime state of a service by its service name. The usage information requires IBM Spectrum Conductor and is updated every 30 seconds. For more informaion about the profile schema of XML responses, search for the "Service profile reference" topic in the IBM documentation.

Path parameters

name (required)
Path Parameter — The name of the service for which to retrieve the profile.

Return type

Example data

Content-Type: application/json
{
  "maxinstancesperslot" : 0,
  "networkpolicy" : {
    "virtualipsettings" : {
      "netmask" : "netmask",
      "basevirtualip" : "basevirtualip"
    }
  },
  "needcredential" : true,
  "instancetoslotratio" : "instancetoslotratio",
  "controlpolicy" : {
    "servicefailoverfencings" : [ {
      "logpath" : "logpath",
      "attribute" : {
        "name" : "name",
        "type" : "type",
        "value" : "value"
      },
      "activityspecification" : {
        "container" : {
          "diskiolimit" : [ {
            "operation" : "operation",
            "device" : "device",
            "value" : 4
          }, {
            "operation" : "operation",
            "device" : "device",
            "value" : 4
          } ],
          "memoryswaplimit" : 1,
          "memorylimit" : 7,
          "networkclassid" : "networkclassid",
          "cpulimit" : 2,
          "type" : "type",
          "priorityclass" : 1
        },
        "umask" : "umask",
        "jobmonitor" : "jobmonitor",
        "controlwaitperiod" : "controlwaitperiod",
        "rlimits" : [ {
          "rlimit" : 5,
          "rlimittype" : "rlimittype",
          "rlimitname" : "rlimitname"
        }, {
          "rlimit" : 5,
          "rlimittype" : "rlimittype",
          "rlimitname" : "rlimitname"
        } ],
        "executionuser" : "executionuser",
        "jobcontroller" : "jobcontroller",
        "command" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value"
        },
        "cleanupcommand" : "cleanupcommand",
        "docker" : {
          "containers" : [ {
            "image" : "image",
            "cpushares" : 7,
            "executionuser" : "executionuser",
            "readyconditions" : {
              "readycheckscript" : "readycheckscript",
              "requiredcontainerports" : [ 4, 4 ],
              "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
            },
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "cpuset" : "cpuset",
            "extraparameter" : "extraparameter",
            "command" : "command",
            "dependencies" : [ {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            }, {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            } ],
            "privileged" : "privileged",
            "publishedports" : [ {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            }, {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            } ],
            "entrypoint" : "entrypoint",
            "impersonatemode" : "merge",
            "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
            "name" : "name",
            "memorylimit" : 1,
            "gracefulstop" : "gracefulstop",
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "imageregistryurl" : "imageregistryurl",
            "shortrunning" : "shortrunning"
          }, {
            "image" : "image",
            "cpushares" : 7,
            "executionuser" : "executionuser",
            "readyconditions" : {
              "readycheckscript" : "readycheckscript",
              "requiredcontainerports" : [ 4, 4 ],
              "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
            },
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "cpuset" : "cpuset",
            "extraparameter" : "extraparameter",
            "command" : "command",
            "dependencies" : [ {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            }, {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            } ],
            "privileged" : "privileged",
            "publishedports" : [ {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            }, {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            } ],
            "entrypoint" : "entrypoint",
            "impersonatemode" : "merge",
            "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
            "name" : "name",
            "memorylimit" : 1,
            "gracefulstop" : "gracefulstop",
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "imageregistryurl" : "imageregistryurl",
            "shortrunning" : "shortrunning"
          } ],
          "sharedproperties" : {
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "startuptimeout" : 6,
            "stoptimeout" : 1,
            "network" : {
              "externalscriptvariables" : [ {
                "name" : "name",
                "value" : "value"
              }, {
                "name" : "name",
                "value" : "value"
              } ],
              "dnssearchdomain" : [ "dnssearchdomain", "dnssearchdomain" ],
              "dnsserver" : [ "dnsserver", "dnsserver" ],
              "podname" : "podname",
              "sdnname" : [ "sdnname", "sdnname" ],
              "networktype" : "bridge"
            }
          }
        },
        "inactivityperiod" : "inactivityperiod",
        "cleanupfinishwaitperiod" : "cleanupfinishwaitperiod",
        "postcommand" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value",
          "timeout" : 9
        },
        "workingdirectory" : "workingdirectory",
        "environmentvariables" : [ {
          "name" : "name",
          "value" : "value"
        }, {
          "name" : "name",
          "value" : "value"
        } ],
        "jobmonitormaxupdateinterval" : 3,
        "defaulturl" : "defaulturl",
        "precommand" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value",
          "timeout" : 7
        }
      }
    }, {
      "logpath" : "logpath",
      "attribute" : {
        "name" : "name",
        "type" : "type",
        "value" : "value"
      },
      "activityspecification" : {
        "container" : {
          "diskiolimit" : [ {
            "operation" : "operation",
            "device" : "device",
            "value" : 4
          }, {
            "operation" : "operation",
            "device" : "device",
            "value" : 4
          } ],
          "memoryswaplimit" : 1,
          "memorylimit" : 7,
          "networkclassid" : "networkclassid",
          "cpulimit" : 2,
          "type" : "type",
          "priorityclass" : 1
        },
        "umask" : "umask",
        "jobmonitor" : "jobmonitor",
        "controlwaitperiod" : "controlwaitperiod",
        "rlimits" : [ {
          "rlimit" : 5,
          "rlimittype" : "rlimittype",
          "rlimitname" : "rlimitname"
        }, {
          "rlimit" : 5,
          "rlimittype" : "rlimittype",
          "rlimitname" : "rlimitname"
        } ],
        "executionuser" : "executionuser",
        "jobcontroller" : "jobcontroller",
        "command" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value"
        },
        "cleanupcommand" : "cleanupcommand",
        "docker" : {
          "containers" : [ {
            "image" : "image",
            "cpushares" : 7,
            "executionuser" : "executionuser",
            "readyconditions" : {
              "readycheckscript" : "readycheckscript",
              "requiredcontainerports" : [ 4, 4 ],
              "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
            },
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "cpuset" : "cpuset",
            "extraparameter" : "extraparameter",
            "command" : "command",
            "dependencies" : [ {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            }, {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            } ],
            "privileged" : "privileged",
            "publishedports" : [ {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            }, {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            } ],
            "entrypoint" : "entrypoint",
            "impersonatemode" : "merge",
            "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
            "name" : "name",
            "memorylimit" : 1,
            "gracefulstop" : "gracefulstop",
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "imageregistryurl" : "imageregistryurl",
            "shortrunning" : "shortrunning"
          }, {
            "image" : "image",
            "cpushares" : 7,
            "executionuser" : "executionuser",
            "readyconditions" : {
              "readycheckscript" : "readycheckscript",
              "requiredcontainerports" : [ 4, 4 ],
              "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
            },
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "cpuset" : "cpuset",
            "extraparameter" : "extraparameter",
            "command" : "command",
            "dependencies" : [ {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            }, {
              "satisfy" : "satisfy",
              "keep" : "keep",
              "servicename" : "servicename",
              "type" : "type",
              "autostart" : "autostart"
            } ],
            "privileged" : "privileged",
            "publishedports" : [ {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            }, {
              "protocol" : "protocol",
              "port" : "port",
              "ip" : "ip",
              "hostport" : "hostport"
            } ],
            "entrypoint" : "entrypoint",
            "impersonatemode" : "merge",
            "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
            "name" : "name",
            "memorylimit" : 1,
            "gracefulstop" : "gracefulstop",
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "imageregistryurl" : "imageregistryurl",
            "shortrunning" : "shortrunning"
          } ],
          "sharedproperties" : {
            "volumes" : [ {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            }, {
              "envname" : "envname",
              "permission" : "permission",
              "value" : "value",
              "hostpath" : "hostpath"
            } ],
            "environmentvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "startuptimeout" : 6,
            "stoptimeout" : 1,
            "network" : {
              "externalscriptvariables" : [ {
                "name" : "name",
                "value" : "value"
              }, {
                "name" : "name",
                "value" : "value"
              } ],
              "dnssearchdomain" : [ "dnssearchdomain", "dnssearchdomain" ],
              "dnsserver" : [ "dnsserver", "dnsserver" ],
              "podname" : "podname",
              "sdnname" : [ "sdnname", "sdnname" ],
              "networktype" : "bridge"
            }
          }
        },
        "inactivityperiod" : "inactivityperiod",
        "cleanupfinishwaitperiod" : "cleanupfinishwaitperiod",
        "postcommand" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value",
          "timeout" : 9
        },
        "workingdirectory" : "workingdirectory",
        "environmentvariables" : [ {
          "name" : "name",
          "value" : "value"
        }, {
          "name" : "name",
          "value" : "value"
        } ],
        "jobmonitormaxupdateinterval" : 3,
        "defaulturl" : "defaulturl",
        "precommand" : {
          "stdoutfile" : "stdoutfile",
          "stderrfile" : "stderrfile",
          "value" : "value",
          "timeout" : 7
        }
      }
    } ],
    "blockhostexitvalues" : [ 2, 2 ],
    "heartbeatinterval" : "heartbeatinterval",
    "starttype" : "AUTOMATIC",
    "maxrestarts" : 5,
    "servicefailoverfencingrwaitperiod" : "servicefailoverfencingrwaitperiod",
    "hostfailoverinterval" : "hostfailoverinterval",
    "maxmissedheartbeats" : 5,
    "dependencies" : [ {
      "satisfy" : "satisfy",
      "keep" : "keep",
      "servicename" : "servicename",
      "type" : "type",
      "autostart" : "autostart"
    }, {
      "satisfy" : "satisfy",
      "keep" : "keep",
      "servicename" : "servicename",
      "type" : "type",
      "autostart" : "autostart"
    } ]
  },
  "description" : "description",
  "priority" : 1,
  "type" : "type",
  "version" : "version",
  "maxinstances" : "maxinstances",
  "maxinstancesperhost" : 6,
  "impersonate" : "impersonate",
  "mininstances" : "mininstances",
  "name" : "name",
  "collectusage" : true,
  "allocationspecification" : {
    "consumerid" : "consumerid",
    "resourcespecification" : {
      "resourcegroupname" : "resourcegroupname",
      "resourcerequirement" : "resourcerequirement",
      "affinityrequirements" : {
        "affinities" : [ {
          "resourceplanname" : "resourceplanname",
          "resourcemetrics" : [ {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          }, {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          } ]
        }, {
          "resourceplanname" : "resourceplanname",
          "resourcemetrics" : [ {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          }, {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          } ]
        } ],
        "antiaffinities" : [ {
          "resourceplanname" : "resourceplanname",
          "resourcemetrics" : [ {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          }, {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          } ]
        }, {
          "resourceplanname" : "resourceplanname",
          "resourcemetrics" : [ {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          }, {
            "metricname" : "metricname",
            "metricvalue" : "metricvalue"
          } ]
        } ]
      },
      "mdsproperties" : {
        "service" : "service",
        "type" : "hard"
      },
      "resourcetype" : "resourcetype"
    }
  },
  "activitydescriptions" : [ {
    "logpath" : "logpath",
    "attribute" : {
      "name" : "name",
      "type" : "type",
      "value" : "value"
    },
    "activityspecification" : {
      "container" : {
        "diskiolimit" : [ {
          "operation" : "operation",
          "device" : "device",
          "value" : 4
        }, {
          "operation" : "operation",
          "device" : "device",
          "value" : 4
        } ],
        "memoryswaplimit" : 1,
        "memorylimit" : 7,
        "networkclassid" : "networkclassid",
        "cpulimit" : 2,
        "type" : "type",
        "priorityclass" : 1
      },
      "umask" : "umask",
      "jobmonitor" : "jobmonitor",
      "controlwaitperiod" : "controlwaitperiod",
      "rlimits" : [ {
        "rlimit" : 5,
        "rlimittype" : "rlimittype",
        "rlimitname" : "rlimitname"
      }, {
        "rlimit" : 5,
        "rlimittype" : "rlimittype",
        "rlimitname" : "rlimitname"
      } ],
      "executionuser" : "executionuser",
      "jobcontroller" : "jobcontroller",
      "command" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value"
      },
      "cleanupcommand" : "cleanupcommand",
      "docker" : {
        "containers" : [ {
          "image" : "image",
          "cpushares" : 7,
          "executionuser" : "executionuser",
          "readyconditions" : {
            "readycheckscript" : "readycheckscript",
            "requiredcontainerports" : [ 4, 4 ],
            "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
          },
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "cpuset" : "cpuset",
          "extraparameter" : "extraparameter",
          "command" : "command",
          "dependencies" : [ {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          }, {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          } ],
          "privileged" : "privileged",
          "publishedports" : [ {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          }, {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          } ],
          "entrypoint" : "entrypoint",
          "impersonatemode" : "merge",
          "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
          "name" : "name",
          "memorylimit" : 1,
          "gracefulstop" : "gracefulstop",
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "imageregistryurl" : "imageregistryurl",
          "shortrunning" : "shortrunning"
        }, {
          "image" : "image",
          "cpushares" : 7,
          "executionuser" : "executionuser",
          "readyconditions" : {
            "readycheckscript" : "readycheckscript",
            "requiredcontainerports" : [ 4, 4 ],
            "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
          },
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "cpuset" : "cpuset",
          "extraparameter" : "extraparameter",
          "command" : "command",
          "dependencies" : [ {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          }, {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          } ],
          "privileged" : "privileged",
          "publishedports" : [ {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          }, {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          } ],
          "entrypoint" : "entrypoint",
          "impersonatemode" : "merge",
          "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
          "name" : "name",
          "memorylimit" : 1,
          "gracefulstop" : "gracefulstop",
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "imageregistryurl" : "imageregistryurl",
          "shortrunning" : "shortrunning"
        } ],
        "sharedproperties" : {
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "startuptimeout" : 6,
          "stoptimeout" : 1,
          "network" : {
            "externalscriptvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "dnssearchdomain" : [ "dnssearchdomain", "dnssearchdomain" ],
            "dnsserver" : [ "dnsserver", "dnsserver" ],
            "podname" : "podname",
            "sdnname" : [ "sdnname", "sdnname" ],
            "networktype" : "bridge"
          }
        }
      },
      "inactivityperiod" : "inactivityperiod",
      "cleanupfinishwaitperiod" : "cleanupfinishwaitperiod",
      "postcommand" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value",
        "timeout" : 9
      },
      "workingdirectory" : "workingdirectory",
      "environmentvariables" : [ {
        "name" : "name",
        "value" : "value"
      }, {
        "name" : "name",
        "value" : "value"
      } ],
      "jobmonitormaxupdateinterval" : 3,
      "defaulturl" : "defaulturl",
      "precommand" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value",
        "timeout" : 7
      }
    }
  }, {
    "logpath" : "logpath",
    "attribute" : {
      "name" : "name",
      "type" : "type",
      "value" : "value"
    },
    "activityspecification" : {
      "container" : {
        "diskiolimit" : [ {
          "operation" : "operation",
          "device" : "device",
          "value" : 4
        }, {
          "operation" : "operation",
          "device" : "device",
          "value" : 4
        } ],
        "memoryswaplimit" : 1,
        "memorylimit" : 7,
        "networkclassid" : "networkclassid",
        "cpulimit" : 2,
        "type" : "type",
        "priorityclass" : 1
      },
      "umask" : "umask",
      "jobmonitor" : "jobmonitor",
      "controlwaitperiod" : "controlwaitperiod",
      "rlimits" : [ {
        "rlimit" : 5,
        "rlimittype" : "rlimittype",
        "rlimitname" : "rlimitname"
      }, {
        "rlimit" : 5,
        "rlimittype" : "rlimittype",
        "rlimitname" : "rlimitname"
      } ],
      "executionuser" : "executionuser",
      "jobcontroller" : "jobcontroller",
      "command" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value"
      },
      "cleanupcommand" : "cleanupcommand",
      "docker" : {
        "containers" : [ {
          "image" : "image",
          "cpushares" : 7,
          "executionuser" : "executionuser",
          "readyconditions" : {
            "readycheckscript" : "readycheckscript",
            "requiredcontainerports" : [ 4, 4 ],
            "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
          },
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "cpuset" : "cpuset",
          "extraparameter" : "extraparameter",
          "command" : "command",
          "dependencies" : [ {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          }, {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          } ],
          "privileged" : "privileged",
          "publishedports" : [ {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          }, {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          } ],
          "entrypoint" : "entrypoint",
          "impersonatemode" : "merge",
          "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
          "name" : "name",
          "memorylimit" : 1,
          "gracefulstop" : "gracefulstop",
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "imageregistryurl" : "imageregistryurl",
          "shortrunning" : "shortrunning"
        }, {
          "image" : "image",
          "cpushares" : 7,
          "executionuser" : "executionuser",
          "readyconditions" : {
            "readycheckscript" : "readycheckscript",
            "requiredcontainerports" : [ 4, 4 ],
            "requiredcontainerprocesses" : [ "requiredcontainerprocesses", "requiredcontainerprocesses" ]
          },
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "cpuset" : "cpuset",
          "extraparameter" : "extraparameter",
          "command" : "command",
          "dependencies" : [ {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          }, {
            "satisfy" : "satisfy",
            "keep" : "keep",
            "servicename" : "servicename",
            "type" : "type",
            "autostart" : "autostart"
          } ],
          "privileged" : "privileged",
          "publishedports" : [ {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          }, {
            "protocol" : "protocol",
            "port" : "port",
            "ip" : "ip",
            "hostport" : "hostport"
          } ],
          "entrypoint" : "entrypoint",
          "impersonatemode" : "merge",
          "impersonateusernames" : [ "impersonateusernames", "impersonateusernames" ],
          "name" : "name",
          "memorylimit" : 1,
          "gracefulstop" : "gracefulstop",
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "imageregistryurl" : "imageregistryurl",
          "shortrunning" : "shortrunning"
        } ],
        "sharedproperties" : {
          "volumes" : [ {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          }, {
            "envname" : "envname",
            "permission" : "permission",
            "value" : "value",
            "hostpath" : "hostpath"
          } ],
          "environmentvariables" : [ {
            "name" : "name",
            "value" : "value"
          }, {
            "name" : "name",
            "value" : "value"
          } ],
          "startuptimeout" : 6,
          "stoptimeout" : 1,
          "network" : {
            "externalscriptvariables" : [ {
              "name" : "name",
              "value" : "value"
            }, {
              "name" : "name",
              "value" : "value"
            } ],
            "dnssearchdomain" : [ "dnssearchdomain", "dnssearchdomain" ],
            "dnsserver" : [ "dnsserver", "dnsserver" ],
            "podname" : "podname",
            "sdnname" : [ "sdnname", "sdnname" ],
            "networktype" : "bridge"
          }
        }
      },
      "inactivityperiod" : "inactivityperiod",
      "cleanupfinishwaitperiod" : "cleanupfinishwaitperiod",
      "postcommand" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value",
        "timeout" : 9
      },
      "workingdirectory" : "workingdirectory",
      "environmentvariables" : [ {
        "name" : "name",
        "value" : "value"
      }, {
        "name" : "name",
        "value" : "value"
      } ],
      "jobmonitormaxupdateinterval" : 3,
      "defaulturl" : "defaulturl",
      "precommand" : {
        "stdoutfile" : "stdoutfile",
        "stderrfile" : "stderrfile",
        "value" : "value",
        "timeout" : 7
      }
    }
  } ]
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json
  • text/xml

Responses

200

Successfully retrieved the service profile. For more informaion about the profile schema of XML responses, search for the "Service profile reference" topic in the IBM documentation. ServiceDefinition

401

Authentication error. The request was denied.

404

The service with the specified service name was not found.

500

An unexpected error occurred while retrieving the service profile.

Up
get /ego/v1/services/{name}/state
(getServiceState)
Get the runtime state of a service by its service name. The usage information requires IBM Spectrum Conductor and is updated every 30 seconds.

Path parameters

name (required)
Path Parameter — The name of the service for which to retrieve the state.

Return type

Example data

Content-Type: application/json
{
  "numinstances" : 6,
  "numstartinginstances" : 1,
  "numholdinginstances" : 5,
  "usage" : {
    "mem" : 2.027123,
    "coresused" : 3.6160767,
    "diskrate" : 7.386282,
    "iorate" : 4.145608
  },
  "allocationid" : 0,
  "type" : "type",
  "numrunninginstances" : 5,
  "numunknowninstances" : 2,
  "numfinishedinstances" : 7,
  "name" : "name",
  "state" : "state",
  "consumer" : "consumer",
  "numerrorinstances" : 9
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the service. ServiceStateInfo

401

Authentication error. The request was denied.

404

The service with the specified service name was not found.

500

An unexpected error occurred while retrieving the service.

Up
put /ego/v1/services/{name}
(modifyService)
Modify an existing service. Services are modified in their current state. If any service property cannot be dynamiaclly changed, an HTTP 409 Conflict is returned.

Path parameters

name (required)
Path Parameter — The name of the service to modify.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json
  • text/xml

Request body

service ServiceDefinition (required)
Body Parameter — The service profile. For XML requests, the profile must follow the schema that is described in the "Service profile reference" topic in the IBM documentation.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "maxinstancesperslot" : 1,
  "resourcegroup" : "resourcegroup",
  "resourcerequirement" : "resourcerequirement",
  "instancetoslotratio" : "instancetoslotratio",
  "description" : "description",
  "basevirtualip" : "basevirtualip",
  "type" : "type",
  "maxinstances" : 6,
  "dependencies" : [ "dependencies", "dependencies" ],
  "affinityrequirements" : {
    "affinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ],
    "antiaffinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ]
  },
  "netmask" : "netmask",
  "mininstances" : 0,
  "mdsproperties" : {
    "service" : "service",
    "type" : "hard"
  },
  "name" : "name",
  "starttype" : "AUTOMATIC",
  "maxrestarts" : 5,
  "consumer" : "consumer"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully modified the service. ServiceInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service with the specified name is not found.

409

A service property that cannot be dynamically changed was specified.

500

An unexpected error occurred while registering the service.

Up
post /ego/v1/services
(registerService)
Register a new service.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json
  • text/xml

Request body

service ServiceDefinition (required)
Body Parameter — The service profile. For XML requests, the profile must follow the schema that is described in the "Service profile reference" topic in the IBM documentation.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Return type

Example data

Content-Type: application/json
{
  "maxinstancesperslot" : 1,
  "resourcegroup" : "resourcegroup",
  "resourcerequirement" : "resourcerequirement",
  "instancetoslotratio" : "instancetoslotratio",
  "description" : "description",
  "basevirtualip" : "basevirtualip",
  "type" : "type",
  "maxinstances" : 6,
  "dependencies" : [ "dependencies", "dependencies" ],
  "affinityrequirements" : {
    "affinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ],
    "antiaffinities" : [ {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    }, {
      "resourceplanname" : "resourceplanname",
      "resourcemetrics" : [ {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      }, {
        "metricname" : "metricname",
        "metricvalue" : "metricvalue"
      } ]
    } ]
  },
  "netmask" : "netmask",
  "mininstances" : 0,
  "mdsproperties" : {
    "service" : "service",
    "type" : "hard"
  },
  "name" : "name",
  "starttype" : "AUTOMATIC",
  "maxrestarts" : 5,
  "consumer" : "consumer"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully registered the service. ServiceInfo

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

409

A service with the specified service name already exists.

500

An unexpected error occurred while registering the service.

Up
put /ego/v1/services/instances/operations
(serviceInstanceOperations)
Perform the restart, migrate, or stop operation on a service instance. This method is asynchronous.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

operation ServiceInstanceOperationInfo (required)
Body Parameter — The service instance operation resource specifies the operation to perform on the service instance.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully initiated service operations on the service instance.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service with the specified name is not found.

409

The service instance is not in a valid state for the specified operation.

500

An unexpected error occurred while trying to operate the service instance.

501

The operation that is specified is not implemented for this service instance.

Up
put /ego/v1/services/operations
(serviceOperations)
Perform the start, stop, freeze, or unfreeze operation on a service or services. The freeze and unfreeze operations are not supported on consumer or service group. This method is asynchronous.

Consumes

This API call consumes the following media types via the Content-Type request header:
  • application/json

Request body

operation ServiceOperationInfo (required)
Body Parameter — The service operation resource that specifies the operation to perform on the services.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully initiated service operations on the services.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

404

The service with the specified name is not found.

409

The service is not in a valid state for the specified operation.

500

An unexpected error occurred while trying to operate the service.

501

The operation that is specified is not implemented for this service.

Up
delete /ego/v1/services/{name}
(unregisterService)
Unregister a service

Path parameters

name (required)
Path Parameter — The name of the service to unregister.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Responses

204

Successfully unregistered the service.

401

Authentication error. The request was denied.

404

The service with the specified name is not found.

409

The service was not unregistered.

500

An unexpected error occurred while unregistering the service.

UserGroups

Up
get /ego/v1/usergroups
(getAllUserGroups)
Get a list of all user groups.

Request headers

Return type

array[RBACUserGroup]

Example data

Content-Type: application/json
[ {
  "groupmemberlist" : [ "groupmemberlist", "groupmemberlist" ],
  "groupid" : "groupid",
  "description" : "description",
  "groupname" : "groupname"
}, {
  "groupmemberlist" : [ "groupmemberlist", "groupmemberlist" ],
  "groupid" : "groupid",
  "description" : "description",
  "groupname" : "groupname"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the user group list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the user group list.

Up
get /ego/v1/usergroups/{groupname}/permissions
(getPermissions4UserGroup)
Get all permissions assigned to a user.

Path parameters

groupname (required)
Path Parameter — The name of the user group from which to retrieve the roles.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "contexttypes" : "contexttypes",
  "context" : "context",
  "id" : "id"
}, {
  "contexttypes" : "contexttypes",
  "context" : "context",
  "id" : "id"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the permissions that are assigned to the user group.

401

Authentication error. The request was denied.

404

The user group with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the permissions assigned to the user group.

Up
get /ego/v1/usergroups/{groupname}/assignments/roles
(getRBACRoles4UserGroup)
Get all roles assigned to a user group.

Path parameters

groupname (required)
Path Parameter — The name of the user group from which to retrieve the roles.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the roles that are assigned to the user group.

401

Authentication error. The request was denied.

404

The user group with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the roles assigned to a user group.

Up
get /ego/v1/usergroups/assignments/roles
(getUserGroupRoleAssignments)
Get a list of role-user group assignments.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role-user group assignment list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the role-user group assignment list.

Users

Up
post /ego/v1/users
(createUser)
Create a new user.

Request body

user RBACUserRequest (required)
Body Parameter — The details for the user to add.

Query parameters

csrftoken (required)
Query Parameter — The CSRF token returned by the authentication REST API.

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

201

Successfully added the user.

400

Bad request. The request contains invalid values.

401

Authentication error. The request was denied.

500

An unexpected error occurred while adding the role.

Up
get /ego/v1/users
(getAllUsers)
Get a list of all users.

Request headers

Return type

array[RBACUser]

Example data

Content-Type: application/json
[ {
  "description" : "description",
  "groups" : "groups",
  "username" : "username"
}, {
  "description" : "description",
  "groups" : "groups",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the user list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the user list.

Up
get /ego/v1/users/{username}/permissions
(getPermissions4User)
Get all permissions assigned to a user.

Path parameters

username (required)
Path Parameter — The user name to retrieve roles.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "contexttypes" : "contexttypes",
  "context" : "context",
  "id" : "id"
}, {
  "contexttypes" : "contexttypes",
  "context" : "context",
  "id" : "id"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the permissions that are assigned to the user.

401

Authentication error. The request was denied.

404

The user with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the permissions assigned to the user.

Up
get /ego/v1/users/{username}/assignments/roles
(getRBACRoles4User)
Get all roles assigned to a user.

Path parameters

username (required)
Path Parameter — The user name to retrieve the roles.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the roles that are assigned to the user.

401

Authentication error. The request was denied.

404

The user with the specified role name was not found.

416

An index is out of range.

500

An unexpected error occurred while retrieving the roles assigned to a user.

Up
get /ego/v1/users/assignments/roles
(getUserRoleAssignments)
Get a list of role-user assignments.

Request headers

Return type

Example data

Content-Type: application/json
[ {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
}, {
  "rolename" : "rolename",
  "context" : "context",
  "username" : "username"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.
  • application/json

Responses

200

Successfully retrieved the role-user assignment list.

401

Authentication error. The request was denied.

416

An index is out of range.

500

An unexpected error occurred while retrieving the role-user assignment list.

Models

[ Jump to Methods ]

Table of Contents

  1. ActiveInfo -
  2. ActivityDockerContainerInfo -
  3. ActivityInfo -
  4. ActivityInfoCreateResponse -
  5. ActivityInfoRequest -
  6. ActivitySpecification -
  7. CSRFToken -
  8. ClusterPackageInfo -
  9. Consumer -
  10. ConsumerResponseObject -
  11. ConsumerTreeElement -
  12. ConsumerWithUserAndRoles -
  13. DockerContainerGroupInfo -
  14. EGOMDSDimension -
  15. EntitlementStatus -
  16. Gpumetrics -
  17. Host -
  18. HostAttribute -
  19. HostDeploymentStatusInfo -
  20. HostPackageInfo -
  21. Log -
  22. MDSPlan -
  23. ModifyMDSPlan -
  24. ModuleInfo -
  25. Obj -
  26. PatchInfo -
  27. RBACAddUserRoleInfo -
  28. RBACAssignment -
  29. RBACAssignmentForDelete -
  30. RBACPermission -
  31. RBACRoleDeleteRequest -
  32. RBACRoleRequest -
  33. RBACRoleResponse -
  34. RBACUpdateRolePermissionInfo -
  35. RBACUpdateUserRoleInfo -
  36. RBACUser -
  37. RBACUserGroup -
  38. RBACUserPermission -
  39. RBACUserRequest -
  40. ResourceGroup -
  41. ResourceGroupHostInfo -
  42. ResourceGroupHostRequest -
  43. Rrusage -
  44. RuntimeInformation -
  45. ServiceDefinition -
  46. ServiceDefinitionActivityDescription -
  47. ServiceDefinitionActivitySpecification -
  48. ServiceDefinitionActivitySpecificationContainer -
  49. ServiceDefinitionAffinity -
  50. ServiceDefinitionAffinityRequirements -
  51. ServiceDefinitionAllocationSpecification -
  52. ServiceDefinitionAttribute -
  53. ServiceDefinitionCommand -
  54. ServiceDefinitionControlPolicy -
  55. ServiceDefinitionDependency -
  56. ServiceDefinitionDiskIOLimit -
  57. ServiceDefinitionDocker -
  58. ServiceDefinitionDockerContainer -
  59. ServiceDefinitionDockerNetwork -
  60. ServiceDefinitionDockerPublishedPort -
  61. ServiceDefinitionDockerReadyCond -
  62. ServiceDefinitionDockerSharedProp -
  63. ServiceDefinitionDockerVolume -
  64. ServiceDefinitionEnvironmentVariable -
  65. ServiceDefinitionMdsProperties -
  66. ServiceDefinitionNetworkPolicy -
  67. ServiceDefinitionPostCommand -
  68. ServiceDefinitionPreCommand -
  69. ServiceDefinitionRLimit -
  70. ServiceDefinitionResourceMetric -
  71. ServiceDefinitionResourceSpecification -
  72. ServiceDefinitionVirtualIPSettings -
  73. ServiceDynamicConfig -
  74. ServiceGroupInfo -
  75. ServiceGroupInfoForCreate -
  76. ServiceGroupUsageInfo -
  77. ServiceInfo -
  78. ServiceInstanceInfo -
  79. ServiceInstanceOperationInfo -
  80. ServiceInstanceUsageInfo -
  81. ServiceOperationInfo -
  82. ServicePackageInfo -
  83. ServicePackageOperationInfo -
  84. ServiceStateInfo -
  85. ServiceUsageInfo -
  86. Srusage -
  87. StringMap -
  88. StringObjectMap -
  89. StringSetStringMap -

ActiveInfo - Up

moduleName (optional)
String The name of the module.
version (optional)
String The version of the module.
linkto (optional)
String The product to which the module is linked.

ActivityDockerContainerInfo - Up

name (optional)
String The Docker container name
id (optional)
String The Docker container ID.
publishedports (optional)
String The port mapping that is reported by the Docker controller.
errormessage (optional)
String The error message that is returned by the Docker controller when you are creating or running the Docker container.
cputime (optional)
Integer The CPU time, in seconds, that is used by the Docker controller.
memory (optional)
Double The memory, in MB, that is used by the Docker controller. format: double
diskio (optional)
Double The disk input/output, in MB, that is used by the Docker controller. format: double

ActivityInfo - Up

id (optional)
String The resource orchestrator activity ID.
state (optional)
String The resource orchestrator activity exit status.
processid (optional)
String The resource orchestrator activity unique process ID.
exitstatus (optional)
Integer The resource orchestrator activity exit status.
exitreason (optional)
String The resource orchestrator activity exit reason.
name (optional)
String The resource orchestrator activity name.
allocationid (optional)
String The allocation ID.
consumername (optional)
String The consumer name.
clientname (optional)
String The client name.
resourcename (optional)
String The name of the host where the resource orchestrator activity is executed.
starttime (optional)
String The start time.
endtime (optional)
String The end time.
activityspecification (optional)
ActivitySpecification The resource orchestrator activity's specification information.
runtimeinformation (optional)
RuntimeInformation The resource orchestrator activity's runtime information.
inforeportedbyjobmonitor (optional)
String The information that is reported by the job monitor.
dockercontainergroupinfo (optional)
DockerContainerGroupInfo The activity's Docker container group information.
command (optional)
String The deployment command that is executed by the resource orchestrator activity.
cwd (optional)
String The current working directory from which the activity is started.
environments (optional)
array[String] The list of environment strings.
cpulimit (optional)
String The maximum amount of CPU time that this activity might use before it is terminated by the system.
filelimit (optional)
String The maximum file size that this activity might use before it is terminated by the system.
datalimit (optional)
String The maximum data segment size limit for each process that belongs to the activity.
stacklimit (optional)
String The maximum stack segment size for each process that belongs to the activity.
corelimit (optional)
String The maximum core file size for all of the processes that belong to the activity.
rsslimit (optional)
String The maximum resident set size, limiting physical memory usage for each process that belongs to the activity.
nofilelimit (optional)
String The maximum number of open file descriptors that this activity might use.
aslimit (optional)
String The maximum process size (address space) for each process that belongs to the activity.
jobmonitorcommand (optional)
String The command to run as a job monitor.
standardoutput (optional)
String The standard output and standard error output file of the specified activity.
executionuser (optional)
String Specifies the OS account to start the activity.
memorylocklimit (optional)
String Specifies the maximum size of locked memory for each process that belongs to the activity.

ActivityInfoCreateResponse - Up

id (optional)
String The resource orchestrator activity ID.

ActivityInfoRequest - Up

name (optional)
String The resource orchestrator activity name.
consumername (optional)
String The consumer name.
clientname (optional)
String The client name.
resourcename
String The name of the host where the resource orchestrator activity is executed.
command
String The deployment command that is executed by the resource orchestrator activity.
environments (optional)
array[String] The list of environment strings.
cpulimit (optional)
String The maximum amount of CPU time that this activity might use before it is terminated by the system.
filelimit (optional)
String The maximum file size that this activity might use before it is terminated by the system.
datalimit (optional)
String The maximum data segment size limit for each process that belongs to the activity.
stacklimit (optional)
String The maximum stack segment size for each process that belongs to the activity.
corelimit (optional)
String The maximum core file size for all the processes that belong to the activity.
rsslimit (optional)
String The maximum resident set size, limiting physical memory usage for each process that belongs to the activity.
nofilelimit (optional)
String The maximum number of open file descriptors that this activity might use.
aslimit (optional)
String The maximum process size (address space) for each process that belongs to the activity.
jobmonitorcommand (optional)
String The command to run as a job monitor.
standardoutput (optional)
String The standard output and standard error output file of the specified activity.
executionuser (optional)
String Specifies the OS account to start the activity.
memorylocklimit (optional)
String Specifies the maximum size of locked memory for each process that belongs to the activity.

ActivitySpecification - Up

command (optional)
String The command.
executioncwd (optional)
String The execution working directory.
executionhost (optional)
String The execution home directory.
executionuser (optional)
String The execution user name.
postcmdexitreason (optional)
String The exit reason for the post-execution command.
postcmdexitstatus (optional)
Integer The exit status for the post-execution command.
postcmdstderrfile (optional)
String The stderr file name, including the path, for the post-execution command.
postcmdstdoutfile (optional)
String The stdout file name, including the path, for the post-execution command.
postcmdtimeout (optional)
Integer The timeout, in seconds, for the post-execution command.
postcommand (optional)
String The post-execution command.
precmdexitreason (optional)
String The exit reason for the pre-execution command.
precmdexitstatus (optional)
Integer The exit status for the pre-execution command.
precmdstderrfile (optional)
String The stderr file name, including the path, for the pre-execution command.
precmdstdoutfile (optional)
String The stdout file name, including the path, for the pre-execution command.
precmdtimeout (optional)
Integer The timeout, in seconds, for the pre-execution command.
precommand (optional)
String The pre-execution command.
rlimitas (optional)
Long The maximum size, in bytes, of virtual memory for the activity's processes. format: int64
rlimitcore (optional)
Long The maximum size of the core file. format: int64
rlimitcpu (optional)
Long The CPU time limit in seconds. format: int64
rlimitdata (optional)
Long The maximum size of the activity's processes' data segment. format: int64
rlimitfsize (optional)
Long The maximum size of files that the activity's processes might create. format: int64
rlimitnofile (optional)
Long The maximum number of file descriptors that can be opened by the activity's processes. format: int64
rlimitrss (optional)
Long The limit of the activity's processes' resident set in pages. format: int64
rlimitstack (optional)
Long The maximum size, in bytes, of the activity's process stack. format: int64
stderrfile (optional)
String The stderr file name, including the path, for the command.
stdoutfile (optional)
String The stdout file name, including the path, for the command.
umask (optional)
String The file creation mode mask.
environments (optional)
array[StringMap] The environment variable/value pairs for the activity.

CSRFToken - Up

csrftoken
String The CSRF token that is obtained from a successful login. This token must be passed as a request parameter for all POST, PUT, and DELETE requests that use session authentication.

ClusterPackageInfo - Up

hostsInfo (optional)
array[HostPackageInfo] Information on host names, hostname, packages, versions and patches.

Consumer - Up

name
String The consumer name.
executionuser (optional)
String The workload execution OS user.
reclamationtime (optional)
Integer The reclaim grace period, in seconds.
rebalance (optional)
Boolean The policy rebalancing. True indicates that resources are rebalanced when resource plan or time interval changes.
resourcegroups (optional)
array[String] The list of resource group names.
allowedusers (optional)
array[String] The allowed execution user list. The default for a top-level consumer is an empty list, which means any user. The default for a sublevel consumer is an empty list, which means the user list is inherited from the parent consumer.
allowedgroups (optional)
array[String] The allowed execution group list. The default for a top-level consumer is an empty list, which means any group. The default for a sublevel consumer is an empty list, which means the group list is inherited from the parent consumer. If using the default or PAM security plugin, this field is only supported if ENABLE_BI_AUTH validation is enabled in ego.conf.

ConsumerResponseObject - Up

name
String The consumer name.
executionuser (optional)
String The workload execution OS user.
reclamationtime (optional)
Integer The reclaim grace period, in seconds.
rebalance (optional)
Boolean The policy rebalancing. True indicates that resources are rebalanced when resource plan or time interval changes.
resourcegroups (optional)
array[String] The list of resource group names.
roles (optional)
array[String] The list of user roles associated with the consumer. To modify the roles associated with the consumer, see the Roles APIs.
users (optional)
array[String] The list of users who have roles associated with the consumer. To modify the roles of a user, see the Roles APIs.
allowedusers (optional)
array[String] The allowed execution user list. The default for a top-level consumer is an empty list, which means any user. The default for a sublevel consumer is an empty list, which means the user list is inherited from the parent consumer.
allowedgroups (optional)
array[String] The allowed execution group list. The default for a top-level consumer is an empty list, which means any group. The default for a sublevel consumer is an empty list, which means the group list is inherited from the parent consumer.

ConsumerTreeElement - Up

name (optional)
String The consumer name.
path (optional)
String The consumer path.

ConsumerWithUserAndRoles - Up

name
String The consumer name.
executionuser (optional)
String The workload execution OS user.
reclamationtime (optional)
Integer The reclaim grace period, in seconds.
rebalance (optional)
Boolean The policy rebalancing. True indicates that resources are rebalanced when resource plan or time interval changes.
resourcegroups (optional)
array[String] The list of resource group names.
roles (optional)
array[String] The list of user roles associated with the consumer. This field is only returned if the consumer path specified in the URL explicitly included the initial slash of the consumer path. To modify the roles associated with the consumer, see the Roles APIs.
users (optional)
array[String] The list of users who have roles associated with the consumer. This field is only returned if the consumer path specified in the URL explicitly included the initial slash of the consumer path. To modify the roles of a user, see the Roles APIs.
allowedusers (optional)
array[String] The allowed execution user list. The default for a top-level consumer is an empty list, which means any user. The default for a sublevel consumer is an empty list, which means the user list is inherited from the parent consumer.
allowedgroups (optional)
array[String] The allowed execution group list. The default for a top-level consumer is an empty list, which means any group. The default for a sublevel consumer is an empty list, which means the group list is inherited from the parent consumer.

DockerContainerGroupInfo - Up

dockernetworkinfo (optional)
String The Docker container network information.
totalnumberofdockercontainer (optional)
Integer The total number of Docker containers.

EGOMDSDimension - Up

name (optional)
String The name of the multidimensional scheduling resource metric.
free (optional)
String The amount of the multidimensional scheduling resource metric that is free.
allocated (optional)
String The amount of the multidimensional scheduling resource metric that is allocated.

EntitlementStatus - Up

ego (optional)
String The EGO entitlement status.
sym (optional)
String The IBM Spectrum Symphony entitlement status.
cws (optional)
String The IBM Spectrum Conductor entitlement status.
lsf (optional)
String The IBM Spectrum LSF entitlement status.

Gpumetrics - Up

gpudeviceindex (optional)
Integer The index of GPU devices that are used by the activity.
gpumemusage (optional)
BigDecimal The GPU memory in MB for the GPU device that is used by the activity. format: int64
gpuutilization (optional)
Integer The GPU utilization usage in % for the GPU device that is used by the activity. format: float

Host - Up

hostname (optional)
String The name of the host.
attributes (optional)
array[HostAttribute] The attributes of the host.

HostAttribute - Up

name (optional)
String The name of attribute.
value (optional)
String The value of attribute.

HostDeploymentStatusInfo - Up

name (optional)
String The host name.
status (optional)
String The host deployment status.

HostPackageInfo - Up

hostName (optional)
String The name of the host.
cStatus (optional)
String The collection status.
collectTime (optional)
String The collect time.
moduleList (optional)
array[ModuleInfo] The list of modules.
activeList (optional)
array[ActiveInfo] The list of active modules.
patchList (optional)
array[PatchInfo] The list of patches.

Log - Up

name (optional)
String The log file name.
size (optional)
Integer The log file size in bytes.
date (optional)
String The log file last modified date.

MDSPlan - Up

planname
String The multidimensional scheduling resource plan name.
resourcegroups
array[String] The resource groups that are associated with the multidimensional resource plan.
resourcemetrics
array[String] The resource metrics that are applied to the multidimensional resource plan.
consumers (optional)
array[String] The consumer metrics that are applied to the multidimensional resource plan.

ModifyMDSPlan - Up

planname
String The multidimensional scheduling resource plan name.
resourcegroups (optional)
array[String] The resource groups that are associated with the multidimensional resource plan.
resourcemetrics (optional)
array[String] The resource metrics that are applied to the multidimensional resource plan.
consumers (optional)
array[String] The consumer metrics that are applied to the multidimensional resource plan. Specifying an empty string can remove all consumers from the associated multidimensional resource plan.

ModuleInfo - Up

moduleName (optional)
String The name of the module.
version (optional)
String The version of the module.
linkto (optional)
String The product to which the module is linked.

PatchInfo - Up

patchName (optional)
String The name of the patch.
version (optional)
String The version of the patch.
buildno (optional)
String The build number of the patch.
linkto (optional)
String The product to which the module is linked.

RBACAddUserRoleInfo - Up

addedroleassignment (optional)
array[RBACAssignment] A list of role assignments.

RBACAssignment - Up

username
String The user name.
rolename
String The role name.
context
String Within a particular role, the RoleContext is used to provide information about where the role applies. For example, if the role is for a consumer administrator, the context of this role is within a particular node in the consumer tree, thus the RoleContext is a ConsumerID.

RBACAssignmentForDelete - Up

removedroleassignment (optional)
array[RBACAssignment] A list of role assignments to delete.

RBACPermission - Up

id (optional)
String The permission ID.
baseid (optional)
String The permission base ID.
description (optional)
String The description of the permission.
contexttypes (optional)
String The context types of the permission.
component (optional)
String The component of the permission.
object (optional)
String The object of the permission.

RBACRoleDeleteRequest - Up

rolename
String The role name.
enforced (optional)
String Delete enforced.

RBACRoleRequest - Up

rolename
String The role name.
description (optional)
String The description of the role.
permissionlist (optional)
array[String] The permission list for the role.
roles4assignment (optional)
String The roles for assignment.
enforced (optional)
String Delete enforced.

RBACRoleResponse - Up

roleid (optional)
String The role ID.
rolename (optional)
String The role name.
description (optional)
String The description of the role.
changeable (optional)
Integer Whether the role is changeable.
usertype (optional)
Integer The integer that represents whether the role is for a user (0) or group (1).
contexttypes (optional)
String The context types of the role, which is separated by a comma.
permissionlist (optional)
array[String] The permission list for the role.
roles4assignment (optional)
String The roles for assignment.

RBACUpdateRolePermissionInfo - Up

addedpermissionlist (optional)
array[RBACRoleRequest] A list of added permissions.
removedpermissionlist (optional)
array[RBACRoleRequest] A list of removed permissions.

RBACUpdateUserRoleInfo - Up

addedroleassignment (optional)
array[RBACAssignment] A list of role assignments.
removedroleassignment (optional)
array[RBACAssignment] A list of role removals.

RBACUser - Up

username (optional)
String The user name.
description (optional)
String The description of the user.
groups (optional)
String A list of groups that the user belongs to, which is separated by commas.

RBACUserGroup - Up

groupid (optional)
String The user group ID.
groupname (optional)
String The user group name.
description (optional)
String The description of user group.
groupmemberlist (optional)
array[String] The user group member list.

RBACUserPermission - Up

id (optional)
String The permission ID.
contexttypes (optional)
String The context types of the permission.
context (optional)
String Within a particular role, the RoleContext is used to provide information about where the role applies. For example, if the role is for a consumer administrator, the context of this role is within a particular node in the consumer tree, thus the RoleContext is a ConsumerID.

RBACUserRequest - Up

username
String The user name.
password
String The password of the user.
description (optional)
String The description of the user.

ResourceGroup - Up

name
String The resource group name.
type
String The resource group type (static or dynamic).
Enum:
static
dynamic
description (optional)
String The resource group description.
resourcerequirement (optional)
String The resource requirement for group members - applies only to dynamic groups.
totalslots (optional)
Integer The total number of slots that belong to this resource group.
slotexpression (optional)
String The expression that represents the number of slots per host in the group.
numhosts (optional)
Integer The total number of hosts that belong to this resource group.
hosts (optional)
array[ResourceGroupHostRequest] The member hosts of the resource group. This parameter is required if the type is static.
schedulerpluginname (optional)
String The name of the scheduling plug-in that is used for this resource group.
resourcemetrics (optional)
array[EGOMDSDimension] The list of multidimensional scheduling resource metrics to include in the group.
resourceplan (optional)
String The multidimensional scheduling resource plan that is associated with the resource group.
numresourcemetrics (optional)
Integer The number of multidimensional scheduling resource metrics that can be scheduled in this resource group.

ResourceGroupHostInfo - Up

hostname
String The resource group member host name.
numslots (optional)
Integer The total slots on this host for this resource group.
freeslots (optional)
Integer The free slots on this host for this resource group.

ResourceGroupHostRequest - Up

hostname
String The resource group member host name.

Rrusage - Up

mem (optional)
Integer The cumulative resident set size, in KB, of all running processes in the activity.
swap (optional)
Integer The cumulative swap size, in KB, of all running processes in the activity.
utime (optional)
Integer The cumulative user time, in seconds.
stime (optional)
Integer The cumulative system time, in seconds.
npids (optional)
Integer The number of active processes in the activity.
npgids (optional)
Integer The number of active process groups in the activity.
nthreads (optional)
Integer The number of active threads in the activity.
gpudevicenum (optional)
Integer The total number of GPU devices that are used by the activity.
gpumetrics (optional)
array[Gpumetrics] The GPU metrics from the activity.

RuntimeInformation - Up

uid (optional)
Integer The execution user ID for the activity.
gid (optional)
Integer The execution group ID for the activity.
pid (optional)
Integer The activity's unique process ID.
pgid (optional)
Integer The activity's process group ID.
pempid (optional)
Integer The activity's unique PEM process ID.
pempgid (optional)
Integer The activity's PEM process group ID.
jmpid (optional)
Integer The activity's job monitor process ID.
jmpgid (optional)
Integer The activity's job monitor process group ID.
jmpempid (optional)
Integer The activity's job monitor PEM process ID.
jmpempgid (optional)
Integer The activity's job monitor PEM process group ID.
rrusage (optional)
Rrusage The activity's runtime resource usage.
srusage (optional)
Srusage The activity's total resource usage.

ServiceDefinition - Up

name
String The service name.
version
String The service controller version.
description
String The service description.
mininstances
String The minimum number of instances that are required for this service to run, or the minimum percentage of instances this service requires to run (mininstances as a percentage requires IBM Spectrum Conductor).
maxinstances
String The maximum number of instances that this service is allowed to run, or the maximum percentage of instances this service is allowed to run (maxinstances as a percentage requires IBM Spectrum Conductor).
maxinstancesperslot
Integer The maximum number of instances of this service that is allowed per CPU slot.
maxinstancesperhost (optional)
Integer The maximum number of instances of this service that is allowed per host.
instancetoslotratio (optional)
String The instance to slot ratio (requires IBM Spectrum Conductor).
priority
Integer The relative start order of the service.
needcredential
Boolean The boolean value that indicates whether credentials must be passed to the EGO_SERVICE_CREDENTIAL environment variable.
type (optional)
String The service type is either Default, ASC, or CONDUCTOR (requires IBM Spectrum Conductor).
controlpolicy
ServiceDefinitionControlPolicy The control policy that describes service lifecycle parameters.
networkpolicy (optional)
ServiceDefinitionNetworkPolicy The network policy that describes network-related parameters for a service (requires IBM Spectrum Conductor).
allocationspecification
ServiceDefinitionAllocationSpecification The allocation specification that describes resource allocation for this service.
activitydescriptions
array[ServiceDefinitionActivityDescription] The activity description that ties activity specifications to resources that match given attributes.
collectusage (optional)
Boolean Whether the service must monitor service resource consumption (requires IBM Spectrum Conductor). Valid values are TRUE or FALSE (default).
impersonate (optional)
String The user name for impersonation, enabling the service to run under this user.

ServiceDefinitionActivityDescription - Up

logpath (optional)
String The log path for the service instance (requires IBM Spectrum Conductor). Specify up to 1024 characters.
attribute
ServiceDefinitionAttribute The attribute describing a name-value pair of any type.
activityspecification
ServiceDefinitionActivitySpecification The specification for the activity.

ServiceDefinitionActivitySpecification - Up

precommand (optional)
ServiceDefinitionPreCommand The pre-execution command to run before running the command (optional) (requires IBM Spectrum Conductor).
command
ServiceDefinitionCommand The command to run as part of the activity.
postcommand (optional)
ServiceDefinitionPostCommand The post-execution command to run after running the command (optional) (requires IBM Spectrum Conductor).
executionuser (optional)
String The operating system user to use when running an activity.
umask (optional)
String The file creation mask that is used within the context of a running activity.
workingdirectory (optional)
String The full path to the directory in which an activity executes.
jobcontroller (optional)
String The command to run when controlling the activity.
jobmonitor (optional)
String The command to run besides the activity (requires IBM Spectrum Conductor).
jobmonitormaxupdateinterval (optional)
Integer The frequency, in seconds, that the job monitor updates activity's status (requires IBM Spectrum Conductor).
controlwaitperiod (optional)
String The grace period to wait before killing an activity. Specify the duration in the format PTnHnMnS.
defaulturl (optional)
String The default URL for the service instance if the job monitor is not defined (requires IBM Spectrum Conductor).
container (optional)
ServiceDefinitionActivitySpecificationContainer The container type and properties to limit CPU, memory, and DiskIO usage for the activity (requires IBM Spectrum Conductor).
cleanupcommand (optional)
String The value for CleanupCommand (requires IBM Spectrum Conductor). If CleanupCommand is configured, you must also specify a value for InactivityPeriod.
inactivityperiod (optional)
String The duration of inactive service instances that can occur on the host before the service controller starts CleanupCommand (requires IBM Spectrum Conductor). If InactivityPeriod is configured, you must also specify a value for CleanupCommand.
cleanupfinishwaitperiod (optional)
String The duration that the service controller waits for CleanupCommand to complete before it ends the cleanup activity (requires IBM Spectrum Conductor). Default value is 120 seconds.
docker (optional)
ServiceDefinitionDocker The common parameters for all Docker containers and parameters for an individual Docker container (requires IBM Spectrum Conductor).
environmentvariables (optional)
array[ServiceDefinitionEnvironmentVariable] The Environment Variables model operating system environment variables (for service instance location substitution, ${SERVICE_serviceName_LOCATION} or ${SERVICE_serviceName_LOCATIONS} requires IBM Spectrum Conductor).
rlimits (optional)
array[ServiceDefinitionRLimit] The list of operating system limits within the context of a running activity.

ServiceDefinitionActivitySpecificationContainer - Up

cpulimit (optional)
Integer The maximum number of cores that the activity can use, which must be greater than 0.
diskiolimit (optional)
array[ServiceDefinitionDiskIOLimit] The file path to the error log file for the pre-execution command.
memorylimit (optional)
Integer Specifies the maximum memory to use in MB.
memoryswaplimit (optional)
Integer The maximum memory (in MB) that the activity can use.
networkclassid (optional)
String Specifies a class identifier that allows the Linux traffic controller to identify packets that originate from control groups.
priorityclass (optional)
Integer Specifies an integer for the job object priority class level. 0 - IDLE_PRIORITY_CLASS, 1 - BELOW_NORMAL_PRIORITY_CLASS, 2 - NORMAL_PRIORITY_CLASS, 3 - ABOVE_NORMAL_PRIORITY_CLASS, 4 - HIGH_PRIORITY_CLASS, 5 - REALTIME_PRIORITY_CLASS.
type
String The type of the container, which can be control groups for Linux, or jobObject for Windows.

ServiceDefinitionAffinity - Up

resourceplanname (optional)
String The resource plan name when the service is used for multidimensional scheduling.
resourcemetrics (optional)
array[ServiceDefinitionResourceMetric] Any of four predefined resource metrics (ncpus, maxmem, maxswp, or maxtmp) or define your own metric.

ServiceDefinitionAffinityRequirements - Up

affinities (optional)
array[ServiceDefinitionAffinity] A list of affinity conditions for a service. The content of each affinity condition contains the name of the service or service group that this service has the requirement against. An affinity means that service instances must run on the same host that has the related service's instances already running. An affinity can also be defined as "hard" or "soft"; default is "hard".
antiaffinities (optional)
array[ServiceDefinitionAffinity] A list of anti-affinity conditions for a service. The content of each anti-affinity condition contains the name of the service or service group that this service has the requirement against. An anti-affinity means that service instances must avoid running on the same host that has the related service's instances already running. An anti-affinity can also be defined as "hard" or "soft"; default is "hard".

ServiceDefinitionAllocationSpecification - Up

consumerid
String The consumer path.
resourcespecification
ServiceDefinitionResourceSpecification The resource specification that describes the resources that are required by this service.

ServiceDefinitionAttribute - Up

name
String The attribute name.
type
String Specifies an NCName that indicates the XML schema type that represents this attribute. The type attribute must contain one of the names of the built-in types from the XML schema http://www.w3.org/TR/xmlschema-2/#built-in-datatypes specification.
value
String The attribute value.

ServiceDefinitionCommand - Up

stdoutfile (optional)
String The stdOutFile attribute indicates the file path to the message output file for the execution command.
stderrfile (optional)
String The stdErrFile attribute indicates the file path to the error log file for the execution command.
value
String The execution command.

ServiceDefinitionControlPolicy - Up

starttype
String The start type, AUTOMATIC or MANUAL.
Enum:
AUTOMATIC
MANUAL
maxrestarts (optional)
Integer The maximum number of times a service can be restartedMaximum number of times a service can be restarted in a 5-minute interval before it is flagged in the error state.
heartbeatinterval (optional)
String The frequency that the service controller checks if the service is running. Specify the duration in the format PTnHnHmS.
maxmissedheartbeats (optional)
Integer The maximum number of missed heartbeats before a service instance is considered to be hung.
hostfailoverinterval (optional)
String Specifies the length of time to wait after a host fails until the service must be restarted on another host. Specify duration in the format PTnHnMnS. The number of seconds can include decimal digits to arbitrary precision.
blockhostexitvalues (optional)
array[Integer] The list of exit values that, if received from all instances of a service on a host, cause the host to be blocked from running the service.
servicefailoverfencingrwaitperiod (optional)
String The duration that the service controller waits for the fencing to complete before it terminates the activity for the service instance. Specify duration in the format PTnHnHmS. The number of seconds can include decimal digits to arbitrary precision.
dependencies (optional)
array[ServiceDefinitionDependency] The list of service dependencies for this service.
servicefailoverfencings (optional)
array[ServiceDefinitionActivityDescription] The service failover fencing that ties the service instance fencing to resources that match given attributes.

ServiceDefinitionDependency - Up

servicename (optional)
String The name of the service that this service depends on.
type (optional)
String The dependency type is either OnStart or Conditional (Type as Conditional requires IBM Spectrum Conductor).
satisfy (optional)
String A list of states that indicate that this service waits until the service in this dependency reaches the wanted state before it starts.
keep (optional)
String A list of states that indicate that this service will be in the INIT state if the service in this dependency is not in the wanted state.
autostart (optional)
String Whether starting this service should start services in this dependency, TRUE or FALSE.

ServiceDefinitionDiskIOLimit - Up

operation
String Specifies the disk operation, either read or write.
device
String Specifies the device id. For an example, 8:0.
value
Integer Specifies the upper limit on the number of read or write operations a device can perform. The rate of the operations is in bytes per second.

ServiceDefinitionDocker - Up

sharedproperties (optional)
ServiceDefinitionDockerSharedProp Specifies common parameters for all Docker containers.
containers
array[ServiceDefinitionDockerContainer] Specifies Docker container parameters.

ServiceDefinitionDockerContainer - Up

name
String A unique identifier that is used to distinguish an object.
image
String Specifies the image name.
command (optional)
String Specifies the command that is used to start the Docker container.
cpushares (optional)
Integer Specifies the CPU shares (relative weight). The range is 0-1024.
cpuset (optional)
String Specifies the CPUs to allow execution (for example, 0-3, 0,1)
memorylimit (optional)
Integer Specifies the maximum memory to use in MB.
imageregistryurl (optional)
String Specifies the path to the registry to pull the image.
publishedports (optional)
array[ServiceDefinitionDockerPublishedPort] Specifies the port numbers to publish to the host.
executionuser (optional)
String Specifies the operating system user ID to use when running the activity.
gracefulstop (optional)
String The value can be "true" or "false". With the value "true", the Docker container is not forcibly stopped until the time value (in seconds) that is set by the stop timeout parameter for ego:Docker. The default is "False", which means that the container is stopped immediately.
readyconditions (optional)
ServiceDefinitionDockerReadyCond Specifies user-defined conditions to determine when a container is ready during startup. If no ready conditions are specified, the container is considered ready immediately after it is started.
entrypoint (optional)
String Specifies the path to overwrite the default ENTRYPOINT of the Docker image. For example, /bin/bash.
privileged (optional)
String The value can be "true" or "false". Default is "false". With the value "true", extended privileges are given to this Docker container.
shortrunning (optional)
String The value can be "true" or "false". Default is "false". With the value "true", the Docker container can exit without affecting Docker pod status.
extraparameter (optional)
String Specifies extra parameters, if needed, in the format of a string that is passed to Docker controller for future use.
impersonatemode (optional)
String The impersonate execution user as host level user when specified. Allowed values are "merge" or "overwrite".
Enum:
merge
overwrite
environmentvariables (optional)
array[ServiceDefinitionEnvironmentVariable] The list of environment variables that are set in the Docker container.
volumes (optional)
array[ServiceDefinitionDockerVolume] Specifies a volume to mount into the Docker container.
dependencies (optional)
array[ServiceDefinitionDependency] The list of container dependencies for this container.
impersonateusernames (optional)
array[String] Additional user names that must be impersonated as the host user.

ServiceDefinitionDockerNetwork - Up

networktype (optional)
String Specifies the network type. Can be one of 'bridge', 'host', 'external', or 'sdn'.
Enum:
bridge
host
external
sdn
podname (optional)
String Specifies the Pod name.
externalscriptvariables (optional)
array[ServiceDefinitionEnvironmentVariable] Specifies variable names and their values.
dnsserver (optional)
array[String] Specifies the DNS server IP addresses. For example, 123.123.123.123.
dnssearchdomain (optional)
array[String] Specifies the DNS search domains. For example, abc.com.
sdnname (optional)
array[String] Specifies the SDN names.

ServiceDefinitionDockerPublishedPort - Up

hostport (optional)
String Specifies the host port number.
port (optional)
String Specifies the port number to publish to the host.
ip (optional)
String Specifies the IP address of the host.
protocol (optional)
String Specifies the protocol for the published port, tcp, or udp. Default is tcp.

ServiceDefinitionDockerReadyCond - Up

readycheckscript (optional)
String A user-defined script on the host machine that returns with either exit code 0 if a Docker container is ready, or a non-zero exit code if a Docker container is not ready. The script serves as a brief check that is called multiple times, and returns quickly rather than blocking and waiting for the Docker container to be ready.
requiredcontainerports (optional)
array[Integer] Specifies the container port numbers that must be listening in order for the container to be considered ready.
requiredcontainerprocesses (optional)
array[String] Specifies process names that must be running in the container in order for the container to be considered ready.

ServiceDefinitionDockerSharedProp - Up

network (optional)
ServiceDefinitionDockerNetwork Specifies Docker network parameters.
stoptimeout (optional)
Integer Specifies, in seconds, the maximal allowed duration for the overall stop operation for the containers in a pod. Default is 20 seconds multiplied by the number of containers in a pod plus 60 seconds.
startuptimeout (optional)
Integer Specifies, in seconds, the maximal allowed duration of the overall start operation for the containers in a pod. Default is 20 seconds multiplied by the number of containers in a pod plus 60 seconds.
environmentvariables (optional)
array[ServiceDefinitionEnvironmentVariable] A list of environment variables that are shared among the docker containers in the pod.
volumes (optional)
array[ServiceDefinitionDockerVolume] Specifies the volume to create on the Docker container.

ServiceDefinitionDockerVolume - Up

hostpath (optional)
String Specifies the host path of the volume.
permission (optional)
String Specifies the permission for the volume. Specify ro for read only, or rw for read and write. Default is rw.
envname (optional)
String Specifies the environment variable name to set for the container. The value is the volume path in the container volume.
value
String Specifies the path of the volume to create on the docker container.

ServiceDefinitionEnvironmentVariable - Up

name
String The environment variable name.
value (optional)
String The environment variable value.

ServiceDefinitionMdsProperties - Up

type (optional)
String The type of condition, "hard" or "soft". The default value is "hard".
Enum:
hard
soft
service (optional)
String The name of the service or service group with which this service has its affinity or anti-affinity condition.

ServiceDefinitionNetworkPolicy - Up

virtualipsettings (optional)
ServiceDefinitionVirtualIPSettings The virtual IP settings that describe the virtual IP-related settings that are used for high availability support (requires IBM Spectrum Conductor).

ServiceDefinitionPostCommand - Up

timeout (optional)
Integer The amount of time, in seconds, before the post-execution command times out.
stdoutfile (optional)
String The stdOutFile attribute indicates the file path to the message output file for the post-execution command.
stderrfile (optional)
String The stdErrFile attribute indicates the file path to the error log file for the post-execution command.
value
String The post-execution command.

ServiceDefinitionPreCommand - Up

timeout (optional)
Integer The amount of time, in seconds, before the pre-execution command times out.
stdoutfile (optional)
String The stdOutFile attribute indicates the file path to the message output file for the pre-execution command.
stderrfile (optional)
String The stdErrFile attribute indicates the file path to the error log file for the pre-execution command.
value
String The pre-execution command.

ServiceDefinitionRLimit - Up

rlimitname
String Indicates which limit is being specified. Limits are the same as in the getrlimit(2) main page.
rlimittype (optional)
String Indicates whether limit is hard or soft.
rlimit
Integer Integer value of the limit.

ServiceDefinitionResourceMetric - Up

metricname (optional)
String The resource metric name.
metricvalue (optional)
String The resource metric value.

ServiceDefinitionResourceSpecification - Up

resourcetype
String Indicates the URI of the namespace of an XML schema that is used to further describe this resource.
resourcegroupname (optional)
String The resource group name when the service is used for slot-based scheduling.
resourcerequirement (optional)
String Expression that specifies the resources that are required to run the service.
affinityrequirements (optional)
ServiceDefinitionAffinityRequirements A list of affinity conditions, which is treated as logical and requires IBM Spectrum Conductor.
mdsproperties (optional)
ServiceDefinitionMdsProperties The list of resource metrics when the service is used for multidimensional scheduling. Use any of four predefined resource metrics (ncpus, maxmem, maxswp, or maxtmp) or define your own metric.

ServiceDefinitionVirtualIPSettings - Up

basevirtualip (optional)
String The basic virtual IP address for high availability (requires IBM Spectrum Conductor).
netmask (optional)
String The network mask for the basic virtual IP (requires IBM Spectrum Conductor).

ServiceDynamicConfig - Up

name (optional)
String The name of the service to modify.
mininstances (optional)
String The minimum number or percentage of service instances that must be running before the service is considered to be started.
maxinstances (optional)
String The maximum number of instances that can run concurrently for this service or the percentage that is based on the current value.
terminationinstances (optional)
array[String] The list of service instances sequence numbers to be terminated when the MaxInstances parameter value is reduced.

ServiceGroupInfo - Up

srvgrpname (optional)
String The service group name.
description (optional)
String The description of the service group.
servicenames (optional)
array[String] The list of service names in the service group.
usage (optional)
ServiceGroupUsageInfo The resource usage information of the service group (requires IBM Spectrum Conductor installation and entitlement).

ServiceGroupInfoForCreate - Up

srvgrpname
String The service group name.
description (optional)
String The description of the service group.
servicenames (optional)
array[String] The list of service names in the service group.

ServiceGroupUsageInfo - Up

coresused (optional)
Float The percentage of used CPU cores (requires IBM Spectrum Conductor). format: float
mem (optional)
Float The size of virtual address, in MB (requires IBM Spectrum Conductor). format: float
iorate (optional)
Float The rate of input/output, in KB/s (requires IBM Spectrum Conductor). format: float
diskrate (optional)
Float The rate of disk input/output, in KB/s (requires IBM Spectrum Conductor). format: float

ServiceInfo - Up

name (optional)
String The service name.
description (optional)
String The service description.
starttype (optional)
String The start type, AUTOMATIC or MANUAL.
Enum:
AUTOMATIC
MANUAL
consumer (optional)
String The service consumer path.
resourcegroup (optional)
String The resource group name when the service is used for slot-based scheduling.
resourcerequirement (optional)
String The resource requirement.
dependencies (optional)
array[String] The list of service names that this service depends on.
mininstances (optional)
Integer The minimum number of instances.
maxinstances (optional)
Integer The maximum number of instances.
maxinstancesperslot (optional)
Integer The maximum number of instances per slot.
instancetoslotratio (optional)
String The instance to slot ratio (requires IBM Spectrum Conductor).
maxrestarts (optional)
Integer The maximum number of restarts during a 5-minute time interval before this service is flagged to be in the error state.
type (optional)
String The service type is either Default, ASC, or CONDUCTOR (requires IBM Spectrum Conductor). Service type is not displayed when either Default or null.
affinityrequirements (optional)
ServiceDefinitionAffinityRequirements A list of affinity conditions, which is treated as logical and requires IBM Spectrum Conductor.
basevirtualip (optional)
String The basic virtual IP address for high availability (requires IBM Spectrum Conductor).
netmask (optional)
String The network mask for basic virtual IP (requires IBM Spectrum Conductor).
mdsproperties (optional)
ServiceDefinitionMdsProperties The list of resource metrics when the service is used for multidimensional scheduling. Use any of four predefined resource metrics (ncpus, maxmem, maxswp, or maxtmp) or define your own metric.

ServiceInstanceInfo - Up

servicename (optional)
String The name of the service to which the instance belongs.
sequencenum (optional)
Integer The sequence number of the instance.
state (optional)
String The service instance state.
starttime (optional)
String The start time if the instance is started.
resourcegroup (optional)
String The resource group that the instance is running in.
hostname (optional)
String The host name of the server that the instance is on.
processid (optional)
Integer The process ID of the instance if the instance is started.
userinfo (optional)
String The user information for the instance.
virtualip (optional)
String The virtual IP applied to the instance (requires IBM Spectrum Conductor or IBM Spectrum Conductor).
activityid (optional)
Integer The resource orchestrator activity ID of the instance, if the instance is started.
logpath (optional)
String The log path or the log directory path of the instance.
usage (optional)
ServiceInstanceUsageInfo The resource usage information of the service instance (requires IBM Spectrum Conductor).

ServiceInstanceOperationInfo - Up

name
String The name of the operation to perform RESTART, MIGRATE, or STOP.
servicename
String The name of the service to perform operation on.
sequencenum
Integer The sequence number of the instance to perform operation on.

ServiceInstanceUsageInfo - Up

cputime (optional)
Long The CPU time in seconds (requires IBM Spectrum Conductor). format: int64
coresused (optional)
Float The percentage of used CPU cores (requires IBM Spectrum Conductor). format: float
mem (optional)
Float The size of virtual address, in MB (requires IBM Spectrum Conductor). format: float
io (optional)
Float The input/output, in MB (requires IBM Spectrum Conductor). format: float
iorate (optional)
Float The rate of input/output, in KB/s (requires IBM Spectrum Conductor). format: float
disk (optional)
Float The disk input/output, in MB (requires IBM Spectrum Conductor). format: float
diskrate (optional)
Float The rate of disk input/output, in KB/s (requires IBM Spectrum Conductor). format: float

ServiceOperationInfo - Up

name
String The name of the operation to perform START, STOP, FREEZE or UNFREEZE. The FREEZE and UNFREEZE operations are not supported on consumer or service group.
servicenames (optional)
array[String] The list of service names to perform operation on. Specify "all" as first service name to perform operation on all services.
servicegroupnames (optional)
array[String] The list of service group names to perform operation on.
consumername (optional)
String The name of the consumer to perform operation on. The operation is performed on all services owned by this consumer.

ServicePackageInfo - Up

name (optional)
String The name of the service package.
consumerpath (optional)
String The consumer path for the service package. If consumer is root, its value is /.
size (optional)
Integer The file size of the service package, in bytes.
updatetime (optional)
Integer The last update time of the service package, which is in seconds since January 1, 1970, 00:00:00 GMT.

ServicePackageOperationInfo - Up

packagename
String The name of the service package. The package name must not exceed 1024 characters and can contain the characters a-z, A-Z, 0-9, ., _, or - (cannot contain only periods).
consumerpath
String The consumer path at which the service package is (un)deployed.
targetresourcegroup (optional)
String The name of the resource group for slot-based scheduling or the resource plan for multidimensional scheduling that the service package is deployed to. For multidimensional scheduling, this can be a resource plan that contains resource groups or a slot-based resource group that is configured for slot mapping.
targethost (optional)
String The target host for which service package is to be (un)deployed.
timeout (optional)
Integer The timeout on each host, in seconds, for package (un)installation. By default, a timeout is not defined.
maxconcurrenthostnum (optional)
Integer The maximum number of hosts actively downloading and (un)installing packages concurrently. Default is 4.
environmentvariables (optional)
array[ServiceDefinitionEnvironmentVariable] The environment variables that pass to the process that performs (un)deployment.
operationconsumerpath (optional)
String The consumer path to get slots in order to run the remote (un)deploy command. If this parameter is specified, ensure that targetresourcegroup is defined.
scriptexecuser (optional)
String The execution user for the process performing (un)deployment.

ServiceStateInfo - Up

name (optional)
String The service name.
state (optional)
String The service state.
allocationid (optional)
Integer The allocation ID of the service if the service is started.
consumer (optional)
String The consumer path.
numinstances (optional)
Integer The number of instances that are defined for the service.
numstartinginstances (optional)
Integer The number of instances in the STARTING state.
numrunninginstances (optional)
Integer The number of instances in the RUNNING state.
numholdinginstances (optional)
Integer The number of instances in the HOLDING state.
numunknowninstances (optional)
Integer The number of instances in the UNKNOWN state.
numfinishedinstances (optional)
Integer The number of instances in the FINISHED state.
numerrorinstances (optional)
Integer The number of instances in the ERROR state.
usage (optional)
ServiceUsageInfo The resource usage information of the service (requires IBM Spectrum Conductor).
type (optional)
String The type of service. For example, CONDUCTOR

ServiceUsageInfo - Up

coresused (optional)
Float The percentage of used CPU cores (requires IBM Spectrum Conductor). format: float
mem (optional)
Float The size of the virtual address, in MB (requires IBM Spectrum Conductor). format: float
iorate (optional)
Float The rate of input/output, in KB/s (requires IBM Spectrum Conductor). format: float
diskrate (optional)
Float The rate of disk input/output, in KB/s (requires IBM Spectrum Conductor). format: float

Srusage - Up

utime (optional)
Double The total user time that is used by the activity. format: double
stime (optional)
Double The total system time that is used by the activity. format: double
maxrss (optional)
Double The maximum resident set size that is generated by the activity. format: double
ixrss (optional)
Double The total integral shared text size that is generated by the activity. format: double
ismrss (optional)
Double The total share memory size (Ultrix only) that is generated by the activity. format: double
idrss (optional)
Double The total integral unshared data size that is generated by the activity. format: double
isrss (optional)
Double The total integral unshared stack size that is generated by the activity. format: double
minflt (optional)
Double The total page reclaims that are generated by the activity. format: double
majflt (optional)
Double The total page faults that are generated by the activity. format: double
nswap (optional)
Double The total swap size that is generated by the activity. format: double
inblock (optional)
Double The total block input operations that are generated by the activity. format: double
oublock (optional)
Double The total block output operations that are generated by the activity. format: double
ioch (optional)
Double The total characters (HP only) that are read or written by the activity. format: double
msgsnd (optional)
Double The total messages that are sent by the activity. format: double
msgrcv (optional)
Double The total messages that are received by the activity. format: double
nsignals (optional)
Double The total signals that are received by the activity. format: double
nvcsw (optional)
Double The total voluntary context switches that are generated by the activity. format: double
nivcsw (optional)
Double The total involuntary context switches that are generated by the activity. format: double
exutime (optional)
Double The total exact user time (Convex only) that is used by the activity. format: double

StringMap - Up

example_key (optional)

StringObjectMap - Up

example_key (optional)

StringSetStringMap - Up

example_key (optional)