你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SyncUpdateProperties Class
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.
[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() |