Get Deployments by ID

URL:
https://<root>/system/deployments/getDeploymentsById
Methods:
POST
Version Introduced:
11.0

Description

The getDeploymentsById operation returns a list of microservices corresponding to the IDs included in the request.

Request parameters

ParameterDetails

deploymentIDs

(Required)

Filters deployments by their specific IDs. Deployment IDs can be gathered using the Find Deployment IDs operation. If you are including multiple IDs, each ID must be separated by a comma.

Use dark colors for code blocksCopy
1
deploymentIDs=klor1w3y00uqay7gkop17,kxfmz19qfoks0gk9xmjok

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the getDeploymentsById operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/system/deployments/getDeploymentsById HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

deploymentIDs=klor1w3y00uqay7gkop17,kxfmz19qfoks0gk9xmjok&f=pjson&token=<token>

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
  "deployments": [
    {
      "mode": "Shared",
      "configuredState": "STARTED",
      "provider": "DMaps",
      "deploymentId": "klor1w3y00uqay7gkop17",
      "name": "shared-mapserver",
      "type": "MapServer",
      "spec": {
        "servicesFilter": {
          "serviceType": "MapServer",
          "providerType": "DMaps"
        },
        "replicas": {
          "min": 2,
          "max": 2,
          "scalingMode": "manual"
        },
        "containers": [
          {
            "name": "main-container",
            "resources": {
              "memoryMin": "500Mi",
              "memoryMax": "4Gi",
              "cpuMin": "0.125",
              "customResources": {},
              "cpuMax": "2"
            },
            "containerImageUrl": "container.image.com/map-server:6243",
            "containerImageKey": "MAP_SERVER"
          },
          {
            "name": "fluent-bit",
            "resources": {
                "memoryMin": "32Mi",
                "memoryMax": "150Mi",
                "cpuMin": "0.05",
                "customResources": {},
                "cpuMax": "0.25"
            },
            "containerImageUrl": "container.image.com/arcgis-fluent-bit:6243",
            "containerImageKey": "FLUENT_BIT"
          }
        ],
        "initServices": {
          "serviceNames": [
            {
              "serviceType": "MapServer",
              "folderName": "System",
              "serviceName": "SharedMapServiceHost",
              "serviceId": "sk2t7le4zicjl7cp6edpb"
            }
          ]
        },
        "managedKubernetesResources": [
          {
            "purpose": "blue-deployment",
            "kind": "Deployment",
            "name": "arcgis-klor1w3y00uqay7gkop17-mapserver-qtuaj",
            "selectorInstanceName": "blue"
          },
          {
            "purpose": "service",
            "kind": "Service",
            "name": "arcgis-klor1w3y00uqay7gkop17-mapserver",
            "selectorInstanceName": "blue"
          }
        ]
      },
      "labels": {},
      "revision": 1729164716995
    },
    {
      "mode": "Dedicated",
      "configuredState": "STARTED",
      "provider": "ArcObjects11",
      "deploymentId": "kxfmz19qfoks0gk9xmjok",
      "name": "sampleworldcities-mapserver",
      "type": "MapServer",
      "spec": {
        "servicesFilter": {
          "serviceType": "MapServer",
          "folderName": "",
          "serviceId": "sh1pqzlvaq0qzbj3shv7j",
          "serviceName": "SampleWorldCities",
          "providerType": "ArcObjects11"
        },
        "replicas": {
          "min": 1,
          "max": 1,
          "scalingMode": "manual"
        },
        "containers": [
          {
            "name": "main-container",
            "resources": {
              "memoryMin": "500Mi",
              "memoryMax": "2Gi",
              "cpuMin": "0.125",
              "customResources": {},
              "cpuMax": "2"
            },
            "containerImageUrl": "container.image.com/map-server:6243",
            "containerImageKey": "MAP_SERVER"
          },
          {
            "name": "fluent-bit",
            "resources": {
              "memoryMin": "32Mi",
              "memoryMax": "150Mi",
              "cpuMin": "0.05",
              "customResources": {},
              "cpuMax": "0.25"
            },
            "containerImageUrl": "container.image.com/arcgis-fluent-bit:6243",
            "containerImageKey": "FLUENT_BIT"
          }
        ],
        "managedKubernetesResources": [
          {
            "purpose": "blue-deployment",
            "kind": "Deployment",
            "name": "arcgis-kxfmz19qfoks0gk9xmjok-mapserver-pzf2k",
            "selectorInstanceName": "blue"
          },
          {
            "purpose": "service",
            "kind": "Service",
            "name": "arcgis-kxfmz19qfoks0gk9xmjok-mapserver",
            "selectorInstanceName": "blue"
          }
        ]
      },
      "labels": {},
      "revision": 1729164717466
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.