def edit(self,
             physicalPath,
             cleanupMode,
             maxFileAge,
             description):
        """
        The server directory's edit operation allows you to change the path
        and clean up properties of the directory. This operation updates
        the GIS service configurations (and points them to the new path)
        that are using this directory, causing them to restart. It is
        therefore recommended that any edit to the server directories be
        performed when the server is not under load.
        This operation is mostly used when growing a single machine site to
        a multiple machine site configuration, which requires that the
        server directories and configuration store be put on a
        network-accessible file share.

        Inputs:
           physicalPath - The absolute physical path of the server
            directory.
           cleanupMode - Defines if files in the server directory needs to
            be cleaned up. The default is NONE.
           maxFileAge - Defines how long a file in the directory needs to
            be kept before it is deleted.
           description - An optional description for the server directory
        """
        url = self._url + "/edit"
        params = {
            "f" : "json",
            "physicalPath" : physicalPath,
            "cleanupMode" : cleanupMode,
            "maxFileAge" : maxFileAge,
            "description" : description
        }
        return self._post(url=url,
                             param_dict=params,
                             securityHandler=self._securityHandler,
                             proxy_url=self._proxy_url,
                             proxy_port=self._proxy_port)
def edit ( self , physicalPath , cleanupMode , maxFileAge , description ) : url = self . _url + "/edit" params = { "f" : "json" , "physicalPath" : physicalPath , "cleanupMode" : cleanupMode , "maxFileAge" : maxFileAge , "description" : description } return self . _post ( url = url , param_dict = params , securityHandler = self . _securityHandler , proxy_url = self . _proxy_url , proxy_port = self . _proxy_port )
The server directory's edit operation allows you to change the path
        and clean up properties of the directory. This operation updates
        the GIS service configurations (and points them to the new path)
        that are using this directory, causing them to restart. It is
        therefore recommended that any edit to the server directories be
        performed when the server is not under load.
        This operation is mostly used when growing a single machine site to
        a multiple machine site configuration, which requires that the
        server directories and configuration store be put on a
        network-accessible file share.

        Inputs:
           physicalPath - The absolute physical path of the server
            directory.
           cleanupMode - Defines if files in the server directory needs to
            be cleaned up. The default is NONE.
           maxFileAge - Defines how long a file in the directory needs to
            be kept before it is deleted.
           description - An optional description for the server directory