你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SyncProperties 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 sync properties of the connected registry with its parent.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SyncPropertiesTypeConverter))]
public class SyncProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISyncProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.SyncPropertiesTypeConverter))>]
type SyncProperties = class
interface ISyncProperties
interface IJsonSerializable
Public Class SyncProperties
Implements ISyncProperties
- Inheritance
-
SyncProperties
- Attributes
- Implements
Constructors
SyncProperties() |
Creates an new SyncProperties instance. |
Properties
GatewayEndpoint |
The gateway endpoint used by the connected registry to communicate with its parent. |
LastSyncTime |
The last time a sync occurred between the connected registry and its parent. |
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. |
TokenId |
The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of SyncProperties. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of SyncProperties. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ISyncProperties. |
FromJsonString(String) |
Creates a new instance of SyncProperties, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of SyncProperties into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |