Compartilhar via


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
azure.mgmt.containerregistry._serialization.Model
SyncProperties

Constructor

SyncProperties(*, token_id: str, message_ttl: timedelta, schedule: str | None = None, sync_window: timedelta | None = None, **kwargs: Any)

Keyword-Only Parameters

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.

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.