1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. Task
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.containerregistry.Task

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    The task that has the ARM resource and task properties. The task will have all information to schedule a run against it. Azure REST API version: 2019-06-01-preview. Prior API version in Azure Native 1.x: 2019-06-01-preview.

    Other available API versions: 2018-09-01, 2019-04-01.

    Example Usage

    Tasks_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.ContainerRegistry.Task("task", new()
        {
            AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
            {
                Cpu = 2,
            },
            Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
            {
                Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
            },
            IsSystemTask = false,
            Location = "eastus",
            LogTemplate = "acr/tasks:{{.Run.OS}}",
            Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
            {
                Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
                Os = AzureNative.ContainerRegistry.OS.Linux,
            },
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
            Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
            {
                Arguments = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = false,
                        Name = "mytestargument",
                        Value = "mytestvalue",
                    },
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = true,
                        Name = "mysecrettestargument",
                        Value = "mysecrettestvalue",
                    },
                },
                ContextPath = "src",
                DockerFilePath = "src/DockerFile",
                ImageNames = new[]
                {
                    "azurerest:testtag",
                },
                IsPushEnabled = true,
                NoCache = false,
                Type = "Docker",
            },
            Tags = 
            {
                { "testkey", "value" },
            },
            TaskName = "mytTask",
            Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
            {
                BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
                {
                    BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
                    Name = "myBaseImageTrigger",
                    UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
                    UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Token,
                },
                SourceTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
                    {
                        Name = "mySourceTrigger",
                        SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
                        {
                            Branch = "master",
                            RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
                            SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
                            {
                                Token = "xxxxx",
                                TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
                            },
                            SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
                        },
                        SourceTriggerEvents = new[]
                        {
                            AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
                        },
                    },
                },
                TimerTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
                    {
                        Name = "myTimerTrigger",
                        Schedule = "30 9 * * 1-5",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
    			AgentConfiguration: &containerregistry.AgentPropertiesArgs{
    				Cpu: pulumi.Int(2),
    			},
    			Identity: &containerregistry.IdentityPropertiesArgs{
    				Type: containerregistry.ResourceIdentityTypeSystemAssigned,
    			},
    			IsSystemTask: pulumi.Bool(false),
    			Location:     pulumi.String("eastus"),
    			LogTemplate:  pulumi.String("acr/tasks:{{.Run.OS}}"),
    			Platform: &containerregistry.PlatformPropertiesArgs{
    				Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
    				Os:           pulumi.String(containerregistry.OSLinux),
    			},
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Status:            pulumi.String(containerregistry.TaskStatusEnabled),
    			Step: containerregistry.DockerBuildStep{
    				Arguments: []containerregistry.Argument{
    					{
    						IsSecret: false,
    						Name:     "mytestargument",
    						Value:    "mytestvalue",
    					},
    					{
    						IsSecret: true,
    						Name:     "mysecrettestargument",
    						Value:    "mysecrettestvalue",
    					},
    				},
    				ContextPath:    "src",
    				DockerFilePath: "src/DockerFile",
    				ImageNames: []string{
    					"azurerest:testtag",
    				},
    				IsPushEnabled: true,
    				NoCache:       false,
    				Type:          "Docker",
    			},
    			Tags: pulumi.StringMap{
    				"testkey": pulumi.String("value"),
    			},
    			TaskName: pulumi.String("mytTask"),
    			Trigger: &containerregistry.TriggerPropertiesArgs{
    				BaseImageTrigger: &containerregistry.BaseImageTriggerArgs{
    					BaseImageTriggerType:     pulumi.String(containerregistry.BaseImageTriggerTypeRuntime),
    					Name:                     pulumi.String("myBaseImageTrigger"),
    					UpdateTriggerEndpoint:    pulumi.String("https://user:pass@mycicd.webhook.com?token=foo"),
    					UpdateTriggerPayloadType: pulumi.String(containerregistry.UpdateTriggerPayloadTypeToken),
    				},
    				SourceTriggers: containerregistry.SourceTriggerArray{
    					&containerregistry.SourceTriggerArgs{
    						Name: pulumi.String("mySourceTrigger"),
    						SourceRepository: &containerregistry.SourcePropertiesArgs{
    							Branch:        pulumi.String("master"),
    							RepositoryUrl: pulumi.String("https://github.com/Azure/azure-rest-api-specs"),
    							SourceControlAuthProperties: &containerregistry.AuthInfoArgs{
    								Token:     pulumi.String("xxxxx"),
    								TokenType: pulumi.String(containerregistry.TokenTypePAT),
    							},
    							SourceControlType: pulumi.String(containerregistry.SourceControlTypeGithub),
    						},
    						SourceTriggerEvents: pulumi.StringArray{
    							pulumi.String(containerregistry.SourceTriggerEventCommit),
    						},
    					},
    				},
    				TimerTriggers: containerregistry.TimerTriggerArray{
    					&containerregistry.TimerTriggerArgs{
    						Name:     pulumi.String("myTimerTrigger"),
    						Schedule: pulumi.String("30 9 * * 1-5"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Task;
    import com.pulumi.azurenative.containerregistry.TaskArgs;
    import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
    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 task = new Task("task", TaskArgs.builder()        
                .agentConfiguration(AgentPropertiesArgs.builder()
                    .cpu(2)
                    .build())
                .identity(IdentityPropertiesArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .isSystemTask(false)
                .location("eastus")
                .logTemplate("acr/tasks:{{.Run.OS}}")
                .platform(PlatformPropertiesArgs.builder()
                    .architecture("amd64")
                    .os("Linux")
                    .build())
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .status("Enabled")
                .step(DockerBuildStepArgs.builder()
                    .arguments(                
                        ArgumentArgs.builder()
                            .isSecret(false)
                            .name("mytestargument")
                            .value("mytestvalue")
                            .build(),
                        ArgumentArgs.builder()
                            .isSecret(true)
                            .name("mysecrettestargument")
                            .value("mysecrettestvalue")
                            .build())
                    .contextPath("src")
                    .dockerFilePath("src/DockerFile")
                    .imageNames("azurerest:testtag")
                    .isPushEnabled(true)
                    .noCache(false)
                    .type("Docker")
                    .build())
                .tags(Map.of("testkey", "value"))
                .taskName("mytTask")
                .trigger(TriggerPropertiesArgs.builder()
                    .baseImageTrigger(BaseImageTriggerArgs.builder()
                        .baseImageTriggerType("Runtime")
                        .name("myBaseImageTrigger")
                        .updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
                        .updateTriggerPayloadType("Token")
                        .build())
                    .sourceTriggers(SourceTriggerArgs.builder()
                        .name("mySourceTrigger")
                        .sourceRepository(SourcePropertiesArgs.builder()
                            .branch("master")
                            .repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
                            .sourceControlAuthProperties(AuthInfoArgs.builder()
                                .token("xxxxx")
                                .tokenType("PAT")
                                .build())
                            .sourceControlType("Github")
                            .build())
                        .sourceTriggerEvents("commit")
                        .build())
                    .timerTriggers(TimerTriggerArgs.builder()
                        .name("myTimerTrigger")
                        .schedule("30 9 * * 1-5")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.containerregistry.Task("task",
        agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
            cpu=2,
        ),
        identity=azure_native.containerregistry.IdentityPropertiesArgs(
            type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
        ),
        is_system_task=False,
        location="eastus",
        log_template="acr/tasks:{{.Run.OS}}",
        platform=azure_native.containerregistry.PlatformPropertiesArgs(
            architecture=azure_native.containerregistry.Architecture.AMD64,
            os=azure_native.containerregistry.OS.LINUX,
        ),
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        status=azure_native.containerregistry.TaskStatus.ENABLED,
        step=azure_native.containerregistry.DockerBuildStepArgs(
            arguments=[
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=False,
                    name="mytestargument",
                    value="mytestvalue",
                ),
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=True,
                    name="mysecrettestargument",
                    value="mysecrettestvalue",
                ),
            ],
            context_path="src",
            docker_file_path="src/DockerFile",
            image_names=["azurerest:testtag"],
            is_push_enabled=True,
            no_cache=False,
            type="Docker",
        ),
        tags={
            "testkey": "value",
        },
        task_name="mytTask",
        trigger=azure_native.containerregistry.TriggerPropertiesArgs(
            base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
                base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
                name="myBaseImageTrigger",
                update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
                update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.TOKEN,
            ),
            source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
                name="mySourceTrigger",
                source_repository=azure_native.containerregistry.SourcePropertiesArgs(
                    branch="master",
                    repository_url="https://github.com/Azure/azure-rest-api-specs",
                    source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
                        token="xxxxx",
                        token_type=azure_native.containerregistry.TokenType.PAT,
                    ),
                    source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
                ),
                source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
            )],
            timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
                name="myTimerTrigger",
                schedule="30 9 * * 1-5",
            )],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.containerregistry.Task("task", {
        agentConfiguration: {
            cpu: 2,
        },
        identity: {
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
        },
        isSystemTask: false,
        location: "eastus",
        logTemplate: "acr/tasks:{{.Run.OS}}",
        platform: {
            architecture: azure_native.containerregistry.Architecture.Amd64,
            os: azure_native.containerregistry.OS.Linux,
        },
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        status: azure_native.containerregistry.TaskStatus.Enabled,
        step: {
            arguments: [
                {
                    isSecret: false,
                    name: "mytestargument",
                    value: "mytestvalue",
                },
                {
                    isSecret: true,
                    name: "mysecrettestargument",
                    value: "mysecrettestvalue",
                },
            ],
            contextPath: "src",
            dockerFilePath: "src/DockerFile",
            imageNames: ["azurerest:testtag"],
            isPushEnabled: true,
            noCache: false,
            type: "Docker",
        },
        tags: {
            testkey: "value",
        },
        taskName: "mytTask",
        trigger: {
            baseImageTrigger: {
                baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
                name: "myBaseImageTrigger",
                updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
                updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Token,
            },
            sourceTriggers: [{
                name: "mySourceTrigger",
                sourceRepository: {
                    branch: "master",
                    repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
                    sourceControlAuthProperties: {
                        token: "xxxxx",
                        tokenType: azure_native.containerregistry.TokenType.PAT,
                    },
                    sourceControlType: azure_native.containerregistry.SourceControlType.Github,
                },
                sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
            }],
            timerTriggers: [{
                name: "myTimerTrigger",
                schedule: "30 9 * * 1-5",
            }],
        },
    });
    
    resources:
      task:
        type: azure-native:containerregistry:Task
        properties:
          agentConfiguration:
            cpu: 2
          identity:
            type: SystemAssigned
          isSystemTask: false
          location: eastus
          logTemplate: acr/tasks:{{.Run.OS}}
          platform:
            architecture: amd64
            os: Linux
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          status: Enabled
          step:
            arguments:
              - isSecret: false
                name: mytestargument
                value: mytestvalue
              - isSecret: true
                name: mysecrettestargument
                value: mysecrettestvalue
            contextPath: src
            dockerFilePath: src/DockerFile
            imageNames:
              - azurerest:testtag
            isPushEnabled: true
            noCache: false
            type: Docker
          tags:
            testkey: value
          taskName: mytTask
          trigger:
            baseImageTrigger:
              baseImageTriggerType: Runtime
              name: myBaseImageTrigger
              updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
              updateTriggerPayloadType: Token
            sourceTriggers:
              - name: mySourceTrigger
                sourceRepository:
                  branch: master
                  repositoryUrl: https://github.com/Azure/azure-rest-api-specs
                  sourceControlAuthProperties:
                    token: xxxxx
                    tokenType: PAT
                  sourceControlType: Github
                sourceTriggerEvents:
                  - commit
            timerTriggers:
              - name: myTimerTrigger
                schedule: 30 9 * * 1-5
    

    Tasks_Create_QuickTask

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.ContainerRegistry.Task("task", new()
        {
            IsSystemTask = true,
            Location = "eastus",
            LogTemplate = "acr/tasks:{{.Run.OS}}",
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
            Tags = 
            {
                { "testkey", "value" },
            },
            TaskName = "quicktask",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
    			IsSystemTask:      pulumi.Bool(true),
    			Location:          pulumi.String("eastus"),
    			LogTemplate:       pulumi.String("acr/tasks:{{.Run.OS}}"),
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Status:            pulumi.String(containerregistry.TaskStatusEnabled),
    			Tags: pulumi.StringMap{
    				"testkey": pulumi.String("value"),
    			},
    			TaskName: pulumi.String("quicktask"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Task;
    import com.pulumi.azurenative.containerregistry.TaskArgs;
    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 task = new Task("task", TaskArgs.builder()        
                .isSystemTask(true)
                .location("eastus")
                .logTemplate("acr/tasks:{{.Run.OS}}")
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .status("Enabled")
                .tags(Map.of("testkey", "value"))
                .taskName("quicktask")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.containerregistry.Task("task",
        is_system_task=True,
        location="eastus",
        log_template="acr/tasks:{{.Run.OS}}",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        status=azure_native.containerregistry.TaskStatus.ENABLED,
        tags={
            "testkey": "value",
        },
        task_name="quicktask")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.containerregistry.Task("task", {
        isSystemTask: true,
        location: "eastus",
        logTemplate: "acr/tasks:{{.Run.OS}}",
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        status: azure_native.containerregistry.TaskStatus.Enabled,
        tags: {
            testkey: "value",
        },
        taskName: "quicktask",
    });
    
    resources:
      task:
        type: azure-native:containerregistry:Task
        properties:
          isSystemTask: true
          location: eastus
          logTemplate: acr/tasks:{{.Run.OS}}
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          status: Enabled
          tags:
            testkey: value
          taskName: quicktask
    

    Tasks_Create_WithSystemAndUserIdentities

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.ContainerRegistry.Task("task", new()
        {
            AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
            {
                Cpu = 2,
            },
            Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
            {
                Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned_UserAssigned,
                UserAssignedIdentities = 
                {
                    { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", null },
                },
            },
            IsSystemTask = false,
            Location = "eastus",
            Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
            {
                Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
                Os = AzureNative.ContainerRegistry.OS.Linux,
            },
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
            Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
            {
                Arguments = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = false,
                        Name = "mytestargument",
                        Value = "mytestvalue",
                    },
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = true,
                        Name = "mysecrettestargument",
                        Value = "mysecrettestvalue",
                    },
                },
                ContextPath = "src",
                DockerFilePath = "src/DockerFile",
                ImageNames = new[]
                {
                    "azurerest:testtag",
                },
                IsPushEnabled = true,
                NoCache = false,
                Type = "Docker",
            },
            Tags = 
            {
                { "testkey", "value" },
            },
            TaskName = "mytTask",
            Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
            {
                BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
                {
                    BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
                    Name = "myBaseImageTrigger",
                    UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
                    UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Default,
                },
                SourceTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
                    {
                        Name = "mySourceTrigger",
                        SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
                        {
                            Branch = "master",
                            RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
                            SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
                            {
                                Token = "xxxxx",
                                TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
                            },
                            SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
                        },
                        SourceTriggerEvents = new[]
                        {
                            AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
                        },
                    },
                },
                TimerTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
                    {
                        Name = "myTimerTrigger",
                        Schedule = "30 9 * * 1-5",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
    			AgentConfiguration: &containerregistry.AgentPropertiesArgs{
    				Cpu: pulumi.Int(2),
    			},
    			Identity: &containerregistry.IdentityPropertiesArgs{
    				Type: containerregistry.ResourceIdentityType_SystemAssigned_UserAssigned,
    				UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
    					"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": nil,
    				},
    			},
    			IsSystemTask: pulumi.Bool(false),
    			Location:     pulumi.String("eastus"),
    			Platform: &containerregistry.PlatformPropertiesArgs{
    				Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
    				Os:           pulumi.String(containerregistry.OSLinux),
    			},
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Status:            pulumi.String(containerregistry.TaskStatusEnabled),
    			Step: containerregistry.DockerBuildStep{
    				Arguments: []containerregistry.Argument{
    					{
    						IsSecret: false,
    						Name:     "mytestargument",
    						Value:    "mytestvalue",
    					},
    					{
    						IsSecret: true,
    						Name:     "mysecrettestargument",
    						Value:    "mysecrettestvalue",
    					},
    				},
    				ContextPath:    "src",
    				DockerFilePath: "src/DockerFile",
    				ImageNames: []string{
    					"azurerest:testtag",
    				},
    				IsPushEnabled: true,
    				NoCache:       false,
    				Type:          "Docker",
    			},
    			Tags: pulumi.StringMap{
    				"testkey": pulumi.String("value"),
    			},
    			TaskName: pulumi.String("mytTask"),
    			Trigger: &containerregistry.TriggerPropertiesArgs{
    				BaseImageTrigger: &containerregistry.BaseImageTriggerArgs{
    					BaseImageTriggerType:     pulumi.String(containerregistry.BaseImageTriggerTypeRuntime),
    					Name:                     pulumi.String("myBaseImageTrigger"),
    					UpdateTriggerEndpoint:    pulumi.String("https://user:pass@mycicd.webhook.com?token=foo"),
    					UpdateTriggerPayloadType: pulumi.String(containerregistry.UpdateTriggerPayloadTypeDefault),
    				},
    				SourceTriggers: containerregistry.SourceTriggerArray{
    					&containerregistry.SourceTriggerArgs{
    						Name: pulumi.String("mySourceTrigger"),
    						SourceRepository: &containerregistry.SourcePropertiesArgs{
    							Branch:        pulumi.String("master"),
    							RepositoryUrl: pulumi.String("https://github.com/Azure/azure-rest-api-specs"),
    							SourceControlAuthProperties: &containerregistry.AuthInfoArgs{
    								Token:     pulumi.String("xxxxx"),
    								TokenType: pulumi.String(containerregistry.TokenTypePAT),
    							},
    							SourceControlType: pulumi.String(containerregistry.SourceControlTypeGithub),
    						},
    						SourceTriggerEvents: pulumi.StringArray{
    							pulumi.String(containerregistry.SourceTriggerEventCommit),
    						},
    					},
    				},
    				TimerTriggers: containerregistry.TimerTriggerArray{
    					&containerregistry.TimerTriggerArgs{
    						Name:     pulumi.String("myTimerTrigger"),
    						Schedule: pulumi.String("30 9 * * 1-5"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Task;
    import com.pulumi.azurenative.containerregistry.TaskArgs;
    import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
    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 task = new Task("task", TaskArgs.builder()        
                .agentConfiguration(AgentPropertiesArgs.builder()
                    .cpu(2)
                    .build())
                .identity(IdentityPropertiesArgs.builder()
                    .type("SystemAssigned, UserAssigned")
                    .userAssignedIdentities(Map.of("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", ))
                    .build())
                .isSystemTask(false)
                .location("eastus")
                .platform(PlatformPropertiesArgs.builder()
                    .architecture("amd64")
                    .os("Linux")
                    .build())
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .status("Enabled")
                .step(DockerBuildStepArgs.builder()
                    .arguments(                
                        ArgumentArgs.builder()
                            .isSecret(false)
                            .name("mytestargument")
                            .value("mytestvalue")
                            .build(),
                        ArgumentArgs.builder()
                            .isSecret(true)
                            .name("mysecrettestargument")
                            .value("mysecrettestvalue")
                            .build())
                    .contextPath("src")
                    .dockerFilePath("src/DockerFile")
                    .imageNames("azurerest:testtag")
                    .isPushEnabled(true)
                    .noCache(false)
                    .type("Docker")
                    .build())
                .tags(Map.of("testkey", "value"))
                .taskName("mytTask")
                .trigger(TriggerPropertiesArgs.builder()
                    .baseImageTrigger(BaseImageTriggerArgs.builder()
                        .baseImageTriggerType("Runtime")
                        .name("myBaseImageTrigger")
                        .updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
                        .updateTriggerPayloadType("Default")
                        .build())
                    .sourceTriggers(SourceTriggerArgs.builder()
                        .name("mySourceTrigger")
                        .sourceRepository(SourcePropertiesArgs.builder()
                            .branch("master")
                            .repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
                            .sourceControlAuthProperties(AuthInfoArgs.builder()
                                .token("xxxxx")
                                .tokenType("PAT")
                                .build())
                            .sourceControlType("Github")
                            .build())
                        .sourceTriggerEvents("commit")
                        .build())
                    .timerTriggers(TimerTriggerArgs.builder()
                        .name("myTimerTrigger")
                        .schedule("30 9 * * 1-5")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.containerregistry.Task("task",
        agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
            cpu=2,
        ),
        identity=azure_native.containerregistry.IdentityPropertiesArgs(
            type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
            user_assigned_identities={
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": azure_native.containerregistry.UserIdentityPropertiesArgs(),
            },
        ),
        is_system_task=False,
        location="eastus",
        platform=azure_native.containerregistry.PlatformPropertiesArgs(
            architecture=azure_native.containerregistry.Architecture.AMD64,
            os=azure_native.containerregistry.OS.LINUX,
        ),
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        status=azure_native.containerregistry.TaskStatus.ENABLED,
        step=azure_native.containerregistry.DockerBuildStepArgs(
            arguments=[
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=False,
                    name="mytestargument",
                    value="mytestvalue",
                ),
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=True,
                    name="mysecrettestargument",
                    value="mysecrettestvalue",
                ),
            ],
            context_path="src",
            docker_file_path="src/DockerFile",
            image_names=["azurerest:testtag"],
            is_push_enabled=True,
            no_cache=False,
            type="Docker",
        ),
        tags={
            "testkey": "value",
        },
        task_name="mytTask",
        trigger=azure_native.containerregistry.TriggerPropertiesArgs(
            base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
                base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
                name="myBaseImageTrigger",
                update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
                update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.DEFAULT,
            ),
            source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
                name="mySourceTrigger",
                source_repository=azure_native.containerregistry.SourcePropertiesArgs(
                    branch="master",
                    repository_url="https://github.com/Azure/azure-rest-api-specs",
                    source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
                        token="xxxxx",
                        token_type=azure_native.containerregistry.TokenType.PAT,
                    ),
                    source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
                ),
                source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
            )],
            timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
                name="myTimerTrigger",
                schedule="30 9 * * 1-5",
            )],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.containerregistry.Task("task", {
        agentConfiguration: {
            cpu: 2,
        },
        identity: {
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned_UserAssigned,
            userAssignedIdentities: {
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {},
            },
        },
        isSystemTask: false,
        location: "eastus",
        platform: {
            architecture: azure_native.containerregistry.Architecture.Amd64,
            os: azure_native.containerregistry.OS.Linux,
        },
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        status: azure_native.containerregistry.TaskStatus.Enabled,
        step: {
            arguments: [
                {
                    isSecret: false,
                    name: "mytestargument",
                    value: "mytestvalue",
                },
                {
                    isSecret: true,
                    name: "mysecrettestargument",
                    value: "mysecrettestvalue",
                },
            ],
            contextPath: "src",
            dockerFilePath: "src/DockerFile",
            imageNames: ["azurerest:testtag"],
            isPushEnabled: true,
            noCache: false,
            type: "Docker",
        },
        tags: {
            testkey: "value",
        },
        taskName: "mytTask",
        trigger: {
            baseImageTrigger: {
                baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
                name: "myBaseImageTrigger",
                updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
                updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Default,
            },
            sourceTriggers: [{
                name: "mySourceTrigger",
                sourceRepository: {
                    branch: "master",
                    repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
                    sourceControlAuthProperties: {
                        token: "xxxxx",
                        tokenType: azure_native.containerregistry.TokenType.PAT,
                    },
                    sourceControlType: azure_native.containerregistry.SourceControlType.Github,
                },
                sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
            }],
            timerTriggers: [{
                name: "myTimerTrigger",
                schedule: "30 9 * * 1-5",
            }],
        },
    });
    
    resources:
      task:
        type: azure-native:containerregistry:Task
        properties:
          agentConfiguration:
            cpu: 2
          identity:
            type: SystemAssigned, UserAssigned
            userAssignedIdentities:
              ? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2
              : {}
          isSystemTask: false
          location: eastus
          platform:
            architecture: amd64
            os: Linux
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          status: Enabled
          step:
            arguments:
              - isSecret: false
                name: mytestargument
                value: mytestvalue
              - isSecret: true
                name: mysecrettestargument
                value: mysecrettestvalue
            contextPath: src
            dockerFilePath: src/DockerFile
            imageNames:
              - azurerest:testtag
            isPushEnabled: true
            noCache: false
            type: Docker
          tags:
            testkey: value
          taskName: mytTask
          trigger:
            baseImageTrigger:
              baseImageTriggerType: Runtime
              name: myBaseImageTrigger
              updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
              updateTriggerPayloadType: Default
            sourceTriggers:
              - name: mySourceTrigger
                sourceRepository:
                  branch: master
                  repositoryUrl: https://github.com/Azure/azure-rest-api-specs
                  sourceControlAuthProperties:
                    token: xxxxx
                    tokenType: PAT
                  sourceControlType: Github
                sourceTriggerEvents:
                  - commit
            timerTriggers:
              - name: myTimerTrigger
                schedule: 30 9 * * 1-5
    

    Tasks_Create_WithUserIdentities

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.ContainerRegistry.Task("task", new()
        {
            AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
            {
                Cpu = 2,
            },
            Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
            {
                Type = AzureNative.ContainerRegistry.ResourceIdentityType.UserAssigned,
                UserAssignedIdentities = 
                {
                    { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", null },
                    { "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", null },
                },
            },
            IsSystemTask = false,
            Location = "eastus",
            Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
            {
                Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
                Os = AzureNative.ContainerRegistry.OS.Linux,
            },
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
            Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
            {
                Arguments = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = false,
                        Name = "mytestargument",
                        Value = "mytestvalue",
                    },
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = true,
                        Name = "mysecrettestargument",
                        Value = "mysecrettestvalue",
                    },
                },
                ContextPath = "src",
                DockerFilePath = "src/DockerFile",
                ImageNames = new[]
                {
                    "azurerest:testtag",
                },
                IsPushEnabled = true,
                NoCache = false,
                Type = "Docker",
            },
            Tags = 
            {
                { "testkey", "value" },
            },
            TaskName = "mytTask",
            Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
            {
                BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
                {
                    BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
                    Name = "myBaseImageTrigger",
                    UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
                    UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Default,
                },
                SourceTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
                    {
                        Name = "mySourceTrigger",
                        SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
                        {
                            Branch = "master",
                            RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
                            SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
                            {
                                Token = "xxxxx",
                                TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
                            },
                            SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
                        },
                        SourceTriggerEvents = new[]
                        {
                            AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
                        },
                    },
                },
                TimerTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
                    {
                        Name = "myTimerTrigger",
                        Schedule = "30 9 * * 1-5",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
    			AgentConfiguration: &containerregistry.AgentPropertiesArgs{
    				Cpu: pulumi.Int(2),
    			},
    			Identity: &containerregistry.IdentityPropertiesArgs{
    				Type: containerregistry.ResourceIdentityTypeUserAssigned,
    				UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
    					"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1":  nil,
    					"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": nil,
    				},
    			},
    			IsSystemTask: pulumi.Bool(false),
    			Location:     pulumi.String("eastus"),
    			Platform: &containerregistry.PlatformPropertiesArgs{
    				Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
    				Os:           pulumi.String(containerregistry.OSLinux),
    			},
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Status:            pulumi.String(containerregistry.TaskStatusEnabled),
    			Step: containerregistry.DockerBuildStep{
    				Arguments: []containerregistry.Argument{
    					{
    						IsSecret: false,
    						Name:     "mytestargument",
    						Value:    "mytestvalue",
    					},
    					{
    						IsSecret: true,
    						Name:     "mysecrettestargument",
    						Value:    "mysecrettestvalue",
    					},
    				},
    				ContextPath:    "src",
    				DockerFilePath: "src/DockerFile",
    				ImageNames: []string{
    					"azurerest:testtag",
    				},
    				IsPushEnabled: true,
    				NoCache:       false,
    				Type:          "Docker",
    			},
    			Tags: pulumi.StringMap{
    				"testkey": pulumi.String("value"),
    			},
    			TaskName: pulumi.String("mytTask"),
    			Trigger: &containerregistry.TriggerPropertiesArgs{
    				BaseImageTrigger: &containerregistry.BaseImageTriggerArgs{
    					BaseImageTriggerType:     pulumi.String(containerregistry.BaseImageTriggerTypeRuntime),
    					Name:                     pulumi.String("myBaseImageTrigger"),
    					UpdateTriggerEndpoint:    pulumi.String("https://user:pass@mycicd.webhook.com?token=foo"),
    					UpdateTriggerPayloadType: pulumi.String(containerregistry.UpdateTriggerPayloadTypeDefault),
    				},
    				SourceTriggers: containerregistry.SourceTriggerArray{
    					&containerregistry.SourceTriggerArgs{
    						Name: pulumi.String("mySourceTrigger"),
    						SourceRepository: &containerregistry.SourcePropertiesArgs{
    							Branch:        pulumi.String("master"),
    							RepositoryUrl: pulumi.String("https://github.com/Azure/azure-rest-api-specs"),
    							SourceControlAuthProperties: &containerregistry.AuthInfoArgs{
    								Token:     pulumi.String("xxxxx"),
    								TokenType: pulumi.String(containerregistry.TokenTypePAT),
    							},
    							SourceControlType: pulumi.String(containerregistry.SourceControlTypeGithub),
    						},
    						SourceTriggerEvents: pulumi.StringArray{
    							pulumi.String(containerregistry.SourceTriggerEventCommit),
    						},
    					},
    				},
    				TimerTriggers: containerregistry.TimerTriggerArray{
    					&containerregistry.TimerTriggerArgs{
    						Name:     pulumi.String("myTimerTrigger"),
    						Schedule: pulumi.String("30 9 * * 1-5"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Task;
    import com.pulumi.azurenative.containerregistry.TaskArgs;
    import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
    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 task = new Task("task", TaskArgs.builder()        
                .agentConfiguration(AgentPropertiesArgs.builder()
                    .cpu(2)
                    .build())
                .identity(IdentityPropertiesArgs.builder()
                    .type("UserAssigned")
                    .userAssignedIdentities(Map.ofEntries(
                        Map.entry("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", ),
                        Map.entry("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", )
                    ))
                    .build())
                .isSystemTask(false)
                .location("eastus")
                .platform(PlatformPropertiesArgs.builder()
                    .architecture("amd64")
                    .os("Linux")
                    .build())
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .status("Enabled")
                .step(DockerBuildStepArgs.builder()
                    .arguments(                
                        ArgumentArgs.builder()
                            .isSecret(false)
                            .name("mytestargument")
                            .value("mytestvalue")
                            .build(),
                        ArgumentArgs.builder()
                            .isSecret(true)
                            .name("mysecrettestargument")
                            .value("mysecrettestvalue")
                            .build())
                    .contextPath("src")
                    .dockerFilePath("src/DockerFile")
                    .imageNames("azurerest:testtag")
                    .isPushEnabled(true)
                    .noCache(false)
                    .type("Docker")
                    .build())
                .tags(Map.of("testkey", "value"))
                .taskName("mytTask")
                .trigger(TriggerPropertiesArgs.builder()
                    .baseImageTrigger(BaseImageTriggerArgs.builder()
                        .baseImageTriggerType("Runtime")
                        .name("myBaseImageTrigger")
                        .updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
                        .updateTriggerPayloadType("Default")
                        .build())
                    .sourceTriggers(SourceTriggerArgs.builder()
                        .name("mySourceTrigger")
                        .sourceRepository(SourcePropertiesArgs.builder()
                            .branch("master")
                            .repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
                            .sourceControlAuthProperties(AuthInfoArgs.builder()
                                .token("xxxxx")
                                .tokenType("PAT")
                                .build())
                            .sourceControlType("Github")
                            .build())
                        .sourceTriggerEvents("commit")
                        .build())
                    .timerTriggers(TimerTriggerArgs.builder()
                        .name("myTimerTrigger")
                        .schedule("30 9 * * 1-5")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.containerregistry.Task("task",
        agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
            cpu=2,
        ),
        identity=azure_native.containerregistry.IdentityPropertiesArgs(
            type=azure_native.containerregistry.ResourceIdentityType.USER_ASSIGNED,
            user_assigned_identities={
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": azure_native.containerregistry.UserIdentityPropertiesArgs(),
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": azure_native.containerregistry.UserIdentityPropertiesArgs(),
            },
        ),
        is_system_task=False,
        location="eastus",
        platform=azure_native.containerregistry.PlatformPropertiesArgs(
            architecture=azure_native.containerregistry.Architecture.AMD64,
            os=azure_native.containerregistry.OS.LINUX,
        ),
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        status=azure_native.containerregistry.TaskStatus.ENABLED,
        step=azure_native.containerregistry.DockerBuildStepArgs(
            arguments=[
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=False,
                    name="mytestargument",
                    value="mytestvalue",
                ),
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=True,
                    name="mysecrettestargument",
                    value="mysecrettestvalue",
                ),
            ],
            context_path="src",
            docker_file_path="src/DockerFile",
            image_names=["azurerest:testtag"],
            is_push_enabled=True,
            no_cache=False,
            type="Docker",
        ),
        tags={
            "testkey": "value",
        },
        task_name="mytTask",
        trigger=azure_native.containerregistry.TriggerPropertiesArgs(
            base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
                base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
                name="myBaseImageTrigger",
                update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
                update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.DEFAULT,
            ),
            source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
                name="mySourceTrigger",
                source_repository=azure_native.containerregistry.SourcePropertiesArgs(
                    branch="master",
                    repository_url="https://github.com/Azure/azure-rest-api-specs",
                    source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
                        token="xxxxx",
                        token_type=azure_native.containerregistry.TokenType.PAT,
                    ),
                    source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
                ),
                source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
            )],
            timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
                name="myTimerTrigger",
                schedule="30 9 * * 1-5",
            )],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.containerregistry.Task("task", {
        agentConfiguration: {
            cpu: 2,
        },
        identity: {
            type: azure_native.containerregistry.ResourceIdentityType.UserAssigned,
            userAssignedIdentities: {
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {},
                "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {},
            },
        },
        isSystemTask: false,
        location: "eastus",
        platform: {
            architecture: azure_native.containerregistry.Architecture.Amd64,
            os: azure_native.containerregistry.OS.Linux,
        },
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        status: azure_native.containerregistry.TaskStatus.Enabled,
        step: {
            arguments: [
                {
                    isSecret: false,
                    name: "mytestargument",
                    value: "mytestvalue",
                },
                {
                    isSecret: true,
                    name: "mysecrettestargument",
                    value: "mysecrettestvalue",
                },
            ],
            contextPath: "src",
            dockerFilePath: "src/DockerFile",
            imageNames: ["azurerest:testtag"],
            isPushEnabled: true,
            noCache: false,
            type: "Docker",
        },
        tags: {
            testkey: "value",
        },
        taskName: "mytTask",
        trigger: {
            baseImageTrigger: {
                baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
                name: "myBaseImageTrigger",
                updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
                updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Default,
            },
            sourceTriggers: [{
                name: "mySourceTrigger",
                sourceRepository: {
                    branch: "master",
                    repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
                    sourceControlAuthProperties: {
                        token: "xxxxx",
                        tokenType: azure_native.containerregistry.TokenType.PAT,
                    },
                    sourceControlType: azure_native.containerregistry.SourceControlType.Github,
                },
                sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
            }],
            timerTriggers: [{
                name: "myTimerTrigger",
                schedule: "30 9 * * 1-5",
            }],
        },
    });
    
    resources:
      task:
        type: azure-native:containerregistry:Task
        properties:
          agentConfiguration:
            cpu: 2
          identity:
            type: UserAssigned
            userAssignedIdentities:
              ? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1
              : {}
              ? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2
              : {}
          isSystemTask: false
          location: eastus
          platform:
            architecture: amd64
            os: Linux
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          status: Enabled
          step:
            arguments:
              - isSecret: false
                name: mytestargument
                value: mytestvalue
              - isSecret: true
                name: mysecrettestargument
                value: mysecrettestvalue
            contextPath: src
            dockerFilePath: src/DockerFile
            imageNames:
              - azurerest:testtag
            isPushEnabled: true
            noCache: false
            type: Docker
          tags:
            testkey: value
          taskName: mytTask
          trigger:
            baseImageTrigger:
              baseImageTriggerType: Runtime
              name: myBaseImageTrigger
              updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
              updateTriggerPayloadType: Default
            sourceTriggers:
              - name: mySourceTrigger
                sourceRepository:
                  branch: master
                  repositoryUrl: https://github.com/Azure/azure-rest-api-specs
                  sourceControlAuthProperties:
                    token: xxxxx
                    tokenType: PAT
                  sourceControlType: Github
                sourceTriggerEvents:
                  - commit
            timerTriggers:
              - name: myTimerTrigger
                schedule: 30 9 * * 1-5
    

    Tasks_Create_WithUserIdentities_WithSystemIdentity

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var task = new AzureNative.ContainerRegistry.Task("task", new()
        {
            AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
            {
                Cpu = 2,
            },
            Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
            {
                Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
            },
            IsSystemTask = false,
            Location = "eastus",
            Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
            {
                Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
                Os = AzureNative.ContainerRegistry.OS.Linux,
            },
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
            Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
            {
                Arguments = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = false,
                        Name = "mytestargument",
                        Value = "mytestvalue",
                    },
                    new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
                    {
                        IsSecret = true,
                        Name = "mysecrettestargument",
                        Value = "mysecrettestvalue",
                    },
                },
                ContextPath = "src",
                DockerFilePath = "src/DockerFile",
                ImageNames = new[]
                {
                    "azurerest:testtag",
                },
                IsPushEnabled = true,
                NoCache = false,
                Type = "Docker",
            },
            Tags = 
            {
                { "testkey", "value" },
            },
            TaskName = "mytTask",
            Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
            {
                BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
                {
                    BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
                    Name = "myBaseImageTrigger",
                },
                SourceTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
                    {
                        Name = "mySourceTrigger",
                        SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
                        {
                            Branch = "master",
                            RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
                            SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
                            {
                                Token = "xxxxx",
                                TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
                            },
                            SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
                        },
                        SourceTriggerEvents = new[]
                        {
                            AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
                        },
                    },
                },
                TimerTriggers = new[]
                {
                    new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
                    {
                        Name = "myTimerTrigger",
                        Schedule = "30 9 * * 1-5",
                    },
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
    			AgentConfiguration: &containerregistry.AgentPropertiesArgs{
    				Cpu: pulumi.Int(2),
    			},
    			Identity: &containerregistry.IdentityPropertiesArgs{
    				Type: containerregistry.ResourceIdentityTypeSystemAssigned,
    			},
    			IsSystemTask: pulumi.Bool(false),
    			Location:     pulumi.String("eastus"),
    			Platform: &containerregistry.PlatformPropertiesArgs{
    				Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
    				Os:           pulumi.String(containerregistry.OSLinux),
    			},
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			Status:            pulumi.String(containerregistry.TaskStatusEnabled),
    			Step: containerregistry.DockerBuildStep{
    				Arguments: []containerregistry.Argument{
    					{
    						IsSecret: false,
    						Name:     "mytestargument",
    						Value:    "mytestvalue",
    					},
    					{
    						IsSecret: true,
    						Name:     "mysecrettestargument",
    						Value:    "mysecrettestvalue",
    					},
    				},
    				ContextPath:    "src",
    				DockerFilePath: "src/DockerFile",
    				ImageNames: []string{
    					"azurerest:testtag",
    				},
    				IsPushEnabled: true,
    				NoCache:       false,
    				Type:          "Docker",
    			},
    			Tags: pulumi.StringMap{
    				"testkey": pulumi.String("value"),
    			},
    			TaskName: pulumi.String("mytTask"),
    			Trigger: &containerregistry.TriggerPropertiesArgs{
    				BaseImageTrigger: &containerregistry.BaseImageTriggerArgs{
    					BaseImageTriggerType: pulumi.String(containerregistry.BaseImageTriggerTypeRuntime),
    					Name:                 pulumi.String("myBaseImageTrigger"),
    				},
    				SourceTriggers: containerregistry.SourceTriggerArray{
    					&containerregistry.SourceTriggerArgs{
    						Name: pulumi.String("mySourceTrigger"),
    						SourceRepository: &containerregistry.SourcePropertiesArgs{
    							Branch:        pulumi.String("master"),
    							RepositoryUrl: pulumi.String("https://github.com/Azure/azure-rest-api-specs"),
    							SourceControlAuthProperties: &containerregistry.AuthInfoArgs{
    								Token:     pulumi.String("xxxxx"),
    								TokenType: pulumi.String(containerregistry.TokenTypePAT),
    							},
    							SourceControlType: pulumi.String(containerregistry.SourceControlTypeGithub),
    						},
    						SourceTriggerEvents: pulumi.StringArray{
    							pulumi.String(containerregistry.SourceTriggerEventCommit),
    						},
    					},
    				},
    				TimerTriggers: containerregistry.TimerTriggerArray{
    					&containerregistry.TimerTriggerArgs{
    						Name:     pulumi.String("myTimerTrigger"),
    						Schedule: pulumi.String("30 9 * * 1-5"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.Task;
    import com.pulumi.azurenative.containerregistry.TaskArgs;
    import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
    import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
    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 task = new Task("task", TaskArgs.builder()        
                .agentConfiguration(AgentPropertiesArgs.builder()
                    .cpu(2)
                    .build())
                .identity(IdentityPropertiesArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .isSystemTask(false)
                .location("eastus")
                .platform(PlatformPropertiesArgs.builder()
                    .architecture("amd64")
                    .os("Linux")
                    .build())
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .status("Enabled")
                .step(DockerBuildStepArgs.builder()
                    .arguments(                
                        ArgumentArgs.builder()
                            .isSecret(false)
                            .name("mytestargument")
                            .value("mytestvalue")
                            .build(),
                        ArgumentArgs.builder()
                            .isSecret(true)
                            .name("mysecrettestargument")
                            .value("mysecrettestvalue")
                            .build())
                    .contextPath("src")
                    .dockerFilePath("src/DockerFile")
                    .imageNames("azurerest:testtag")
                    .isPushEnabled(true)
                    .noCache(false)
                    .type("Docker")
                    .build())
                .tags(Map.of("testkey", "value"))
                .taskName("mytTask")
                .trigger(TriggerPropertiesArgs.builder()
                    .baseImageTrigger(BaseImageTriggerArgs.builder()
                        .baseImageTriggerType("Runtime")
                        .name("myBaseImageTrigger")
                        .build())
                    .sourceTriggers(SourceTriggerArgs.builder()
                        .name("mySourceTrigger")
                        .sourceRepository(SourcePropertiesArgs.builder()
                            .branch("master")
                            .repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
                            .sourceControlAuthProperties(AuthInfoArgs.builder()
                                .token("xxxxx")
                                .tokenType("PAT")
                                .build())
                            .sourceControlType("Github")
                            .build())
                        .sourceTriggerEvents("commit")
                        .build())
                    .timerTriggers(TimerTriggerArgs.builder()
                        .name("myTimerTrigger")
                        .schedule("30 9 * * 1-5")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    task = azure_native.containerregistry.Task("task",
        agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
            cpu=2,
        ),
        identity=azure_native.containerregistry.IdentityPropertiesArgs(
            type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
        ),
        is_system_task=False,
        location="eastus",
        platform=azure_native.containerregistry.PlatformPropertiesArgs(
            architecture=azure_native.containerregistry.Architecture.AMD64,
            os=azure_native.containerregistry.OS.LINUX,
        ),
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        status=azure_native.containerregistry.TaskStatus.ENABLED,
        step=azure_native.containerregistry.DockerBuildStepArgs(
            arguments=[
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=False,
                    name="mytestargument",
                    value="mytestvalue",
                ),
                azure_native.containerregistry.ArgumentArgs(
                    is_secret=True,
                    name="mysecrettestargument",
                    value="mysecrettestvalue",
                ),
            ],
            context_path="src",
            docker_file_path="src/DockerFile",
            image_names=["azurerest:testtag"],
            is_push_enabled=True,
            no_cache=False,
            type="Docker",
        ),
        tags={
            "testkey": "value",
        },
        task_name="mytTask",
        trigger=azure_native.containerregistry.TriggerPropertiesArgs(
            base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
                base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
                name="myBaseImageTrigger",
            ),
            source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
                name="mySourceTrigger",
                source_repository=azure_native.containerregistry.SourcePropertiesArgs(
                    branch="master",
                    repository_url="https://github.com/Azure/azure-rest-api-specs",
                    source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
                        token="xxxxx",
                        token_type=azure_native.containerregistry.TokenType.PAT,
                    ),
                    source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
                ),
                source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
            )],
            timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
                name="myTimerTrigger",
                schedule="30 9 * * 1-5",
            )],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const task = new azure_native.containerregistry.Task("task", {
        agentConfiguration: {
            cpu: 2,
        },
        identity: {
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
        },
        isSystemTask: false,
        location: "eastus",
        platform: {
            architecture: azure_native.containerregistry.Architecture.Amd64,
            os: azure_native.containerregistry.OS.Linux,
        },
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        status: azure_native.containerregistry.TaskStatus.Enabled,
        step: {
            arguments: [
                {
                    isSecret: false,
                    name: "mytestargument",
                    value: "mytestvalue",
                },
                {
                    isSecret: true,
                    name: "mysecrettestargument",
                    value: "mysecrettestvalue",
                },
            ],
            contextPath: "src",
            dockerFilePath: "src/DockerFile",
            imageNames: ["azurerest:testtag"],
            isPushEnabled: true,
            noCache: false,
            type: "Docker",
        },
        tags: {
            testkey: "value",
        },
        taskName: "mytTask",
        trigger: {
            baseImageTrigger: {
                baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
                name: "myBaseImageTrigger",
            },
            sourceTriggers: [{
                name: "mySourceTrigger",
                sourceRepository: {
                    branch: "master",
                    repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
                    sourceControlAuthProperties: {
                        token: "xxxxx",
                        tokenType: azure_native.containerregistry.TokenType.PAT,
                    },
                    sourceControlType: azure_native.containerregistry.SourceControlType.Github,
                },
                sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
            }],
            timerTriggers: [{
                name: "myTimerTrigger",
                schedule: "30 9 * * 1-5",
            }],
        },
    });
    
    resources:
      task:
        type: azure-native:containerregistry:Task
        properties:
          agentConfiguration:
            cpu: 2
          identity:
            type: SystemAssigned
          isSystemTask: false
          location: eastus
          platform:
            architecture: amd64
            os: Linux
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          status: Enabled
          step:
            arguments:
              - isSecret: false
                name: mytestargument
                value: mytestvalue
              - isSecret: true
                name: mysecrettestargument
                value: mysecrettestvalue
            contextPath: src
            dockerFilePath: src/DockerFile
            imageNames:
              - azurerest:testtag
            isPushEnabled: true
            noCache: false
            type: Docker
          tags:
            testkey: value
          taskName: mytTask
          trigger:
            baseImageTrigger:
              baseImageTriggerType: Runtime
              name: myBaseImageTrigger
            sourceTriggers:
              - name: mySourceTrigger
                sourceRepository:
                  branch: master
                  repositoryUrl: https://github.com/Azure/azure-rest-api-specs
                  sourceControlAuthProperties:
                    token: xxxxx
                    tokenType: PAT
                  sourceControlType: Github
                sourceTriggerEvents:
                  - commit
            timerTriggers:
              - name: myTimerTrigger
                schedule: 30 9 * * 1-5
    

    Create Task Resource

    new Task(name: string, args: TaskArgs, opts?: CustomResourceOptions);
    @overload
    def Task(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             agent_configuration: Optional[AgentPropertiesArgs] = None,
             agent_pool_name: Optional[str] = None,
             credentials: Optional[CredentialsArgs] = None,
             identity: Optional[IdentityPropertiesArgs] = None,
             is_system_task: Optional[bool] = None,
             location: Optional[str] = None,
             log_template: Optional[str] = None,
             platform: Optional[PlatformPropertiesArgs] = None,
             registry_name: Optional[str] = None,
             resource_group_name: Optional[str] = None,
             status: Optional[Union[str, TaskStatus]] = None,
             step: Optional[Union[DockerBuildStepArgs, EncodedTaskStepArgs, FileTaskStepArgs]] = None,
             tags: Optional[Mapping[str, str]] = None,
             task_name: Optional[str] = None,
             timeout: Optional[int] = None,
             trigger: Optional[TriggerPropertiesArgs] = None)
    @overload
    def Task(resource_name: str,
             args: TaskArgs,
             opts: Optional[ResourceOptions] = None)
    func NewTask(ctx *Context, name string, args TaskArgs, opts ...ResourceOption) (*Task, error)
    public Task(string name, TaskArgs args, CustomResourceOptions? opts = null)
    public Task(String name, TaskArgs args)
    public Task(String name, TaskArgs args, CustomResourceOptions options)
    
    type: azure-native:containerregistry:Task
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args TaskArgs
    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 TaskArgs
    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 TaskArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TaskArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Task 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 Task resource accepts the following input properties:

    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    AgentConfiguration Pulumi.AzureNative.ContainerRegistry.Inputs.AgentProperties
    The machine configuration of the run agent.
    AgentPoolName string
    The dedicated agent pool for the task.
    Credentials Pulumi.AzureNative.ContainerRegistry.Inputs.Credentials
    The properties that describes a set of credentials that will be used when this run is invoked.
    Identity Pulumi.AzureNative.ContainerRegistry.Inputs.IdentityProperties
    Identity for the resource.
    IsSystemTask bool
    The value of this property indicates whether the task resource is system task or not.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    LogTemplate string
    The template that describes the repository and tag information for run log artifact.
    Platform Pulumi.AzureNative.ContainerRegistry.Inputs.PlatformProperties
    The platform properties against which the run has to happen.
    Status string | Pulumi.AzureNative.ContainerRegistry.TaskStatus
    The current status of task.
    Step Pulumi.AzureNative.ContainerRegistry.Inputs.DockerBuildStep | Pulumi.AzureNative.ContainerRegistry.Inputs.EncodedTaskStep | Pulumi.AzureNative.ContainerRegistry.Inputs.FileTaskStep
    The properties of a task step.
    Tags Dictionary<string, string>
    The tags of the resource.
    TaskName string
    The name of the container registry task.
    Timeout int
    Run timeout in seconds.
    Trigger Pulumi.AzureNative.ContainerRegistry.Inputs.TriggerProperties
    The properties that describe all triggers for the task.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    AgentConfiguration AgentPropertiesArgs
    The machine configuration of the run agent.
    AgentPoolName string
    The dedicated agent pool for the task.
    Credentials CredentialsArgs
    The properties that describes a set of credentials that will be used when this run is invoked.
    Identity IdentityPropertiesArgs
    Identity for the resource.
    IsSystemTask bool
    The value of this property indicates whether the task resource is system task or not.
    Location string
    The location of the resource. This cannot be changed after the resource is created.
    LogTemplate string
    The template that describes the repository and tag information for run log artifact.
    Platform PlatformPropertiesArgs
    The platform properties against which the run has to happen.
    Status string | TaskStatus
    The current status of task.
    Step DockerBuildStepArgs | EncodedTaskStepArgs | FileTaskStepArgs
    The properties of a task step.
    Tags map[string]string
    The tags of the resource.
    TaskName string
    The name of the container registry task.
    Timeout int
    Run timeout in seconds.
    Trigger TriggerPropertiesArgs
    The properties that describe all triggers for the task.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.
    agentConfiguration AgentProperties
    The machine configuration of the run agent.
    agentPoolName String
    The dedicated agent pool for the task.
    credentials Credentials
    The properties that describes a set of credentials that will be used when this run is invoked.
    identity IdentityProperties
    Identity for the resource.
    isSystemTask Boolean
    The value of this property indicates whether the task resource is system task or not.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    logTemplate String
    The template that describes the repository and tag information for run log artifact.
    platform PlatformProperties
    The platform properties against which the run has to happen.
    status String | TaskStatus
    The current status of task.
    step DockerBuildStep | EncodedTaskStep | FileTaskStep
    The properties of a task step.
    tags Map<String,String>
    The tags of the resource.
    taskName String
    The name of the container registry task.
    timeout Integer
    Run timeout in seconds.
    trigger TriggerProperties
    The properties that describe all triggers for the task.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group to which the container registry belongs.
    agentConfiguration AgentProperties
    The machine configuration of the run agent.
    agentPoolName string
    The dedicated agent pool for the task.
    credentials Credentials
    The properties that describes a set of credentials that will be used when this run is invoked.
    identity IdentityProperties
    Identity for the resource.
    isSystemTask boolean
    The value of this property indicates whether the task resource is system task or not.
    location string
    The location of the resource. This cannot be changed after the resource is created.
    logTemplate string
    The template that describes the repository and tag information for run log artifact.
    platform PlatformProperties
    The platform properties against which the run has to happen.
    status string | TaskStatus
    The current status of task.
    step DockerBuildStep | EncodedTaskStep | FileTaskStep
    The properties of a task step.
    tags {[key: string]: string}
    The tags of the resource.
    taskName string
    The name of the container registry task.
    timeout number
    Run timeout in seconds.
    trigger TriggerProperties
    The properties that describe all triggers for the task.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group to which the container registry belongs.
    agent_configuration AgentPropertiesArgs
    The machine configuration of the run agent.
    agent_pool_name str
    The dedicated agent pool for the task.
    credentials CredentialsArgs
    The properties that describes a set of credentials that will be used when this run is invoked.
    identity IdentityPropertiesArgs
    Identity for the resource.
    is_system_task bool
    The value of this property indicates whether the task resource is system task or not.
    location str
    The location of the resource. This cannot be changed after the resource is created.
    log_template str
    The template that describes the repository and tag information for run log artifact.
    platform PlatformPropertiesArgs
    The platform properties against which the run has to happen.
    status str | TaskStatus
    The current status of task.
    step DockerBuildStepArgs | EncodedTaskStepArgs | FileTaskStepArgs
    The properties of a task step.
    tags Mapping[str, str]
    The tags of the resource.
    task_name str
    The name of the container registry task.
    timeout int
    Run timeout in seconds.
    trigger TriggerPropertiesArgs
    The properties that describe all triggers for the task.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.
    agentConfiguration Property Map
    The machine configuration of the run agent.
    agentPoolName String
    The dedicated agent pool for the task.
    credentials Property Map
    The properties that describes a set of credentials that will be used when this run is invoked.
    identity Property Map
    Identity for the resource.
    isSystemTask Boolean
    The value of this property indicates whether the task resource is system task or not.
    location String
    The location of the resource. This cannot be changed after the resource is created.
    logTemplate String
    The template that describes the repository and tag information for run log artifact.
    platform Property Map
    The platform properties against which the run has to happen.
    status String | "Disabled" | "Enabled"
    The current status of task.
    step Property Map | Property Map | Property Map
    The properties of a task step.
    tags Map<String>
    The tags of the resource.
    taskName String
    The name of the container registry task.
    timeout Number
    Run timeout in seconds.
    trigger Property Map
    The properties that describe all triggers for the task.

    Outputs

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

    CreationDate string
    The creation date of task.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of the task.
    SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    CreationDate string
    The creation date of task.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    The provisioning state of the task.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    creationDate String
    The creation date of task.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the task.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    creationDate string
    The creation date of task.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    The provisioning state of the task.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    creation_date str
    The creation date of task.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    The provisioning state of the task.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    creationDate String
    The creation date of task.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    The provisioning state of the task.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.

    Supporting Types

    AgentProperties, AgentPropertiesArgs

    Cpu int
    The CPU configuration in terms of number of cores required for the run.
    Cpu int
    The CPU configuration in terms of number of cores required for the run.
    cpu Integer
    The CPU configuration in terms of number of cores required for the run.
    cpu number
    The CPU configuration in terms of number of cores required for the run.
    cpu int
    The CPU configuration in terms of number of cores required for the run.
    cpu Number
    The CPU configuration in terms of number of cores required for the run.

    AgentPropertiesResponse, AgentPropertiesResponseArgs

    Cpu int
    The CPU configuration in terms of number of cores required for the run.
    Cpu int
    The CPU configuration in terms of number of cores required for the run.
    cpu Integer
    The CPU configuration in terms of number of cores required for the run.
    cpu number
    The CPU configuration in terms of number of cores required for the run.
    cpu int
    The CPU configuration in terms of number of cores required for the run.
    cpu Number
    The CPU configuration in terms of number of cores required for the run.

    Architecture, ArchitectureArgs

    Amd64
    amd64
    X86
    x86
    Architecture_386
    386
    Arm
    arm
    Arm64
    arm64
    ArchitectureAmd64
    amd64
    ArchitectureX86
    x86
    Architecture_386
    386
    ArchitectureArm
    arm
    ArchitectureArm64
    arm64
    Amd64
    amd64
    X86
    x86
    _386
    386
    Arm
    arm
    Arm64
    arm64
    Amd64
    amd64
    X86
    x86
    Architecture_386
    386
    Arm
    arm
    Arm64
    arm64
    AMD64
    amd64
    X86
    x86
    ARCHITECTURE_386
    386
    ARM
    arm
    ARM64
    arm64
    "amd64"
    amd64
    "x86"
    x86
    "386"
    386
    "arm"
    arm
    "arm64"
    arm64

    Argument, ArgumentArgs

    Name string
    The name of the argument.
    Value string
    The value of the argument.
    IsSecret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    Name string
    The name of the argument.
    Value string
    The value of the argument.
    IsSecret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name String
    The name of the argument.
    value String
    The value of the argument.
    isSecret Boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name string
    The name of the argument.
    value string
    The value of the argument.
    isSecret boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name str
    The name of the argument.
    value str
    The value of the argument.
    is_secret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name String
    The name of the argument.
    value String
    The value of the argument.
    isSecret Boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    ArgumentResponse, ArgumentResponseArgs

    Name string
    The name of the argument.
    Value string
    The value of the argument.
    IsSecret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    Name string
    The name of the argument.
    Value string
    The value of the argument.
    IsSecret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name String
    The name of the argument.
    value String
    The value of the argument.
    isSecret Boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name string
    The name of the argument.
    value string
    The value of the argument.
    isSecret boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name str
    The name of the argument.
    value str
    The value of the argument.
    is_secret bool
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.
    name String
    The name of the argument.
    value String
    The value of the argument.
    isSecret Boolean
    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    AuthInfo, AuthInfoArgs

    Token string
    The access token used to access the source control provider.
    TokenType string | Pulumi.AzureNative.ContainerRegistry.TokenType
    The type of Auth token.
    ExpiresIn int
    Time in seconds that the token remains valid
    RefreshToken string
    The refresh token used to refresh the access token.
    Scope string
    The scope of the access token.
    Token string
    The access token used to access the source control provider.
    TokenType string | TokenType
    The type of Auth token.
    ExpiresIn int
    Time in seconds that the token remains valid
    RefreshToken string
    The refresh token used to refresh the access token.
    Scope string
    The scope of the access token.
    token String
    The access token used to access the source control provider.
    tokenType String | TokenType
    The type of Auth token.
    expiresIn Integer
    Time in seconds that the token remains valid
    refreshToken String
    The refresh token used to refresh the access token.
    scope String
    The scope of the access token.
    token string
    The access token used to access the source control provider.
    tokenType string | TokenType
    The type of Auth token.
    expiresIn number
    Time in seconds that the token remains valid
    refreshToken string
    The refresh token used to refresh the access token.
    scope string
    The scope of the access token.
    token str
    The access token used to access the source control provider.
    token_type str | TokenType
    The type of Auth token.
    expires_in int
    Time in seconds that the token remains valid
    refresh_token str
    The refresh token used to refresh the access token.
    scope str
    The scope of the access token.
    token String
    The access token used to access the source control provider.
    tokenType String | "PAT" | "OAuth"
    The type of Auth token.
    expiresIn Number
    Time in seconds that the token remains valid
    refreshToken String
    The refresh token used to refresh the access token.
    scope String
    The scope of the access token.

    AuthInfoResponse, AuthInfoResponseArgs

    Token string
    The access token used to access the source control provider.
    TokenType string
    The type of Auth token.
    ExpiresIn int
    Time in seconds that the token remains valid
    RefreshToken string
    The refresh token used to refresh the access token.
    Scope string
    The scope of the access token.
    Token string
    The access token used to access the source control provider.
    TokenType string
    The type of Auth token.
    ExpiresIn int
    Time in seconds that the token remains valid
    RefreshToken string
    The refresh token used to refresh the access token.
    Scope string
    The scope of the access token.
    token String
    The access token used to access the source control provider.
    tokenType String
    The type of Auth token.
    expiresIn Integer
    Time in seconds that the token remains valid
    refreshToken String
    The refresh token used to refresh the access token.
    scope String
    The scope of the access token.
    token string
    The access token used to access the source control provider.
    tokenType string
    The type of Auth token.
    expiresIn number
    Time in seconds that the token remains valid
    refreshToken string
    The refresh token used to refresh the access token.
    scope string
    The scope of the access token.
    token str
    The access token used to access the source control provider.
    token_type str
    The type of Auth token.
    expires_in int
    Time in seconds that the token remains valid
    refresh_token str
    The refresh token used to refresh the access token.
    scope str
    The scope of the access token.
    token String
    The access token used to access the source control provider.
    tokenType String
    The type of Auth token.
    expiresIn Number
    Time in seconds that the token remains valid
    refreshToken String
    The refresh token used to refresh the access token.
    scope String
    The scope of the access token.

    BaseImageDependencyResponse, BaseImageDependencyResponseArgs

    Digest string
    The sha256-based digest of the image manifest.
    Registry string
    The registry login server.
    Repository string
    The repository name.
    Tag string
    The tag name.
    Type string
    The type of the base image dependency.
    Digest string
    The sha256-based digest of the image manifest.
    Registry string
    The registry login server.
    Repository string
    The repository name.
    Tag string
    The tag name.
    Type string
    The type of the base image dependency.
    digest String
    The sha256-based digest of the image manifest.
    registry String
    The registry login server.
    repository String
    The repository name.
    tag String
    The tag name.
    type String
    The type of the base image dependency.
    digest string
    The sha256-based digest of the image manifest.
    registry string
    The registry login server.
    repository string
    The repository name.
    tag string
    The tag name.
    type string
    The type of the base image dependency.
    digest str
    The sha256-based digest of the image manifest.
    registry str
    The registry login server.
    repository str
    The repository name.
    tag str
    The tag name.
    type str
    The type of the base image dependency.
    digest String
    The sha256-based digest of the image manifest.
    registry String
    The registry login server.
    repository String
    The repository name.
    tag String
    The tag name.
    type String
    The type of the base image dependency.

    BaseImageTrigger, BaseImageTriggerArgs

    BaseImageTriggerType string | Pulumi.AzureNative.ContainerRegistry.BaseImageTriggerType
    The type of the auto trigger for base image dependency updates.
    Name string
    The name of the trigger.
    Status string | Pulumi.AzureNative.ContainerRegistry.TriggerStatus
    The current status of trigger.
    UpdateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    UpdateTriggerPayloadType string | Pulumi.AzureNative.ContainerRegistry.UpdateTriggerPayloadType
    Type of Payload body for Base image update triggers.
    BaseImageTriggerType string | BaseImageTriggerType
    The type of the auto trigger for base image dependency updates.
    Name string
    The name of the trigger.
    Status string | TriggerStatus
    The current status of trigger.
    UpdateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    UpdateTriggerPayloadType string | UpdateTriggerPayloadType
    Type of Payload body for Base image update triggers.
    baseImageTriggerType String | BaseImageTriggerType
    The type of the auto trigger for base image dependency updates.
    name String
    The name of the trigger.
    status String | TriggerStatus
    The current status of trigger.
    updateTriggerEndpoint String
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType String | UpdateTriggerPayloadType
    Type of Payload body for Base image update triggers.
    baseImageTriggerType string | BaseImageTriggerType
    The type of the auto trigger for base image dependency updates.
    name string
    The name of the trigger.
    status string | TriggerStatus
    The current status of trigger.
    updateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType string | UpdateTriggerPayloadType
    Type of Payload body for Base image update triggers.
    base_image_trigger_type str | BaseImageTriggerType
    The type of the auto trigger for base image dependency updates.
    name str
    The name of the trigger.
    status str | TriggerStatus
    The current status of trigger.
    update_trigger_endpoint str
    The endpoint URL for receiving update triggers.
    update_trigger_payload_type str | UpdateTriggerPayloadType
    Type of Payload body for Base image update triggers.
    baseImageTriggerType String | "All" | "Runtime"
    The type of the auto trigger for base image dependency updates.
    name String
    The name of the trigger.
    status String | "Disabled" | "Enabled"
    The current status of trigger.
    updateTriggerEndpoint String
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType String | "Default" | "Token"
    Type of Payload body for Base image update triggers.

    BaseImageTriggerResponse, BaseImageTriggerResponseArgs

    BaseImageTriggerType string
    The type of the auto trigger for base image dependency updates.
    Name string
    The name of the trigger.
    Status string
    The current status of trigger.
    UpdateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    UpdateTriggerPayloadType string
    Type of Payload body for Base image update triggers.
    BaseImageTriggerType string
    The type of the auto trigger for base image dependency updates.
    Name string
    The name of the trigger.
    Status string
    The current status of trigger.
    UpdateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    UpdateTriggerPayloadType string
    Type of Payload body for Base image update triggers.
    baseImageTriggerType String
    The type of the auto trigger for base image dependency updates.
    name String
    The name of the trigger.
    status String
    The current status of trigger.
    updateTriggerEndpoint String
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType String
    Type of Payload body for Base image update triggers.
    baseImageTriggerType string
    The type of the auto trigger for base image dependency updates.
    name string
    The name of the trigger.
    status string
    The current status of trigger.
    updateTriggerEndpoint string
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType string
    Type of Payload body for Base image update triggers.
    base_image_trigger_type str
    The type of the auto trigger for base image dependency updates.
    name str
    The name of the trigger.
    status str
    The current status of trigger.
    update_trigger_endpoint str
    The endpoint URL for receiving update triggers.
    update_trigger_payload_type str
    Type of Payload body for Base image update triggers.
    baseImageTriggerType String
    The type of the auto trigger for base image dependency updates.
    name String
    The name of the trigger.
    status String
    The current status of trigger.
    updateTriggerEndpoint String
    The endpoint URL for receiving update triggers.
    updateTriggerPayloadType String
    Type of Payload body for Base image update triggers.

    BaseImageTriggerType, BaseImageTriggerTypeArgs

    All
    All
    Runtime
    Runtime
    BaseImageTriggerTypeAll
    All
    BaseImageTriggerTypeRuntime
    Runtime
    All
    All
    Runtime
    Runtime
    All
    All
    Runtime
    Runtime
    ALL
    All
    RUNTIME
    Runtime
    "All"
    All
    "Runtime"
    Runtime

    Credentials, CredentialsArgs

    CustomRegistries Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.CustomRegistryCredentials>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    SourceRegistry Pulumi.AzureNative.ContainerRegistry.Inputs.SourceRegistryCredentials
    Describes the credential parameters for accessing the source registry.
    CustomRegistries map[string]CustomRegistryCredentials
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    SourceRegistry SourceRegistryCredentials
    Describes the credential parameters for accessing the source registry.
    customRegistries Map<String,CustomRegistryCredentials>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry SourceRegistryCredentials
    Describes the credential parameters for accessing the source registry.
    customRegistries {[key: string]: CustomRegistryCredentials}
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry SourceRegistryCredentials
    Describes the credential parameters for accessing the source registry.
    custom_registries Mapping[str, CustomRegistryCredentials]
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    source_registry SourceRegistryCredentials
    Describes the credential parameters for accessing the source registry.
    customRegistries Map<Property Map>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry Property Map
    Describes the credential parameters for accessing the source registry.

    CredentialsResponse, CredentialsResponseArgs

    CustomRegistries Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.CustomRegistryCredentialsResponse>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    SourceRegistry Pulumi.AzureNative.ContainerRegistry.Inputs.SourceRegistryCredentialsResponse
    Describes the credential parameters for accessing the source registry.
    CustomRegistries map[string]CustomRegistryCredentialsResponse
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    SourceRegistry SourceRegistryCredentialsResponse
    Describes the credential parameters for accessing the source registry.
    customRegistries Map<String,CustomRegistryCredentialsResponse>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry SourceRegistryCredentialsResponse
    Describes the credential parameters for accessing the source registry.
    customRegistries {[key: string]: CustomRegistryCredentialsResponse}
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry SourceRegistryCredentialsResponse
    Describes the credential parameters for accessing the source registry.
    custom_registries Mapping[str, CustomRegistryCredentialsResponse]
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    source_registry SourceRegistryCredentialsResponse
    Describes the credential parameters for accessing the source registry.
    customRegistries Map<Property Map>
    Describes the credential parameters for accessing other custom registries. The key for the dictionary item will be the registry login server (myregistry.azurecr.io) and the value of the item will be the registry credentials for accessing the registry.
    sourceRegistry Property Map
    Describes the credential parameters for accessing the source registry.

    CustomRegistryCredentials, CustomRegistryCredentialsArgs

    Identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    Password Pulumi.AzureNative.ContainerRegistry.Inputs.SecretObject
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    UserName Pulumi.AzureNative.ContainerRegistry.Inputs.SecretObject
    The username for logging into the custom registry.
    Identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    Password SecretObject
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    UserName SecretObject
    The username for logging into the custom registry.
    identity String
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObject
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName SecretObject
    The username for logging into the custom registry.
    identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObject
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName SecretObject
    The username for logging into the custom registry.
    identity str
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObject
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    user_name SecretObject
    The username for logging into the custom registry.
    identity String
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password Property Map
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName Property Map
    The username for logging into the custom registry.

    CustomRegistryCredentialsResponse, CustomRegistryCredentialsResponseArgs

    Identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    Password Pulumi.AzureNative.ContainerRegistry.Inputs.SecretObjectResponse
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    UserName Pulumi.AzureNative.ContainerRegistry.Inputs.SecretObjectResponse
    The username for logging into the custom registry.
    Identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    Password SecretObjectResponse
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    UserName SecretObjectResponse
    The username for logging into the custom registry.
    identity String
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObjectResponse
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName SecretObjectResponse
    The username for logging into the custom registry.
    identity string
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObjectResponse
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName SecretObjectResponse
    The username for logging into the custom registry.
    identity str
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password SecretObjectResponse
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    user_name SecretObjectResponse
    The username for logging into the custom registry.
    identity String
    Indicates the managed identity assigned to the custom credential. If a user-assigned identity this value is the Client ID. If a system-assigned identity, the value will be system. In the case of a system-assigned identity, the Client ID will be determined by the runner. This identity may be used to authenticate to key vault to retrieve credentials or it may be the only source of authentication used for accessing the registry.
    password Property Map
    The password for logging into the custom registry. The password is a secret object that allows multiple ways of providing the value for it.
    userName Property Map
    The username for logging into the custom registry.

    DockerBuildStep, DockerBuildStepArgs

    DockerFilePath string
    The Docker file path relative to the source context.
    Arguments List<Pulumi.AzureNative.ContainerRegistry.Inputs.Argument>
    The collection of override arguments to be used when executing this build step.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    ImageNames List<string>
    The fully qualified image names including the repository and tag.
    IsPushEnabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    NoCache bool
    The value of this property indicates whether the image cache is enabled or not.
    Target string
    The name of the target build stage for the docker build.
    DockerFilePath string
    The Docker file path relative to the source context.
    Arguments []Argument
    The collection of override arguments to be used when executing this build step.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    ImageNames []string
    The fully qualified image names including the repository and tag.
    IsPushEnabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    NoCache bool
    The value of this property indicates whether the image cache is enabled or not.
    Target string
    The name of the target build stage for the docker build.
    dockerFilePath String
    The Docker file path relative to the source context.
    arguments List<Argument>
    The collection of override arguments to be used when executing this build step.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    imageNames List<String>
    The fully qualified image names including the repository and tag.
    isPushEnabled Boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache Boolean
    The value of this property indicates whether the image cache is enabled or not.
    target String
    The name of the target build stage for the docker build.
    dockerFilePath string
    The Docker file path relative to the source context.
    arguments Argument[]
    The collection of override arguments to be used when executing this build step.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    imageNames string[]
    The fully qualified image names including the repository and tag.
    isPushEnabled boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache boolean
    The value of this property indicates whether the image cache is enabled or not.
    target string
    The name of the target build stage for the docker build.
    docker_file_path str
    The Docker file path relative to the source context.
    arguments Sequence[Argument]
    The collection of override arguments to be used when executing this build step.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    image_names Sequence[str]
    The fully qualified image names including the repository and tag.
    is_push_enabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    no_cache bool
    The value of this property indicates whether the image cache is enabled or not.
    target str
    The name of the target build stage for the docker build.
    dockerFilePath String
    The Docker file path relative to the source context.
    arguments List<Property Map>
    The collection of override arguments to be used when executing this build step.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    imageNames List<String>
    The fully qualified image names including the repository and tag.
    isPushEnabled Boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache Boolean
    The value of this property indicates whether the image cache is enabled or not.
    target String
    The name of the target build stage for the docker build.

    DockerBuildStepResponse, DockerBuildStepResponseArgs

    BaseImageDependencies List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
    List of base image dependencies for a step.
    DockerFilePath string
    The Docker file path relative to the source context.
    Arguments List<Pulumi.AzureNative.ContainerRegistry.Inputs.ArgumentResponse>
    The collection of override arguments to be used when executing this build step.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    ImageNames List<string>
    The fully qualified image names including the repository and tag.
    IsPushEnabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    NoCache bool
    The value of this property indicates whether the image cache is enabled or not.
    Target string
    The name of the target build stage for the docker build.
    BaseImageDependencies []BaseImageDependencyResponse
    List of base image dependencies for a step.
    DockerFilePath string
    The Docker file path relative to the source context.
    Arguments []ArgumentResponse
    The collection of override arguments to be used when executing this build step.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    ImageNames []string
    The fully qualified image names including the repository and tag.
    IsPushEnabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    NoCache bool
    The value of this property indicates whether the image cache is enabled or not.
    Target string
    The name of the target build stage for the docker build.
    baseImageDependencies List<BaseImageDependencyResponse>
    List of base image dependencies for a step.
    dockerFilePath String
    The Docker file path relative to the source context.
    arguments List<ArgumentResponse>
    The collection of override arguments to be used when executing this build step.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    imageNames List<String>
    The fully qualified image names including the repository and tag.
    isPushEnabled Boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache Boolean
    The value of this property indicates whether the image cache is enabled or not.
    target String
    The name of the target build stage for the docker build.
    baseImageDependencies BaseImageDependencyResponse[]
    List of base image dependencies for a step.
    dockerFilePath string
    The Docker file path relative to the source context.
    arguments ArgumentResponse[]
    The collection of override arguments to be used when executing this build step.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    imageNames string[]
    The fully qualified image names including the repository and tag.
    isPushEnabled boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache boolean
    The value of this property indicates whether the image cache is enabled or not.
    target string
    The name of the target build stage for the docker build.
    base_image_dependencies Sequence[BaseImageDependencyResponse]
    List of base image dependencies for a step.
    docker_file_path str
    The Docker file path relative to the source context.
    arguments Sequence[ArgumentResponse]
    The collection of override arguments to be used when executing this build step.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    image_names Sequence[str]
    The fully qualified image names including the repository and tag.
    is_push_enabled bool
    The value of this property indicates whether the image built should be pushed to the registry or not.
    no_cache bool
    The value of this property indicates whether the image cache is enabled or not.
    target str
    The name of the target build stage for the docker build.
    baseImageDependencies List<Property Map>
    List of base image dependencies for a step.
    dockerFilePath String
    The Docker file path relative to the source context.
    arguments List<Property Map>
    The collection of override arguments to be used when executing this build step.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    imageNames List<String>
    The fully qualified image names including the repository and tag.
    isPushEnabled Boolean
    The value of this property indicates whether the image built should be pushed to the registry or not.
    noCache Boolean
    The value of this property indicates whether the image cache is enabled or not.
    target String
    The name of the target build stage for the docker build.

    EncodedTaskStep, EncodedTaskStepArgs

    EncodedTaskContent string
    Base64 encoded value of the template/definition file content.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    EncodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    Values List<Pulumi.AzureNative.ContainerRegistry.Inputs.SetValue>
    The collection of overridable values that can be passed when running a task.
    EncodedTaskContent string
    Base64 encoded value of the template/definition file content.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    EncodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    Values []SetValue
    The collection of overridable values that can be passed when running a task.
    encodedTaskContent String
    Base64 encoded value of the template/definition file content.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent String
    Base64 encoded value of the parameters/values file content.
    values List<SetValue>
    The collection of overridable values that can be passed when running a task.
    encodedTaskContent string
    Base64 encoded value of the template/definition file content.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    values SetValue[]
    The collection of overridable values that can be passed when running a task.
    encoded_task_content str
    Base64 encoded value of the template/definition file content.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    encoded_values_content str
    Base64 encoded value of the parameters/values file content.
    values Sequence[SetValue]
    The collection of overridable values that can be passed when running a task.
    encodedTaskContent String
    Base64 encoded value of the template/definition file content.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent String
    Base64 encoded value of the parameters/values file content.
    values List<Property Map>
    The collection of overridable values that can be passed when running a task.

    EncodedTaskStepResponse, EncodedTaskStepResponseArgs

    BaseImageDependencies List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
    List of base image dependencies for a step.
    EncodedTaskContent string
    Base64 encoded value of the template/definition file content.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    EncodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    Values List<Pulumi.AzureNative.ContainerRegistry.Inputs.SetValueResponse>
    The collection of overridable values that can be passed when running a task.
    BaseImageDependencies []BaseImageDependencyResponse
    List of base image dependencies for a step.
    EncodedTaskContent string
    Base64 encoded value of the template/definition file content.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    EncodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    Values []SetValueResponse
    The collection of overridable values that can be passed when running a task.
    baseImageDependencies List<BaseImageDependencyResponse>
    List of base image dependencies for a step.
    encodedTaskContent String
    Base64 encoded value of the template/definition file content.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent String
    Base64 encoded value of the parameters/values file content.
    values List<SetValueResponse>
    The collection of overridable values that can be passed when running a task.
    baseImageDependencies BaseImageDependencyResponse[]
    List of base image dependencies for a step.
    encodedTaskContent string
    Base64 encoded value of the template/definition file content.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent string
    Base64 encoded value of the parameters/values file content.
    values SetValueResponse[]
    The collection of overridable values that can be passed when running a task.
    base_image_dependencies Sequence[BaseImageDependencyResponse]
    List of base image dependencies for a step.
    encoded_task_content str
    Base64 encoded value of the template/definition file content.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    encoded_values_content str
    Base64 encoded value of the parameters/values file content.
    values Sequence[SetValueResponse]
    The collection of overridable values that can be passed when running a task.
    baseImageDependencies List<Property Map>
    List of base image dependencies for a step.
    encodedTaskContent String
    Base64 encoded value of the template/definition file content.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    encodedValuesContent String
    Base64 encoded value of the parameters/values file content.
    values List<Property Map>
    The collection of overridable values that can be passed when running a task.

    FileTaskStep, FileTaskStepArgs

    TaskFilePath string
    The task template/definition file path relative to the source context.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    Values List<Pulumi.AzureNative.ContainerRegistry.Inputs.SetValue>
    The collection of overridable values that can be passed when running a task.
    ValuesFilePath string
    The task values/parameters file path relative to the source context.
    TaskFilePath string
    The task template/definition file path relative to the source context.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    Values []SetValue
    The collection of overridable values that can be passed when running a task.
    ValuesFilePath string
    The task values/parameters file path relative to the source context.
    taskFilePath String
    The task template/definition file path relative to the source context.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    values List<SetValue>
    The collection of overridable values that can be passed when running a task.
    valuesFilePath String
    The task values/parameters file path relative to the source context.
    taskFilePath string
    The task template/definition file path relative to the source context.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    values SetValue[]
    The collection of overridable values that can be passed when running a task.
    valuesFilePath string
    The task values/parameters file path relative to the source context.
    task_file_path str
    The task template/definition file path relative to the source context.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    values Sequence[SetValue]
    The collection of overridable values that can be passed when running a task.
    values_file_path str
    The task values/parameters file path relative to the source context.
    taskFilePath String
    The task template/definition file path relative to the source context.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    values List<Property Map>
    The collection of overridable values that can be passed when running a task.
    valuesFilePath String
    The task values/parameters file path relative to the source context.

    FileTaskStepResponse, FileTaskStepResponseArgs

    BaseImageDependencies List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
    List of base image dependencies for a step.
    TaskFilePath string
    The task template/definition file path relative to the source context.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    Values List<Pulumi.AzureNative.ContainerRegistry.Inputs.SetValueResponse>
    The collection of overridable values that can be passed when running a task.
    ValuesFilePath string
    The task values/parameters file path relative to the source context.
    BaseImageDependencies []BaseImageDependencyResponse
    List of base image dependencies for a step.
    TaskFilePath string
    The task template/definition file path relative to the source context.
    ContextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    ContextPath string
    The URL(absolute or relative) of the source context for the task step.
    Values []SetValueResponse
    The collection of overridable values that can be passed when running a task.
    ValuesFilePath string
    The task values/parameters file path relative to the source context.
    baseImageDependencies List<BaseImageDependencyResponse>
    List of base image dependencies for a step.
    taskFilePath String
    The task template/definition file path relative to the source context.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    values List<SetValueResponse>
    The collection of overridable values that can be passed when running a task.
    valuesFilePath String
    The task values/parameters file path relative to the source context.
    baseImageDependencies BaseImageDependencyResponse[]
    List of base image dependencies for a step.
    taskFilePath string
    The task template/definition file path relative to the source context.
    contextAccessToken string
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath string
    The URL(absolute or relative) of the source context for the task step.
    values SetValueResponse[]
    The collection of overridable values that can be passed when running a task.
    valuesFilePath string
    The task values/parameters file path relative to the source context.
    base_image_dependencies Sequence[BaseImageDependencyResponse]
    List of base image dependencies for a step.
    task_file_path str
    The task template/definition file path relative to the source context.
    context_access_token str
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    context_path str
    The URL(absolute or relative) of the source context for the task step.
    values Sequence[SetValueResponse]
    The collection of overridable values that can be passed when running a task.
    values_file_path str
    The task values/parameters file path relative to the source context.
    baseImageDependencies List<Property Map>
    List of base image dependencies for a step.
    taskFilePath String
    The task template/definition file path relative to the source context.
    contextAccessToken String
    The token (git PAT or SAS token of storage account blob) associated with the context for a step.
    contextPath String
    The URL(absolute or relative) of the source context for the task step.
    values List<Property Map>
    The collection of overridable values that can be passed when running a task.
    valuesFilePath String
    The task values/parameters file path relative to the source context.

    IdentityProperties, IdentityPropertiesArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type Pulumi.AzureNative.ContainerRegistry.ResourceIdentityType
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type ResourceIdentityType
    The identity type.
    UserAssignedIdentities map[string]UserIdentityProperties
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities Map<String,UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityProperties}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityProperties]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    IdentityPropertiesResponse, IdentityPropertiesResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities map[string]UserIdentityPropertiesResponse
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<String,UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityPropertiesResponse}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityPropertiesResponse]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    OS, OSArgs

    Windows
    Windows
    Linux
    Linux
    OSWindows
    Windows
    OSLinux
    Linux
    Windows
    Windows
    Linux
    Linux
    Windows
    Windows
    Linux
    Linux
    WINDOWS
    Windows
    LINUX
    Linux
    "Windows"
    Windows
    "Linux"
    Linux

    PlatformProperties, PlatformPropertiesArgs

    Os string | Pulumi.AzureNative.ContainerRegistry.OS
    The operating system type required for the run.
    Architecture string | Pulumi.AzureNative.ContainerRegistry.Architecture
    The OS architecture.
    Variant string | Pulumi.AzureNative.ContainerRegistry.Variant
    Variant of the CPU.
    Os string | OS
    The operating system type required for the run.
    Architecture string | Architecture
    The OS architecture.
    Variant string | Variant
    Variant of the CPU.
    os String | OS
    The operating system type required for the run.
    architecture String | Architecture
    The OS architecture.
    variant String | Variant
    Variant of the CPU.
    os string | OS
    The operating system type required for the run.
    architecture string | Architecture
    The OS architecture.
    variant string | Variant
    Variant of the CPU.
    os str | OS
    The operating system type required for the run.
    architecture str | Architecture
    The OS architecture.
    variant str | Variant
    Variant of the CPU.
    os String | "Windows" | "Linux"
    The operating system type required for the run.
    architecture String | "amd64" | "x86" | "386" | "arm" | "arm64"
    The OS architecture.
    variant String | "v6" | "v7" | "v8"
    Variant of the CPU.

    PlatformPropertiesResponse, PlatformPropertiesResponseArgs

    Os string
    The operating system type required for the run.
    Architecture string
    The OS architecture.
    Variant string
    Variant of the CPU.
    Os string
    The operating system type required for the run.
    Architecture string
    The OS architecture.
    Variant string
    Variant of the CPU.
    os String
    The operating system type required for the run.
    architecture String
    The OS architecture.
    variant String
    Variant of the CPU.
    os string
    The operating system type required for the run.
    architecture string
    The OS architecture.
    variant string
    Variant of the CPU.
    os str
    The operating system type required for the run.
    architecture str
    The OS architecture.
    variant str
    Variant of the CPU.
    os String
    The operating system type required for the run.
    architecture String
    The OS architecture.
    variant String
    Variant of the CPU.

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeUserAssigned
    UserAssigned
    ResourceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned, UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned, UserAssigned"
    SystemAssigned, UserAssigned
    "None"
    None

    SecretObject, SecretObjectArgs

    Type string | Pulumi.AzureNative.ContainerRegistry.SecretObjectType
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    Value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    Type string | SecretObjectType
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    Value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type String | SecretObjectType
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value String
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type string | SecretObjectType
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type str | SecretObjectType
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value str
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type String | "Opaque" | "Vaultsecret"
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value String
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

    SecretObjectResponse, SecretObjectResponseArgs

    Type string
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    Value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    Type string
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    Value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type String
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value String
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type string
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value string
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type str
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value str
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.
    type String
    The type of the secret object which determines how the value of the secret object has to be interpreted.
    value String
    The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

    SecretObjectType, SecretObjectTypeArgs

    Opaque
    Opaque
    Vaultsecret
    Vaultsecret
    SecretObjectTypeOpaque
    Opaque
    SecretObjectTypeVaultsecret
    Vaultsecret
    Opaque
    Opaque
    Vaultsecret
    Vaultsecret
    Opaque
    Opaque
    Vaultsecret
    Vaultsecret
    OPAQUE
    Opaque
    VAULTSECRET
    Vaultsecret
    "Opaque"
    Opaque
    "Vaultsecret"
    Vaultsecret

    SetValue, SetValueArgs

    Name string
    The name of the overridable value.
    Value string
    The overridable value.
    IsSecret bool
    Flag to indicate whether the value represents a secret or not.
    Name string
    The name of the overridable value.
    Value string
    The overridable value.
    IsSecret bool
    Flag to indicate whether the value represents a secret or not.
    name String
    The name of the overridable value.
    value String
    The overridable value.
    isSecret Boolean
    Flag to indicate whether the value represents a secret or not.
    name string
    The name of the overridable value.
    value string
    The overridable value.
    isSecret boolean
    Flag to indicate whether the value represents a secret or not.
    name str
    The name of the overridable value.
    value str
    The overridable value.
    is_secret bool
    Flag to indicate whether the value represents a secret or not.
    name String
    The name of the overridable value.
    value String
    The overridable value.
    isSecret Boolean
    Flag to indicate whether the value represents a secret or not.

    SetValueResponse, SetValueResponseArgs

    Name string
    The name of the overridable value.
    Value string
    The overridable value.
    IsSecret bool
    Flag to indicate whether the value represents a secret or not.
    Name string
    The name of the overridable value.
    Value string
    The overridable value.
    IsSecret bool
    Flag to indicate whether the value represents a secret or not.
    name String
    The name of the overridable value.
    value String
    The overridable value.
    isSecret Boolean
    Flag to indicate whether the value represents a secret or not.
    name string
    The name of the overridable value.
    value string
    The overridable value.
    isSecret boolean
    Flag to indicate whether the value represents a secret or not.
    name str
    The name of the overridable value.
    value str
    The overridable value.
    is_secret bool
    Flag to indicate whether the value represents a secret or not.
    name String
    The name of the overridable value.
    value String
    The overridable value.
    isSecret Boolean
    Flag to indicate whether the value represents a secret or not.

    SourceControlType, SourceControlTypeArgs

    Github
    Github
    VisualStudioTeamService
    VisualStudioTeamService
    SourceControlTypeGithub
    Github
    SourceControlTypeVisualStudioTeamService
    VisualStudioTeamService
    Github
    Github
    VisualStudioTeamService
    VisualStudioTeamService
    Github
    Github
    VisualStudioTeamService
    VisualStudioTeamService
    GITHUB
    Github
    VISUAL_STUDIO_TEAM_SERVICE
    VisualStudioTeamService
    "Github"
    Github
    "VisualStudioTeamService"
    VisualStudioTeamService

    SourceProperties, SourcePropertiesArgs

    RepositoryUrl string
    The full URL to the source code repository
    SourceControlType string | Pulumi.AzureNative.ContainerRegistry.SourceControlType
    The type of source control service.
    Branch string
    The branch name of the source code.
    SourceControlAuthProperties Pulumi.AzureNative.ContainerRegistry.Inputs.AuthInfo
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    RepositoryUrl string
    The full URL to the source code repository
    SourceControlType string | SourceControlType
    The type of source control service.
    Branch string
    The branch name of the source code.
    SourceControlAuthProperties AuthInfo
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl String
    The full URL to the source code repository
    sourceControlType String | SourceControlType
    The type of source control service.
    branch String
    The branch name of the source code.
    sourceControlAuthProperties AuthInfo
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl string
    The full URL to the source code repository
    sourceControlType string | SourceControlType
    The type of source control service.
    branch string
    The branch name of the source code.
    sourceControlAuthProperties AuthInfo
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repository_url str
    The full URL to the source code repository
    source_control_type str | SourceControlType
    The type of source control service.
    branch str
    The branch name of the source code.
    source_control_auth_properties AuthInfo
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl String
    The full URL to the source code repository
    sourceControlType String | "Github" | "VisualStudioTeamService"
    The type of source control service.
    branch String
    The branch name of the source code.
    sourceControlAuthProperties Property Map
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.

    SourcePropertiesResponse, SourcePropertiesResponseArgs

    RepositoryUrl string
    The full URL to the source code repository
    SourceControlType string
    The type of source control service.
    Branch string
    The branch name of the source code.
    SourceControlAuthProperties Pulumi.AzureNative.ContainerRegistry.Inputs.AuthInfoResponse
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    RepositoryUrl string
    The full URL to the source code repository
    SourceControlType string
    The type of source control service.
    Branch string
    The branch name of the source code.
    SourceControlAuthProperties AuthInfoResponse
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl String
    The full URL to the source code repository
    sourceControlType String
    The type of source control service.
    branch String
    The branch name of the source code.
    sourceControlAuthProperties AuthInfoResponse
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl string
    The full URL to the source code repository
    sourceControlType string
    The type of source control service.
    branch string
    The branch name of the source code.
    sourceControlAuthProperties AuthInfoResponse
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repository_url str
    The full URL to the source code repository
    source_control_type str
    The type of source control service.
    branch str
    The branch name of the source code.
    source_control_auth_properties AuthInfoResponse
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.
    repositoryUrl String
    The full URL to the source code repository
    sourceControlType String
    The type of source control service.
    branch String
    The branch name of the source code.
    sourceControlAuthProperties Property Map
    The authorization properties for accessing the source code repository and to set up webhooks for notifications.

    SourceRegistryCredentials, SourceRegistryCredentialsArgs

    LoginMode string | Pulumi.AzureNative.ContainerRegistry.SourceRegistryLoginMode
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    LoginMode string | SourceRegistryLoginMode
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode String | SourceRegistryLoginMode
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode string | SourceRegistryLoginMode
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    login_mode str | SourceRegistryLoginMode
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode String | "None" | "Default"
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.

    SourceRegistryCredentialsResponse, SourceRegistryCredentialsResponseArgs

    LoginMode string
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    LoginMode string
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode String
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode string
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    login_mode str
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
    loginMode String
    The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.

    SourceRegistryLoginMode, SourceRegistryLoginModeArgs

    None
    None
    Default
    Default
    SourceRegistryLoginModeNone
    None
    SourceRegistryLoginModeDefault
    Default
    None
    None
    Default
    Default
    None
    None
    Default
    Default
    NONE
    None
    DEFAULT
    Default
    "None"
    None
    "Default"
    Default

    SourceTrigger, SourceTriggerArgs

    Name string
    The name of the trigger.
    SourceRepository Pulumi.AzureNative.ContainerRegistry.Inputs.SourceProperties
    The properties that describes the source(code) for the task.
    SourceTriggerEvents List<Union<string, Pulumi.AzureNative.ContainerRegistry.SourceTriggerEvent>>
    The source event corresponding to the trigger.
    Status string | Pulumi.AzureNative.ContainerRegistry.TriggerStatus
    The current status of trigger.
    Name string
    The name of the trigger.
    SourceRepository SourceProperties
    The properties that describes the source(code) for the task.
    SourceTriggerEvents []string
    The source event corresponding to the trigger.
    Status string | TriggerStatus
    The current status of trigger.
    name String
    The name of the trigger.
    sourceRepository SourceProperties
    The properties that describes the source(code) for the task.
    sourceTriggerEvents List<Either<String,SourceTriggerEvent>>
    The source event corresponding to the trigger.
    status String | TriggerStatus
    The current status of trigger.
    name string
    The name of the trigger.
    sourceRepository SourceProperties
    The properties that describes the source(code) for the task.
    sourceTriggerEvents (string | SourceTriggerEvent)[]
    The source event corresponding to the trigger.
    status string | TriggerStatus
    The current status of trigger.
    name str
    The name of the trigger.
    source_repository SourceProperties
    The properties that describes the source(code) for the task.
    source_trigger_events Sequence[Union[str, SourceTriggerEvent]]
    The source event corresponding to the trigger.
    status str | TriggerStatus
    The current status of trigger.
    name String
    The name of the trigger.
    sourceRepository Property Map
    The properties that describes the source(code) for the task.
    sourceTriggerEvents List<String | "commit" | "pullrequest">
    The source event corresponding to the trigger.
    status String | "Disabled" | "Enabled"
    The current status of trigger.

    SourceTriggerEvent, SourceTriggerEventArgs

    Commit
    commit
    Pullrequest
    pullrequest
    SourceTriggerEventCommit
    commit
    SourceTriggerEventPullrequest
    pullrequest
    Commit
    commit
    Pullrequest
    pullrequest
    Commit
    commit
    Pullrequest
    pullrequest
    COMMIT
    commit
    PULLREQUEST
    pullrequest
    "commit"
    commit
    "pullrequest"
    pullrequest

    SourceTriggerResponse, SourceTriggerResponseArgs

    Name string
    The name of the trigger.
    SourceRepository Pulumi.AzureNative.ContainerRegistry.Inputs.SourcePropertiesResponse
    The properties that describes the source(code) for the task.
    SourceTriggerEvents List<string>
    The source event corresponding to the trigger.
    Status string
    The current status of trigger.
    Name string
    The name of the trigger.
    SourceRepository SourcePropertiesResponse
    The properties that describes the source(code) for the task.
    SourceTriggerEvents []string
    The source event corresponding to the trigger.
    Status string
    The current status of trigger.
    name String
    The name of the trigger.
    sourceRepository SourcePropertiesResponse
    The properties that describes the source(code) for the task.
    sourceTriggerEvents List<String>
    The source event corresponding to the trigger.
    status String
    The current status of trigger.
    name string
    The name of the trigger.
    sourceRepository SourcePropertiesResponse
    The properties that describes the source(code) for the task.
    sourceTriggerEvents string[]
    The source event corresponding to the trigger.
    status string
    The current status of trigger.
    name str
    The name of the trigger.
    source_repository SourcePropertiesResponse
    The properties that describes the source(code) for the task.
    source_trigger_events Sequence[str]
    The source event corresponding to the trigger.
    status str
    The current status of trigger.
    name String
    The name of the trigger.
    sourceRepository Property Map
    The properties that describes the source(code) for the task.
    sourceTriggerEvents List<String>
    The source event corresponding to the trigger.
    status String
    The current status of trigger.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource modification (UTC).
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource modification (UTC).
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    TaskStatus, TaskStatusArgs

    Disabled
    Disabled
    Enabled
    Enabled
    TaskStatusDisabled
    Disabled
    TaskStatusEnabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    DISABLED
    Disabled
    ENABLED
    Enabled
    "Disabled"
    Disabled
    "Enabled"
    Enabled

    TimerTrigger, TimerTriggerArgs

    Name string
    The name of the trigger.
    Schedule string
    The CRON expression for the task schedule
    Status string | Pulumi.AzureNative.ContainerRegistry.TriggerStatus
    The current status of trigger.
    Name string
    The name of the trigger.
    Schedule string
    The CRON expression for the task schedule
    Status string | TriggerStatus
    The current status of trigger.
    name String
    The name of the trigger.
    schedule String
    The CRON expression for the task schedule
    status String | TriggerStatus
    The current status of trigger.
    name string
    The name of the trigger.
    schedule string
    The CRON expression for the task schedule
    status string | TriggerStatus
    The current status of trigger.
    name str
    The name of the trigger.
    schedule str
    The CRON expression for the task schedule
    status str | TriggerStatus
    The current status of trigger.
    name String
    The name of the trigger.
    schedule String
    The CRON expression for the task schedule
    status String | "Disabled" | "Enabled"
    The current status of trigger.

    TimerTriggerResponse, TimerTriggerResponseArgs

    Name string
    The name of the trigger.
    Schedule string
    The CRON expression for the task schedule
    Status string
    The current status of trigger.
    Name string
    The name of the trigger.
    Schedule string
    The CRON expression for the task schedule
    Status string
    The current status of trigger.
    name String
    The name of the trigger.
    schedule String
    The CRON expression for the task schedule
    status String
    The current status of trigger.
    name string
    The name of the trigger.
    schedule string
    The CRON expression for the task schedule
    status string
    The current status of trigger.
    name str
    The name of the trigger.
    schedule str
    The CRON expression for the task schedule
    status str
    The current status of trigger.
    name String
    The name of the trigger.
    schedule String
    The CRON expression for the task schedule
    status String
    The current status of trigger.

    TokenType, TokenTypeArgs

    PAT
    PAT
    OAuth
    OAuth
    TokenTypePAT
    PAT
    TokenTypeOAuth
    OAuth
    PAT
    PAT
    OAuth
    OAuth
    PAT
    PAT
    OAuth
    OAuth
    PAT
    PAT
    O_AUTH
    OAuth
    "PAT"
    PAT
    "OAuth"
    OAuth

    TriggerProperties, TriggerPropertiesArgs

    BaseImageTrigger BaseImageTrigger
    The trigger based on base image dependencies.
    SourceTriggers []SourceTrigger
    The collection of triggers based on source code repository.
    TimerTriggers []TimerTrigger
    The collection of timer triggers.
    baseImageTrigger BaseImageTrigger
    The trigger based on base image dependencies.
    sourceTriggers List<SourceTrigger>
    The collection of triggers based on source code repository.
    timerTriggers List<TimerTrigger>
    The collection of timer triggers.
    baseImageTrigger BaseImageTrigger
    The trigger based on base image dependencies.
    sourceTriggers SourceTrigger[]
    The collection of triggers based on source code repository.
    timerTriggers TimerTrigger[]
    The collection of timer triggers.
    base_image_trigger BaseImageTrigger
    The trigger based on base image dependencies.
    source_triggers Sequence[SourceTrigger]
    The collection of triggers based on source code repository.
    timer_triggers Sequence[TimerTrigger]
    The collection of timer triggers.
    baseImageTrigger Property Map
    The trigger based on base image dependencies.
    sourceTriggers List<Property Map>
    The collection of triggers based on source code repository.
    timerTriggers List<Property Map>
    The collection of timer triggers.

    TriggerPropertiesResponse, TriggerPropertiesResponseArgs

    BaseImageTrigger BaseImageTriggerResponse
    The trigger based on base image dependencies.
    SourceTriggers []SourceTriggerResponse
    The collection of triggers based on source code repository.
    TimerTriggers []TimerTriggerResponse
    The collection of timer triggers.
    baseImageTrigger BaseImageTriggerResponse
    The trigger based on base image dependencies.
    sourceTriggers List<SourceTriggerResponse>
    The collection of triggers based on source code repository.
    timerTriggers List<TimerTriggerResponse>
    The collection of timer triggers.
    baseImageTrigger BaseImageTriggerResponse
    The trigger based on base image dependencies.
    sourceTriggers SourceTriggerResponse[]
    The collection of triggers based on source code repository.
    timerTriggers TimerTriggerResponse[]
    The collection of timer triggers.
    base_image_trigger BaseImageTriggerResponse
    The trigger based on base image dependencies.
    source_triggers Sequence[SourceTriggerResponse]
    The collection of triggers based on source code repository.
    timer_triggers Sequence[TimerTriggerResponse]
    The collection of timer triggers.
    baseImageTrigger Property Map
    The trigger based on base image dependencies.
    sourceTriggers List<Property Map>
    The collection of triggers based on source code repository.
    timerTriggers List<Property Map>
    The collection of timer triggers.

    TriggerStatus, TriggerStatusArgs

    Disabled
    Disabled
    Enabled
    Enabled
    TriggerStatusDisabled
    Disabled
    TriggerStatusEnabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    DISABLED
    Disabled
    ENABLED
    Enabled
    "Disabled"
    Disabled
    "Enabled"
    Enabled

    UpdateTriggerPayloadType, UpdateTriggerPayloadTypeArgs

    Default
    Default
    Token
    Token
    UpdateTriggerPayloadTypeDefault
    Default
    UpdateTriggerPayloadTypeToken
    Token
    Default
    Default
    Token
    Token
    Default
    Default
    Token
    Token
    DEFAULT
    Default
    TOKEN
    Token
    "Default"
    Default
    "Token"
    Token

    UserIdentityProperties, UserIdentityPropertiesArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    Variant, VariantArgs

    V6
    v6
    V7
    v7
    V8
    v8
    VariantV6
    v6
    VariantV7
    v7
    VariantV8
    v8
    V6
    v6
    V7
    v7
    V8
    v8
    V6
    v6
    V7
    v7
    V8
    v8
    V6
    v6
    V7
    v7
    V8
    v8
    "v6"
    v6
    "v7"
    v7
    "v8"
    v8

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerregistry:Task myTask /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi