ConnectedRegistrySyncProperties(ResourceIdentifier, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET