Share via


ConnectedRegistrySyncProperties(ResourceIdentifier, TimeSpan) Constructor

Definition

Initializes a new instance of ConnectedRegistrySyncProperties.

public ConnectedRegistrySyncProperties(Azure.Core.ResourceIdentifier tokenId, TimeSpan messageTtl);
new Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistrySyncProperties : Azure.Core.ResourceIdentifier * TimeSpan -> Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistrySyncProperties
Public Sub New (tokenId As ResourceIdentifier, messageTtl As TimeSpan)

Parameters

tokenId
ResourceIdentifier

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

messageTtl
TimeSpan

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.

Exceptions

tokenId is null.

Applies to