Share via


SecurityContextCapabilitiesDefinition Class

Definition

The capabilities to add or drop from a container.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextCapabilitiesDefinitionTypeConverter))]
public class SecurityContextCapabilitiesDefinition : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ISecurityContextCapabilitiesDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.SecurityContextCapabilitiesDefinitionTypeConverter))>]
type SecurityContextCapabilitiesDefinition = class
    interface ISecurityContextCapabilitiesDefinition
    interface IJsonSerializable
Public Class SecurityContextCapabilitiesDefinition
Implements ISecurityContextCapabilitiesDefinition
Inheritance
SecurityContextCapabilitiesDefinition
Attributes
Implements

Constructors

SecurityContextCapabilitiesDefinition()

Creates an new SecurityContextCapabilitiesDefinition instance.

Properties

Add

The capabilities to add to the container.

Drop

The capabilities to drop from the container.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecurityContextCapabilitiesDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecurityContextCapabilitiesDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20240501Preview.ISecurityContextCapabilitiesDefinition.

FromJsonString(String)

Creates a new instance of SecurityContextCapabilitiesDefinition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecurityContextCapabilitiesDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to