We recommend using Azure Native.
azure.containerservice.RegistryTask
Explore with Pulumi AI
Manages a Container Registry Task.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
    name: "example-rg",
    location: "West Europe",
});
const exampleRegistry = new azure.containerservice.Registry("example", {
    name: "example",
    resourceGroupName: example.name,
    location: example.location,
    sku: "Basic",
});
const exampleRegistryTask = new azure.containerservice.RegistryTask("example", {
    name: "example-task",
    containerRegistryId: exampleRegistry.id,
    platform: {
        os: "Linux",
    },
    dockerStep: {
        dockerfilePath: "Dockerfile",
        contextPath: "https://github.com/<username>/<repository>#<branch>:<folder>",
        contextAccessToken: "<github personal access token>",
        imageNames: ["helloworld:{{.Run.ID}}"],
    },
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
    name="example-rg",
    location="West Europe")
example_registry = azure.containerservice.Registry("example",
    name="example",
    resource_group_name=example.name,
    location=example.location,
    sku="Basic")
example_registry_task = azure.containerservice.RegistryTask("example",
    name="example-task",
    container_registry_id=example_registry.id,
    platform={
        "os": "Linux",
    },
    docker_step={
        "dockerfile_path": "Dockerfile",
        "context_path": "https://github.com/<username>/<repository>#<branch>:<folder>",
        "context_access_token": "<github personal access token>",
        "image_names": ["helloworld:{{.Run.ID}}"],
    })
package main
import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-rg"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleRegistry, err := containerservice.NewRegistry(ctx, "example", &containerservice.RegistryArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
			Sku:               pulumi.String("Basic"),
		})
		if err != nil {
			return err
		}
		_, err = containerservice.NewRegistryTask(ctx, "example", &containerservice.RegistryTaskArgs{
			Name:                pulumi.String("example-task"),
			ContainerRegistryId: exampleRegistry.ID(),
			Platform: &containerservice.RegistryTaskPlatformArgs{
				Os: pulumi.String("Linux"),
			},
			DockerStep: &containerservice.RegistryTaskDockerStepArgs{
				DockerfilePath:     pulumi.String("Dockerfile"),
				ContextPath:        pulumi.String("https://github.com/<username>/<repository>#<branch>:<folder>"),
				ContextAccessToken: pulumi.String("<github personal access token>"),
				ImageNames: pulumi.StringArray{
					pulumi.String("helloworld:{{.Run.ID}}"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-rg",
        Location = "West Europe",
    });
    var exampleRegistry = new Azure.ContainerService.Registry("example", new()
    {
        Name = "example",
        ResourceGroupName = example.Name,
        Location = example.Location,
        Sku = "Basic",
    });
    var exampleRegistryTask = new Azure.ContainerService.RegistryTask("example", new()
    {
        Name = "example-task",
        ContainerRegistryId = exampleRegistry.Id,
        Platform = new Azure.ContainerService.Inputs.RegistryTaskPlatformArgs
        {
            Os = "Linux",
        },
        DockerStep = new Azure.ContainerService.Inputs.RegistryTaskDockerStepArgs
        {
            DockerfilePath = "Dockerfile",
            ContextPath = "https://github.com/<username>/<repository>#<branch>:<folder>",
            ContextAccessToken = "<github personal access token>",
            ImageNames = new[]
            {
                "helloworld:{{.Run.ID}}",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.containerservice.Registry;
import com.pulumi.azure.containerservice.RegistryArgs;
import com.pulumi.azure.containerservice.RegistryTask;
import com.pulumi.azure.containerservice.RegistryTaskArgs;
import com.pulumi.azure.containerservice.inputs.RegistryTaskPlatformArgs;
import com.pulumi.azure.containerservice.inputs.RegistryTaskDockerStepArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-rg")
            .location("West Europe")
            .build());
        var exampleRegistry = new Registry("exampleRegistry", RegistryArgs.builder()
            .name("example")
            .resourceGroupName(example.name())
            .location(example.location())
            .sku("Basic")
            .build());
        var exampleRegistryTask = new RegistryTask("exampleRegistryTask", RegistryTaskArgs.builder()
            .name("example-task")
            .containerRegistryId(exampleRegistry.id())
            .platform(RegistryTaskPlatformArgs.builder()
                .os("Linux")
                .build())
            .dockerStep(RegistryTaskDockerStepArgs.builder()
                .dockerfilePath("Dockerfile")
                .contextPath("https://github.com/<username>/<repository>#<branch>:<folder>")
                .contextAccessToken("<github personal access token>")
                .imageNames("helloworld:{{.Run.ID}}")
                .build())
            .build());
    }
}
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-rg
      location: West Europe
  exampleRegistry:
    type: azure:containerservice:Registry
    name: example
    properties:
      name: example
      resourceGroupName: ${example.name}
      location: ${example.location}
      sku: Basic
  exampleRegistryTask:
    type: azure:containerservice:RegistryTask
    name: example
    properties:
      name: example-task
      containerRegistryId: ${exampleRegistry.id}
      platform:
        os: Linux
      dockerStep:
        dockerfilePath: Dockerfile
        contextPath: https://github.com/<username>/<repository>#<branch>:<folder>
        contextAccessToken: <github personal access token>
        imageNames:
          - helloworld:{{.Run.ID}}
Create RegistryTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegistryTask(name: string, args: RegistryTaskArgs, opts?: CustomResourceOptions);@overload
def RegistryTask(resource_name: str,
                 args: RegistryTaskArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def RegistryTask(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 container_registry_id: Optional[str] = None,
                 identity: Optional[RegistryTaskIdentityArgs] = None,
                 enabled: Optional[bool] = None,
                 is_system_task: Optional[bool] = None,
                 docker_step: Optional[RegistryTaskDockerStepArgs] = None,
                 log_template: Optional[str] = None,
                 encoded_step: Optional[RegistryTaskEncodedStepArgs] = None,
                 file_step: Optional[RegistryTaskFileStepArgs] = None,
                 name: Optional[str] = None,
                 agent_setting: Optional[RegistryTaskAgentSettingArgs] = None,
                 base_image_trigger: Optional[RegistryTaskBaseImageTriggerArgs] = None,
                 agent_pool_name: Optional[str] = None,
                 platform: Optional[RegistryTaskPlatformArgs] = None,
                 registry_credential: Optional[RegistryTaskRegistryCredentialArgs] = None,
                 source_triggers: Optional[Sequence[RegistryTaskSourceTriggerArgs]] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 timeout_in_seconds: Optional[int] = None,
                 timer_triggers: Optional[Sequence[RegistryTaskTimerTriggerArgs]] = None)func NewRegistryTask(ctx *Context, name string, args RegistryTaskArgs, opts ...ResourceOption) (*RegistryTask, error)public RegistryTask(string name, RegistryTaskArgs args, CustomResourceOptions? opts = null)
public RegistryTask(String name, RegistryTaskArgs args)
public RegistryTask(String name, RegistryTaskArgs args, CustomResourceOptions options)
type: azure:containerservice:RegistryTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegistryTaskArgs
- 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 registryTaskResource = new Azure.ContainerService.RegistryTask("registryTaskResource", new()
{
    ContainerRegistryId = "string",
    Identity = new Azure.ContainerService.Inputs.RegistryTaskIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Enabled = false,
    IsSystemTask = false,
    DockerStep = new Azure.ContainerService.Inputs.RegistryTaskDockerStepArgs
    {
        ContextAccessToken = "string",
        ContextPath = "string",
        DockerfilePath = "string",
        Arguments = 
        {
            { "string", "string" },
        },
        CacheEnabled = false,
        ImageNames = new[]
        {
            "string",
        },
        PushEnabled = false,
        SecretArguments = 
        {
            { "string", "string" },
        },
        Target = "string",
    },
    LogTemplate = "string",
    EncodedStep = new Azure.ContainerService.Inputs.RegistryTaskEncodedStepArgs
    {
        TaskContent = "string",
        ContextAccessToken = "string",
        ContextPath = "string",
        SecretValues = 
        {
            { "string", "string" },
        },
        ValueContent = "string",
        Values = 
        {
            { "string", "string" },
        },
    },
    FileStep = new Azure.ContainerService.Inputs.RegistryTaskFileStepArgs
    {
        TaskFilePath = "string",
        ContextAccessToken = "string",
        ContextPath = "string",
        SecretValues = 
        {
            { "string", "string" },
        },
        ValueFilePath = "string",
        Values = 
        {
            { "string", "string" },
        },
    },
    Name = "string",
    AgentSetting = new Azure.ContainerService.Inputs.RegistryTaskAgentSettingArgs
    {
        Cpu = 0,
    },
    BaseImageTrigger = new Azure.ContainerService.Inputs.RegistryTaskBaseImageTriggerArgs
    {
        Name = "string",
        Type = "string",
        Enabled = false,
        UpdateTriggerEndpoint = "string",
        UpdateTriggerPayloadType = "string",
    },
    AgentPoolName = "string",
    Platform = new Azure.ContainerService.Inputs.RegistryTaskPlatformArgs
    {
        Os = "string",
        Architecture = "string",
        Variant = "string",
    },
    RegistryCredential = new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialArgs
    {
        Customs = new[]
        {
            new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialCustomArgs
            {
                LoginServer = "string",
                Identity = "string",
                Password = "string",
                Username = "string",
            },
        },
        Source = new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialSourceArgs
        {
            LoginMode = "string",
        },
    },
    SourceTriggers = new[]
    {
        new Azure.ContainerService.Inputs.RegistryTaskSourceTriggerArgs
        {
            Events = new[]
            {
                "string",
            },
            Name = "string",
            RepositoryUrl = "string",
            SourceType = "string",
            Authentication = new Azure.ContainerService.Inputs.RegistryTaskSourceTriggerAuthenticationArgs
            {
                Token = "string",
                TokenType = "string",
                ExpireInSeconds = 0,
                RefreshToken = "string",
                Scope = "string",
            },
            Branch = "string",
            Enabled = false,
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
    TimeoutInSeconds = 0,
    TimerTriggers = new[]
    {
        new Azure.ContainerService.Inputs.RegistryTaskTimerTriggerArgs
        {
            Name = "string",
            Schedule = "string",
            Enabled = false,
        },
    },
});
example, err := containerservice.NewRegistryTask(ctx, "registryTaskResource", &containerservice.RegistryTaskArgs{
	ContainerRegistryId: pulumi.String("string"),
	Identity: &containerservice.RegistryTaskIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Enabled:      pulumi.Bool(false),
	IsSystemTask: pulumi.Bool(false),
	DockerStep: &containerservice.RegistryTaskDockerStepArgs{
		ContextAccessToken: pulumi.String("string"),
		ContextPath:        pulumi.String("string"),
		DockerfilePath:     pulumi.String("string"),
		Arguments: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		CacheEnabled: pulumi.Bool(false),
		ImageNames: pulumi.StringArray{
			pulumi.String("string"),
		},
		PushEnabled: pulumi.Bool(false),
		SecretArguments: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Target: pulumi.String("string"),
	},
	LogTemplate: pulumi.String("string"),
	EncodedStep: &containerservice.RegistryTaskEncodedStepArgs{
		TaskContent:        pulumi.String("string"),
		ContextAccessToken: pulumi.String("string"),
		ContextPath:        pulumi.String("string"),
		SecretValues: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		ValueContent: pulumi.String("string"),
		Values: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	FileStep: &containerservice.RegistryTaskFileStepArgs{
		TaskFilePath:       pulumi.String("string"),
		ContextAccessToken: pulumi.String("string"),
		ContextPath:        pulumi.String("string"),
		SecretValues: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		ValueFilePath: pulumi.String("string"),
		Values: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
	},
	Name: pulumi.String("string"),
	AgentSetting: &containerservice.RegistryTaskAgentSettingArgs{
		Cpu: pulumi.Int(0),
	},
	BaseImageTrigger: &containerservice.RegistryTaskBaseImageTriggerArgs{
		Name:                     pulumi.String("string"),
		Type:                     pulumi.String("string"),
		Enabled:                  pulumi.Bool(false),
		UpdateTriggerEndpoint:    pulumi.String("string"),
		UpdateTriggerPayloadType: pulumi.String("string"),
	},
	AgentPoolName: pulumi.String("string"),
	Platform: &containerservice.RegistryTaskPlatformArgs{
		Os:           pulumi.String("string"),
		Architecture: pulumi.String("string"),
		Variant:      pulumi.String("string"),
	},
	RegistryCredential: &containerservice.RegistryTaskRegistryCredentialArgs{
		Customs: containerservice.RegistryTaskRegistryCredentialCustomArray{
			&containerservice.RegistryTaskRegistryCredentialCustomArgs{
				LoginServer: pulumi.String("string"),
				Identity:    pulumi.String("string"),
				Password:    pulumi.String("string"),
				Username:    pulumi.String("string"),
			},
		},
		Source: &containerservice.RegistryTaskRegistryCredentialSourceArgs{
			LoginMode: pulumi.String("string"),
		},
	},
	SourceTriggers: containerservice.RegistryTaskSourceTriggerArray{
		&containerservice.RegistryTaskSourceTriggerArgs{
			Events: pulumi.StringArray{
				pulumi.String("string"),
			},
			Name:          pulumi.String("string"),
			RepositoryUrl: pulumi.String("string"),
			SourceType:    pulumi.String("string"),
			Authentication: &containerservice.RegistryTaskSourceTriggerAuthenticationArgs{
				Token:           pulumi.String("string"),
				TokenType:       pulumi.String("string"),
				ExpireInSeconds: pulumi.Int(0),
				RefreshToken:    pulumi.String("string"),
				Scope:           pulumi.String("string"),
			},
			Branch:  pulumi.String("string"),
			Enabled: pulumi.Bool(false),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TimeoutInSeconds: pulumi.Int(0),
	TimerTriggers: containerservice.RegistryTaskTimerTriggerArray{
		&containerservice.RegistryTaskTimerTriggerArgs{
			Name:     pulumi.String("string"),
			Schedule: pulumi.String("string"),
			Enabled:  pulumi.Bool(false),
		},
	},
})
var registryTaskResource = new RegistryTask("registryTaskResource", RegistryTaskArgs.builder()
    .containerRegistryId("string")
    .identity(RegistryTaskIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .enabled(false)
    .isSystemTask(false)
    .dockerStep(RegistryTaskDockerStepArgs.builder()
        .contextAccessToken("string")
        .contextPath("string")
        .dockerfilePath("string")
        .arguments(Map.of("string", "string"))
        .cacheEnabled(false)
        .imageNames("string")
        .pushEnabled(false)
        .secretArguments(Map.of("string", "string"))
        .target("string")
        .build())
    .logTemplate("string")
    .encodedStep(RegistryTaskEncodedStepArgs.builder()
        .taskContent("string")
        .contextAccessToken("string")
        .contextPath("string")
        .secretValues(Map.of("string", "string"))
        .valueContent("string")
        .values(Map.of("string", "string"))
        .build())
    .fileStep(RegistryTaskFileStepArgs.builder()
        .taskFilePath("string")
        .contextAccessToken("string")
        .contextPath("string")
        .secretValues(Map.of("string", "string"))
        .valueFilePath("string")
        .values(Map.of("string", "string"))
        .build())
    .name("string")
    .agentSetting(RegistryTaskAgentSettingArgs.builder()
        .cpu(0)
        .build())
    .baseImageTrigger(RegistryTaskBaseImageTriggerArgs.builder()
        .name("string")
        .type("string")
        .enabled(false)
        .updateTriggerEndpoint("string")
        .updateTriggerPayloadType("string")
        .build())
    .agentPoolName("string")
    .platform(RegistryTaskPlatformArgs.builder()
        .os("string")
        .architecture("string")
        .variant("string")
        .build())
    .registryCredential(RegistryTaskRegistryCredentialArgs.builder()
        .customs(RegistryTaskRegistryCredentialCustomArgs.builder()
            .loginServer("string")
            .identity("string")
            .password("string")
            .username("string")
            .build())
        .source(RegistryTaskRegistryCredentialSourceArgs.builder()
            .loginMode("string")
            .build())
        .build())
    .sourceTriggers(RegistryTaskSourceTriggerArgs.builder()
        .events("string")
        .name("string")
        .repositoryUrl("string")
        .sourceType("string")
        .authentication(RegistryTaskSourceTriggerAuthenticationArgs.builder()
            .token("string")
            .tokenType("string")
            .expireInSeconds(0)
            .refreshToken("string")
            .scope("string")
            .build())
        .branch("string")
        .enabled(false)
        .build())
    .tags(Map.of("string", "string"))
    .timeoutInSeconds(0)
    .timerTriggers(RegistryTaskTimerTriggerArgs.builder()
        .name("string")
        .schedule("string")
        .enabled(false)
        .build())
    .build());
registry_task_resource = azure.containerservice.RegistryTask("registryTaskResource",
    container_registry_id="string",
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    enabled=False,
    is_system_task=False,
    docker_step={
        "context_access_token": "string",
        "context_path": "string",
        "dockerfile_path": "string",
        "arguments": {
            "string": "string",
        },
        "cache_enabled": False,
        "image_names": ["string"],
        "push_enabled": False,
        "secret_arguments": {
            "string": "string",
        },
        "target": "string",
    },
    log_template="string",
    encoded_step={
        "task_content": "string",
        "context_access_token": "string",
        "context_path": "string",
        "secret_values": {
            "string": "string",
        },
        "value_content": "string",
        "values": {
            "string": "string",
        },
    },
    file_step={
        "task_file_path": "string",
        "context_access_token": "string",
        "context_path": "string",
        "secret_values": {
            "string": "string",
        },
        "value_file_path": "string",
        "values": {
            "string": "string",
        },
    },
    name="string",
    agent_setting={
        "cpu": 0,
    },
    base_image_trigger={
        "name": "string",
        "type": "string",
        "enabled": False,
        "update_trigger_endpoint": "string",
        "update_trigger_payload_type": "string",
    },
    agent_pool_name="string",
    platform={
        "os": "string",
        "architecture": "string",
        "variant": "string",
    },
    registry_credential={
        "customs": [{
            "login_server": "string",
            "identity": "string",
            "password": "string",
            "username": "string",
        }],
        "source": {
            "login_mode": "string",
        },
    },
    source_triggers=[{
        "events": ["string"],
        "name": "string",
        "repository_url": "string",
        "source_type": "string",
        "authentication": {
            "token": "string",
            "token_type": "string",
            "expire_in_seconds": 0,
            "refresh_token": "string",
            "scope": "string",
        },
        "branch": "string",
        "enabled": False,
    }],
    tags={
        "string": "string",
    },
    timeout_in_seconds=0,
    timer_triggers=[{
        "name": "string",
        "schedule": "string",
        "enabled": False,
    }])
const registryTaskResource = new azure.containerservice.RegistryTask("registryTaskResource", {
    containerRegistryId: "string",
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    enabled: false,
    isSystemTask: false,
    dockerStep: {
        contextAccessToken: "string",
        contextPath: "string",
        dockerfilePath: "string",
        arguments: {
            string: "string",
        },
        cacheEnabled: false,
        imageNames: ["string"],
        pushEnabled: false,
        secretArguments: {
            string: "string",
        },
        target: "string",
    },
    logTemplate: "string",
    encodedStep: {
        taskContent: "string",
        contextAccessToken: "string",
        contextPath: "string",
        secretValues: {
            string: "string",
        },
        valueContent: "string",
        values: {
            string: "string",
        },
    },
    fileStep: {
        taskFilePath: "string",
        contextAccessToken: "string",
        contextPath: "string",
        secretValues: {
            string: "string",
        },
        valueFilePath: "string",
        values: {
            string: "string",
        },
    },
    name: "string",
    agentSetting: {
        cpu: 0,
    },
    baseImageTrigger: {
        name: "string",
        type: "string",
        enabled: false,
        updateTriggerEndpoint: "string",
        updateTriggerPayloadType: "string",
    },
    agentPoolName: "string",
    platform: {
        os: "string",
        architecture: "string",
        variant: "string",
    },
    registryCredential: {
        customs: [{
            loginServer: "string",
            identity: "string",
            password: "string",
            username: "string",
        }],
        source: {
            loginMode: "string",
        },
    },
    sourceTriggers: [{
        events: ["string"],
        name: "string",
        repositoryUrl: "string",
        sourceType: "string",
        authentication: {
            token: "string",
            tokenType: "string",
            expireInSeconds: 0,
            refreshToken: "string",
            scope: "string",
        },
        branch: "string",
        enabled: false,
    }],
    tags: {
        string: "string",
    },
    timeoutInSeconds: 0,
    timerTriggers: [{
        name: "string",
        schedule: "string",
        enabled: false,
    }],
});
type: azure:containerservice:RegistryTask
properties:
    agentPoolName: string
    agentSetting:
        cpu: 0
    baseImageTrigger:
        enabled: false
        name: string
        type: string
        updateTriggerEndpoint: string
        updateTriggerPayloadType: string
    containerRegistryId: string
    dockerStep:
        arguments:
            string: string
        cacheEnabled: false
        contextAccessToken: string
        contextPath: string
        dockerfilePath: string
        imageNames:
            - string
        pushEnabled: false
        secretArguments:
            string: string
        target: string
    enabled: false
    encodedStep:
        contextAccessToken: string
        contextPath: string
        secretValues:
            string: string
        taskContent: string
        valueContent: string
        values:
            string: string
    fileStep:
        contextAccessToken: string
        contextPath: string
        secretValues:
            string: string
        taskFilePath: string
        valueFilePath: string
        values:
            string: string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    isSystemTask: false
    logTemplate: string
    name: string
    platform:
        architecture: string
        os: string
        variant: string
    registryCredential:
        customs:
            - identity: string
              loginServer: string
              password: string
              username: string
        source:
            loginMode: string
    sourceTriggers:
        - authentication:
            expireInSeconds: 0
            refreshToken: string
            scope: string
            token: string
            tokenType: string
          branch: string
          enabled: false
          events:
            - string
          name: string
          repositoryUrl: string
          sourceType: string
    tags:
        string: string
    timeoutInSeconds: 0
    timerTriggers:
        - enabled: false
          name: string
          schedule: string
RegistryTask 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 RegistryTask resource accepts the following input properties:
- ContainerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- AgentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- AgentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- BaseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- DockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- Enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- EncodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- FileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- Identity
RegistryTask Identity 
- An identityblock as defined below.
- IsSystem boolTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- LogTemplate string
- Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- RegistryCredential RegistryTask Registry Credential 
- SourceTriggers List<RegistryTask Source Trigger> 
- One or more source_triggerblocks as defined below.
- Dictionary<string, string>
- TimeoutIn intSeconds 
- TimerTriggers List<RegistryTask Timer Trigger> 
- One or more timer_triggerblocks as defined below.
- ContainerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- AgentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- AgentSetting RegistryTask Agent Setting Args 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- BaseImage RegistryTrigger Task Base Image Trigger Args 
- A base_image_triggerblock as defined below.
- DockerStep RegistryTask Docker Step Args 
- A docker_stepblock as defined below.
- Enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- EncodedStep RegistryTask Encoded Step Args 
- A encoded_stepblock as defined below.
- FileStep RegistryTask File Step Args 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- Identity
RegistryTask Identity Args 
- An identityblock as defined below.
- IsSystem boolTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- LogTemplate string
- Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
RegistryTask Platform Args 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- RegistryCredential RegistryTask Registry Credential Args 
- SourceTriggers []RegistryTask Source Trigger Args 
- One or more source_triggerblocks as defined below.
- map[string]string
- TimeoutIn intSeconds 
- TimerTriggers []RegistryTask Timer Trigger Args 
- One or more timer_triggerblocks as defined below.
- containerRegistry StringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agentPool StringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- dockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- enabled Boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- fileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity 
- An identityblock as defined below.
- isSystem BooleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate String
- name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential RegistryTask Registry Credential 
- sourceTriggers List<RegistryTask Source Trigger> 
- One or more source_triggerblocks as defined below.
- Map<String,String>
- timeoutIn IntegerSeconds 
- timerTriggers List<RegistryTask Timer Trigger> 
- One or more timer_triggerblocks as defined below.
- containerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- dockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- enabled boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- fileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity 
- An identityblock as defined below.
- isSystem booleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate string
- name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential RegistryTask Registry Credential 
- sourceTriggers RegistryTask Source Trigger[] 
- One or more source_triggerblocks as defined below.
- {[key: string]: string}
- timeoutIn numberSeconds 
- timerTriggers RegistryTask Timer Trigger[] 
- One or more timer_triggerblocks as defined below.
- container_registry_ strid 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agent_pool_ strname 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent_setting RegistryTask Agent Setting Args 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- base_image_ Registrytrigger Task Base Image Trigger Args 
- A base_image_triggerblock as defined below.
- docker_step RegistryTask Docker Step Args 
- A docker_stepblock as defined below.
- enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- encoded_step RegistryTask Encoded Step Args 
- A encoded_stepblock as defined below.
- file_step RegistryTask File Step Args 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity Args 
- An identityblock as defined below.
- is_system_ booltask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- log_template str
- name str
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform Args 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registry_credential RegistryTask Registry Credential Args 
- source_triggers Sequence[RegistryTask Source Trigger Args] 
- One or more source_triggerblocks as defined below.
- Mapping[str, str]
- timeout_in_ intseconds 
- timer_triggers Sequence[RegistryTask Timer Trigger Args] 
- One or more timer_triggerblocks as defined below.
- containerRegistry StringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agentPool StringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting Property Map
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage Property MapTrigger 
- A base_image_triggerblock as defined below.
- dockerStep Property Map
- A docker_stepblock as defined below.
- enabled Boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep Property Map
- A encoded_stepblock as defined below.
- fileStep Property Map
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity Property Map
- An identityblock as defined below.
- isSystem BooleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate String
- name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform Property Map
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential Property Map
- sourceTriggers List<Property Map>
- One or more source_triggerblocks as defined below.
- Map<String>
- timeoutIn NumberSeconds 
- timerTriggers List<Property Map>
- One or more timer_triggerblocks as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegistryTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RegistryTask Resource
Get an existing RegistryTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RegistryTaskState, opts?: CustomResourceOptions): RegistryTask@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        agent_pool_name: Optional[str] = None,
        agent_setting: Optional[RegistryTaskAgentSettingArgs] = None,
        base_image_trigger: Optional[RegistryTaskBaseImageTriggerArgs] = None,
        container_registry_id: Optional[str] = None,
        docker_step: Optional[RegistryTaskDockerStepArgs] = None,
        enabled: Optional[bool] = None,
        encoded_step: Optional[RegistryTaskEncodedStepArgs] = None,
        file_step: Optional[RegistryTaskFileStepArgs] = None,
        identity: Optional[RegistryTaskIdentityArgs] = None,
        is_system_task: Optional[bool] = None,
        log_template: Optional[str] = None,
        name: Optional[str] = None,
        platform: Optional[RegistryTaskPlatformArgs] = None,
        registry_credential: Optional[RegistryTaskRegistryCredentialArgs] = None,
        source_triggers: Optional[Sequence[RegistryTaskSourceTriggerArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        timeout_in_seconds: Optional[int] = None,
        timer_triggers: Optional[Sequence[RegistryTaskTimerTriggerArgs]] = None) -> RegistryTaskfunc GetRegistryTask(ctx *Context, name string, id IDInput, state *RegistryTaskState, opts ...ResourceOption) (*RegistryTask, error)public static RegistryTask Get(string name, Input<string> id, RegistryTaskState? state, CustomResourceOptions? opts = null)public static RegistryTask get(String name, Output<String> id, RegistryTaskState state, CustomResourceOptions options)resources:  _:    type: azure:containerservice:RegistryTask    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AgentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- AgentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- BaseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- ContainerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- DockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- Enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- EncodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- FileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- Identity
RegistryTask Identity 
- An identityblock as defined below.
- IsSystem boolTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- LogTemplate string
- Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- RegistryCredential RegistryTask Registry Credential 
- SourceTriggers List<RegistryTask Source Trigger> 
- One or more source_triggerblocks as defined below.
- Dictionary<string, string>
- TimeoutIn intSeconds 
- TimerTriggers List<RegistryTask Timer Trigger> 
- One or more timer_triggerblocks as defined below.
- AgentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- AgentSetting RegistryTask Agent Setting Args 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- BaseImage RegistryTrigger Task Base Image Trigger Args 
- A base_image_triggerblock as defined below.
- ContainerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- DockerStep RegistryTask Docker Step Args 
- A docker_stepblock as defined below.
- Enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- EncodedStep RegistryTask Encoded Step Args 
- A encoded_stepblock as defined below.
- FileStep RegistryTask File Step Args 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- Identity
RegistryTask Identity Args 
- An identityblock as defined below.
- IsSystem boolTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- LogTemplate string
- Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
RegistryTask Platform Args 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- RegistryCredential RegistryTask Registry Credential Args 
- SourceTriggers []RegistryTask Source Trigger Args 
- One or more source_triggerblocks as defined below.
- map[string]string
- TimeoutIn intSeconds 
- TimerTriggers []RegistryTask Timer Trigger Args 
- One or more timer_triggerblocks as defined below.
- agentPool StringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- containerRegistry StringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- dockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- enabled Boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- fileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity 
- An identityblock as defined below.
- isSystem BooleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate String
- name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential RegistryTask Registry Credential 
- sourceTriggers List<RegistryTask Source Trigger> 
- One or more source_triggerblocks as defined below.
- Map<String,String>
- timeoutIn IntegerSeconds 
- timerTriggers List<RegistryTask Timer Trigger> 
- One or more timer_triggerblocks as defined below.
- agentPool stringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting RegistryTask Agent Setting 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage RegistryTrigger Task Base Image Trigger 
- A base_image_triggerblock as defined below.
- containerRegistry stringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- dockerStep RegistryTask Docker Step 
- A docker_stepblock as defined below.
- enabled boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep RegistryTask Encoded Step 
- A encoded_stepblock as defined below.
- fileStep RegistryTask File Step 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity 
- An identityblock as defined below.
- isSystem booleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate string
- name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential RegistryTask Registry Credential 
- sourceTriggers RegistryTask Source Trigger[] 
- One or more source_triggerblocks as defined below.
- {[key: string]: string}
- timeoutIn numberSeconds 
- timerTriggers RegistryTask Timer Trigger[] 
- One or more timer_triggerblocks as defined below.
- agent_pool_ strname 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent_setting RegistryTask Agent Setting Args 
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- base_image_ Registrytrigger Task Base Image Trigger Args 
- A base_image_triggerblock as defined below.
- container_registry_ strid 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- docker_step RegistryTask Docker Step Args 
- A docker_stepblock as defined below.
- enabled bool
- Should this Container Registry Task be enabled? Defaults to true.
- encoded_step RegistryTask Encoded Step Args 
- A encoded_stepblock as defined below.
- file_step RegistryTask File Step Args 
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity
RegistryTask Identity Args 
- An identityblock as defined below.
- is_system_ booltask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- log_template str
- name str
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
RegistryTask Platform Args 
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registry_credential RegistryTask Registry Credential Args 
- source_triggers Sequence[RegistryTask Source Trigger Args] 
- One or more source_triggerblocks as defined below.
- Mapping[str, str]
- timeout_in_ intseconds 
- timer_triggers Sequence[RegistryTask Timer Trigger Args] 
- One or more timer_triggerblocks as defined below.
- agentPool StringName 
- The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agentSetting Property Map
- A - agent_settingblock as defined below.- NOTE: Only one of - agent_pool_nameand- agent_settingcan be specified.
- baseImage Property MapTrigger 
- A base_image_triggerblock as defined below.
- containerRegistry StringId 
- The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- dockerStep Property Map
- A docker_stepblock as defined below.
- enabled Boolean
- Should this Container Registry Task be enabled? Defaults to true.
- encodedStep Property Map
- A encoded_stepblock as defined below.
- fileStep Property Map
- A - file_stepblock as defined below.- NOTE: For non-system task (when - is_system_taskis set to- false), one and only one of the- docker_step,- encoded_stepand- file_stepshould be specified.
- identity Property Map
- An identityblock as defined below.
- isSystem BooleanTask 
- Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to false.
- logTemplate String
- name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform Property Map
- A - platformblock as defined below.- NOTE: The - platformis required for non-system task (when- is_system_taskis set to- false).
- registryCredential Property Map
- sourceTriggers List<Property Map>
- One or more source_triggerblocks as defined below.
- Map<String>
- timeoutIn NumberSeconds 
- timerTriggers List<Property Map>
- One or more timer_triggerblocks as defined below.
Supporting Types
RegistryTaskAgentSetting, RegistryTaskAgentSettingArgs        
- Cpu int
- The number of cores required for the Container Registry Task. Possible value is 2.
- Cpu int
- The number of cores required for the Container Registry Task. Possible value is 2.
- cpu Integer
- The number of cores required for the Container Registry Task. Possible value is 2.
- cpu number
- The number of cores required for the Container Registry Task. Possible value is 2.
- cpu int
- The number of cores required for the Container Registry Task. Possible value is 2.
- cpu Number
- The number of cores required for the Container Registry Task. Possible value is 2.
RegistryTaskBaseImageTrigger, RegistryTaskBaseImageTriggerArgs          
- Name string
- The name which should be used for this trigger.
- Type string
- The type of the trigger. Possible values are AllandRuntime.
- Enabled bool
- Should the trigger be enabled? Defaults to true.
- UpdateTrigger stringEndpoint 
- The endpoint URL for receiving the trigger.
- UpdateTrigger stringPayload Type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
- Name string
- The name which should be used for this trigger.
- Type string
- The type of the trigger. Possible values are AllandRuntime.
- Enabled bool
- Should the trigger be enabled? Defaults to true.
- UpdateTrigger stringEndpoint 
- The endpoint URL for receiving the trigger.
- UpdateTrigger stringPayload Type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
- name String
- The name which should be used for this trigger.
- type String
- The type of the trigger. Possible values are AllandRuntime.
- enabled Boolean
- Should the trigger be enabled? Defaults to true.
- updateTrigger StringEndpoint 
- The endpoint URL for receiving the trigger.
- updateTrigger StringPayload Type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
- name string
- The name which should be used for this trigger.
- type string
- The type of the trigger. Possible values are AllandRuntime.
- enabled boolean
- Should the trigger be enabled? Defaults to true.
- updateTrigger stringEndpoint 
- The endpoint URL for receiving the trigger.
- updateTrigger stringPayload Type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
- name str
- The name which should be used for this trigger.
- type str
- The type of the trigger. Possible values are AllandRuntime.
- enabled bool
- Should the trigger be enabled? Defaults to true.
- update_trigger_ strendpoint 
- The endpoint URL for receiving the trigger.
- update_trigger_ strpayload_ type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
- name String
- The name which should be used for this trigger.
- type String
- The type of the trigger. Possible values are AllandRuntime.
- enabled Boolean
- Should the trigger be enabled? Defaults to true.
- updateTrigger StringEndpoint 
- The endpoint URL for receiving the trigger.
- updateTrigger StringPayload Type 
- Type of payload body for the trigger. Possible values are DefaultandToken.
RegistryTaskDockerStep, RegistryTaskDockerStepArgs        
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- DockerfilePath string
- The Dockerfile path relative to the source context.
- Arguments Dictionary<string, string>
- Specifies a map of arguments to be used when executing this step.
- CacheEnabled bool
- Should the image cache be enabled? Defaults to true.
- ImageNames List<string>
- Specifies a list of fully qualified image names including the repository and tag.
- PushEnabled bool
- Should the image built be pushed to the registry or not? Defaults to true.
- SecretArguments Dictionary<string, string>
- Specifies a map of secret arguments to be used when executing this step.
- Target string
- The name of the target build stage for the docker build.
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- DockerfilePath string
- The Dockerfile path relative to the source context.
- Arguments map[string]string
- Specifies a map of arguments to be used when executing this step.
- CacheEnabled bool
- Should the image cache be enabled? Defaults to true.
- ImageNames []string
- Specifies a list of fully qualified image names including the repository and tag.
- PushEnabled bool
- Should the image built be pushed to the registry or not? Defaults to true.
- SecretArguments map[string]string
- Specifies a map of secret arguments to be used when executing this step.
- Target string
- The name of the target build stage for the docker build.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- dockerfilePath String
- The Dockerfile path relative to the source context.
- arguments Map<String,String>
- Specifies a map of arguments to be used when executing this step.
- cacheEnabled Boolean
- Should the image cache be enabled? Defaults to true.
- imageNames List<String>
- Specifies a list of fully qualified image names including the repository and tag.
- pushEnabled Boolean
- Should the image built be pushed to the registry or not? Defaults to true.
- secretArguments Map<String,String>
- Specifies a map of secret arguments to be used when executing this step.
- target String
- The name of the target build stage for the docker build.
- contextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath string
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- dockerfilePath string
- The Dockerfile path relative to the source context.
- arguments {[key: string]: string}
- Specifies a map of arguments to be used when executing this step.
- cacheEnabled boolean
- Should the image cache be enabled? Defaults to true.
- imageNames string[]
- Specifies a list of fully qualified image names including the repository and tag.
- pushEnabled boolean
- Should the image built be pushed to the registry or not? Defaults to true.
- secretArguments {[key: string]: string}
- Specifies a map of secret arguments to be used when executing this step.
- target string
- The name of the target build stage for the docker build.
- context_access_ strtoken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_path str
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- dockerfile_path str
- The Dockerfile path relative to the source context.
- arguments Mapping[str, str]
- Specifies a map of arguments to be used when executing this step.
- cache_enabled bool
- Should the image cache be enabled? Defaults to true.
- image_names Sequence[str]
- Specifies a list of fully qualified image names including the repository and tag.
- push_enabled bool
- Should the image built be pushed to the registry or not? Defaults to true.
- secret_arguments Mapping[str, str]
- Specifies a map of secret arguments to be used when executing this step.
- target str
- The name of the target build stage for the docker build.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via #branch:folder.
- dockerfilePath String
- The Dockerfile path relative to the source context.
- arguments Map<String>
- Specifies a map of arguments to be used when executing this step.
- cacheEnabled Boolean
- Should the image cache be enabled? Defaults to true.
- imageNames List<String>
- Specifies a list of fully qualified image names including the repository and tag.
- pushEnabled Boolean
- Should the image built be pushed to the registry or not? Defaults to true.
- secretArguments Map<String>
- Specifies a map of secret arguments to be used when executing this step.
- target String
- The name of the target build stage for the docker build.
RegistryTaskEncodedStep, RegistryTaskEncodedStepArgs        
- TaskContent string
- The (optionally base64 encoded) content of the build template.
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step.
- SecretValues Dictionary<string, string>
- Specifies a map of secret values that can be passed when running a task.
- ValueContent string
- The (optionally base64 encoded) content of the build parameters.
- Values Dictionary<string, string>
- Specifies a map of values that can be passed when running a task.
- TaskContent string
- The (optionally base64 encoded) content of the build template.
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step.
- SecretValues map[string]string
- Specifies a map of secret values that can be passed when running a task.
- ValueContent string
- The (optionally base64 encoded) content of the build parameters.
- Values map[string]string
- Specifies a map of values that can be passed when running a task.
- taskContent String
- The (optionally base64 encoded) content of the build template.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step.
- secretValues Map<String,String>
- Specifies a map of secret values that can be passed when running a task.
- valueContent String
- The (optionally base64 encoded) content of the build parameters.
- values Map<String,String>
- Specifies a map of values that can be passed when running a task.
- taskContent string
- The (optionally base64 encoded) content of the build template.
- contextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath string
- The URL (absolute or relative) of the source context for this step.
- secretValues {[key: string]: string}
- Specifies a map of secret values that can be passed when running a task.
- valueContent string
- The (optionally base64 encoded) content of the build parameters.
- values {[key: string]: string}
- Specifies a map of values that can be passed when running a task.
- task_content str
- The (optionally base64 encoded) content of the build template.
- context_access_ strtoken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_path str
- The URL (absolute or relative) of the source context for this step.
- secret_values Mapping[str, str]
- Specifies a map of secret values that can be passed when running a task.
- value_content str
- The (optionally base64 encoded) content of the build parameters.
- values Mapping[str, str]
- Specifies a map of values that can be passed when running a task.
- taskContent String
- The (optionally base64 encoded) content of the build template.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step.
- secretValues Map<String>
- Specifies a map of secret values that can be passed when running a task.
- valueContent String
- The (optionally base64 encoded) content of the build parameters.
- values Map<String>
- Specifies a map of values that can be passed when running a task.
RegistryTaskFileStep, RegistryTaskFileStepArgs        
- TaskFile stringPath 
- The task template file path relative to the source context.
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step.
- SecretValues Dictionary<string, string>
- Specifies a map of secret values that can be passed when running a task.
- ValueFile stringPath 
- The parameters file path relative to the source context.
- Values Dictionary<string, string>
- Specifies a map of values that can be passed when running a task.
- TaskFile stringPath 
- The task template file path relative to the source context.
- ContextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- ContextPath string
- The URL (absolute or relative) of the source context for this step.
- SecretValues map[string]string
- Specifies a map of secret values that can be passed when running a task.
- ValueFile stringPath 
- The parameters file path relative to the source context.
- Values map[string]string
- Specifies a map of values that can be passed when running a task.
- taskFile StringPath 
- The task template file path relative to the source context.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step.
- secretValues Map<String,String>
- Specifies a map of secret values that can be passed when running a task.
- valueFile StringPath 
- The parameters file path relative to the source context.
- values Map<String,String>
- Specifies a map of values that can be passed when running a task.
- taskFile stringPath 
- The task template file path relative to the source context.
- contextAccess stringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath string
- The URL (absolute or relative) of the source context for this step.
- secretValues {[key: string]: string}
- Specifies a map of secret values that can be passed when running a task.
- valueFile stringPath 
- The parameters file path relative to the source context.
- values {[key: string]: string}
- Specifies a map of values that can be passed when running a task.
- task_file_ strpath 
- The task template file path relative to the source context.
- context_access_ strtoken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_path str
- The URL (absolute or relative) of the source context for this step.
- secret_values Mapping[str, str]
- Specifies a map of secret values that can be passed when running a task.
- value_file_ strpath 
- The parameters file path relative to the source context.
- values Mapping[str, str]
- Specifies a map of values that can be passed when running a task.
- taskFile StringPath 
- The task template file path relative to the source context.
- contextAccess StringToken 
- The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- contextPath String
- The URL (absolute or relative) of the source context for this step.
- secretValues Map<String>
- Specifies a map of secret values that can be passed when running a task.
- valueFile StringPath 
- The parameters file path relative to the source context.
- values Map<String>
- Specifies a map of values that can be passed when running a task.
RegistryTaskIdentity, RegistryTaskIdentityArgs      
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- IdentityIds List<string>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- IdentityIds []string
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- PrincipalId string
- The Principal ID associated with this Managed Service Identity.
- TenantId string
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- identityIds string[]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId string
- The Principal ID associated with this Managed Service Identity.
- tenantId string
- The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- identity_ids Sequence[str]
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principal_id str
- The Principal ID associated with this Managed Service Identity.
- tenant_id str
- The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are SystemAssigned,UserAssigned,SystemAssigned, UserAssigned(to enable both).
- identityIds List<String>
- Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task. - NOTE: This is required when - typeis set to- UserAssignedor- SystemAssigned, UserAssigned.
- principalId String
- The Principal ID associated with this Managed Service Identity.
- tenantId String
- The Tenant ID associated with this Managed Service Identity.
RegistryTaskPlatform, RegistryTaskPlatformArgs      
- Os string
- The operating system type required for the task. Possible values are WindowsandLinux.
- Architecture string
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- Variant string
- The variant of the CPU. Possible values are v6,v7,v8.
- Os string
- The operating system type required for the task. Possible values are WindowsandLinux.
- Architecture string
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- Variant string
- The variant of the CPU. Possible values are v6,v7,v8.
- os String
- The operating system type required for the task. Possible values are WindowsandLinux.
- architecture String
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- variant String
- The variant of the CPU. Possible values are v6,v7,v8.
- os string
- The operating system type required for the task. Possible values are WindowsandLinux.
- architecture string
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- variant string
- The variant of the CPU. Possible values are v6,v7,v8.
- os str
- The operating system type required for the task. Possible values are WindowsandLinux.
- architecture str
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- variant str
- The variant of the CPU. Possible values are v6,v7,v8.
- os String
- The operating system type required for the task. Possible values are WindowsandLinux.
- architecture String
- The OS architecture. Possible values are amd64,x86,386,armandarm64.
- variant String
- The variant of the CPU. Possible values are v6,v7,v8.
RegistryTaskRegistryCredential, RegistryTaskRegistryCredentialArgs        
- Customs
List<RegistryTask Registry Credential Custom> 
- One or more customblocks as defined above.
- Source
RegistryTask Registry Credential Source 
- One sourceblock as defined below.
- Customs
[]RegistryTask Registry Credential Custom 
- One or more customblocks as defined above.
- Source
RegistryTask Registry Credential Source 
- One sourceblock as defined below.
- customs
List<RegistryTask Registry Credential Custom> 
- One or more customblocks as defined above.
- source
RegistryTask Registry Credential Source 
- One sourceblock as defined below.
- customs
RegistryTask Registry Credential Custom[] 
- One or more customblocks as defined above.
- source
RegistryTask Registry Credential Source 
- One sourceblock as defined below.
- customs
Sequence[RegistryTask Registry Credential Custom] 
- One or more customblocks as defined above.
- source
RegistryTask Registry Credential Source 
- One sourceblock as defined below.
- customs List<Property Map>
- One or more customblocks as defined above.
- source Property Map
- One sourceblock as defined below.
RegistryTaskRegistryCredentialCustom, RegistryTaskRegistryCredentialCustomArgs          
- LoginServer string
- The login server of the custom Container Registry.
- Identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- Password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- Username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- LoginServer string
- The login server of the custom Container Registry.
- Identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- Password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- Username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- loginServer String
- The login server of the custom Container Registry.
- identity String
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- password String
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username String
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- loginServer string
- The login server of the custom Container Registry.
- identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- login_server str
- The login server of the custom Container Registry.
- identity str
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- password str
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username str
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- loginServer String
- The login server of the custom Container Registry.
- identity String
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is [system].
- password String
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username String
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
RegistryTaskRegistryCredentialSource, RegistryTaskRegistryCredentialSourceArgs          
- LoginMode string
- The login mode for the source registry. Possible values are NoneandDefault.
- LoginMode string
- The login mode for the source registry. Possible values are NoneandDefault.
- loginMode String
- The login mode for the source registry. Possible values are NoneandDefault.
- loginMode string
- The login mode for the source registry. Possible values are NoneandDefault.
- login_mode str
- The login mode for the source registry. Possible values are NoneandDefault.
- loginMode String
- The login mode for the source registry. Possible values are NoneandDefault.
RegistryTaskSourceTrigger, RegistryTaskSourceTriggerArgs        
- Events List<string>
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- Name string
- The name which should be used for this trigger.
- RepositoryUrl string
- The full URL to the source code repository.
- SourceType string
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- Authentication
RegistryTask Source Trigger Authentication 
- A authenticationblock as defined above.
- Branch string
- The branch name of the source code.
- Enabled bool
- Should the trigger be enabled? Defaults to true.
- Events []string
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- Name string
- The name which should be used for this trigger.
- RepositoryUrl string
- The full URL to the source code repository.
- SourceType string
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- Authentication
RegistryTask Source Trigger Authentication 
- A authenticationblock as defined above.
- Branch string
- The branch name of the source code.
- Enabled bool
- Should the trigger be enabled? Defaults to true.
- events List<String>
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- name String
- The name which should be used for this trigger.
- repositoryUrl String
- The full URL to the source code repository.
- sourceType String
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- authentication
RegistryTask Source Trigger Authentication 
- A authenticationblock as defined above.
- branch String
- The branch name of the source code.
- enabled Boolean
- Should the trigger be enabled? Defaults to true.
- events string[]
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- name string
- The name which should be used for this trigger.
- repositoryUrl string
- The full URL to the source code repository.
- sourceType string
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- authentication
RegistryTask Source Trigger Authentication 
- A authenticationblock as defined above.
- branch string
- The branch name of the source code.
- enabled boolean
- Should the trigger be enabled? Defaults to true.
- events Sequence[str]
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- name str
- The name which should be used for this trigger.
- repository_url str
- The full URL to the source code repository.
- source_type str
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- authentication
RegistryTask Source Trigger Authentication 
- A authenticationblock as defined above.
- branch str
- The branch name of the source code.
- enabled bool
- Should the trigger be enabled? Defaults to true.
- events List<String>
- Specifies a list of source events corresponding to the trigger. Possible values are commitandpullrequest.
- name String
- The name which should be used for this trigger.
- repositoryUrl String
- The full URL to the source code repository.
- sourceType String
- The type of the source control service. Possible values are GithubandVisualStudioTeamService.
- authentication Property Map
- A authenticationblock as defined above.
- branch String
- The branch name of the source code.
- enabled Boolean
- Should the trigger be enabled? Defaults to true.
RegistryTaskSourceTriggerAuthentication, RegistryTaskSourceTriggerAuthenticationArgs          
- Token string
- The access token used to access the source control provider.
- TokenType string
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- ExpireIn intSeconds 
- Time in seconds that the token remains valid.
- RefreshToken string
- The refresh token used to refresh the access token.
- Scope string
- The scope of the access token.
- Token string
- The access token used to access the source control provider.
- TokenType string
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- ExpireIn intSeconds 
- Time in seconds that the token remains valid.
- RefreshToken string
- The refresh token used to refresh the access token.
- Scope string
- The scope of the access token.
- token String
- The access token used to access the source control provider.
- tokenType String
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- expireIn IntegerSeconds 
- Time in seconds that the token remains valid.
- refreshToken String
- The refresh token used to refresh the access token.
- scope String
- The scope of the access token.
- token string
- The access token used to access the source control provider.
- tokenType string
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- expireIn numberSeconds 
- Time in seconds that the token remains valid.
- refreshToken string
- The refresh token used to refresh the access token.
- scope string
- The scope of the access token.
- token str
- The access token used to access the source control provider.
- token_type str
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- expire_in_ intseconds 
- Time in seconds that the token remains valid.
- refresh_token str
- The refresh token used to refresh the access token.
- scope str
- The scope of the access token.
- token String
- The access token used to access the source control provider.
- tokenType String
- The type of the token. Possible values are PAT(personal access token) andOAuth.
- expireIn NumberSeconds 
- 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.
RegistryTaskTimerTrigger, RegistryTaskTimerTriggerArgs        
Import
Container Registry Tasks can be imported using the resource id, e.g.
$ pulumi import azure:containerservice/registryTask:RegistryTask example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.ContainerRegistry/registries/registry1/tasks/task1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.