ArmAppContainersModelFactory.ContainerAppBaseContainer Method

Definition

Container App base container definition.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppBaseContainer ContainerAppBaseContainer(string image = default, Azure.ResourceManager.AppContainers.Models.ImageType? imageType = default, string name = default, System.Collections.Generic.IEnumerable<string> command = default, System.Collections.Generic.IEnumerable<string> args = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentVariable> env = default, Azure.ResourceManager.AppContainers.Models.AppContainerResources resources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppVolumeMount> volumeMounts = default);
static member ContainerAppBaseContainer : string * Nullable<Azure.ResourceManager.AppContainers.Models.ImageType> * string * seq<string> * seq<string> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppEnvironmentVariable> * Azure.ResourceManager.AppContainers.Models.AppContainerResources * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppVolumeMount> -> Azure.ResourceManager.AppContainers.Models.ContainerAppBaseContainer
Public Shared Function ContainerAppBaseContainer (Optional image As String = Nothing, Optional imageType As Nullable(Of ImageType) = Nothing, Optional name As String = Nothing, Optional command As IEnumerable(Of String) = Nothing, Optional args As IEnumerable(Of String) = Nothing, Optional env As IEnumerable(Of ContainerAppEnvironmentVariable) = Nothing, Optional resources As AppContainerResources = Nothing, Optional volumeMounts As IEnumerable(Of ContainerAppVolumeMount) = Nothing) As ContainerAppBaseContainer

Parameters

image
String

Container image tag.

imageType
Nullable<ImageType>

The type of the image. Set to CloudBuild to let the system manages the image, where user will not be able to update image through image field. Set to ContainerImage for user provided image.

name
String

Custom container name.

command
IEnumerable<String>

Container start command.

args
IEnumerable<String>

Container start command arguments.

env
IEnumerable<ContainerAppEnvironmentVariable>

Container environment variables.

resources
AppContainerResources

Container resource requirements.

volumeMounts
IEnumerable<ContainerAppVolumeMount>

Container volume mounts.

Returns

A new ContainerAppBaseContainer instance for mocking.

Applies to