次の方法で共有


GarbageCollectionProperties Class

Definition

The garbage collection properties of the connected registry.

public class GarbageCollectionProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.GarbageCollectionProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.GarbageCollectionProperties>
type GarbageCollectionProperties = class
    interface IJsonModel<GarbageCollectionProperties>
    interface IPersistableModel<GarbageCollectionProperties>
Public Class GarbageCollectionProperties
Implements IJsonModel(Of GarbageCollectionProperties), IPersistableModel(Of GarbageCollectionProperties)
Inheritance
GarbageCollectionProperties
Implements

Constructors

GarbageCollectionProperties()

Initializes a new instance of GarbageCollectionProperties.

Properties

Enabled

Indicates whether garbage collection is enabled for the connected registry.

Schedule

The cron expression indicating the schedule that the connected registry will run garbage collection.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<GarbageCollectionProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<GarbageCollectionProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GarbageCollectionProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GarbageCollectionProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<GarbageCollectionProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to