Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Agserver

Scott Davis edited this page Dec 19, 2013 · 2 revisions

Services Class

Summary

Administer ArcGIS Server services (10.1 or higher).

Constructor

agrc.agserver.Services()

Methods

startMapService(service)

bq. service:String example: r'Broadband/ProviderCoverage'

bq. Start a map service.

stopMapService(service)

bq. service:String example: r'Broadband/ProviderCoverage'

bq. Stop a map service.

restartMapService(service)

bq. service:String example: r'Broadband/ProviderCoverage'

bq. Restart a map service.

startAllServices()

bq. Start all services on the server.

stopAllServices()

bq. Stop all services on the server.

restartAllServices()

bq. Restart all services on the server.

commandService(service, command, serviceType)

bq. service:String example: r'Broadband/ProviderCoverage'

bq. command:String -s|start, -x|stop, -r|restart

bq. serviceType:String MapServer, GeocodeServer, GPServer, GlobeServer

bq. Start, stop or restart a service.

Clone this wiki locally