Share via


ManagedClusterSecurityProfileImageCleaner Class

Definition

Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here are settings for the security profile.

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

Constructors

ManagedClusterSecurityProfileImageCleaner()

Initializes a new instance of ManagedClusterSecurityProfileImageCleaner.

Properties

IntervalHours

Image Cleaner scanning interval in hours.

IsEnabled

Whether to enable Image Cleaner on AKS cluster.

Explicit Interface Implementations

IJsonModel<ManagedClusterSecurityProfileImageCleaner>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterSecurityProfileImageCleaner>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterSecurityProfileImageCleaner>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterSecurityProfileImageCleaner>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterSecurityProfileImageCleaner>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to