Bagikan melalui


ParentProperties Class

Definition

The properties of the connected registry parent.

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

Constructors

ParentProperties()

Creates an new ParentProperties instance.

Properties

Id

The resource ID of the parent to which the connected registry will be associated.

SyncPropertyGatewayEndpoint

The gateway endpoint used by the connected registry to communicate with its parent.

SyncPropertyLastSyncTime

The last time a sync occurred between the connected registry and its parent.

SyncPropertyMessageTtl

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.

SyncPropertySchedule

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

SyncPropertySyncWindow

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.

SyncPropertyTokenId

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 ParentProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ParentProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ParentProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to