getRealtimeClusterDetails

On this page
Back to index

Summary

Retrieves details for the given object from the container platform for the given CloudBees CD/RO cluster reference.
request
Stringrequired
This parameter and the value displayed are required; request=getRealtimeClusterDetails must appear in your query string.
projectName
Stringrequired
The name for the project that must be unique among all projects.
environmentName
Stringoptional
Name of the environment which owns this cluster.
clusterName
Stringrequired
The name of the cluster.
objectId
Stringrequired
The identifier for the object within the cluster for which real-time details will be retrieved. The identifier for the object within the cluster can be obtained using getRealtimeClusterTopology API.
objectType
Stringrequired
The type of object within the cluster for which real-time details will be retrieved. The supported values for object type may vary by container platform. Kubernetes cluster will support ecp-namespace, ecp-service, ecp-pod, and ecp-container object types.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getRealtimeClusterDetails( request: "test-request", projectName: "test-projectName", clusterName: "test-clusterName", objectId: "test-objectId", objectType: "test-objectType" /* optional arguments */ )