ContainerRegistrySoftDeletePolicy 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 soft delete policy for a container registry.
public class ContainerRegistrySoftDeletePolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySoftDeletePolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySoftDeletePolicy>
type ContainerRegistrySoftDeletePolicy = class
interface IJsonModel<ContainerRegistrySoftDeletePolicy>
interface IPersistableModel<ContainerRegistrySoftDeletePolicy>
Public Class ContainerRegistrySoftDeletePolicy
Implements IJsonModel(Of ContainerRegistrySoftDeletePolicy), IPersistableModel(Of ContainerRegistrySoftDeletePolicy)
- Inheritance
-
ContainerRegistrySoftDeletePolicy
- Implements
Constructors
ContainerRegistrySoftDeletePolicy() |
Initializes a new instance of ContainerRegistrySoftDeletePolicy. |
Properties
LastUpdatedOn |
The timestamp when the policy was last updated. |
RetentionDays |
The number of days after which a soft-deleted item is permanently deleted. |
Status |
The value that indicates whether the policy is enabled or not. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ContainerRegistrySoftDeletePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContainerRegistrySoftDeletePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContainerRegistrySoftDeletePolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContainerRegistrySoftDeletePolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContainerRegistrySoftDeletePolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET