共用方式為


ContainerSecurityContextCapabilitiesDefinition Class

Definition

The capabilities to add or drop from a container.

public class ContainerSecurityContextCapabilitiesDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerSecurityContextCapabilitiesDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerSecurityContextCapabilitiesDefinition>
type ContainerSecurityContextCapabilitiesDefinition = class
    interface IJsonModel<ContainerSecurityContextCapabilitiesDefinition>
    interface IPersistableModel<ContainerSecurityContextCapabilitiesDefinition>
Public Class ContainerSecurityContextCapabilitiesDefinition
Implements IJsonModel(Of ContainerSecurityContextCapabilitiesDefinition), IPersistableModel(Of ContainerSecurityContextCapabilitiesDefinition)
Inheritance
ContainerSecurityContextCapabilitiesDefinition
Implements

Constructors

ContainerSecurityContextCapabilitiesDefinition()

Initializes a new instance of ContainerSecurityContextCapabilitiesDefinition.

Properties

Add

The capabilities to add to the container.

Drop

The capabilities to drop from the container.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerSecurityContextCapabilitiesDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerSecurityContextCapabilitiesDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerSecurityContextCapabilitiesDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerSecurityContextCapabilitiesDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerSecurityContextCapabilitiesDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to