Back to index
Summary
Retrieves details for the given object from the container platform for the given CloudBees CD/RO cluster reference.For a list of object types in CloudBees CD/RO, refer to Object types in CloudBees CD/RO. |
projectNameStringrequiredThe name for the project that must be unique among all projects. clusterNameStringrequiredThe name of the cluster. objectIdStringrequiredThe 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.objectTypeStringrequiredThe 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.environmentNameStringoptionalName of the environment which owns this cluster. |
Usage
Perl
$cmdr->getRealtimeClusterDetails( "test-projectName", # projectName "test-clusterName", # clusterName "test-objectId", # objectId "test-objectType" # objectType # optionals );
ectool
ectool getRealtimeClusterDetails \ "test-projectName" `# projectName` \ "test-clusterName" `# clusterName` \ "test-objectId" `# objectId` \ "test-objectType" `# objectType` \ # optionals