Container Constructors
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.
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.
- env
- IList<EnvironmentVar>
Container environment variables.
- resources
- ContainerResources
Container resource requirements.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET