InitContainerDefinitionContent Class
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.
The init container definition.
public class InitContainerDefinitionContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent>
public class InitContainerDefinitionContent
type InitContainerDefinitionContent = class
interface IJsonModel<InitContainerDefinitionContent>
interface IPersistableModel<InitContainerDefinitionContent>
type InitContainerDefinitionContent = class
Public Class InitContainerDefinitionContent
Implements IJsonModel(Of InitContainerDefinitionContent), IPersistableModel(Of InitContainerDefinitionContent)
Public Class InitContainerDefinitionContent
- Inheritance
-
InitContainerDefinitionContent
- Implements
Constructors
InitContainerDefinitionContent(String) |
Initializes a new instance of InitContainerDefinitionContent. |
Properties
Command |
The command to execute within the init container in exec form. |
EnvironmentVariables |
The environment variables to set in the init container. |
Image |
The image of the init container. |
InstanceView |
The instance view of the init container. Only valid in response. |
Name |
The name for the init container. |
SecurityContext |
The container security properties. |
VolumeMounts |
The volume mounts available to the init container. |
Explicit Interface Implementations
IJsonModel<InitContainerDefinitionContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<InitContainerDefinitionContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<InitContainerDefinitionContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<InitContainerDefinitionContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<InitContainerDefinitionContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET