1. Packages
  2. Azure Classic
  3. API Docs
  4. containerapp
  5. Job

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.containerapp.Job

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Container App Job.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", {
        name: "example-log-analytics-workspace",
        location: example.location,
        resourceGroupName: example.name,
        sku: "PerGB2018",
        retentionInDays: 30,
    });
    const exampleEnvironment = new azure.containerapp.Environment("example", {
        name: "example-container-app-environment",
        location: example.location,
        resourceGroupName: example.name,
        logAnalyticsWorkspaceId: exampleAnalyticsWorkspace.id,
    });
    const exampleJob = new azure.containerapp.Job("example", {
        name: "example-container-app-job",
        location: example.location,
        resourceGroupName: example.name,
        containerAppEnvironmentId: exampleEnvironment.id,
        replicaTimeoutInSeconds: 10,
        replicaRetryLimit: 10,
        manualTriggerConfig: {
            parallelism: 4,
            replicaCompletionCount: 1,
        },
        template: {
            containers: [{
                image: "repo/testcontainerAppsJob0:v1",
                name: "testcontainerappsjob0",
                readinessProbes: [{
                    transport: "HTTP",
                    port: 5000,
                }],
                livenessProbes: [{
                    transport: "HTTP",
                    port: 5000,
                    path: "/health",
                    headers: [{
                        name: "Cache-Control",
                        value: "no-cache",
                    }],
                    initialDelay: 5,
                    intervalSeconds: 20,
                    timeout: 2,
                    failureCountThreshold: 1,
                }],
                startupProbes: [{
                    transport: "TCP",
                    port: 5000,
                }],
                cpu: 0.5,
                memory: "1Gi",
            }],
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_analytics_workspace = azure.operationalinsights.AnalyticsWorkspace("example",
        name="example-log-analytics-workspace",
        location=example.location,
        resource_group_name=example.name,
        sku="PerGB2018",
        retention_in_days=30)
    example_environment = azure.containerapp.Environment("example",
        name="example-container-app-environment",
        location=example.location,
        resource_group_name=example.name,
        log_analytics_workspace_id=example_analytics_workspace.id)
    example_job = azure.containerapp.Job("example",
        name="example-container-app-job",
        location=example.location,
        resource_group_name=example.name,
        container_app_environment_id=example_environment.id,
        replica_timeout_in_seconds=10,
        replica_retry_limit=10,
        manual_trigger_config=azure.containerapp.JobManualTriggerConfigArgs(
            parallelism=4,
            replica_completion_count=1,
        ),
        template=azure.containerapp.JobTemplateArgs(
            containers=[azure.containerapp.JobTemplateContainerArgs(
                image="repo/testcontainerAppsJob0:v1",
                name="testcontainerappsjob0",
                readiness_probes=[azure.containerapp.JobTemplateContainerReadinessProbeArgs(
                    transport="HTTP",
                    port=5000,
                )],
                liveness_probes=[azure.containerapp.JobTemplateContainerLivenessProbeArgs(
                    transport="HTTP",
                    port=5000,
                    path="/health",
                    headers=[azure.containerapp.JobTemplateContainerLivenessProbeHeaderArgs(
                        name="Cache-Control",
                        value="no-cache",
                    )],
                    initial_delay=5,
                    interval_seconds=20,
                    timeout=2,
                    failure_count_threshold=1,
                )],
                startup_probes=[azure.containerapp.JobTemplateContainerStartupProbeArgs(
                    transport="TCP",
                    port=5000,
                )],
                cpu=0.5,
                memory="1Gi",
            )],
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/containerapp"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/operationalinsights"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAnalyticsWorkspace, err := operationalinsights.NewAnalyticsWorkspace(ctx, "example", &operationalinsights.AnalyticsWorkspaceArgs{
    			Name:              pulumi.String("example-log-analytics-workspace"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			Sku:               pulumi.String("PerGB2018"),
    			RetentionInDays:   pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEnvironment, err := containerapp.NewEnvironment(ctx, "example", &containerapp.EnvironmentArgs{
    			Name:                    pulumi.String("example-container-app-environment"),
    			Location:                example.Location,
    			ResourceGroupName:       example.Name,
    			LogAnalyticsWorkspaceId: exampleAnalyticsWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = containerapp.NewJob(ctx, "example", &containerapp.JobArgs{
    			Name:                      pulumi.String("example-container-app-job"),
    			Location:                  example.Location,
    			ResourceGroupName:         example.Name,
    			ContainerAppEnvironmentId: exampleEnvironment.ID(),
    			ReplicaTimeoutInSeconds:   pulumi.Int(10),
    			ReplicaRetryLimit:         pulumi.Int(10),
    			ManualTriggerConfig: &containerapp.JobManualTriggerConfigArgs{
    				Parallelism:            pulumi.Int(4),
    				ReplicaCompletionCount: pulumi.Int(1),
    			},
    			Template: &containerapp.JobTemplateArgs{
    				Containers: containerapp.JobTemplateContainerArray{
    					&containerapp.JobTemplateContainerArgs{
    						Image: pulumi.String("repo/testcontainerAppsJob0:v1"),
    						Name:  pulumi.String("testcontainerappsjob0"),
    						ReadinessProbes: containerapp.JobTemplateContainerReadinessProbeArray{
    							&containerapp.JobTemplateContainerReadinessProbeArgs{
    								Transport: pulumi.String("HTTP"),
    								Port:      pulumi.Int(5000),
    							},
    						},
    						LivenessProbes: containerapp.JobTemplateContainerLivenessProbeArray{
    							&containerapp.JobTemplateContainerLivenessProbeArgs{
    								Transport: pulumi.String("HTTP"),
    								Port:      pulumi.Int(5000),
    								Path:      pulumi.String("/health"),
    								Headers: containerapp.JobTemplateContainerLivenessProbeHeaderArray{
    									&containerapp.JobTemplateContainerLivenessProbeHeaderArgs{
    										Name:  pulumi.String("Cache-Control"),
    										Value: pulumi.String("no-cache"),
    									},
    								},
    								InitialDelay:          pulumi.Int(5),
    								IntervalSeconds:       pulumi.Int(20),
    								Timeout:               pulumi.Int(2),
    								FailureCountThreshold: pulumi.Int(1),
    							},
    						},
    						StartupProbes: containerapp.JobTemplateContainerStartupProbeArray{
    							&containerapp.JobTemplateContainerStartupProbeArgs{
    								Transport: pulumi.String("TCP"),
    								Port:      pulumi.Int(5000),
    							},
    						},
    						Cpu:    pulumi.Float64(0.5),
    						Memory: pulumi.String("1Gi"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleAnalyticsWorkspace = new Azure.OperationalInsights.AnalyticsWorkspace("example", new()
        {
            Name = "example-log-analytics-workspace",
            Location = example.Location,
            ResourceGroupName = example.Name,
            Sku = "PerGB2018",
            RetentionInDays = 30,
        });
    
        var exampleEnvironment = new Azure.ContainerApp.Environment("example", new()
        {
            Name = "example-container-app-environment",
            Location = example.Location,
            ResourceGroupName = example.Name,
            LogAnalyticsWorkspaceId = exampleAnalyticsWorkspace.Id,
        });
    
        var exampleJob = new Azure.ContainerApp.Job("example", new()
        {
            Name = "example-container-app-job",
            Location = example.Location,
            ResourceGroupName = example.Name,
            ContainerAppEnvironmentId = exampleEnvironment.Id,
            ReplicaTimeoutInSeconds = 10,
            ReplicaRetryLimit = 10,
            ManualTriggerConfig = new Azure.ContainerApp.Inputs.JobManualTriggerConfigArgs
            {
                Parallelism = 4,
                ReplicaCompletionCount = 1,
            },
            Template = new Azure.ContainerApp.Inputs.JobTemplateArgs
            {
                Containers = new[]
                {
                    new Azure.ContainerApp.Inputs.JobTemplateContainerArgs
                    {
                        Image = "repo/testcontainerAppsJob0:v1",
                        Name = "testcontainerappsjob0",
                        ReadinessProbes = new[]
                        {
                            new Azure.ContainerApp.Inputs.JobTemplateContainerReadinessProbeArgs
                            {
                                Transport = "HTTP",
                                Port = 5000,
                            },
                        },
                        LivenessProbes = new[]
                        {
                            new Azure.ContainerApp.Inputs.JobTemplateContainerLivenessProbeArgs
                            {
                                Transport = "HTTP",
                                Port = 5000,
                                Path = "/health",
                                Headers = new[]
                                {
                                    new Azure.ContainerApp.Inputs.JobTemplateContainerLivenessProbeHeaderArgs
                                    {
                                        Name = "Cache-Control",
                                        Value = "no-cache",
                                    },
                                },
                                InitialDelay = 5,
                                IntervalSeconds = 20,
                                Timeout = 2,
                                FailureCountThreshold = 1,
                            },
                        },
                        StartupProbes = new[]
                        {
                            new Azure.ContainerApp.Inputs.JobTemplateContainerStartupProbeArgs
                            {
                                Transport = "TCP",
                                Port = 5000,
                            },
                        },
                        Cpu = 0.5,
                        Memory = "1Gi",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspace;
    import com.pulumi.azure.operationalinsights.AnalyticsWorkspaceArgs;
    import com.pulumi.azure.containerapp.Environment;
    import com.pulumi.azure.containerapp.EnvironmentArgs;
    import com.pulumi.azure.containerapp.Job;
    import com.pulumi.azure.containerapp.JobArgs;
    import com.pulumi.azure.containerapp.inputs.JobManualTriggerConfigArgs;
    import com.pulumi.azure.containerapp.inputs.JobTemplateArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleAnalyticsWorkspace = new AnalyticsWorkspace("exampleAnalyticsWorkspace", AnalyticsWorkspaceArgs.builder()
                .name("example-log-analytics-workspace")
                .location(example.location())
                .resourceGroupName(example.name())
                .sku("PerGB2018")
                .retentionInDays(30)
                .build());
    
            var exampleEnvironment = new Environment("exampleEnvironment", EnvironmentArgs.builder()
                .name("example-container-app-environment")
                .location(example.location())
                .resourceGroupName(example.name())
                .logAnalyticsWorkspaceId(exampleAnalyticsWorkspace.id())
                .build());
    
            var exampleJob = new Job("exampleJob", JobArgs.builder()
                .name("example-container-app-job")
                .location(example.location())
                .resourceGroupName(example.name())
                .containerAppEnvironmentId(exampleEnvironment.id())
                .replicaTimeoutInSeconds(10)
                .replicaRetryLimit(10)
                .manualTriggerConfig(JobManualTriggerConfigArgs.builder()
                    .parallelism(4)
                    .replicaCompletionCount(1)
                    .build())
                .template(JobTemplateArgs.builder()
                    .containers(JobTemplateContainerArgs.builder()
                        .image("repo/testcontainerAppsJob0:v1")
                        .name("testcontainerappsjob0")
                        .readinessProbes(JobTemplateContainerReadinessProbeArgs.builder()
                            .transport("HTTP")
                            .port(5000)
                            .build())
                        .livenessProbes(JobTemplateContainerLivenessProbeArgs.builder()
                            .transport("HTTP")
                            .port(5000)
                            .path("/health")
                            .headers(JobTemplateContainerLivenessProbeHeaderArgs.builder()
                                .name("Cache-Control")
                                .value("no-cache")
                                .build())
                            .initialDelay(5)
                            .intervalSeconds(20)
                            .timeout(2)
                            .failureCountThreshold(1)
                            .build())
                        .startupProbes(JobTemplateContainerStartupProbeArgs.builder()
                            .transport("TCP")
                            .port(5000)
                            .build())
                        .cpu(0.5)
                        .memory("1Gi")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      exampleAnalyticsWorkspace:
        type: azure:operationalinsights:AnalyticsWorkspace
        name: example
        properties:
          name: example-log-analytics-workspace
          location: ${example.location}
          resourceGroupName: ${example.name}
          sku: PerGB2018
          retentionInDays: 30
      exampleEnvironment:
        type: azure:containerapp:Environment
        name: example
        properties:
          name: example-container-app-environment
          location: ${example.location}
          resourceGroupName: ${example.name}
          logAnalyticsWorkspaceId: ${exampleAnalyticsWorkspace.id}
      exampleJob:
        type: azure:containerapp:Job
        name: example
        properties:
          name: example-container-app-job
          location: ${example.location}
          resourceGroupName: ${example.name}
          containerAppEnvironmentId: ${exampleEnvironment.id}
          replicaTimeoutInSeconds: 10
          replicaRetryLimit: 10
          manualTriggerConfig:
            parallelism: 4
            replicaCompletionCount: 1
          template:
            containers:
              - image: repo/testcontainerAppsJob0:v1
                name: testcontainerappsjob0
                readinessProbes:
                  - transport: HTTP
                    port: 5000
                livenessProbes:
                  - transport: HTTP
                    port: 5000
                    path: /health
                    headers:
                      - name: Cache-Control
                        value: no-cache
                    initialDelay: 5
                    intervalSeconds: 20
                    timeout: 2
                    failureCountThreshold: 1
                startupProbes:
                  - transport: TCP
                    port: 5000
                cpu: 0.5
                memory: 1Gi
    

    Create Job Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
    @overload
    def Job(resource_name: str,
            args: JobArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Job(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            container_app_environment_id: Optional[str] = None,
            template: Optional[JobTemplateArgs] = None,
            resource_group_name: Optional[str] = None,
            replica_timeout_in_seconds: Optional[int] = None,
            replica_retry_limit: Optional[int] = None,
            name: Optional[str] = None,
            registries: Optional[Sequence[JobRegistryArgs]] = None,
            registry: Optional[Sequence[JobRegistryArgs]] = None,
            manual_trigger_config: Optional[JobManualTriggerConfigArgs] = None,
            location: Optional[str] = None,
            identity: Optional[JobIdentityArgs] = None,
            schedule_trigger_config: Optional[JobScheduleTriggerConfigArgs] = None,
            secret: Optional[Sequence[JobSecretArgs]] = None,
            secrets: Optional[Sequence[JobSecretArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            event_trigger_config: Optional[JobEventTriggerConfigArgs] = None,
            workload_profile_name: Optional[str] = None)
    func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
    public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
    public Job(String name, JobArgs args)
    public Job(String name, JobArgs args, CustomResourceOptions options)
    
    type: azure:containerapp:Job
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var azureJobResource = new Azure.ContainerApp.Job("azureJobResource", new()
    {
        ContainerAppEnvironmentId = "string",
        Template = new Azure.ContainerApp.Inputs.JobTemplateArgs
        {
            Containers = new[]
            {
                new Azure.ContainerApp.Inputs.JobTemplateContainerArgs
                {
                    Cpu = 0,
                    Image = "string",
                    Memory = "string",
                    Name = "string",
                    Args = new[]
                    {
                        "string",
                    },
                    Commands = new[]
                    {
                        "string",
                    },
                    Envs = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateContainerEnvArgs
                        {
                            Name = "string",
                            SecretName = "string",
                            Value = "string",
                        },
                    },
                    EphemeralStorage = "string",
                    LivenessProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateContainerLivenessProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.JobTemplateContainerLivenessProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            InitialDelay = 0,
                            IntervalSeconds = 0,
                            Path = "string",
                            TerminationGracePeriodSeconds = 0,
                            Timeout = 0,
                        },
                    },
                    ReadinessProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateContainerReadinessProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.JobTemplateContainerReadinessProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            IntervalSeconds = 0,
                            Path = "string",
                            SuccessCountThreshold = 0,
                            Timeout = 0,
                        },
                    },
                    StartupProbes = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateContainerStartupProbeArgs
                        {
                            Port = 0,
                            Transport = "string",
                            FailureCountThreshold = 0,
                            Headers = new[]
                            {
                                new Azure.ContainerApp.Inputs.JobTemplateContainerStartupProbeHeaderArgs
                                {
                                    Name = "string",
                                    Value = "string",
                                },
                            },
                            Host = "string",
                            IntervalSeconds = 0,
                            Path = "string",
                            TerminationGracePeriodSeconds = 0,
                            Timeout = 0,
                        },
                    },
                    VolumeMounts = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateContainerVolumeMountArgs
                        {
                            Name = "string",
                            Path = "string",
                        },
                    },
                },
            },
            InitContainers = new[]
            {
                new Azure.ContainerApp.Inputs.JobTemplateInitContainerArgs
                {
                    Image = "string",
                    Name = "string",
                    Args = new[]
                    {
                        "string",
                    },
                    Commands = new[]
                    {
                        "string",
                    },
                    Cpu = 0,
                    Envs = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateInitContainerEnvArgs
                        {
                            Name = "string",
                            SecretName = "string",
                            Value = "string",
                        },
                    },
                    EphemeralStorage = "string",
                    Memory = "string",
                    VolumeMounts = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobTemplateInitContainerVolumeMountArgs
                        {
                            Name = "string",
                            Path = "string",
                        },
                    },
                },
            },
            Volumes = new[]
            {
                new Azure.ContainerApp.Inputs.JobTemplateVolumeArgs
                {
                    Name = "string",
                    StorageName = "string",
                    StorageType = "string",
                },
            },
        },
        ResourceGroupName = "string",
        ReplicaTimeoutInSeconds = 0,
        ReplicaRetryLimit = 0,
        Name = "string",
        Registry = new[]
        {
            new Azure.ContainerApp.Inputs.JobRegistryArgs
            {
                Server = "string",
                Identity = "string",
                PasswordSecretName = "string",
                Username = "string",
            },
        },
        ManualTriggerConfig = new Azure.ContainerApp.Inputs.JobManualTriggerConfigArgs
        {
            Parallelism = 0,
            ReplicaCompletionCount = 0,
        },
        Location = "string",
        Identity = new Azure.ContainerApp.Inputs.JobIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
        ScheduleTriggerConfig = new Azure.ContainerApp.Inputs.JobScheduleTriggerConfigArgs
        {
            CronExpression = "string",
            Parallelism = 0,
            ReplicaCompletionCount = 0,
        },
        Secret = new[]
        {
            new Azure.ContainerApp.Inputs.JobSecretArgs
            {
                Name = "string",
                Identity = "string",
                KeyVaultSecretId = "string",
                Value = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        EventTriggerConfig = new Azure.ContainerApp.Inputs.JobEventTriggerConfigArgs
        {
            Parallelism = 0,
            ReplicaCompletionCount = 0,
            Scales = new[]
            {
                new Azure.ContainerApp.Inputs.JobEventTriggerConfigScaleArgs
                {
                    MaxExecutions = 0,
                    MinExecutions = 0,
                    PollingIntervalInSeconds = 0,
                    Rules = new[]
                    {
                        new Azure.ContainerApp.Inputs.JobEventTriggerConfigScaleRuleArgs
                        {
                            CustomRuleType = "string",
                            Metadata = 
                            {
                                { "string", "string" },
                            },
                            Name = "string",
                            Authentications = new[]
                            {
                                new Azure.ContainerApp.Inputs.JobEventTriggerConfigScaleRuleAuthenticationArgs
                                {
                                    SecretName = "string",
                                    TriggerParameter = "string",
                                },
                            },
                        },
                    },
                },
            },
        },
        WorkloadProfileName = "string",
    });
    
    example, err := containerapp.NewJob(ctx, "azureJobResource", &containerapp.JobArgs{
    	ContainerAppEnvironmentId: pulumi.String("string"),
    	Template: &containerapp.JobTemplateArgs{
    		Containers: containerapp.JobTemplateContainerArray{
    			&containerapp.JobTemplateContainerArgs{
    				Cpu:    pulumi.Float64(0),
    				Image:  pulumi.String("string"),
    				Memory: pulumi.String("string"),
    				Name:   pulumi.String("string"),
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Commands: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Envs: containerapp.JobTemplateContainerEnvArray{
    					&containerapp.JobTemplateContainerEnvArgs{
    						Name:       pulumi.String("string"),
    						SecretName: pulumi.String("string"),
    						Value:      pulumi.String("string"),
    					},
    				},
    				EphemeralStorage: pulumi.String("string"),
    				LivenessProbes: containerapp.JobTemplateContainerLivenessProbeArray{
    					&containerapp.JobTemplateContainerLivenessProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.JobTemplateContainerLivenessProbeHeaderArray{
    							&containerapp.JobTemplateContainerLivenessProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                          pulumi.String("string"),
    						InitialDelay:                  pulumi.Int(0),
    						IntervalSeconds:               pulumi.Int(0),
    						Path:                          pulumi.String("string"),
    						TerminationGracePeriodSeconds: pulumi.Int(0),
    						Timeout:                       pulumi.Int(0),
    					},
    				},
    				ReadinessProbes: containerapp.JobTemplateContainerReadinessProbeArray{
    					&containerapp.JobTemplateContainerReadinessProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.JobTemplateContainerReadinessProbeHeaderArray{
    							&containerapp.JobTemplateContainerReadinessProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                  pulumi.String("string"),
    						IntervalSeconds:       pulumi.Int(0),
    						Path:                  pulumi.String("string"),
    						SuccessCountThreshold: pulumi.Int(0),
    						Timeout:               pulumi.Int(0),
    					},
    				},
    				StartupProbes: containerapp.JobTemplateContainerStartupProbeArray{
    					&containerapp.JobTemplateContainerStartupProbeArgs{
    						Port:                  pulumi.Int(0),
    						Transport:             pulumi.String("string"),
    						FailureCountThreshold: pulumi.Int(0),
    						Headers: containerapp.JobTemplateContainerStartupProbeHeaderArray{
    							&containerapp.JobTemplateContainerStartupProbeHeaderArgs{
    								Name:  pulumi.String("string"),
    								Value: pulumi.String("string"),
    							},
    						},
    						Host:                          pulumi.String("string"),
    						IntervalSeconds:               pulumi.Int(0),
    						Path:                          pulumi.String("string"),
    						TerminationGracePeriodSeconds: pulumi.Int(0),
    						Timeout:                       pulumi.Int(0),
    					},
    				},
    				VolumeMounts: containerapp.JobTemplateContainerVolumeMountArray{
    					&containerapp.JobTemplateContainerVolumeMountArgs{
    						Name: pulumi.String("string"),
    						Path: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		InitContainers: containerapp.JobTemplateInitContainerArray{
    			&containerapp.JobTemplateInitContainerArgs{
    				Image: pulumi.String("string"),
    				Name:  pulumi.String("string"),
    				Args: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Commands: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				Cpu: pulumi.Float64(0),
    				Envs: containerapp.JobTemplateInitContainerEnvArray{
    					&containerapp.JobTemplateInitContainerEnvArgs{
    						Name:       pulumi.String("string"),
    						SecretName: pulumi.String("string"),
    						Value:      pulumi.String("string"),
    					},
    				},
    				EphemeralStorage: pulumi.String("string"),
    				Memory:           pulumi.String("string"),
    				VolumeMounts: containerapp.JobTemplateInitContainerVolumeMountArray{
    					&containerapp.JobTemplateInitContainerVolumeMountArgs{
    						Name: pulumi.String("string"),
    						Path: pulumi.String("string"),
    					},
    				},
    			},
    		},
    		Volumes: containerapp.JobTemplateVolumeArray{
    			&containerapp.JobTemplateVolumeArgs{
    				Name:        pulumi.String("string"),
    				StorageName: pulumi.String("string"),
    				StorageType: pulumi.String("string"),
    			},
    		},
    	},
    	ResourceGroupName:       pulumi.String("string"),
    	ReplicaTimeoutInSeconds: pulumi.Int(0),
    	ReplicaRetryLimit:       pulumi.Int(0),
    	Name:                    pulumi.String("string"),
    	Registry: containerapp.JobRegistryArray{
    		&containerapp.JobRegistryArgs{
    			Server:             pulumi.String("string"),
    			Identity:           pulumi.String("string"),
    			PasswordSecretName: pulumi.String("string"),
    			Username:           pulumi.String("string"),
    		},
    	},
    	ManualTriggerConfig: &containerapp.JobManualTriggerConfigArgs{
    		Parallelism:            pulumi.Int(0),
    		ReplicaCompletionCount: pulumi.Int(0),
    	},
    	Location: pulumi.String("string"),
    	Identity: &containerapp.JobIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	ScheduleTriggerConfig: &containerapp.JobScheduleTriggerConfigArgs{
    		CronExpression:         pulumi.String("string"),
    		Parallelism:            pulumi.Int(0),
    		ReplicaCompletionCount: pulumi.Int(0),
    	},
    	Secret: containerapp.JobSecretArray{
    		&containerapp.JobSecretArgs{
    			Name:             pulumi.String("string"),
    			Identity:         pulumi.String("string"),
    			KeyVaultSecretId: pulumi.String("string"),
    			Value:            pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	EventTriggerConfig: &containerapp.JobEventTriggerConfigArgs{
    		Parallelism:            pulumi.Int(0),
    		ReplicaCompletionCount: pulumi.Int(0),
    		Scales: containerapp.JobEventTriggerConfigScaleArray{
    			&containerapp.JobEventTriggerConfigScaleArgs{
    				MaxExecutions:            pulumi.Int(0),
    				MinExecutions:            pulumi.Int(0),
    				PollingIntervalInSeconds: pulumi.Int(0),
    				Rules: containerapp.JobEventTriggerConfigScaleRuleArray{
    					&containerapp.JobEventTriggerConfigScaleRuleArgs{
    						CustomRuleType: pulumi.String("string"),
    						Metadata: pulumi.StringMap{
    							"string": pulumi.String("string"),
    						},
    						Name: pulumi.String("string"),
    						Authentications: containerapp.JobEventTriggerConfigScaleRuleAuthenticationArray{
    							&containerapp.JobEventTriggerConfigScaleRuleAuthenticationArgs{
    								SecretName:       pulumi.String("string"),
    								TriggerParameter: pulumi.String("string"),
    							},
    						},
    					},
    				},
    			},
    		},
    	},
    	WorkloadProfileName: pulumi.String("string"),
    })
    
    var azureJobResource = new Job("azureJobResource", JobArgs.builder()
        .containerAppEnvironmentId("string")
        .template(JobTemplateArgs.builder()
            .containers(JobTemplateContainerArgs.builder()
                .cpu(0)
                .image("string")
                .memory("string")
                .name("string")
                .args("string")
                .commands("string")
                .envs(JobTemplateContainerEnvArgs.builder()
                    .name("string")
                    .secretName("string")
                    .value("string")
                    .build())
                .ephemeralStorage("string")
                .livenessProbes(JobTemplateContainerLivenessProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(JobTemplateContainerLivenessProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .initialDelay(0)
                    .intervalSeconds(0)
                    .path("string")
                    .terminationGracePeriodSeconds(0)
                    .timeout(0)
                    .build())
                .readinessProbes(JobTemplateContainerReadinessProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(JobTemplateContainerReadinessProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .intervalSeconds(0)
                    .path("string")
                    .successCountThreshold(0)
                    .timeout(0)
                    .build())
                .startupProbes(JobTemplateContainerStartupProbeArgs.builder()
                    .port(0)
                    .transport("string")
                    .failureCountThreshold(0)
                    .headers(JobTemplateContainerStartupProbeHeaderArgs.builder()
                        .name("string")
                        .value("string")
                        .build())
                    .host("string")
                    .intervalSeconds(0)
                    .path("string")
                    .terminationGracePeriodSeconds(0)
                    .timeout(0)
                    .build())
                .volumeMounts(JobTemplateContainerVolumeMountArgs.builder()
                    .name("string")
                    .path("string")
                    .build())
                .build())
            .initContainers(JobTemplateInitContainerArgs.builder()
                .image("string")
                .name("string")
                .args("string")
                .commands("string")
                .cpu(0)
                .envs(JobTemplateInitContainerEnvArgs.builder()
                    .name("string")
                    .secretName("string")
                    .value("string")
                    .build())
                .ephemeralStorage("string")
                .memory("string")
                .volumeMounts(JobTemplateInitContainerVolumeMountArgs.builder()
                    .name("string")
                    .path("string")
                    .build())
                .build())
            .volumes(JobTemplateVolumeArgs.builder()
                .name("string")
                .storageName("string")
                .storageType("string")
                .build())
            .build())
        .resourceGroupName("string")
        .replicaTimeoutInSeconds(0)
        .replicaRetryLimit(0)
        .name("string")
        .registry(JobRegistryArgs.builder()
            .server("string")
            .identity("string")
            .passwordSecretName("string")
            .username("string")
            .build())
        .manualTriggerConfig(JobManualTriggerConfigArgs.builder()
            .parallelism(0)
            .replicaCompletionCount(0)
            .build())
        .location("string")
        .identity(JobIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .scheduleTriggerConfig(JobScheduleTriggerConfigArgs.builder()
            .cronExpression("string")
            .parallelism(0)
            .replicaCompletionCount(0)
            .build())
        .secret(JobSecretArgs.builder()
            .name("string")
            .identity("string")
            .keyVaultSecretId("string")
            .value("string")
            .build())
        .tags(Map.of("string", "string"))
        .eventTriggerConfig(JobEventTriggerConfigArgs.builder()
            .parallelism(0)
            .replicaCompletionCount(0)
            .scales(JobEventTriggerConfigScaleArgs.builder()
                .maxExecutions(0)
                .minExecutions(0)
                .pollingIntervalInSeconds(0)
                .rules(JobEventTriggerConfigScaleRuleArgs.builder()
                    .customRuleType("string")
                    .metadata(Map.of("string", "string"))
                    .name("string")
                    .authentications(JobEventTriggerConfigScaleRuleAuthenticationArgs.builder()
                        .secretName("string")
                        .triggerParameter("string")
                        .build())
                    .build())
                .build())
            .build())
        .workloadProfileName("string")
        .build());
    
    azure_job_resource = azure.containerapp.Job("azureJobResource",
        container_app_environment_id="string",
        template=azure.containerapp.JobTemplateArgs(
            containers=[azure.containerapp.JobTemplateContainerArgs(
                cpu=0,
                image="string",
                memory="string",
                name="string",
                args=["string"],
                commands=["string"],
                envs=[azure.containerapp.JobTemplateContainerEnvArgs(
                    name="string",
                    secret_name="string",
                    value="string",
                )],
                ephemeral_storage="string",
                liveness_probes=[azure.containerapp.JobTemplateContainerLivenessProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.JobTemplateContainerLivenessProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    initial_delay=0,
                    interval_seconds=0,
                    path="string",
                    termination_grace_period_seconds=0,
                    timeout=0,
                )],
                readiness_probes=[azure.containerapp.JobTemplateContainerReadinessProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.JobTemplateContainerReadinessProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    interval_seconds=0,
                    path="string",
                    success_count_threshold=0,
                    timeout=0,
                )],
                startup_probes=[azure.containerapp.JobTemplateContainerStartupProbeArgs(
                    port=0,
                    transport="string",
                    failure_count_threshold=0,
                    headers=[azure.containerapp.JobTemplateContainerStartupProbeHeaderArgs(
                        name="string",
                        value="string",
                    )],
                    host="string",
                    interval_seconds=0,
                    path="string",
                    termination_grace_period_seconds=0,
                    timeout=0,
                )],
                volume_mounts=[azure.containerapp.JobTemplateContainerVolumeMountArgs(
                    name="string",
                    path="string",
                )],
            )],
            init_containers=[azure.containerapp.JobTemplateInitContainerArgs(
                image="string",
                name="string",
                args=["string"],
                commands=["string"],
                cpu=0,
                envs=[azure.containerapp.JobTemplateInitContainerEnvArgs(
                    name="string",
                    secret_name="string",
                    value="string",
                )],
                ephemeral_storage="string",
                memory="string",
                volume_mounts=[azure.containerapp.JobTemplateInitContainerVolumeMountArgs(
                    name="string",
                    path="string",
                )],
            )],
            volumes=[azure.containerapp.JobTemplateVolumeArgs(
                name="string",
                storage_name="string",
                storage_type="string",
            )],
        ),
        resource_group_name="string",
        replica_timeout_in_seconds=0,
        replica_retry_limit=0,
        name="string",
        registry=[azure.containerapp.JobRegistryArgs(
            server="string",
            identity="string",
            password_secret_name="string",
            username="string",
        )],
        manual_trigger_config=azure.containerapp.JobManualTriggerConfigArgs(
            parallelism=0,
            replica_completion_count=0,
        ),
        location="string",
        identity=azure.containerapp.JobIdentityArgs(
            type="string",
            identity_ids=["string"],
            principal_id="string",
            tenant_id="string",
        ),
        schedule_trigger_config=azure.containerapp.JobScheduleTriggerConfigArgs(
            cron_expression="string",
            parallelism=0,
            replica_completion_count=0,
        ),
        secret=[azure.containerapp.JobSecretArgs(
            name="string",
            identity="string",
            key_vault_secret_id="string",
            value="string",
        )],
        tags={
            "string": "string",
        },
        event_trigger_config=azure.containerapp.JobEventTriggerConfigArgs(
            parallelism=0,
            replica_completion_count=0,
            scales=[azure.containerapp.JobEventTriggerConfigScaleArgs(
                max_executions=0,
                min_executions=0,
                polling_interval_in_seconds=0,
                rules=[azure.containerapp.JobEventTriggerConfigScaleRuleArgs(
                    custom_rule_type="string",
                    metadata={
                        "string": "string",
                    },
                    name="string",
                    authentications=[azure.containerapp.JobEventTriggerConfigScaleRuleAuthenticationArgs(
                        secret_name="string",
                        trigger_parameter="string",
                    )],
                )],
            )],
        ),
        workload_profile_name="string")
    
    const azureJobResource = new azure.containerapp.Job("azureJobResource", {
        containerAppEnvironmentId: "string",
        template: {
            containers: [{
                cpu: 0,
                image: "string",
                memory: "string",
                name: "string",
                args: ["string"],
                commands: ["string"],
                envs: [{
                    name: "string",
                    secretName: "string",
                    value: "string",
                }],
                ephemeralStorage: "string",
                livenessProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    initialDelay: 0,
                    intervalSeconds: 0,
                    path: "string",
                    terminationGracePeriodSeconds: 0,
                    timeout: 0,
                }],
                readinessProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    intervalSeconds: 0,
                    path: "string",
                    successCountThreshold: 0,
                    timeout: 0,
                }],
                startupProbes: [{
                    port: 0,
                    transport: "string",
                    failureCountThreshold: 0,
                    headers: [{
                        name: "string",
                        value: "string",
                    }],
                    host: "string",
                    intervalSeconds: 0,
                    path: "string",
                    terminationGracePeriodSeconds: 0,
                    timeout: 0,
                }],
                volumeMounts: [{
                    name: "string",
                    path: "string",
                }],
            }],
            initContainers: [{
                image: "string",
                name: "string",
                args: ["string"],
                commands: ["string"],
                cpu: 0,
                envs: [{
                    name: "string",
                    secretName: "string",
                    value: "string",
                }],
                ephemeralStorage: "string",
                memory: "string",
                volumeMounts: [{
                    name: "string",
                    path: "string",
                }],
            }],
            volumes: [{
                name: "string",
                storageName: "string",
                storageType: "string",
            }],
        },
        resourceGroupName: "string",
        replicaTimeoutInSeconds: 0,
        replicaRetryLimit: 0,
        name: "string",
        registry: [{
            server: "string",
            identity: "string",
            passwordSecretName: "string",
            username: "string",
        }],
        manualTriggerConfig: {
            parallelism: 0,
            replicaCompletionCount: 0,
        },
        location: "string",
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
        scheduleTriggerConfig: {
            cronExpression: "string",
            parallelism: 0,
            replicaCompletionCount: 0,
        },
        secret: [{
            name: "string",
            identity: "string",
            keyVaultSecretId: "string",
            value: "string",
        }],
        tags: {
            string: "string",
        },
        eventTriggerConfig: {
            parallelism: 0,
            replicaCompletionCount: 0,
            scales: [{
                maxExecutions: 0,
                minExecutions: 0,
                pollingIntervalInSeconds: 0,
                rules: [{
                    customRuleType: "string",
                    metadata: {
                        string: "string",
                    },
                    name: "string",
                    authentications: [{
                        secretName: "string",
                        triggerParameter: "string",
                    }],
                }],
            }],
        },
        workloadProfileName: "string",
    });
    
    type: azure:containerapp:Job
    properties:
        containerAppEnvironmentId: string
        eventTriggerConfig:
            parallelism: 0
            replicaCompletionCount: 0
            scales:
                - maxExecutions: 0
                  minExecutions: 0
                  pollingIntervalInSeconds: 0
                  rules:
                    - authentications:
                        - secretName: string
                          triggerParameter: string
                      customRuleType: string
                      metadata:
                        string: string
                      name: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        location: string
        manualTriggerConfig:
            parallelism: 0
            replicaCompletionCount: 0
        name: string
        registry:
            - identity: string
              passwordSecretName: string
              server: string
              username: string
        replicaRetryLimit: 0
        replicaTimeoutInSeconds: 0
        resourceGroupName: string
        scheduleTriggerConfig:
            cronExpression: string
            parallelism: 0
            replicaCompletionCount: 0
        secret:
            - identity: string
              keyVaultSecretId: string
              name: string
              value: string
        tags:
            string: string
        template:
            containers:
                - args:
                    - string
                  commands:
                    - string
                  cpu: 0
                  envs:
                    - name: string
                      secretName: string
                      value: string
                  ephemeralStorage: string
                  image: string
                  livenessProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      initialDelay: 0
                      intervalSeconds: 0
                      path: string
                      port: 0
                      terminationGracePeriodSeconds: 0
                      timeout: 0
                      transport: string
                  memory: string
                  name: string
                  readinessProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      intervalSeconds: 0
                      path: string
                      port: 0
                      successCountThreshold: 0
                      timeout: 0
                      transport: string
                  startupProbes:
                    - failureCountThreshold: 0
                      headers:
                        - name: string
                          value: string
                      host: string
                      intervalSeconds: 0
                      path: string
                      port: 0
                      terminationGracePeriodSeconds: 0
                      timeout: 0
                      transport: string
                  volumeMounts:
                    - name: string
                      path: string
            initContainers:
                - args:
                    - string
                  commands:
                    - string
                  cpu: 0
                  envs:
                    - name: string
                      secretName: string
                      value: string
                  ephemeralStorage: string
                  image: string
                  memory: string
                  name: string
                  volumeMounts:
                    - name: string
                      path: string
            volumes:
                - name: string
                  storageName: string
                  storageType: string
        workloadProfileName: string
    

    Job Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Job resource accepts the following input properties:

    ContainerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    ReplicaTimeoutInSeconds int
    The maximum number of seconds a replica is allowed to run.
    ResourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    Template JobTemplate
    A template block as defined below.
    EventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    Identity JobIdentity
    A identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    Registries List<JobRegistry>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    Registry List<JobRegistry>
    One or more registry blocks as defined below.
    ReplicaRetryLimit int
    The maximum number of times a replica is allowed to retry.
    ScheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    Secret List<JobSecret>
    One or more secret blocks as defined below.
    Secrets List<JobSecret>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    WorkloadProfileName string
    The name of the workload profile to use for the Container App Job.
    ContainerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    ReplicaTimeoutInSeconds int
    The maximum number of seconds a replica is allowed to run.
    ResourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    Template JobTemplateArgs
    A template block as defined below.
    EventTriggerConfig JobEventTriggerConfigArgs
    A event_trigger_config block as defined below.
    Identity JobIdentityArgs
    A identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManualTriggerConfig JobManualTriggerConfigArgs
    A manual_trigger_config block as defined below.
    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    Registries []JobRegistryArgs

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    Registry []JobRegistryArgs
    One or more registry blocks as defined below.
    ReplicaRetryLimit int
    The maximum number of times a replica is allowed to retry.
    ScheduleTriggerConfig JobScheduleTriggerConfigArgs

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    Secret []JobSecretArgs
    One or more secret blocks as defined below.
    Secrets []JobSecretArgs

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    Tags map[string]string
    A mapping of tags to assign to the resource.
    WorkloadProfileName string
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId String
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    replicaTimeoutInSeconds Integer
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName String
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    template JobTemplate
    A template block as defined below.
    eventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    identity JobIdentity
    A identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    registries List<JobRegistry>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry List<JobRegistry>
    One or more registry blocks as defined below.
    replicaRetryLimit Integer
    The maximum number of times a replica is allowed to retry.
    scheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret List<JobSecret>
    One or more secret blocks as defined below.
    secrets List<JobSecret>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Map<String,String>
    A mapping of tags to assign to the resource.
    workloadProfileName String
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    replicaTimeoutInSeconds number
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    template JobTemplate
    A template block as defined below.
    eventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    identity JobIdentity
    A identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    registries JobRegistry[]

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry JobRegistry[]
    One or more registry blocks as defined below.
    replicaRetryLimit number
    The maximum number of times a replica is allowed to retry.
    scheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret JobSecret[]
    One or more secret blocks as defined below.
    secrets JobSecret[]

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    workloadProfileName string
    The name of the workload profile to use for the Container App Job.
    container_app_environment_id str
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    replica_timeout_in_seconds int
    The maximum number of seconds a replica is allowed to run.
    resource_group_name str
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    template JobTemplateArgs
    A template block as defined below.
    event_trigger_config JobEventTriggerConfigArgs
    A event_trigger_config block as defined below.
    identity JobIdentityArgs
    A identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manual_trigger_config JobManualTriggerConfigArgs
    A manual_trigger_config block as defined below.
    name str
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    registries Sequence[JobRegistryArgs]

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry Sequence[JobRegistryArgs]
    One or more registry blocks as defined below.
    replica_retry_limit int
    The maximum number of times a replica is allowed to retry.
    schedule_trigger_config JobScheduleTriggerConfigArgs

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret Sequence[JobSecretArgs]
    One or more secret blocks as defined below.
    secrets Sequence[JobSecretArgs]

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    workload_profile_name str
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId String
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    replicaTimeoutInSeconds Number
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName String
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    template Property Map
    A template block as defined below.
    eventTriggerConfig Property Map
    A event_trigger_config block as defined below.
    identity Property Map
    A identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig Property Map
    A manual_trigger_config block as defined below.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    registries List<Property Map>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry List<Property Map>
    One or more registry blocks as defined below.
    replicaRetryLimit Number
    The maximum number of times a replica is allowed to retry.
    scheduleTriggerConfig Property Map

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret List<Property Map>
    One or more secret blocks as defined below.
    secrets List<Property Map>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Map<String>
    A mapping of tags to assign to the resource.
    workloadProfileName String
    The name of the workload profile to use for the Container App Job.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:

    EventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    Id string
    The provider-assigned unique ID for this managed resource.
    OutboundIpAddresses List<string>
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    EventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    Id string
    The provider-assigned unique ID for this managed resource.
    OutboundIpAddresses []string
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    eventStreamEndpoint String
    The endpoint for the Container App Job event stream.
    id String
    The provider-assigned unique ID for this managed resource.
    outboundIpAddresses List<String>
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    eventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    id string
    The provider-assigned unique ID for this managed resource.
    outboundIpAddresses string[]
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    event_stream_endpoint str
    The endpoint for the Container App Job event stream.
    id str
    The provider-assigned unique ID for this managed resource.
    outbound_ip_addresses Sequence[str]
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    eventStreamEndpoint String
    The endpoint for the Container App Job event stream.
    id String
    The provider-assigned unique ID for this managed resource.
    outboundIpAddresses List<String>
    A list of the Public IP Addresses which the Container App uses for outbound network access.

    Look up Existing Job Resource

    Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: JobState, opts?: CustomResourceOptions): Job
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_app_environment_id: Optional[str] = None,
            event_stream_endpoint: Optional[str] = None,
            event_trigger_config: Optional[JobEventTriggerConfigArgs] = None,
            identity: Optional[JobIdentityArgs] = None,
            location: Optional[str] = None,
            manual_trigger_config: Optional[JobManualTriggerConfigArgs] = None,
            name: Optional[str] = None,
            outbound_ip_addresses: Optional[Sequence[str]] = None,
            registries: Optional[Sequence[JobRegistryArgs]] = None,
            registry: Optional[Sequence[JobRegistryArgs]] = None,
            replica_retry_limit: Optional[int] = None,
            replica_timeout_in_seconds: Optional[int] = None,
            resource_group_name: Optional[str] = None,
            schedule_trigger_config: Optional[JobScheduleTriggerConfigArgs] = None,
            secret: Optional[Sequence[JobSecretArgs]] = None,
            secrets: Optional[Sequence[JobSecretArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            template: Optional[JobTemplateArgs] = None,
            workload_profile_name: Optional[str] = None) -> Job
    func GetJob(ctx *Context, name string, id IDInput, state *JobState, opts ...ResourceOption) (*Job, error)
    public static Job Get(string name, Input<string> id, JobState? state, CustomResourceOptions? opts = null)
    public static Job get(String name, Output<String> id, JobState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ContainerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    EventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    EventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    Identity JobIdentity
    A identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    OutboundIpAddresses List<string>
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    Registries List<JobRegistry>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    Registry List<JobRegistry>
    One or more registry blocks as defined below.
    ReplicaRetryLimit int
    The maximum number of times a replica is allowed to retry.
    ReplicaTimeoutInSeconds int
    The maximum number of seconds a replica is allowed to run.
    ResourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    ScheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    Secret List<JobSecret>
    One or more secret blocks as defined below.
    Secrets List<JobSecret>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    Template JobTemplate
    A template block as defined below.
    WorkloadProfileName string
    The name of the workload profile to use for the Container App Job.
    ContainerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    EventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    EventTriggerConfig JobEventTriggerConfigArgs
    A event_trigger_config block as defined below.
    Identity JobIdentityArgs
    A identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManualTriggerConfig JobManualTriggerConfigArgs
    A manual_trigger_config block as defined below.
    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    OutboundIpAddresses []string
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    Registries []JobRegistryArgs

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    Registry []JobRegistryArgs
    One or more registry blocks as defined below.
    ReplicaRetryLimit int
    The maximum number of times a replica is allowed to retry.
    ReplicaTimeoutInSeconds int
    The maximum number of seconds a replica is allowed to run.
    ResourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    ScheduleTriggerConfig JobScheduleTriggerConfigArgs

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    Secret []JobSecretArgs
    One or more secret blocks as defined below.
    Secrets []JobSecretArgs

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    Tags map[string]string
    A mapping of tags to assign to the resource.
    Template JobTemplateArgs
    A template block as defined below.
    WorkloadProfileName string
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId String
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    eventStreamEndpoint String
    The endpoint for the Container App Job event stream.
    eventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    identity JobIdentity
    A identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    outboundIpAddresses List<String>
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    registries List<JobRegistry>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry List<JobRegistry>
    One or more registry blocks as defined below.
    replicaRetryLimit Integer
    The maximum number of times a replica is allowed to retry.
    replicaTimeoutInSeconds Integer
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName String
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    scheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret List<JobSecret>
    One or more secret blocks as defined below.
    secrets List<JobSecret>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Map<String,String>
    A mapping of tags to assign to the resource.
    template JobTemplate
    A template block as defined below.
    workloadProfileName String
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId string
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    eventStreamEndpoint string
    The endpoint for the Container App Job event stream.
    eventTriggerConfig JobEventTriggerConfig
    A event_trigger_config block as defined below.
    identity JobIdentity
    A identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig JobManualTriggerConfig
    A manual_trigger_config block as defined below.
    name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    outboundIpAddresses string[]
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    registries JobRegistry[]

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry JobRegistry[]
    One or more registry blocks as defined below.
    replicaRetryLimit number
    The maximum number of times a replica is allowed to retry.
    replicaTimeoutInSeconds number
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName string
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    scheduleTriggerConfig JobScheduleTriggerConfig

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret JobSecret[]
    One or more secret blocks as defined below.
    secrets JobSecret[]

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    template JobTemplate
    A template block as defined below.
    workloadProfileName string
    The name of the workload profile to use for the Container App Job.
    container_app_environment_id str
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    event_stream_endpoint str
    The endpoint for the Container App Job event stream.
    event_trigger_config JobEventTriggerConfigArgs
    A event_trigger_config block as defined below.
    identity JobIdentityArgs
    A identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manual_trigger_config JobManualTriggerConfigArgs
    A manual_trigger_config block as defined below.
    name str
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    outbound_ip_addresses Sequence[str]
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    registries Sequence[JobRegistryArgs]

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry Sequence[JobRegistryArgs]
    One or more registry blocks as defined below.
    replica_retry_limit int
    The maximum number of times a replica is allowed to retry.
    replica_timeout_in_seconds int
    The maximum number of seconds a replica is allowed to run.
    resource_group_name str
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    schedule_trigger_config JobScheduleTriggerConfigArgs

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret Sequence[JobSecretArgs]
    One or more secret blocks as defined below.
    secrets Sequence[JobSecretArgs]

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    template JobTemplateArgs
    A template block as defined below.
    workload_profile_name str
    The name of the workload profile to use for the Container App Job.
    containerAppEnvironmentId String
    The ID of the Container App Environment in which to create the Container App Job. Changing this forces a new resource to be created.
    eventStreamEndpoint String
    The endpoint for the Container App Job event stream.
    eventTriggerConfig Property Map
    A event_trigger_config block as defined below.
    identity Property Map
    A identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    manualTriggerConfig Property Map
    A manual_trigger_config block as defined below.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    outboundIpAddresses List<String>
    A list of the Public IP Addresses which the Container App uses for outbound network access.
    registries List<Property Map>

    Deprecated: registries has been renamed to registry and will be removed in version 4.0 of the AzureRM Provider.

    registry List<Property Map>
    One or more registry blocks as defined below.
    replicaRetryLimit Number
    The maximum number of times a replica is allowed to retry.
    replicaTimeoutInSeconds Number
    The maximum number of seconds a replica is allowed to run.
    resourceGroupName String
    The name of the resource group in which to create the Container App Job. Changing this forces a new resource to be created.
    scheduleTriggerConfig Property Map

    A schedule_trigger_config block as defined below.

    ** NOTE **: Only one of manual_trigger_config, event_trigger_config or schedule_trigger_config can be specified.

    secret List<Property Map>
    One or more secret blocks as defined below.
    secrets List<Property Map>

    Deprecated: secrets has been renamed to secret and will be removed in version 4.0 of the AzureRM Provider.

    tags Map<String>
    A mapping of tags to assign to the resource.
    template Property Map
    A template block as defined below.
    workloadProfileName String
    The name of the workload profile to use for the Container App Job.

    Supporting Types

    JobEventTriggerConfig, JobEventTriggerConfigArgs

    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    Scales List<JobEventTriggerConfigScale>
    A scale block as defined below.
    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    Scales []JobEventTriggerConfigScale
    A scale block as defined below.
    parallelism Integer
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Integer
    Minimum number of successful replica completions before overall job completion.
    scales List<JobEventTriggerConfigScale>
    A scale block as defined below.
    parallelism number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount number
    Minimum number of successful replica completions before overall job completion.
    scales JobEventTriggerConfigScale[]
    A scale block as defined below.
    parallelism int
    Number of parallel replicas of a job that can run at a given time.
    replica_completion_count int
    Minimum number of successful replica completions before overall job completion.
    scales Sequence[JobEventTriggerConfigScale]
    A scale block as defined below.
    parallelism Number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Number
    Minimum number of successful replica completions before overall job completion.
    scales List<Property Map>
    A scale block as defined below.

    JobEventTriggerConfigScale, JobEventTriggerConfigScaleArgs

    MaxExecutions int
    Maximum number of job executions that are created for a trigger.
    MinExecutions int
    Minimum number of job executions that are created for a trigger.
    PollingIntervalInSeconds int
    Interval to check each event source in seconds.
    Rules List<JobEventTriggerConfigScaleRule>
    A rules block as defined below.
    MaxExecutions int
    Maximum number of job executions that are created for a trigger.
    MinExecutions int
    Minimum number of job executions that are created for a trigger.
    PollingIntervalInSeconds int
    Interval to check each event source in seconds.
    Rules []JobEventTriggerConfigScaleRule
    A rules block as defined below.
    maxExecutions Integer
    Maximum number of job executions that are created for a trigger.
    minExecutions Integer
    Minimum number of job executions that are created for a trigger.
    pollingIntervalInSeconds Integer
    Interval to check each event source in seconds.
    rules List<JobEventTriggerConfigScaleRule>
    A rules block as defined below.
    maxExecutions number
    Maximum number of job executions that are created for a trigger.
    minExecutions number
    Minimum number of job executions that are created for a trigger.
    pollingIntervalInSeconds number
    Interval to check each event source in seconds.
    rules JobEventTriggerConfigScaleRule[]
    A rules block as defined below.
    max_executions int
    Maximum number of job executions that are created for a trigger.
    min_executions int
    Minimum number of job executions that are created for a trigger.
    polling_interval_in_seconds int
    Interval to check each event source in seconds.
    rules Sequence[JobEventTriggerConfigScaleRule]
    A rules block as defined below.
    maxExecutions Number
    Maximum number of job executions that are created for a trigger.
    minExecutions Number
    Minimum number of job executions that are created for a trigger.
    pollingIntervalInSeconds Number
    Interval to check each event source in seconds.
    rules List<Property Map>
    A rules block as defined below.

    JobEventTriggerConfigScaleRule, JobEventTriggerConfigScaleRuleArgs

    CustomRuleType string
    Type of the scale rule.
    Metadata Dictionary<string, string>
    Metadata properties to describe the scale rule.
    Name string
    Name of the scale rule.
    Authentications List<JobEventTriggerConfigScaleRuleAuthentication>
    A authentication block as defined below.
    CustomRuleType string
    Type of the scale rule.
    Metadata map[string]string
    Metadata properties to describe the scale rule.
    Name string
    Name of the scale rule.
    Authentications []JobEventTriggerConfigScaleRuleAuthentication
    A authentication block as defined below.
    customRuleType String
    Type of the scale rule.
    metadata Map<String,String>
    Metadata properties to describe the scale rule.
    name String
    Name of the scale rule.
    authentications List<JobEventTriggerConfigScaleRuleAuthentication>
    A authentication block as defined below.
    customRuleType string
    Type of the scale rule.
    metadata {[key: string]: string}
    Metadata properties to describe the scale rule.
    name string
    Name of the scale rule.
    authentications JobEventTriggerConfigScaleRuleAuthentication[]
    A authentication block as defined below.
    custom_rule_type str
    Type of the scale rule.
    metadata Mapping[str, str]
    Metadata properties to describe the scale rule.
    name str
    Name of the scale rule.
    authentications Sequence[JobEventTriggerConfigScaleRuleAuthentication]
    A authentication block as defined below.
    customRuleType String
    Type of the scale rule.
    metadata Map<String>
    Metadata properties to describe the scale rule.
    name String
    Name of the scale rule.
    authentications List<Property Map>
    A authentication block as defined below.

    JobEventTriggerConfigScaleRuleAuthentication, JobEventTriggerConfigScaleRuleAuthenticationArgs

    SecretName string
    Name of the secret from which to pull the auth params.
    TriggerParameter string
    Trigger Parameter that uses the secret.
    SecretName string
    Name of the secret from which to pull the auth params.
    TriggerParameter string
    Trigger Parameter that uses the secret.
    secretName String
    Name of the secret from which to pull the auth params.
    triggerParameter String
    Trigger Parameter that uses the secret.
    secretName string
    Name of the secret from which to pull the auth params.
    triggerParameter string
    Trigger Parameter that uses the secret.
    secret_name str
    Name of the secret from which to pull the auth params.
    trigger_parameter str
    Trigger Parameter that uses the secret.
    secretName String
    Name of the secret from which to pull the auth params.
    triggerParameter String
    Trigger Parameter that uses the secret.

    JobIdentity, JobIdentityArgs

    Type string
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    IdentityIds List<string>
    A list of Managed Identity IDs to assign to the Container App Job.
    PrincipalId string
    TenantId string
    Type string
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    IdentityIds []string
    A list of Managed Identity IDs to assign to the Container App Job.
    PrincipalId string
    TenantId string
    type String
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    identityIds List<String>
    A list of Managed Identity IDs to assign to the Container App Job.
    principalId String
    tenantId String
    type string
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    identityIds string[]
    A list of Managed Identity IDs to assign to the Container App Job.
    principalId string
    tenantId string
    type str
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    identity_ids Sequence[str]
    A list of Managed Identity IDs to assign to the Container App Job.
    principal_id str
    tenant_id str
    type String
    The type of identity used for the Container App Job. Possible values are SystemAssigned, UserAssigned and None. Defaults to None.
    identityIds List<String>
    A list of Managed Identity IDs to assign to the Container App Job.
    principalId String
    tenantId String

    JobManualTriggerConfig, JobManualTriggerConfigArgs

    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    parallelism Integer
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Integer
    Minimum number of successful replica completions before overall job completion.
    parallelism number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount number
    Minimum number of successful replica completions before overall job completion.
    parallelism int
    Number of parallel replicas of a job that can run at a given time.
    replica_completion_count int
    Minimum number of successful replica completions before overall job completion.
    parallelism Number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Number
    Minimum number of successful replica completions before overall job completion.

    JobRegistry, JobRegistryArgs

    Server string
    The URL of the Azure Container Registry server.
    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry.
    PasswordSecretName string
    The name of the Secret that contains the registry login password.
    Username string
    The username to use to authenticate with Azure Container Registry.
    Server string
    The URL of the Azure Container Registry server.
    Identity string
    A Managed Identity to use to authenticate with Azure Container Registry.
    PasswordSecretName string
    The name of the Secret that contains the registry login password.
    Username string
    The username to use to authenticate with Azure Container Registry.
    server String
    The URL of the Azure Container Registry server.
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry.
    passwordSecretName String
    The name of the Secret that contains the registry login password.
    username String
    The username to use to authenticate with Azure Container Registry.
    server string
    The URL of the Azure Container Registry server.
    identity string
    A Managed Identity to use to authenticate with Azure Container Registry.
    passwordSecretName string
    The name of the Secret that contains the registry login password.
    username string
    The username to use to authenticate with Azure Container Registry.
    server str
    The URL of the Azure Container Registry server.
    identity str
    A Managed Identity to use to authenticate with Azure Container Registry.
    password_secret_name str
    The name of the Secret that contains the registry login password.
    username str
    The username to use to authenticate with Azure Container Registry.
    server String
    The URL of the Azure Container Registry server.
    identity String
    A Managed Identity to use to authenticate with Azure Container Registry.
    passwordSecretName String
    The name of the Secret that contains the registry login password.
    username String
    The username to use to authenticate with Azure Container Registry.

    JobScheduleTriggerConfig, JobScheduleTriggerConfigArgs

    CronExpression string
    Cron formatted repeating schedule of a Cron Job.
    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    CronExpression string
    Cron formatted repeating schedule of a Cron Job.
    Parallelism int
    Number of parallel replicas of a job that can run at a given time.
    ReplicaCompletionCount int
    Minimum number of successful replica completions before overall job completion.
    cronExpression String
    Cron formatted repeating schedule of a Cron Job.
    parallelism Integer
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Integer
    Minimum number of successful replica completions before overall job completion.
    cronExpression string
    Cron formatted repeating schedule of a Cron Job.
    parallelism number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount number
    Minimum number of successful replica completions before overall job completion.
    cron_expression str
    Cron formatted repeating schedule of a Cron Job.
    parallelism int
    Number of parallel replicas of a job that can run at a given time.
    replica_completion_count int
    Minimum number of successful replica completions before overall job completion.
    cronExpression String
    Cron formatted repeating schedule of a Cron Job.
    parallelism Number
    Number of parallel replicas of a job that can run at a given time.
    replicaCompletionCount Number
    Minimum number of successful replica completions before overall job completion.

    JobSecret, JobSecretArgs

    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    Identity string
    A identity block as defined below.
    KeyVaultSecretId string
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    Value string
    The value for this secret.
    Name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    Identity string
    A identity block as defined below.
    KeyVaultSecretId string
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    Value string
    The value for this secret.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    identity String
    A identity block as defined below.
    keyVaultSecretId String
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    value String
    The value for this secret.
    name string
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    identity string
    A identity block as defined below.
    keyVaultSecretId string
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    value string
    The value for this secret.
    name str
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    identity str
    A identity block as defined below.
    key_vault_secret_id str
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    value str
    The value for this secret.
    name String
    Specifies the name of the Container App Job resource. Changing this forces a new resource to be created.
    identity String
    A identity block as defined below.
    keyVaultSecretId String
    The Key Vault Secret ID. Could be either one of id or versionless_id.
    value String
    The value for this secret.

    JobTemplate, JobTemplateArgs

    Containers List<JobTemplateContainer>
    A container block as defined below.
    InitContainers List<JobTemplateInitContainer>
    A init_container block as defined below.
    Volumes List<JobTemplateVolume>
    A volume block as defined below.
    Containers []JobTemplateContainer
    A container block as defined below.
    InitContainers []JobTemplateInitContainer
    A init_container block as defined below.
    Volumes []JobTemplateVolume
    A volume block as defined below.
    containers List<JobTemplateContainer>
    A container block as defined below.
    initContainers List<JobTemplateInitContainer>
    A init_container block as defined below.
    volumes List<JobTemplateVolume>
    A volume block as defined below.
    containers JobTemplateContainer[]
    A container block as defined below.
    initContainers JobTemplateInitContainer[]
    A init_container block as defined below.
    volumes JobTemplateVolume[]
    A volume block as defined below.
    containers Sequence[JobTemplateContainer]
    A container block as defined below.
    init_containers Sequence[JobTemplateInitContainer]
    A init_container block as defined below.
    volumes Sequence[JobTemplateVolume]
    A volume block as defined below.
    containers List<Property Map>
    A container block as defined below.
    initContainers List<Property Map>
    A init_container block as defined below.
    volumes List<Property Map>
    A volume block as defined below.

    JobTemplateContainer, JobTemplateContainerArgs

    Cpu double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Image string
    The image to use to create the container.
    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    Name string
    The name of the container.
    Args List<string>
    A list of extra arguments to pass to the container.
    Commands List<string>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    Envs List<JobTemplateContainerEnv>
    One or more env blocks as detailed below.
    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    LivenessProbes List<JobTemplateContainerLivenessProbe>
    A liveness_probe block as detailed below.
    ReadinessProbes List<JobTemplateContainerReadinessProbe>
    A readiness_probe block as detailed below.
    StartupProbes List<JobTemplateContainerStartupProbe>
    A startup_probe block as detailed below.
    VolumeMounts List<JobTemplateContainerVolumeMount>
    A volume_mounts block as detailed below.
    Cpu float64

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Image string
    The image to use to create the container.
    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    Name string
    The name of the container.
    Args []string
    A list of extra arguments to pass to the container.
    Commands []string
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    Envs []JobTemplateContainerEnv
    One or more env blocks as detailed below.
    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    LivenessProbes []JobTemplateContainerLivenessProbe
    A liveness_probe block as detailed below.
    ReadinessProbes []JobTemplateContainerReadinessProbe
    A readiness_probe block as detailed below.
    StartupProbes []JobTemplateContainerStartupProbe
    A startup_probe block as detailed below.
    VolumeMounts []JobTemplateContainerVolumeMount
    A volume_mounts block as detailed below.
    cpu Double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image String
    The image to use to create the container.
    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name String
    The name of the container.
    args List<String>
    A list of extra arguments to pass to the container.
    commands List<String>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    envs List<JobTemplateContainerEnv>
    One or more env blocks as detailed below.
    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes List<JobTemplateContainerLivenessProbe>
    A liveness_probe block as detailed below.
    readinessProbes List<JobTemplateContainerReadinessProbe>
    A readiness_probe block as detailed below.
    startupProbes List<JobTemplateContainerStartupProbe>
    A startup_probe block as detailed below.
    volumeMounts List<JobTemplateContainerVolumeMount>
    A volume_mounts block as detailed below.
    cpu number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image string
    The image to use to create the container.
    memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name string
    The name of the container.
    args string[]
    A list of extra arguments to pass to the container.
    commands string[]
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    envs JobTemplateContainerEnv[]
    One or more env blocks as detailed below.
    ephemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes JobTemplateContainerLivenessProbe[]
    A liveness_probe block as detailed below.
    readinessProbes JobTemplateContainerReadinessProbe[]
    A readiness_probe block as detailed below.
    startupProbes JobTemplateContainerStartupProbe[]
    A startup_probe block as detailed below.
    volumeMounts JobTemplateContainerVolumeMount[]
    A volume_mounts block as detailed below.
    cpu float

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image str
    The image to use to create the container.
    memory str

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name str
    The name of the container.
    args Sequence[str]
    A list of extra arguments to pass to the container.
    commands Sequence[str]
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    envs Sequence[JobTemplateContainerEnv]
    One or more env blocks as detailed below.
    ephemeral_storage str

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    liveness_probes Sequence[JobTemplateContainerLivenessProbe]
    A liveness_probe block as detailed below.
    readiness_probes Sequence[JobTemplateContainerReadinessProbe]
    A readiness_probe block as detailed below.
    startup_probes Sequence[JobTemplateContainerStartupProbe]
    A startup_probe block as detailed below.
    volume_mounts Sequence[JobTemplateContainerVolumeMount]
    A volume_mounts block as detailed below.
    cpu Number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    image String
    The image to use to create the container.
    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    name String
    The name of the container.
    args List<String>
    A list of extra arguments to pass to the container.
    commands List<String>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    envs List<Property Map>
    One or more env blocks as detailed below.
    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    livenessProbes List<Property Map>
    A liveness_probe block as detailed below.
    readinessProbes List<Property Map>
    A readiness_probe block as detailed below.
    startupProbes List<Property Map>
    A startup_probe block as detailed below.
    volumeMounts List<Property Map>
    A volume_mounts block as detailed below.

    JobTemplateContainerEnv, JobTemplateContainerEnvArgs

    Name string
    The name of the environment variable.
    SecretName string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    The value of the environment variable.
    Name string
    The name of the environment variable.
    SecretName string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    The value of the environment variable.
    name String
    The name of the environment variable.
    secretName String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    The value of the environment variable.
    name string
    The name of the environment variable.
    secretName string
    Name of the Container App secret from which to pull the environment variable value.
    value string
    The value of the environment variable.
    name str
    The name of the environment variable.
    secret_name str
    Name of the Container App secret from which to pull the environment variable value.
    value str
    The value of the environment variable.
    name String
    The name of the environment variable.
    secretName String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    The value of the environment variable.

    JobTemplateContainerLivenessProbe, JobTemplateContainerLivenessProbeArgs

    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers List<JobTemplateContainerLivenessProbeHeader>
    A header block as detailed below.
    Host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    InitialDelay int
    The time in seconds to wait after the container has started before the probe is started.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    Path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    TerminationGracePeriodSeconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers []JobTemplateContainerLivenessProbeHeader
    A header block as detailed below.
    Host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    InitialDelay int
    The time in seconds to wait after the container has started before the probe is started.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    Path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    TerminationGracePeriodSeconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Integer
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Integer
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<JobTemplateContainerLivenessProbeHeader>
    A header block as detailed below.
    host String
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    initialDelay Integer
    The time in seconds to wait after the container has started before the probe is started.
    intervalSeconds Integer
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    path String
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds Integer
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout Integer
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers JobTemplateContainerLivenessProbeHeader[]
    A header block as detailed below.
    host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    initialDelay number
    The time in seconds to wait after the container has started before the probe is started.
    intervalSeconds number
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds number
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port int
    The port number on which to connect. Possible values are between 1 and 65535.
    transport str
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failure_count_threshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers Sequence[JobTemplateContainerLivenessProbeHeader]
    A header block as detailed below.
    host str
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    initial_delay int
    The time in seconds to wait after the container has started before the probe is started.
    interval_seconds int
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    path str
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    termination_grace_period_seconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<Property Map>
    A header block as detailed below.
    host String
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    initialDelay Number
    The time in seconds to wait after the container has started before the probe is started.
    intervalSeconds Number
    How often, in seconds, the probe should run. Possible values are in the range 1 - 240. Defaults to 10.
    path String
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds Number
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout Number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    JobTemplateContainerLivenessProbeHeader, JobTemplateContainerLivenessProbeHeaderArgs

    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.
    name string
    The HTTP Header Name.
    value string
    The HTTP Header value.
    name str
    The HTTP Header Name.
    value str
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.

    JobTemplateContainerReadinessProbe, JobTemplateContainerReadinessProbeArgs

    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers List<JobTemplateContainerReadinessProbeHeader>
    A header block as detailed below.
    Host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    Path string
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    SuccessCountThreshold int
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers []JobTemplateContainerReadinessProbeHeader
    A header block as detailed below.
    Host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    Path string
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    SuccessCountThreshold int
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Integer
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Integer
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<JobTemplateContainerReadinessProbeHeader>
    A header block as detailed below.
    host String
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds Integer
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path String
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    successCountThreshold Integer
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    timeout Integer
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers JobTemplateContainerReadinessProbeHeader[]
    A header block as detailed below.
    host string
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds number
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path string
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    successCountThreshold number
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    timeout number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port int
    The port number on which to connect. Possible values are between 1 and 65535.
    transport str
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failure_count_threshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers Sequence[JobTemplateContainerReadinessProbeHeader]
    A header block as detailed below.
    host str
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    interval_seconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path str
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    success_count_threshold int
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<Property Map>
    A header block as detailed below.
    host String
    The probe hostname. Defaults to the pod IP address. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds Number
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path String
    The URI to use for http type probes. Not valid for TCP type probes. Defaults to /.
    successCountThreshold Number
    The number of consecutive successful responses required to consider this probe as successful. Possible values are between 1 and 10. Defaults to 3.
    timeout Number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    JobTemplateContainerReadinessProbeHeader, JobTemplateContainerReadinessProbeHeaderArgs

    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.
    name string
    The HTTP Header Name.
    value string
    The HTTP Header value.
    name str
    The HTTP Header Name.
    value str
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.

    JobTemplateContainerStartupProbe, JobTemplateContainerStartupProbeArgs

    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers List<JobTemplateContainerStartupProbeHeader>
    A header block as detailed below.
    Host string
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    Path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    TerminationGracePeriodSeconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    Port int
    The port number on which to connect. Possible values are between 1 and 65535.
    Transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    FailureCountThreshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    Headers []JobTemplateContainerStartupProbeHeader
    A header block as detailed below.
    Host string
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    IntervalSeconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    Path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    TerminationGracePeriodSeconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    Timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Integer
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Integer
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<JobTemplateContainerStartupProbeHeader>
    A header block as detailed below.
    host String
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds Integer
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path String
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds Integer
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout Integer
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport string
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers JobTemplateContainerStartupProbeHeader[]
    A header block as detailed below.
    host string
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds number
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path string
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds number
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port int
    The port number on which to connect. Possible values are between 1 and 65535.
    transport str
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failure_count_threshold int
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers Sequence[JobTemplateContainerStartupProbeHeader]
    A header block as detailed below.
    host str
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    interval_seconds int
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path str
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    termination_grace_period_seconds int
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout int
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.
    port Number
    The port number on which to connect. Possible values are between 1 and 65535.
    transport String
    Type of probe. Possible values are TCP, HTTP, and HTTPS.
    failureCountThreshold Number
    The number of consecutive failures required to consider this probe as failed. Possible values are between 1 and 10. Defaults to 3.
    headers List<Property Map>
    A header block as detailed below.
    host String
    The value for the host header which should be sent with this probe. If unspecified, the IP Address of the Pod is used as the host header. Setting a value for Host in headers can be used to override this for HTTP and HTTPS type probes.
    intervalSeconds Number
    How often, in seconds, the probe should run. Possible values are between 1 and 240. Defaults to 10
    path String
    The URI to use with the host for http type probes. Not valid for TCP type probes. Defaults to /.
    terminationGracePeriodSeconds Number
    The time in seconds after the container is sent the termination signal before the process if forcibly killed.
    timeout Number
    Time in seconds after which the probe times out. Possible values are in the range 1 - 240. Defaults to 1.

    JobTemplateContainerStartupProbeHeader, JobTemplateContainerStartupProbeHeaderArgs

    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    Name string
    The HTTP Header Name.
    Value string
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.
    name string
    The HTTP Header Name.
    value string
    The HTTP Header value.
    name str
    The HTTP Header Name.
    value str
    The HTTP Header value.
    name String
    The HTTP Header Name.
    value String
    The HTTP Header value.

    JobTemplateContainerVolumeMount, JobTemplateContainerVolumeMountArgs

    Name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    Path string
    The path within the container at which the volume should be mounted. Must not contain :.
    Name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    Path string
    The path within the container at which the volume should be mounted. Must not contain :.
    name String
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path String
    The path within the container at which the volume should be mounted. Must not contain :.
    name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path string
    The path within the container at which the volume should be mounted. Must not contain :.
    name str
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path str
    The path within the container at which the volume should be mounted. Must not contain :.
    name String
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path String
    The path within the container at which the volume should be mounted. Must not contain :.

    JobTemplateInitContainer, JobTemplateInitContainerArgs

    Image string
    The image to use to create the container.
    Name string
    The name of the container.
    Args List<string>
    A list of extra arguments to pass to the container.
    Commands List<string>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    Cpu double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Envs List<JobTemplateInitContainerEnv>
    One or more env blocks as detailed below.
    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    VolumeMounts List<JobTemplateInitContainerVolumeMount>
    A volume_mounts block as detailed below.
    Image string
    The image to use to create the container.
    Name string
    The name of the container.
    Args []string
    A list of extra arguments to pass to the container.
    Commands []string
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    Cpu float64

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    Envs []JobTemplateInitContainerEnv
    One or more env blocks as detailed below.
    EphemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    Memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    VolumeMounts []JobTemplateInitContainerVolumeMount
    A volume_mounts block as detailed below.
    image String
    The image to use to create the container.
    name String
    The name of the container.
    args List<String>
    A list of extra arguments to pass to the container.
    commands List<String>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    cpu Double

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    envs List<JobTemplateInitContainerEnv>
    One or more env blocks as detailed below.
    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    volumeMounts List<JobTemplateInitContainerVolumeMount>
    A volume_mounts block as detailed below.
    image string
    The image to use to create the container.
    name string
    The name of the container.
    args string[]
    A list of extra arguments to pass to the container.
    commands string[]
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    cpu number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    envs JobTemplateInitContainerEnv[]
    One or more env blocks as detailed below.
    ephemeralStorage string

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    memory string

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    volumeMounts JobTemplateInitContainerVolumeMount[]
    A volume_mounts block as detailed below.
    image str
    The image to use to create the container.
    name str
    The name of the container.
    args Sequence[str]
    A list of extra arguments to pass to the container.
    commands Sequence[str]
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    cpu float

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    envs Sequence[JobTemplateInitContainerEnv]
    One or more env blocks as detailed below.
    ephemeral_storage str

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    memory str

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    volume_mounts Sequence[JobTemplateInitContainerVolumeMount]
    A volume_mounts block as detailed below.
    image String
    The image to use to create the container.
    name String
    The name of the container.
    args List<String>
    A list of extra arguments to pass to the container.
    commands List<String>
    A command to pass to the container to override the default. This is provided as a list of command line elements without spaces.
    cpu Number

    The amount of vCPU to allocate to the container. Possible values include 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, and 2.0.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.0 / 2.0 or 0.5 / 1.0

    envs List<Property Map>
    One or more env blocks as detailed below.
    ephemeralStorage String

    The amount of ephemeral storage available to the Container App.

    NOTE: ephemeral_storage is currently in preview and not configurable at this time.

    memory String

    The amount of memory to allocate to the container. Possible values are 0.5Gi, 1Gi, 1.5Gi, 2Gi, 2.5Gi, 3Gi, 3.5Gi and 4Gi.

    NOTE: cpu and memory must be specified in 0.25'/'0.5Gi combination increments. e.g. 1.25 / 2.5Gi or 0.75 / 1.5Gi

    volumeMounts List<Property Map>
    A volume_mounts block as detailed below.

    JobTemplateInitContainerEnv, JobTemplateInitContainerEnvArgs

    Name string
    The name of the environment variable.
    SecretName string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    The value of the environment variable.
    Name string
    The name of the environment variable.
    SecretName string
    Name of the Container App secret from which to pull the environment variable value.
    Value string
    The value of the environment variable.
    name String
    The name of the environment variable.
    secretName String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    The value of the environment variable.
    name string
    The name of the environment variable.
    secretName string
    Name of the Container App secret from which to pull the environment variable value.
    value string
    The value of the environment variable.
    name str
    The name of the environment variable.
    secret_name str
    Name of the Container App secret from which to pull the environment variable value.
    value str
    The value of the environment variable.
    name String
    The name of the environment variable.
    secretName String
    Name of the Container App secret from which to pull the environment variable value.
    value String
    The value of the environment variable.

    JobTemplateInitContainerVolumeMount, JobTemplateInitContainerVolumeMountArgs

    Name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    Path string
    The path within the container at which the volume should be mounted. Must not contain :.
    Name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    Path string
    The path within the container at which the volume should be mounted. Must not contain :.
    name String
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path String
    The path within the container at which the volume should be mounted. Must not contain :.
    name string
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path string
    The path within the container at which the volume should be mounted. Must not contain :.
    name str
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path str
    The path within the container at which the volume should be mounted. Must not contain :.
    name String
    The name of the volume to mount. This must match the name of a volume defined in the volume block.
    path String
    The path within the container at which the volume should be mounted. Must not contain :.

    JobTemplateVolume, JobTemplateVolumeArgs

    Name string
    The name of the volume.
    StorageName string
    The name of the storage to use for the volume.
    StorageType string
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.
    Name string
    The name of the volume.
    StorageName string
    The name of the storage to use for the volume.
    StorageType string
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.
    name String
    The name of the volume.
    storageName String
    The name of the storage to use for the volume.
    storageType String
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.
    name string
    The name of the volume.
    storageName string
    The name of the storage to use for the volume.
    storageType string
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.
    name str
    The name of the volume.
    storage_name str
    The name of the storage to use for the volume.
    storage_type str
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.
    name String
    The name of the volume.
    storageName String
    The name of the storage to use for the volume.
    storageType String
    The type of storage to use for the volume. Possible values are AzureFile, EmptyDir and Secret.

    Import

    A Container App Job can be imported using the resource id, e.g.

    $ pulumi import azure:containerapp/job:Job example "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-resources/providers/Microsoft.App/jobs/example-container-app-job"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi