Share via


SyncProperties Class

The sync properties of the connected registry with its parent.

Constructor

SyncProperties(*args: Any, **kwargs: Any)

Variables

Name Description
token_id
str

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

schedule
str

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

sync_window

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

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. Required.

last_sync_time

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.

Attributes

gateway_endpoint

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

gateway_endpoint: str | None

last_sync_time

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

last_sync_time: datetime | None

message_ttl

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. Required.

message_ttl: timedelta

schedule

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

schedule: str | None

sync_window

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.

sync_window: timedelta | None

token_id

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

token_id: str