Class V1WindowsSecurityContextOptions
WindowsSecurityContextOptions contain Windows-specific options and credentials.
Inheritance
V1WindowsSecurityContextOptions
Assembly: KubernetesClient.dll
Syntax
public record V1WindowsSecurityContextOptions : IEquatable<V1WindowsSecurityContextOptions>
Constructors
View Source
V1WindowsSecurityContextOptions()
Declaration
public V1WindowsSecurityContextOptions()
View Source
V1WindowsSecurityContextOptions(V1WindowsSecurityContextOptions)
Declaration
protected V1WindowsSecurityContextOptions(V1WindowsSecurityContextOptions original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
GmsaCredentialSpec
Declaration
[JsonPropertyName("gmsaCredentialSpec")]
public string GmsaCredentialSpec { get; set; }
Property Value
View Source
GmsaCredentialSpecName
GMSACredentialSpecName is the name of the GMSA credential spec to use.
Declaration
[JsonPropertyName("gmsaCredentialSpecName")]
public string GmsaCredentialSpecName { get; set; }
Property Value
View Source
HostProcess
HostProcess determines if a container should be run as a 'Host Process'
container. All of a Pod's containers must have the same effective HostProcess
value (it is not allowed to have a mix of HostProcess containers and
non-HostProcess containers). In addition, if HostProcess is true then
HostNetwork must also be set to true.
Declaration
[JsonPropertyName("hostProcess")]
public bool? HostProcess { get; set; }
Property Value
View Source
RunAsUserName
The UserName in Windows to run the entrypoint of the container process. Defaults
to the user specified in image metadata if unspecified. May also be set in
PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the
value specified in SecurityContext takes precedence.
Declaration
[JsonPropertyName("runAsUserName")]
public string RunAsUserName { 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(V1WindowsSecurityContextOptions?)
Declaration
public virtual bool Equals(V1WindowsSecurityContextOptions? 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 ==(V1WindowsSecurityContextOptions?, V1WindowsSecurityContextOptions?)
Declaration
public static bool operator ==(V1WindowsSecurityContextOptions? left, V1WindowsSecurityContextOptions? right)
Parameters
Returns
View Source
operator !=(V1WindowsSecurityContextOptions?, V1WindowsSecurityContextOptions?)
Declaration
public static bool operator !=(V1WindowsSecurityContextOptions? left, V1WindowsSecurityContextOptions? right)
Parameters
Returns
Implements