Share via


Container Constructors

Definition

Overloads

Container()

Initializes a new instance of the Container class.

Container(String, String, IList<String>, IList<String>, IList<EnvironmentVar>, ContainerResources)

Initializes a new instance of the Container class.

Container()

Initializes a new instance of the Container class.

public Container ();
Public Sub New ()

Applies to

Container(String, String, IList<String>, IList<String>, IList<EnvironmentVar>, ContainerResources)

Initializes a new instance of the Container class.

public Container (string image = default, string name = default, System.Collections.Generic.IList<string> command = default, System.Collections.Generic.IList<string> args = default, System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.EnvironmentVar> env = default, Microsoft.Azure.Management.WebSites.Models.ContainerResources resources = default);
new Microsoft.Azure.Management.WebSites.Models.Container : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.WebSites.Models.EnvironmentVar> * Microsoft.Azure.Management.WebSites.Models.ContainerResources -> Microsoft.Azure.Management.WebSites.Models.Container
Public Sub New (Optional image As String = Nothing, Optional name As String = Nothing, Optional command As IList(Of String) = Nothing, Optional args As IList(Of String) = Nothing, Optional env As IList(Of EnvironmentVar) = Nothing, Optional resources As ContainerResources = Nothing)

Parameters

image
String

Container image tag.

name
String

Custom container name.

command
IList<String>

Container start command.

args
IList<String>

Container start command arguments.

env
IList<EnvironmentVar>

Container environment variables.

resources
ContainerResources

Container resource requirements.

Applies to