Stop Services

Description

This operation stops the desired services on all (reachable) server machines in the cluster. This operation requires three properties: folder name, service name, and service type. If the service resides in the root folder, leave the folder property blank ("folderName": "").

NoteNote:

Clusters have been deprecated. The use of clusters for new deployments is strongly discouraged and existing deployments are advised to migrate away from use of clusters as part of ongoing maintenance and upgrades.

If a service is stopped, it cannot service any incoming requests.

Request Parameters

Parameter

Details

folderName

The name of the folder containing the service, for example, "Planning". If the service resides in the root folder, leave the folder property blank ("folderName": "").

serviceName

The name of the service, for example, "FireHydrants".

type

The service type, for example, "MapServer".

f

The response format. The default response format is html.

Values: html | json

Example

{
    "services": [
        {
            "folderName": "",
            "serviceName": "SampleWorldCities",
            "type": "MapServer"
        },
        {
            "folderName": "Planning",
            "serviceName": "FireHydrants",
            "type": "FeatureServer"
        }
    ]
}

9/13/2017