synology_apm.sdk.models.m365_auto_backup_rule module

Models for M365 auto-backup rules (User Services and Collaboration Services).

class synology_apm.sdk.models.m365_auto_backup_rule.M365AutoBackupRule(uid, namespace, tenant_id, plan_id, exchange_group_ids, onedrive_group_ids, chat_group_ids)

Bases: object

A User Services auto-backup rule for an M365 tenant.

User Services rules automatically add Exchange, OneDrive, and/or Chat members of specified Azure AD groups to backup protection under a given plan and server.

Variables:
  • uid (str) – Rule identifier.

  • namespace (str) – Backup server namespace this rule targets.

  • tenant_id (str) – Azure AD tenant ID this rule belongs to.

  • plan_id (str) – Protection plan ID applied to matched workloads.

  • exchange_group_ids (tuple[str, ...]) – Azure AD group IDs whose Exchange members are auto-protected.

  • onedrive_group_ids (tuple[str, ...]) – Azure AD group IDs whose OneDrive members are auto-protected.

  • chat_group_ids (tuple[str, ...]) – Azure AD group IDs whose Chat members are auto-protected.

uid: str
namespace: str
tenant_id: str
plan_id: str
exchange_group_ids: tuple[str, ...]
onedrive_group_ids: tuple[str, ...]
chat_group_ids: tuple[str, ...]
class synology_apm.sdk.models.m365_auto_backup_rule.M365CollabServiceSetting(plan_id, namespace)

Bases: object

Auto-backup setting for one Collaboration Service type (enabled when plan_id is non-empty).

Collaboration Services (Microsoft 365 Groups, SharePoint Sites, SharePoint Personal Sites, Teams) are tenant-wide — all items of the selected type are automatically included.

Variables:
  • plan_id (str) – Protection plan ID applied to matched workloads; empty string = disabled.

  • namespace (str) – Backup server namespace; empty string when disabled.

plan_id: str
namespace: str
property enabled: bool

True when this collaboration service type has an assigned backup plan.

class synology_apm.sdk.models.m365_auto_backup_rule.M365AutoBackupRuleListResult(rules, group_exchange, mysite, sharepoint, teams)

Bases: object

Full auto-backup configuration for one M365 tenant.

Variables:
rules: tuple[M365AutoBackupRule, ...]
group_exchange: M365CollabServiceSetting
mysite: M365CollabServiceSetting
sharepoint: M365CollabServiceSetting
teams: M365CollabServiceSetting