1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. Task
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.containerregistry.Task

Explore with Pulumi AI

The task that has the ARM resource and task properties. The task will have all information to schedule a run against it.

Uses Azure REST API version 2019-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2019-06-01-preview.

Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the version guide for details.

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",
                },
            },
        },
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
	"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.DockerBuildStepArgs{
				Arguments: containerregistry.ArgumentArray{
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(false),
						Name:     pulumi.String("mytestargument"),
						Value:    pulumi.String("mytestvalue"),
					},
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(true),
						Name:     pulumi.String("mysecrettestargument"),
						Value:    pulumi.String("mysecrettestvalue"),
					},
				},
				ContextPath:    pulumi.String("src"),
				DockerFilePath: pulumi.String("src/DockerFile"),
				ImageNames: pulumi.StringArray{
					pulumi.String("azurerest:testtag"),
				},
				IsPushEnabled: pulumi.Bool(true),
				NoCache:       pulumi.Bool(false),
				Type:          pulumi.String("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
	})
}
Copy
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());

    }
}
Copy
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",
        }],
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

task = azure_native.containerregistry.Task("task",
    agent_configuration={
        "cpu": 2,
    },
    identity={
        "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
    },
    is_system_task=False,
    location="eastus",
    log_template="acr/tasks:{{.Run.OS}}",
    platform={
        "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={
        "arguments": [
            {
                "is_secret": False,
                "name": "mytestargument",
                "value": "mytestvalue",
            },
            {
                "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={
        "base_image_trigger": {
            "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": [{
            "name": "mySourceTrigger",
            "source_repository": {
                "branch": "master",
                "repository_url": "https://github.com/Azure/azure-rest-api-specs",
                "source_control_auth_properties": {
                    "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": [{
            "name": "myTimerTrigger",
            "schedule": "30 9 * * 1-5",
        }],
    })
Copy
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
Copy

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",
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
	"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
	})
}
Copy
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());

    }
}
Copy
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",
});
Copy
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")
Copy
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
Copy

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",
                },
            },
        },
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
	"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": &containerregistry.UserIdentityPropertiesArgs{},
				},
			},
			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.DockerBuildStepArgs{
				Arguments: containerregistry.ArgumentArray{
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(false),
						Name:     pulumi.String("mytestargument"),
						Value:    pulumi.String("mytestvalue"),
					},
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(true),
						Name:     pulumi.String("mysecrettestargument"),
						Value:    pulumi.String("mysecrettestvalue"),
					},
				},
				ContextPath:    pulumi.String("src"),
				DockerFilePath: pulumi.String("src/DockerFile"),
				ImageNames: pulumi.StringArray{
					pulumi.String("azurerest:testtag"),
				},
				IsPushEnabled: pulumi.Bool(true),
				NoCache:       pulumi.Bool(false),
				Type:          pulumi.String("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
	})
}
Copy
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", UserIdentityPropertiesArgs.builder()
                    .build()))
                .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());

    }
}
Copy
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",
        }],
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

task = azure_native.containerregistry.Task("task",
    agent_configuration={
        "cpu": 2,
    },
    identity={
        "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": {},
        },
    },
    is_system_task=False,
    location="eastus",
    platform={
        "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={
        "arguments": [
            {
                "is_secret": False,
                "name": "mytestargument",
                "value": "mytestvalue",
            },
            {
                "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={
        "base_image_trigger": {
            "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": [{
            "name": "mySourceTrigger",
            "source_repository": {
                "branch": "master",
                "repository_url": "https://github.com/Azure/azure-rest-api-specs",
                "source_control_auth_properties": {
                    "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": [{
            "name": "myTimerTrigger",
            "schedule": "30 9 * * 1-5",
        }],
    })
Copy
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
Copy

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",
                },
            },
        },
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
	"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":  &containerregistry.UserIdentityPropertiesArgs{},
					"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": &containerregistry.UserIdentityPropertiesArgs{},
				},
			},
			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.DockerBuildStepArgs{
				Arguments: containerregistry.ArgumentArray{
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(false),
						Name:     pulumi.String("mytestargument"),
						Value:    pulumi.String("mytestvalue"),
					},
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(true),
						Name:     pulumi.String("mysecrettestargument"),
						Value:    pulumi.String("mysecrettestvalue"),
					},
				},
				ContextPath:    pulumi.String("src"),
				DockerFilePath: pulumi.String("src/DockerFile"),
				ImageNames: pulumi.StringArray{
					pulumi.String("azurerest:testtag"),
				},
				IsPushEnabled: pulumi.Bool(true),
				NoCache:       pulumi.Bool(false),
				Type:          pulumi.String("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
	})
}
Copy
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", UserIdentityPropertiesArgs.builder()
                        .build()),
                    Map.entry("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", UserIdentityPropertiesArgs.builder()
                        .build())
                ))
                .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());

    }
}
Copy
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",
        }],
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

task = azure_native.containerregistry.Task("task",
    agent_configuration={
        "cpu": 2,
    },
    identity={
        "type": azure_native.containerregistry.ResourceIdentityType.USER_ASSIGNED,
        "user_assigned_identities": {
            "/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": {},
        },
    },
    is_system_task=False,
    location="eastus",
    platform={
        "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={
        "arguments": [
            {
                "is_secret": False,
                "name": "mytestargument",
                "value": "mytestvalue",
            },
            {
                "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={
        "base_image_trigger": {
            "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": [{
            "name": "mySourceTrigger",
            "source_repository": {
                "branch": "master",
                "repository_url": "https://github.com/Azure/azure-rest-api-specs",
                "source_control_auth_properties": {
                    "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": [{
            "name": "myTimerTrigger",
            "schedule": "30 9 * * 1-5",
        }],
    })
Copy
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
Copy

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",
                },
            },
        },
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v3"
	"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.DockerBuildStepArgs{
				Arguments: containerregistry.ArgumentArray{
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(false),
						Name:     pulumi.String("mytestargument"),
						Value:    pulumi.String("mytestvalue"),
					},
					&containerregistry.ArgumentArgs{
						IsSecret: pulumi.Bool(true),
						Name:     pulumi.String("mysecrettestargument"),
						Value:    pulumi.String("mysecrettestvalue"),
					},
				},
				ContextPath:    pulumi.String("src"),
				DockerFilePath: pulumi.String("src/DockerFile"),
				ImageNames: pulumi.StringArray{
					pulumi.String("azurerest:testtag"),
				},
				IsPushEnabled: pulumi.Bool(true),
				NoCache:       pulumi.Bool(false),
				Type:          pulumi.String("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
	})
}
Copy
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());

    }
}
Copy
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",
        }],
    },
});
Copy
import pulumi
import pulumi_azure_native as azure_native

task = azure_native.containerregistry.Task("task",
    agent_configuration={
        "cpu": 2,
    },
    identity={
        "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
    },
    is_system_task=False,
    location="eastus",
    platform={
        "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={
        "arguments": [
            {
                "is_secret": False,
                "name": "mytestargument",
                "value": "mytestvalue",
            },
            {
                "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={
        "base_image_trigger": {
            "base_image_trigger_type": azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
            "name": "myBaseImageTrigger",
        },
        "source_triggers": [{
            "name": "mySourceTrigger",
            "source_repository": {
                "branch": "master",
                "repository_url": "https://github.com/Azure/azure-rest-api-specs",
                "source_control_auth_properties": {
                    "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": [{
            "name": "myTimerTrigger",
            "schedule": "30 9 * * 1-5",
        }],
    })
Copy
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
Copy

Create Task Resource

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

Constructor syntax

new Task(name: string, args: TaskArgs, opts?: CustomResourceOptions);
@overload
def Task(resource_name: str,
         args: TaskArgs,
         opts: Optional[ResourceOptions] = None)

@overload
def Task(resource_name: str,
         opts: Optional[ResourceOptions] = None,
         registry_name: Optional[str] = None,
         resource_group_name: Optional[str] = None,
         is_system_task: Optional[bool] = None,
         agent_pool_name: Optional[str] = None,
         agent_configuration: Optional[AgentPropertiesArgs] = None,
         location: Optional[str] = None,
         log_template: Optional[str] = None,
         platform: Optional[PlatformPropertiesArgs] = None,
         credentials: Optional[CredentialsArgs] = None,
         identity: Optional[IdentityPropertiesArgs] = 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)
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.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. TaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. TaskArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. TaskArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. TaskArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

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

var taskResource = new AzureNative.ContainerRegistry.Task("taskResource", new()
{
    RegistryName = "string",
    ResourceGroupName = "string",
    IsSystemTask = false,
    AgentPoolName = "string",
    AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
    {
        Cpu = 0,
    },
    Location = "string",
    LogTemplate = "string",
    Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
    {
        Os = "string",
        Architecture = "string",
        Variant = "string",
    },
    Credentials = new AzureNative.ContainerRegistry.Inputs.CredentialsArgs
    {
        CustomRegistries = 
        {
            { "string", new AzureNative.ContainerRegistry.Inputs.CustomRegistryCredentialsArgs
            {
                Identity = "string",
                Password = new AzureNative.ContainerRegistry.Inputs.SecretObjectArgs
                {
                    Type = "string",
                    Value = "string",
                },
                UserName = new AzureNative.ContainerRegistry.Inputs.SecretObjectArgs
                {
                    Type = "string",
                    Value = "string",
                },
            } },
        },
        SourceRegistry = new AzureNative.ContainerRegistry.Inputs.SourceRegistryCredentialsArgs
        {
            LoginMode = "string",
        },
    },
    Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
    {
        PrincipalId = "string",
        TenantId = "string",
        Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
        UserAssignedIdentities = 
        {
            { "string", new AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesArgs
            {
                ClientId = "string",
                PrincipalId = "string",
            } },
        },
    },
    Status = "string",
    Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
    {
        DockerFilePath = "string",
        Type = "Docker",
        Arguments = new[]
        {
            new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
            {
                Name = "string",
                Value = "string",
                IsSecret = false,
            },
        },
        ContextAccessToken = "string",
        ContextPath = "string",
        ImageNames = new[]
        {
            "string",
        },
        IsPushEnabled = false,
        NoCache = false,
        Target = "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
    TaskName = "string",
    Timeout = 0,
    Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
    {
        BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
        {
            BaseImageTriggerType = "string",
            Name = "string",
            Status = "string",
            UpdateTriggerEndpoint = "string",
            UpdateTriggerPayloadType = "string",
        },
        SourceTriggers = new[]
        {
            new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
            {
                Name = "string",
                SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
                {
                    RepositoryUrl = "string",
                    SourceControlType = "string",
                    Branch = "string",
                    SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
                    {
                        Token = "string",
                        TokenType = "string",
                        ExpiresIn = 0,
                        RefreshToken = "string",
                        Scope = "string",
                    },
                },
                SourceTriggerEvents = new[]
                {
                    "string",
                },
                Status = "string",
            },
        },
        TimerTriggers = new[]
        {
            new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
            {
                Name = "string",
                Schedule = "string",
                Status = "string",
            },
        },
    },
});
Copy
example, err := containerregistry.NewTask(ctx, "taskResource", &containerregistry.TaskArgs{
	RegistryName:      pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	IsSystemTask:      pulumi.Bool(false),
	AgentPoolName:     pulumi.String("string"),
	AgentConfiguration: &containerregistry.AgentPropertiesArgs{
		Cpu: pulumi.Int(0),
	},
	Location:    pulumi.String("string"),
	LogTemplate: pulumi.String("string"),
	Platform: &containerregistry.PlatformPropertiesArgs{
		Os:           pulumi.String("string"),
		Architecture: pulumi.String("string"),
		Variant:      pulumi.String("string"),
	},
	Credentials: &containerregistry.CredentialsArgs{
		CustomRegistries: containerregistry.CustomRegistryCredentialsMap{
			"string": &containerregistry.CustomRegistryCredentialsArgs{
				Identity: pulumi.String("string"),
				Password: &containerregistry.SecretObjectArgs{
					Type:  pulumi.String("string"),
					Value: pulumi.String("string"),
				},
				UserName: &containerregistry.SecretObjectArgs{
					Type:  pulumi.String("string"),
					Value: pulumi.String("string"),
				},
			},
		},
		SourceRegistry: &containerregistry.SourceRegistryCredentialsArgs{
			LoginMode: pulumi.String("string"),
		},
	},
	Identity: &containerregistry.IdentityPropertiesArgs{
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
		Type:        containerregistry.ResourceIdentityTypeSystemAssigned,
		UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
			"string": &containerregistry.UserIdentityPropertiesArgs{
				ClientId:    pulumi.String("string"),
				PrincipalId: pulumi.String("string"),
			},
		},
	},
	Status: pulumi.String("string"),
	Step: &containerregistry.DockerBuildStepArgs{
		DockerFilePath: pulumi.String("string"),
		Type:           pulumi.String("Docker"),
		Arguments: containerregistry.ArgumentArray{
			&containerregistry.ArgumentArgs{
				Name:     pulumi.String("string"),
				Value:    pulumi.String("string"),
				IsSecret: pulumi.Bool(false),
			},
		},
		ContextAccessToken: pulumi.String("string"),
		ContextPath:        pulumi.String("string"),
		ImageNames: pulumi.StringArray{
			pulumi.String("string"),
		},
		IsPushEnabled: pulumi.Bool(false),
		NoCache:       pulumi.Bool(false),
		Target:        pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TaskName: pulumi.String("string"),
	Timeout:  pulumi.Int(0),
	Trigger: &containerregistry.TriggerPropertiesArgs{
		BaseImageTrigger: &containerregistry.BaseImageTriggerArgs{
			BaseImageTriggerType:     pulumi.String("string"),
			Name:                     pulumi.String("string"),
			Status:                   pulumi.String("string"),
			UpdateTriggerEndpoint:    pulumi.String("string"),
			UpdateTriggerPayloadType: pulumi.String("string"),
		},
		SourceTriggers: containerregistry.SourceTriggerArray{
			&containerregistry.SourceTriggerArgs{
				Name: pulumi.String("string"),
				SourceRepository: &containerregistry.SourcePropertiesArgs{
					RepositoryUrl:     pulumi.String("string"),
					SourceControlType: pulumi.String("string"),
					Branch:            pulumi.String("string"),
					SourceControlAuthProperties: &containerregistry.AuthInfoArgs{
						Token:        pulumi.String("string"),
						TokenType:    pulumi.String("string"),
						ExpiresIn:    pulumi.Int(0),
						RefreshToken: pulumi.String("string"),
						Scope:        pulumi.String("string"),
					},
				},
				SourceTriggerEvents: pulumi.StringArray{
					pulumi.String("string"),
				},
				Status: pulumi.String("string"),
			},
		},
		TimerTriggers: containerregistry.TimerTriggerArray{
			&containerregistry.TimerTriggerArgs{
				Name:     pulumi.String("string"),
				Schedule: pulumi.String("string"),
				Status:   pulumi.String("string"),
			},
		},
	},
})
Copy
var taskResource = new com.pulumi.azurenative.containerregistry.Task("taskResource", com.pulumi.azurenative.containerregistry.TaskArgs.builder()
    .registryName("string")
    .resourceGroupName("string")
    .isSystemTask(false)
    .agentPoolName("string")
    .agentConfiguration(AgentPropertiesArgs.builder()
        .cpu(0)
        .build())
    .location("string")
    .logTemplate("string")
    .platform(PlatformPropertiesArgs.builder()
        .os("string")
        .architecture("string")
        .variant("string")
        .build())
    .credentials(CredentialsArgs.builder()
        .customRegistries(Map.of("string", Map.ofEntries(
            Map.entry("identity", "string"),
            Map.entry("password", Map.ofEntries(
                Map.entry("type", "string"),
                Map.entry("value", "string")
            )),
            Map.entry("userName", Map.ofEntries(
                Map.entry("type", "string"),
                Map.entry("value", "string")
            ))
        )))
        .sourceRegistry(SourceRegistryCredentialsArgs.builder()
            .loginMode("string")
            .build())
        .build())
    .identity(IdentityPropertiesArgs.builder()
        .principalId("string")
        .tenantId("string")
        .type("SystemAssigned")
        .userAssignedIdentities(Map.of("string", Map.ofEntries(
            Map.entry("clientId", "string"),
            Map.entry("principalId", "string")
        )))
        .build())
    .status("string")
    .step(DockerBuildStepArgs.builder()
        .dockerFilePath("string")
        .type("Docker")
        .arguments(ArgumentArgs.builder()
            .name("string")
            .value("string")
            .isSecret(false)
            .build())
        .contextAccessToken("string")
        .contextPath("string")
        .imageNames("string")
        .isPushEnabled(false)
        .noCache(false)
        .target("string")
        .build())
    .tags(Map.of("string", "string"))
    .taskName("string")
    .timeout(0)
    .trigger(TriggerPropertiesArgs.builder()
        .baseImageTrigger(BaseImageTriggerArgs.builder()
            .baseImageTriggerType("string")
            .name("string")
            .status("string")
            .updateTriggerEndpoint("string")
            .updateTriggerPayloadType("string")
            .build())
        .sourceTriggers(SourceTriggerArgs.builder()
            .name("string")
            .sourceRepository(SourcePropertiesArgs.builder()
                .repositoryUrl("string")
                .sourceControlType("string")
                .branch("string")
                .sourceControlAuthProperties(AuthInfoArgs.builder()
                    .token("string")
                    .tokenType("string")
                    .expiresIn(0)
                    .refreshToken("string")
                    .scope("string")
                    .build())
                .build())
            .sourceTriggerEvents("string")
            .status("string")
            .build())
        .timerTriggers(TimerTriggerArgs.builder()
            .name("string")
            .schedule("string")
            .status("string")
            .build())
        .build())
    .build());
Copy
task_resource = azure_native.containerregistry.Task("taskResource",
    registry_name="string",
    resource_group_name="string",
    is_system_task=False,
    agent_pool_name="string",
    agent_configuration={
        "cpu": 0,
    },
    location="string",
    log_template="string",
    platform={
        "os": "string",
        "architecture": "string",
        "variant": "string",
    },
    credentials={
        "custom_registries": {
            "string": {
                "identity": "string",
                "password": {
                    "type": "string",
                    "value": "string",
                },
                "user_name": {
                    "type": "string",
                    "value": "string",
                },
            },
        },
        "source_registry": {
            "login_mode": "string",
        },
    },
    identity={
        "principal_id": "string",
        "tenant_id": "string",
        "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
        "user_assigned_identities": {
            "string": {
                "client_id": "string",
                "principal_id": "string",
            },
        },
    },
    status="string",
    step={
        "docker_file_path": "string",
        "type": "Docker",
        "arguments": [{
            "name": "string",
            "value": "string",
            "is_secret": False,
        }],
        "context_access_token": "string",
        "context_path": "string",
        "image_names": ["string"],
        "is_push_enabled": False,
        "no_cache": False,
        "target": "string",
    },
    tags={
        "string": "string",
    },
    task_name="string",
    timeout=0,
    trigger={
        "base_image_trigger": {
            "base_image_trigger_type": "string",
            "name": "string",
            "status": "string",
            "update_trigger_endpoint": "string",
            "update_trigger_payload_type": "string",
        },
        "source_triggers": [{
            "name": "string",
            "source_repository": {
                "repository_url": "string",
                "source_control_type": "string",
                "branch": "string",
                "source_control_auth_properties": {
                    "token": "string",
                    "token_type": "string",
                    "expires_in": 0,
                    "refresh_token": "string",
                    "scope": "string",
                },
            },
            "source_trigger_events": ["string"],
            "status": "string",
        }],
        "timer_triggers": [{
            "name": "string",
            "schedule": "string",
            "status": "string",
        }],
    })
Copy
const taskResource = new azure_native.containerregistry.Task("taskResource", {
    registryName: "string",
    resourceGroupName: "string",
    isSystemTask: false,
    agentPoolName: "string",
    agentConfiguration: {
        cpu: 0,
    },
    location: "string",
    logTemplate: "string",
    platform: {
        os: "string",
        architecture: "string",
        variant: "string",
    },
    credentials: {
        customRegistries: {
            string: {
                identity: "string",
                password: {
                    type: "string",
                    value: "string",
                },
                userName: {
                    type: "string",
                    value: "string",
                },
            },
        },
        sourceRegistry: {
            loginMode: "string",
        },
    },
    identity: {
        principalId: "string",
        tenantId: "string",
        type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
        userAssignedIdentities: {
            string: {
                clientId: "string",
                principalId: "string",
            },
        },
    },
    status: "string",
    step: {
        dockerFilePath: "string",
        type: "Docker",
        arguments: [{
            name: "string",
            value: "string",
            isSecret: false,
        }],
        contextAccessToken: "string",
        contextPath: "string",
        imageNames: ["string"],
        isPushEnabled: false,
        noCache: false,
        target: "string",
    },
    tags: {
        string: "string",
    },
    taskName: "string",
    timeout: 0,
    trigger: {
        baseImageTrigger: {
            baseImageTriggerType: "string",
            name: "string",
            status: "string",
            updateTriggerEndpoint: "string",
            updateTriggerPayloadType: "string",
        },
        sourceTriggers: [{
            name: "string",
            sourceRepository: {
                repositoryUrl: "string",
                sourceControlType: "string",
                branch: "string",
                sourceControlAuthProperties: {
                    token: "string",
                    tokenType: "string",
                    expiresIn: 0,
                    refreshToken: "string",
                    scope: "string",
                },
            },
            sourceTriggerEvents: ["string"],
            status: "string",
        }],
        timerTriggers: [{
            name: "string",
            schedule: "string",
            status: "string",
        }],
    },
});
Copy
type: azure-native:containerregistry:Task
properties:
    agentConfiguration:
        cpu: 0
    agentPoolName: string
    credentials:
        customRegistries:
            string:
                identity: string
                password:
                    type: string
                    value: string
                userName:
                    type: string
                    value: string
        sourceRegistry:
            loginMode: string
    identity:
        principalId: string
        tenantId: string
        type: SystemAssigned
        userAssignedIdentities:
            string:
                clientId: string
                principalId: string
    isSystemTask: false
    location: string
    logTemplate: string
    platform:
        architecture: string
        os: string
        variant: string
    registryName: string
    resourceGroupName: string
    status: string
    step:
        arguments:
            - isSecret: false
              name: string
              value: string
        contextAccessToken: string
        contextPath: string
        dockerFilePath: string
        imageNames:
            - string
        isPushEnabled: false
        noCache: false
        target: string
        type: Docker
    tags:
        string: string
    taskName: string
    timeout: 0
    trigger:
        baseImageTrigger:
            baseImageTriggerType: string
            name: string
            status: string
            updateTriggerEndpoint: string
            updateTriggerPayloadType: string
        sourceTriggers:
            - name: string
              sourceRepository:
                branch: string
                repositoryUrl: string
                sourceControlAuthProperties:
                    expiresIn: 0
                    refreshToken: string
                    scope: string
                    token: string
                    tokenType: string
                sourceControlType: string
              sourceTriggerEvents:
                - string
              status: string
        timerTriggers:
            - name: string
              schedule: string
              status: string
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Task resource accepts the following input properties:

RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
The name of the container registry.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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:

AzureApiVersion string
The Azure API version 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 Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
AzureApiVersion string
The Azure API version 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.
azureApiVersion String
The Azure API version 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.
azureApiVersion string
The Azure API version 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.
azure_api_version str
The Azure API version 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.
azureApiVersion String
The Azure API version 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 This property is required. string
The name of the argument.
Value This property is required. 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 This property is required. string
The name of the argument.
Value This property is required. 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 This property is required. String
The name of the argument.
value This property is required. 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 This property is required. string
The name of the argument.
value This property is required. 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 This property is required. str
The name of the argument.
value This property is required. 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 This property is required. String
The name of the argument.
value This property is required. 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 This property is required. string
The name of the argument.
Value This property is required. 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 This property is required. string
The name of the argument.
Value This property is required. 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 This property is required. String
The name of the argument.
value This property is required. 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 This property is required. string
The name of the argument.
value This property is required. 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 This property is required. str
The name of the argument.
value This property is required. 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 This property is required. String
The name of the argument.
value This property is required. 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 This property is required. string
The access token used to access the source control provider.
TokenType This property is required. 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 This property is required. string
The access token used to access the source control provider.
TokenType This property is required. 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 This property is required. String
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. string
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. str
The access token used to access the source control provider.
token_type This property is required. 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 This property is required. String
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. string
The access token used to access the source control provider.
TokenType This property is required. 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 This property is required. string
The access token used to access the source control provider.
TokenType This property is required. 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 This property is required. String
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. string
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. str
The access token used to access the source control provider.
token_type This property is required. 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 This property is required. String
The access token used to access the source control provider.
tokenType This property is required. 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 This property is required. string | Pulumi.AzureNative.ContainerRegistry.BaseImageTriggerType
The type of the auto trigger for base image dependency updates.
Name This property is required. 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 This property is required. string | BaseImageTriggerType
The type of the auto trigger for base image dependency updates.
Name This property is required. 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 This property is required. String | BaseImageTriggerType
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. string | BaseImageTriggerType
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. str | BaseImageTriggerType
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. String | "All" | "Runtime"
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. string
The type of the auto trigger for base image dependency updates.
Name This property is required. 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 This property is required. string
The type of the auto trigger for base image dependency updates.
Name This property is required. 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 This property is required. String
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. string
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. str
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. String
The type of the auto trigger for base image dependency updates.
name This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
List of base image dependencies for a step.
DockerFilePath This property is required. 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 This property is required. []BaseImageDependencyResponse
List of base image dependencies for a step.
DockerFilePath This property is required. 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 This property is required. List<BaseImageDependencyResponse>
List of base image dependencies for a step.
dockerFilePath This property is required. 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 This property is required. BaseImageDependencyResponse[]
List of base image dependencies for a step.
dockerFilePath This property is required. 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 This property is required. Sequence[BaseImageDependencyResponse]
List of base image dependencies for a step.
docker_file_path This property is required. 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 This property is required. List<Property Map>
List of base image dependencies for a step.
dockerFilePath This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
List of base image dependencies for a step.
EncodedTaskContent This property is required. 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 This property is required. []BaseImageDependencyResponse
List of base image dependencies for a step.
EncodedTaskContent This property is required. 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 This property is required. List<BaseImageDependencyResponse>
List of base image dependencies for a step.
encodedTaskContent This property is required. 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 This property is required. BaseImageDependencyResponse[]
List of base image dependencies for a step.
encodedTaskContent This property is required. 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 This property is required. Sequence[BaseImageDependencyResponse]
List of base image dependencies for a step.
encoded_task_content This property is required. 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 This property is required. List<Property Map>
List of base image dependencies for a step.
encodedTaskContent This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>
List of base image dependencies for a step.
TaskFilePath This property is required. 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 This property is required. []BaseImageDependencyResponse
List of base image dependencies for a step.
TaskFilePath This property is required. 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 This property is required. List<BaseImageDependencyResponse>
List of base image dependencies for a step.
taskFilePath This property is required. 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 This property is required. BaseImageDependencyResponse[]
List of base image dependencies for a step.
taskFilePath This property is required. 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 This property is required. Sequence[BaseImageDependencyResponse]
List of base image dependencies for a step.
task_file_path This property is required. 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 This property is required. List<Property Map>
List of base image dependencies for a step.
taskFilePath This property is required. 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 This property is required. 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 This property is required. string | OS
The operating system type required for the run.
Architecture string | Architecture
The OS architecture.
Variant string | Variant
Variant of the CPU.
os This property is required. String | OS
The operating system type required for the run.
architecture String | Architecture
The OS architecture.
variant String | Variant
Variant of the CPU.
os This property is required. string | OS
The operating system type required for the run.
architecture string | Architecture
The OS architecture.
variant string | Variant
Variant of the CPU.
os This property is required. str | OS
The operating system type required for the run.
architecture str | Architecture
The OS architecture.
variant str | Variant
Variant of the CPU.
os This property is required. 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 This property is required. string
The operating system type required for the run.
Architecture string
The OS architecture.
Variant string
Variant of the CPU.
Os This property is required. string
The operating system type required for the run.
Architecture string
The OS architecture.
Variant string
Variant of the CPU.
os This property is required. String
The operating system type required for the run.
architecture String
The OS architecture.
variant String
Variant of the CPU.
os This property is required. string
The operating system type required for the run.
architecture string
The OS architecture.
variant string
Variant of the CPU.
os This property is required. str
The operating system type required for the run.
architecture str
The OS architecture.
variant str
Variant of the CPU.
os This property is required. 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 This property is required. string
The name of the overridable value.
Value This property is required. string
The overridable value.
IsSecret bool
Flag to indicate whether the value represents a secret or not.
Name This property is required. string
The name of the overridable value.
Value This property is required. string
The overridable value.
IsSecret bool
Flag to indicate whether the value represents a secret or not.
name This property is required. String
The name of the overridable value.
value This property is required. String
The overridable value.
isSecret Boolean
Flag to indicate whether the value represents a secret or not.
name This property is required. string
The name of the overridable value.
value This property is required. string
The overridable value.
isSecret boolean
Flag to indicate whether the value represents a secret or not.
name This property is required. str
The name of the overridable value.
value This property is required. str
The overridable value.
is_secret bool
Flag to indicate whether the value represents a secret or not.
name This property is required. String
The name of the overridable value.
value This property is required. String
The overridable value.
isSecret Boolean
Flag to indicate whether the value represents a secret or not.

SetValueResponse
, SetValueResponseArgs

Name This property is required. string
The name of the overridable value.
Value This property is required. string
The overridable value.
IsSecret bool
Flag to indicate whether the value represents a secret or not.
Name This property is required. string
The name of the overridable value.
Value This property is required. string
The overridable value.
IsSecret bool
Flag to indicate whether the value represents a secret or not.
name This property is required. String
The name of the overridable value.
value This property is required. String
The overridable value.
isSecret Boolean
Flag to indicate whether the value represents a secret or not.
name This property is required. string
The name of the overridable value.
value This property is required. string
The overridable value.
isSecret boolean
Flag to indicate whether the value represents a secret or not.
name This property is required. str
The name of the overridable value.
value This property is required. str
The overridable value.
is_secret bool
Flag to indicate whether the value represents a secret or not.
name This property is required. String
The name of the overridable value.
value This property is required. 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 This property is required. string
The full URL to the source code repository
SourceControlType This property is required. 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 This property is required. string
The full URL to the source code repository
SourceControlType This property is required. 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 This property is required. String
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. string
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. str
The full URL to the source code repository
source_control_type This property is required. 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 This property is required. String
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. string
The full URL to the source code repository
SourceControlType This property is required. 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 This property is required. string
The full URL to the source code repository
SourceControlType This property is required. 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 This property is required. String
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. string
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. str
The full URL to the source code repository
source_control_type This property is required. 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 This property is required. String
The full URL to the source code repository
sourceControlType This property is required. 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 This property is required. string
The name of the trigger.
SourceRepository This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.SourceProperties
The properties that describes the source(code) for the task.
SourceTriggerEvents This property is required. 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 This property is required. string
The name of the trigger.
SourceRepository This property is required. SourceProperties
The properties that describes the source(code) for the task.
SourceTriggerEvents This property is required. []string
The source event corresponding to the trigger.
Status string | TriggerStatus
The current status of trigger.
name This property is required. String
The name of the trigger.
sourceRepository This property is required. SourceProperties
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. List<Either<String,SourceTriggerEvent>>
The source event corresponding to the trigger.
status String | TriggerStatus
The current status of trigger.
name This property is required. string
The name of the trigger.
sourceRepository This property is required. SourceProperties
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. (string | SourceTriggerEvent)[]
The source event corresponding to the trigger.
status string | TriggerStatus
The current status of trigger.
name This property is required. str
The name of the trigger.
source_repository This property is required. SourceProperties
The properties that describes the source(code) for the task.
source_trigger_events This property is required. Sequence[Union[str, SourceTriggerEvent]]
The source event corresponding to the trigger.
status str | TriggerStatus
The current status of trigger.
name This property is required. String
The name of the trigger.
sourceRepository This property is required. Property Map
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. 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 This property is required. string
The name of the trigger.
SourceRepository This property is required. Pulumi.AzureNative.ContainerRegistry.Inputs.SourcePropertiesResponse
The properties that describes the source(code) for the task.
SourceTriggerEvents This property is required. List<string>
The source event corresponding to the trigger.
Status string
The current status of trigger.
Name This property is required. string
The name of the trigger.
SourceRepository This property is required. SourcePropertiesResponse
The properties that describes the source(code) for the task.
SourceTriggerEvents This property is required. []string
The source event corresponding to the trigger.
Status string
The current status of trigger.
name This property is required. String
The name of the trigger.
sourceRepository This property is required. SourcePropertiesResponse
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. List<String>
The source event corresponding to the trigger.
status String
The current status of trigger.
name This property is required. string
The name of the trigger.
sourceRepository This property is required. SourcePropertiesResponse
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. string[]
The source event corresponding to the trigger.
status string
The current status of trigger.
name This property is required. str
The name of the trigger.
source_repository This property is required. SourcePropertiesResponse
The properties that describes the source(code) for the task.
source_trigger_events This property is required. Sequence[str]
The source event corresponding to the trigger.
status str
The current status of trigger.
name This property is required. String
The name of the trigger.
sourceRepository This property is required. Property Map
The properties that describes the source(code) for the task.
sourceTriggerEvents This property is required. 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 This property is required. string
The name of the trigger.
Schedule This property is required. string
The CRON expression for the task schedule
Status string | Pulumi.AzureNative.ContainerRegistry.TriggerStatus
The current status of trigger.
Name This property is required. string
The name of the trigger.
Schedule This property is required. string
The CRON expression for the task schedule
Status string | TriggerStatus
The current status of trigger.
name This property is required. String
The name of the trigger.
schedule This property is required. String
The CRON expression for the task schedule
status String | TriggerStatus
The current status of trigger.
name This property is required. string
The name of the trigger.
schedule This property is required. string
The CRON expression for the task schedule
status string | TriggerStatus
The current status of trigger.
name This property is required. str
The name of the trigger.
schedule This property is required. str
The CRON expression for the task schedule
status str | TriggerStatus
The current status of trigger.
name This property is required. String
The name of the trigger.
schedule This property is required. String
The CRON expression for the task schedule
status String | "Disabled" | "Enabled"
The current status of trigger.

TimerTriggerResponse
, TimerTriggerResponseArgs

Name This property is required. string
The name of the trigger.
Schedule This property is required. string
The CRON expression for the task schedule
Status string
The current status of trigger.
Name This property is required. string
The name of the trigger.
Schedule This property is required. string
The CRON expression for the task schedule
Status string
The current status of trigger.
name This property is required. String
The name of the trigger.
schedule This property is required. String
The CRON expression for the task schedule
status String
The current status of trigger.
name This property is required. string
The name of the trigger.
schedule This property is required. string
The CRON expression for the task schedule
status string
The current status of trigger.
name This property is required. str
The name of the trigger.
schedule This property is required. str
The CRON expression for the task schedule
status str
The current status of trigger.
name This property is required. String
The name of the trigger.
schedule This property is required. 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} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0