cfxdb.mrealm.application_realm

Classes

ApplicationRealm

Application realm database configuration object.

Module Contents

class ApplicationRealm(oid: uuid.UUID | None = None, label: str | None = None, description: str | None = None, tags: List[str] | None = None, name: str | None = None, status: int | None = None, workergroup_oid: uuid.UUID | None = None, webcluster_oid: uuid.UUID | None = None, datamarket_oid: uuid.UUID | None = None, changed: numpy.datetime64 | None = None, owner_oid: uuid.UUID | None = None, _unknown: Any | None = None)[source]

Bases: cfxdb.common.ConfigurationElement

Application realm database configuration object.

STATUS_BY_CODE[source]
STATUS_BY_NAME[source]
STATUS_DEGRADED = 7[source]
STATUS_ERROR = 6[source]
STATUS_PAUSED = 4[source]
STATUS_RUNNING = 3[source]
STATUS_STARTING = 2[source]
STATUS_STOPPED = 1[source]
STATUS_STOPPING = 5[source]
__eq__(other: Any) bool[source]
__ne__(other: Any) bool[source]
__str__() str[source]
_unknown = None[source]
changed = None[source]
copy(other: ApplicationRealm, overwrite: bool = False)[source]

Copy over other object.

Parameters:
  • other – Other application realm to copy data from.

  • overwrite – Overwrite members already set.

datamarket_oid = None[source]
marshal() Dict[str, Any][source]

Marshal this object to a generic host language object.

name = None[source]
owner_oid = None[source]
static parse(data: Dict[str, Any]) ApplicationRealm[source]

Parse generic host language object into an object of this class.

Parameters:

data – Generic host language object

Returns:

New instance of this class.

status = None[source]
webcluster_oid = None[source]
workergroup_oid = None[source]