Language

ArmContainerRegistryModelFactory.ConnectedRegistrySyncUpdateProperties Method

Definition

The parameters for updating the sync properties of the connected registry with its parent.

public static Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistrySyncUpdateProperties ConnectedRegistrySyncUpdateProperties(string schedule = default, TimeSpan? syncWindow = default, TimeSpan? messageTtl = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryAuthType? authType = default);
static member ConnectedRegistrySyncUpdateProperties : string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryAuthType> -> Azure.ResourceManager.ContainerRegistry.Models.ConnectedRegistrySyncUpdateProperties
Public Shared Function ConnectedRegistrySyncUpdateProperties (Optional schedule As String = Nothing, Optional syncWindow As Nullable(Of TimeSpan) = Nothing, Optional messageTtl As Nullable(Of TimeSpan) = Nothing, Optional authType As Nullable(Of ContainerRegistryAuthType) = Nothing) As ConnectedRegistrySyncUpdateProperties

Parameters

schedule
String

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

syncWindow
Nullable<TimeSpan>

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.

messageTtl
Nullable<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.

authType
Nullable<ContainerRegistryAuthType>

The authentication type used for the connected registry to sync with its parent.

Returns

A new ConnectedRegistrySyncUpdateProperties instance for mocking.

Applies to