Container 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.
Container App container definition
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerTypeConverter))]
public class Container : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainer, Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ContainerTypeConverter))>]
type Container = class
interface IContainer
interface IJsonSerializable
interface IBaseContainer
interface IValidates
Public Class Container
Implements IContainer, IValidates
- Inheritance
-
Container
- Attributes
- Implements
Constructors
Container() |
Creates an new Container instance. |
Properties
Arg |
Container start command arguments. |
Command |
Container start command. |
Env |
Container environment variables. |
Image |
Container image tag. |
Name |
Custom container name. |
Probe |
List of probes for the container. |
ResourceCpu |
Required CPU in cores, e.g. 0.5 |
ResourceEphemeralStorage |
Ephemeral Storage, e.g. "1Gi" |
ResourceMemory |
Required memory, e.g. "250Mb" |
VolumeMount |
Container volume mounts. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Container. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainer. |
FromJsonString(String) |
Creates a new instance of Container, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |