ISecurityContextDefinition Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextDefinitionTypeConverter))]
public interface ISecurityContextDefinition : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextDefinitionTypeConverter))>]
type ISecurityContextDefinition = interface
interface IJsonSerializable
Public Interface ISecurityContextDefinition
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
AllowPrivilegeEscalation |
A boolean value indicating whether the init process can elevate its privileges |
CapabilityAdd |
The capabilities to add to the container. |
CapabilityDrop |
The capabilities to drop from the container. |
Privileged |
The flag to determine if the container permissions is elevated to Privileged. |
RunAsGroup |
Sets the User GID for the container. |
RunAsUser |
Sets the User UID for the container. |
SeccompProfile |
a base64 encoded string containing the contents of the JSON in the seccomp profile |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |