Class V1AppArmorProfile
AppArmorProfile defines a pod or container's AppArmor settings.
Inheritance
V1AppArmorProfile
Assembly: KubernetesClient.dll
Syntax
public record V1AppArmorProfile : IEquatable<V1AppArmorProfile>
Constructors
V1AppArmorProfile()
Declaration
public V1AppArmorProfile()
V1AppArmorProfile(V1AppArmorProfile)
Declaration
protected V1AppArmorProfile(V1AppArmorProfile original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
LocalhostProfile
localhostProfile indicates a profile loaded on the node that should be used. The
profile must be preconfigured on the node to work. Must match the loaded name of
the profile. Must be set if and only if type is "Localhost".
Declaration
[JsonPropertyName("localhostProfile")]
public string LocalhostProfile { get; set; }
Property Value
Type
type indicates which kind of AppArmor profile will be applied. Valid options
are:
Localhost - a profile pre-loaded on the node.
RuntimeDefault - the container runtime's default profile.
Unconfined - no AppArmor enforcement.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1AppArmorProfile?)
Declaration
public virtual bool Equals(V1AppArmorProfile? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1AppArmorProfile?, V1AppArmorProfile?)
Declaration
public static bool operator ==(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Returns
operator !=(V1AppArmorProfile?, V1AppArmorProfile?)
Declaration
public static bool operator !=(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Returns
Implements