Partager via


Container Class

Definition

Container App container definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContainerTypeConverter))]
public class Container : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContainer
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ContainerTypeConverter))>]
type Container = class
    interface IContainer
    interface IJsonSerializable
Public Class Container
Implements IContainer
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.

ResourceCpu

Required CPU in cores, e.g. 0.5

ResourceMemory

Required memory, e.g. "250Mb"

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Container.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Container.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IContainer.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Container into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to