InitContainerDefinition 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
InitContainerDefinition() |
Initializes a new instance of the InitContainerDefinition class. |
InitContainerDefinition(String, String, IList<String>, IList<EnvironmentVariable>, InitContainerPropertiesDefinitionInstanceView, IList<VolumeMount>) |
Initializes a new instance of the InitContainerDefinition class. |
InitContainerDefinition()
Initializes a new instance of the InitContainerDefinition class.
public InitContainerDefinition ();
Public Sub New ()
Applies to
InitContainerDefinition(String, String, IList<String>, IList<EnvironmentVariable>, InitContainerPropertiesDefinitionInstanceView, IList<VolumeMount>)
Initializes a new instance of the InitContainerDefinition class.
public InitContainerDefinition (string name, string image = default, System.Collections.Generic.IList<string> command = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.EnvironmentVariable> environmentVariables = default, Microsoft.Azure.Management.ContainerInstance.Models.InitContainerPropertiesDefinitionInstanceView instanceView = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount> volumeMounts = default);
new Microsoft.Azure.Management.ContainerInstance.Models.InitContainerDefinition : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.EnvironmentVariable> * Microsoft.Azure.Management.ContainerInstance.Models.InitContainerPropertiesDefinitionInstanceView * System.Collections.Generic.IList<Microsoft.Azure.Management.ContainerInstance.Models.VolumeMount> -> Microsoft.Azure.Management.ContainerInstance.Models.InitContainerDefinition
Public Sub New (name As String, Optional image As String = Nothing, Optional command As IList(Of String) = Nothing, Optional environmentVariables As IList(Of EnvironmentVariable) = Nothing, Optional instanceView As InitContainerPropertiesDefinitionInstanceView = Nothing, Optional volumeMounts As IList(Of VolumeMount) = Nothing)
Parameters
- name
- String
The name for the init container.
- image
- String
The image of the init container.
- environmentVariables
- IList<EnvironmentVariable>
The environment variables to set in the init container.
- instanceView
- InitContainerPropertiesDefinitionInstanceView
The instance view of the init container. Only valid in response.
- volumeMounts
- IList<VolumeMount>
The volume mounts available to the init container.
Applies to
Azure SDK for .NET