Access Pooling Properties - Dedicated/Shared - via REST API

1249
11
Jump to solution
10-02-2023 10:35 PM
Labels (2)
MatthewGeorge
Occasional Contributor II

Is it possible access the pooling properties for an Map/Feature Service via the REST API? I can see that it's possible to get/set the min/max instances but I can't see any properties that indicate if it is a shared or dedicated instance.

0 Kudos
1 Solution

Accepted Solutions
Trevor_Hart
Occasional Contributor

Also the provider will be set to “DMaps” for shared pool services. 

View solution in original post

0 Kudos
11 Replies
Trevor_Hart
Occasional Contributor
0 Kudos
Trevor_Hart
Occasional Contributor

Also the provider will be set to “DMaps” for shared pool services. 

0 Kudos
MatthewGeorge
Occasional Contributor II

Thanks Trevor, I'll take a look.

0 Kudos
MatthewGeorge
Occasional Contributor II

Thanks Trevor but I believe that is just a setting for the ArcGIS Server itself where it will default to the shared instance pool for new services. I need to get the property for each individual service.

0 Kudos
Trevor_Hart
Occasional Contributor

Oh yes sorry that was the wrong link. Should be this one. 

https://developers.arcgis.com/rest/enterprise-administration/server/editservice.htm

I’ve used this to bulk update the minimum instances for each service in the past. 

0 Kudos
MatthewGeorge
Occasional Contributor II

Yeah that's the only documentation I can find and there's no reference to whether the service is set to use shared or dedicated instances, only min/max instances.

0 Kudos
Trevor_Hart
Occasional Contributor

That’s what the provider setting indicates.

If it’s DMaps it’s shared pool. If it’s ArcObjects it’s dedicated. 

0 Kudos
Trevor_Hart
Occasional Contributor

So this is a dedicated service

Trevor_Hart_0-1696319588870.png

This is a shared pool service - notice the instances are set to zero

Trevor_Hart_1-1696319897500.png

 

 

0 Kudos
MatthewGeorge
Occasional Contributor II

What version of AGS is that from? I'm seeing min/max of 1/2 for shared and no provider property.

0 Kudos