Get service map workloads list

Get service map workloads list

get

Get the list of workloads in the specified workspace and service map.

Path parameters
workspaceSeqintegerRequired
servicemapSeqintegerRequired
Responses
200
OK
*/*
get
GET /v1/workspaces/{workspaceSeq}/servicemaps/{servicemapSeq}/workloads HTTP/1.1
Host: 
Accept: */*
200

OK

[
  {
    "namespaceName": "cocktail-system",
    "workloadGroups": [
      {
        "columnCount": 1,
        "servicemapSeq": 2,
        "sortOrder": 1,
        "useYn": "Y",
        "workloadGroupName": "Default",
        "workloadGroupSeq": 2
      }
    ],
    "workloads": [
      {
        "activeCount": 1,
        "computeTotal": 1,
        "creationTimestamp": "2023-04-29 05:54:54",
        "description": "",
        "namespaceName": "cocktail-system",
        "qos": "Burstable",
        "serverUrls": [
          {
            "serviceType": "CLUSTER_IP",
            "url": "0.0.0.0:0"
          }
        ],
        "stateCode": "RUNNING",
        "workloadGroupSeq": 11,
        "workloadName": "cocktail-api-cmdb",
        "workloadType": "STATEFUL_SET_SERVER"
      }
    ]
  }
]

Was this helpful?