ArmContainerRegistryModelFactory.ConnectedRegistrySyncUpdateProperties Method
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.
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.
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.
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.