SyncProperties Class

The sync properties of the connected registry with its parent.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
SyncProperties

Constructor

SyncProperties(*, token_id: str, message_ttl: datetime.timedelta, schedule: Optional[str] = None, sync_window: Optional[datetime.timedelta] = None, **kwargs)

Variables

token_id
str

Required. The resource ID of the ACR token used to authenticate the connected registry to its parent during sync.

schedule
str

The cron expression indicating the schedule that the connected registry will sync with its parent.

sync_window
timedelta

The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.

message_ttl
timedelta

Required. The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601.

last_sync_time
datetime

The last time a sync occurred between the connected registry and its parent.

gateway_endpoint
str

The gateway endpoint used by the connected registry to communicate with its parent.