Class V1AppArmorProfile
AppArmorProfile defines a pod or container's AppArmor settings.
Inheritance
V1AppArmorProfile
Assembly: KubernetesClient.dll
Syntax
public record V1AppArmorProfile : IEquatable<V1AppArmorProfile>
Constructors
View Source
V1AppArmorProfile()
Declaration
public V1AppArmorProfile()
View Source
V1AppArmorProfile(V1AppArmorProfile)
Declaration
protected V1AppArmorProfile(V1AppArmorProfile original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
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
View Source
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
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1AppArmorProfile?)
Declaration
public virtual bool Equals(V1AppArmorProfile? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1AppArmorProfile?, V1AppArmorProfile?)
Declaration
public static bool operator ==(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Returns
View Source
operator !=(V1AppArmorProfile?, V1AppArmorProfile?)
Declaration
public static bool operator !=(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Returns
Implements