ArmAppContainersModelFactory.ContainerAppJobTemplate Method
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.
Container Apps Job versioned application definition. Defines the desired state of an immutable revision. Any changes to this section Will result in a new revision being created.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppJobTemplate ContainerAppJobTemplate(System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppInitContainer> initContainers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppContainer> containers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.ContainerAppVolume> volumes = default);
static member ContainerAppJobTemplate : seq<Azure.ResourceManager.AppContainers.Models.ContainerAppInitContainer> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppContainer> * seq<Azure.ResourceManager.AppContainers.Models.ContainerAppVolume> -> Azure.ResourceManager.AppContainers.Models.ContainerAppJobTemplate
Public Shared Function ContainerAppJobTemplate (Optional initContainers As IEnumerable(Of ContainerAppInitContainer) = Nothing, Optional containers As IEnumerable(Of ContainerAppContainer) = Nothing, Optional volumes As IEnumerable(Of ContainerAppVolume) = Nothing) As ContainerAppJobTemplate
Parameters
- initContainers
- IEnumerable<ContainerAppInitContainer>
List of specialized containers that run before app containers.
- containers
- IEnumerable<ContainerAppContainer>
List of container definitions for the Container App.
- volumes
- IEnumerable<ContainerAppVolume>
List of volume definitions for the Container App.
Returns
A new ContainerAppJobTemplate instance for mocking.