Show / Hide Table of Contents

Class V1AppArmorProfile

AppArmorProfile defines a pod or container's AppArmor settings.

Inheritance
object
V1AppArmorProfile
Implements
IEquatable<V1AppArmorProfile>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
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
Type Name Description
V1AppArmorProfile original

Properties

View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
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
Type Description
string
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
Type Description
string

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1AppArmorProfile?)

Declaration
public virtual bool Equals(V1AppArmorProfile? other)
Parameters
Type Name Description
V1AppArmorProfile other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1AppArmorProfile?, V1AppArmorProfile?)

Declaration
public static bool operator ==(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Type Name Description
V1AppArmorProfile left
V1AppArmorProfile right
Returns
Type Description
bool
View Source

operator !=(V1AppArmorProfile?, V1AppArmorProfile?)

Declaration
public static bool operator !=(V1AppArmorProfile? left, V1AppArmorProfile? right)
Parameters
Type Name Description
V1AppArmorProfile left
V1AppArmorProfile right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX