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.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterSecurityProfileImageCleanerTypeConverter))]
public class ManagedClusterSecurityProfileImageCleaner : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterSecurityProfileImageCleaner
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.ManagedClusterSecurityProfileImageCleanerTypeConverter))>]
type ManagedClusterSecurityProfileImageCleaner = class
    interface IManagedClusterSecurityProfileImageCleaner
    interface IJsonSerializable
Public Class ManagedClusterSecurityProfileImageCleaner
Implements IManagedClusterSecurityProfileImageCleaner
Inheritance
ManagedClusterSecurityProfileImageCleaner
Attributes
Implements

Constructors

ManagedClusterSecurityProfileImageCleaner()

Creates an new ManagedClusterSecurityProfileImageCleaner instance.

Properties

Enabled

Whether to enable Image Cleaner on AKS cluster.

IntervalHour

Image Cleaner scanning interval in hours.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ManagedClusterSecurityProfileImageCleaner.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ManagedClusterSecurityProfileImageCleaner.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20230201.IManagedClusterSecurityProfileImageCleaner.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ManagedClusterSecurityProfileImageCleaner into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to