synology_apm.sdk.models.location module

Storage location display model.

class synology_apm.sdk.models.location.LocationInfo(is_remote_storage, identifier, name, endpoint, vault)

Bases: object

Display information for a storage location.

Used for both Workload.backup_server / backup_copy_destination and VersionLocation.location_info (the entries of WorkloadVersion.locations).

Variables:
  • is_remote_storage (bool) – True for remote storage destinations (e.g. S3, APV); False for on-appliance backup servers.

  • identifier (str) – Namespace of the backup server (appliance) or storage UID (remote storage).

  • name (str) – Display name of the server or storage endpoint.

  • endpoint (str) – Connection address of the server or storage endpoint.

  • vault (str | None) – Vault name; None when no vault is configured.

is_remote_storage: bool
identifier: str
name: str
endpoint: str
vault: str | None