Properties (Services)

URL:
https://<root>/services/properties
Methods:
GET
Required Capability:
Access allowed with either the "Update", "Delete", or "Security and infrastructure" privileges, or the Publisher role
Version Introduced:
10.9

Description

The properties resource returns the default settings for newly published services. Currently, the only supported property is preferSharedInstances. The preferSharedInstances property controls whether new, compatible services published from ArcGIS Pro will use shared or dedicated instances. This property can be modified using the Update operation.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Response properties

ParameterDetails

properties

A JSON object that describes each property to be set. Currently, the only supported property is preferSharedInstances. When set to true, compatible services will use shared instances when first published. When set to false, they will use dedicated instances. The default is true.

Example usage

The following is a sample request URL used to access the properties resource:

Use dark colors for code blocksCopy
1
https://organization.domain.com/context/admin/services/properties?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"preferSharedInstances": true}

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