arcgis.gis.agoserver module¶
AGOLServicesDirectory¶
-
class
arcgis.gis.agoserver.
AGOLServicesDirectory
(url: str, gis: arcgis.gis.GIS)¶ Bases:
object
The ArcGIS Online ServicesDirectory displays the hosted services for a site.
Argument
Description
url
Required String. The url string to the ArcGIS Online Server
gis
Required GIS. The connection to ArcGIS Online.
-
property
folders
¶ Returns a list of folder names
- Returns
List
-
property
properties
¶ Returns the server’s properties
- Returns
InsensitiveDict
-
property
services
¶ returns a list of services hosted on ArcGIS Online Server
-
property
AGOLServersManager¶
-
class
arcgis.gis.agoserver.
AGOLServersManager
(gis: arcgis.gis.GIS)¶ Bases:
object
This class allows users to work with hosted tile and feature services on ArcGIS Online.
Argument
Description
gis
Required GIS. The connection to ArcGIS Online.
-
property
feature_server
¶ returns a list of Feature Administrative Servers
-
list
() → List[arcgis.gis.agoserver._admin.AGOLServerManager]¶ Returns a list of all server managers
- Returns
List[AGOLServerManager]
-
property
properties
¶ Returns the properties of the server
- Returns
InsensitiveDict
-
property
tile_server
¶ returns a list of Tile Administrative Servers
-
property
AGOLServerManager¶
-
class
arcgis.gis.agoserver.
AGOLServerManager
(url: str, gis: arcgis.gis.GIS)¶ Bases:
object
Represents a Single AGO Server
Argument
Description
url
Required String. The url string to the ArcGIS Online Server
gis
Required GIS. The connection to ArcGIS Online.
-
get
(name: str) → Union[arcgis.mapping._types.VectorTileLayerManager, arcgis.raster._layer.ImageryLayerCacheManager, arcgis.mapping._scenelyrs._lyrs.SceneLayerManager, arcgis.features.managers.FeatureLayerCollectionManager, arcgis.mapping._types.MapImageLayerManager]¶ Returns a single service manager.
Argument
Description
name
Required String. The name of the service.
- Returns
Union[VectorTileLayerManager, ImageryLayerCacheManager, SceneLayerManager, FeatureLayerCollectionManager, MapImageLayerManager]
-
property
is_tile_server
¶ Returns if the server if hosting tiles or not
- Returns
bool
-
property
properties
¶ Returns the server’s properties. This call is cached for 25 seconds.
- Returns
Dict
-
property
services
¶ Returns the Administrative Endpoints
- Returns
list
-
status
(name: str) → str¶ Returns the status of a given service by name.
Argument
Description
name
Required String. The name of the service.
- Returns
string
-