Bagikan melalui


SyncUpdateProperties Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SyncUpdatePropertiesTypeConverter))]
public class SyncUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISyncUpdateProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SyncUpdatePropertiesTypeConverter))>]
type SyncUpdateProperties = class
    interface ISyncUpdateProperties
    interface IJsonSerializable
Public Class SyncUpdateProperties
Implements ISyncUpdateProperties
Inheritance
SyncUpdateProperties
Attributes
Implements

Constructors

SyncUpdateProperties()

Creates an new SyncUpdateProperties instance.

Properties

MessageTtl

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.

Schedule

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

SyncWindow

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SyncUpdateProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SyncUpdateProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISyncUpdateProperties.

FromJsonString(String)

Creates a new instance of SyncUpdateProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SyncUpdateProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to