cterasdk.clients.synchronous.clients module#

class cterasdk.clients.synchronous.clients.API(builder=None, async_session=None, authenticator=None)#

Bases: Extended

CTERA Management API

defaults(classname)#
class cterasdk.clients.synchronous.clients.Client(builder=None, async_session=None, authenticator=None)#

Bases: BaseClient

Synchronous Client

delete(path, *, on_response=None, **kwargs)#
form_data(path, data, *, on_response=None, **kwargs)#
get(path, *, on_response=None, **kwargs)#
handle(path, *, on_response=None, **kwargs)#
multipart(path, form, *, on_response=None, **kwargs)#
post(path, data, *, data_serializer=None, on_response=None, **kwargs)#
put(path, data, *, data_serializer=None, on_response=None, **kwargs)#
shutdown()#
class cterasdk.clients.synchronous.clients.Extended(builder=None, async_session=None, authenticator=None)#

Bases: XML

CTERA Schema

add(path, param=None)#
database(path, name, param=None)#
execute(path, name, param=None)#
get_multi(path, paths)#
show_multi(path, paths)#
class cterasdk.clients.synchronous.clients.Folders(builder=None, async_session=None, authenticator=None)#

Bases: Client

download_zip(path, data, **kwargs)#
class cterasdk.clients.synchronous.clients.JSON(builder=None, async_session=None, authenticator=None)#

Bases: Client

JSON Serializer and Deserializer

delete(path, **kwargs)#
get(path, **kwargs)#
post(path, data, **kwargs)#
put(path, data, **kwargs)#
request(request)#
class cterasdk.clients.synchronous.clients.Migrate(builder=None, async_session=None, authenticator=None)#

Bases: JSON

CTERA Migrate Service

ID = 'x-mt-x'#
login()#
class cterasdk.clients.synchronous.clients.SyncResponse(response)#

Bases: AsyncResponse

Synchronous Response Object

iter_content(chunk_size=None)#
json()#
static new()#
text()#
xml()#
class cterasdk.clients.synchronous.clients.Upload(builder=None, async_session=None, authenticator=None)#

Bases: Client

upload(path, data, **kwargs)#
class cterasdk.clients.synchronous.clients.WebDAV(builder=None, async_session=None, authenticator=None)#

Bases: Client

copy(source, destination, *, overwrite=False)#
delete(path)#
download(path, **kwargs)#
mkcol(path)#
move(source, destination, *, overwrite=False)#
class cterasdk.clients.synchronous.clients.XML(builder=None, async_session=None, authenticator=None)#

Bases: Client

XML Serializer and Deserializer

delete(path, **kwargs)#
form_data(path, data, **kwargs)#
get(path, **kwargs)#
post(path, data, **kwargs)#
put(path, data, **kwargs)#
cterasdk.clients.synchronous.clients.execute_request(async_session, request, *, on_response, max_retries=3, backoff_factor=2)#
cterasdk.clients.synchronous.clients.session_settings()#