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. Azure REST API version: 2019-06-01-preview. Prior API version in Azure Native 1.x: 2019-06-01-preview.
Other available API versions: 2018-09-01, 2019-04-01.
Example Usage
Tasks_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var task = new AzureNative.ContainerRegistry.Task("task", new()
{
AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
{
Cpu = 2,
},
Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
{
Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
},
IsSystemTask = false,
Location = "eastus",
LogTemplate = "acr/tasks:{{.Run.OS}}",
Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
{
Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
Os = AzureNative.ContainerRegistry.OS.Linux,
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
{
Arguments = new[]
{
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = false,
Name = "mytestargument",
Value = "mytestvalue",
},
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = true,
Name = "mysecrettestargument",
Value = "mysecrettestvalue",
},
},
ContextPath = "src",
DockerFilePath = "src/DockerFile",
ImageNames = new[]
{
"azurerest:testtag",
},
IsPushEnabled = true,
NoCache = false,
Type = "Docker",
},
Tags =
{
{ "testkey", "value" },
},
TaskName = "mytTask",
Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
{
BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
{
BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Token,
},
SourceTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
{
Name = "mySourceTrigger",
SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
{
Branch = "master",
RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
{
Token = "xxxxx",
TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
},
SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
},
SourceTriggerEvents = new[]
{
AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
AgentConfiguration: &containerregistry.AgentPropertiesArgs{
Cpu: pulumi.Int(2),
},
Identity: &containerregistry.IdentityPropertiesArgs{
Type: containerregistry.ResourceIdentityTypeSystemAssigned,
},
IsSystemTask: pulumi.Bool(false),
Location: pulumi.String("eastus"),
LogTemplate: pulumi.String("acr/tasks:{{.Run.OS}}"),
Platform: &containerregistry.PlatformPropertiesArgs{
Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
Os: pulumi.String(containerregistry.OSLinux),
},
RegistryName: pulumi.String("myRegistry"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Status: pulumi.String(containerregistry.TaskStatusEnabled),
Step: &containerregistry.DockerBuildStepArgs{
Arguments: []containerregistry.ArgumentArgs{
{
IsSecret: pulumi.Bool(false),
Name: pulumi.String("mytestargument"),
Value: pulumi.String("mytestvalue"),
},
{
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Task;
import com.pulumi.azurenative.containerregistry.TaskArgs;
import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var task = new Task("task", TaskArgs.builder()
.agentConfiguration(AgentPropertiesArgs.builder()
.cpu(2)
.build())
.identity(IdentityPropertiesArgs.builder()
.type("SystemAssigned")
.build())
.isSystemTask(false)
.location("eastus")
.logTemplate("acr/tasks:{{.Run.OS}}")
.platform(PlatformPropertiesArgs.builder()
.architecture("amd64")
.os("Linux")
.build())
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(DockerBuildStepArgs.builder()
.arguments(
ArgumentArgs.builder()
.isSecret(false)
.name("mytestargument")
.value("mytestvalue")
.build(),
ArgumentArgs.builder()
.isSecret(true)
.name("mysecrettestargument")
.value("mysecrettestvalue")
.build())
.contextPath("src")
.dockerFilePath("src/DockerFile")
.imageNames("azurerest:testtag")
.isPushEnabled(true)
.noCache(false)
.type("Docker")
.build())
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(TriggerPropertiesArgs.builder()
.baseImageTrigger(BaseImageTriggerArgs.builder()
.baseImageTriggerType("Runtime")
.name("myBaseImageTrigger")
.updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
.updateTriggerPayloadType("Token")
.build())
.sourceTriggers(SourceTriggerArgs.builder()
.name("mySourceTrigger")
.sourceRepository(SourcePropertiesArgs.builder()
.branch("master")
.repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
.sourceControlAuthProperties(AuthInfoArgs.builder()
.token("xxxxx")
.tokenType("PAT")
.build())
.sourceControlType("Github")
.build())
.sourceTriggerEvents("commit")
.build())
.timerTriggers(TimerTriggerArgs.builder()
.name("myTimerTrigger")
.schedule("30 9 * * 1-5")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
task = azure_native.containerregistry.Task("task",
agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
cpu=2,
),
identity=azure_native.containerregistry.IdentityPropertiesArgs(
type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
),
is_system_task=False,
location="eastus",
log_template="acr/tasks:{{.Run.OS}}",
platform=azure_native.containerregistry.PlatformPropertiesArgs(
architecture=azure_native.containerregistry.Architecture.AMD64,
os=azure_native.containerregistry.OS.LINUX,
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status=azure_native.containerregistry.TaskStatus.ENABLED,
step=azure_native.containerregistry.DockerBuildStepArgs(
arguments=[
azure_native.containerregistry.ArgumentArgs(
is_secret=False,
name="mytestargument",
value="mytestvalue",
),
azure_native.containerregistry.ArgumentArgs(
is_secret=True,
name="mysecrettestargument",
value="mysecrettestvalue",
),
],
context_path="src",
docker_file_path="src/DockerFile",
image_names=["azurerest:testtag"],
is_push_enabled=True,
no_cache=False,
type="Docker",
),
tags={
"testkey": "value",
},
task_name="mytTask",
trigger=azure_native.containerregistry.TriggerPropertiesArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.TOKEN,
),
source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
name="mySourceTrigger",
source_repository=azure_native.containerregistry.SourcePropertiesArgs(
branch="master",
repository_url="https://github.com/Azure/azure-rest-api-specs",
source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type=azure_native.containerregistry.TokenType.PAT,
),
source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
),
source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
)],
timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
name="myTimerTrigger",
schedule="30 9 * * 1-5",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const task = new azure_native.containerregistry.Task("task", {
agentConfiguration: {
cpu: 2,
},
identity: {
type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
},
isSystemTask: false,
location: "eastus",
logTemplate: "acr/tasks:{{.Run.OS}}",
platform: {
architecture: azure_native.containerregistry.Architecture.Amd64,
os: azure_native.containerregistry.OS.Linux,
},
registryName: "myRegistry",
resourceGroupName: "myResourceGroup",
status: azure_native.containerregistry.TaskStatus.Enabled,
step: {
arguments: [
{
isSecret: false,
name: "mytestargument",
value: "mytestvalue",
},
{
isSecret: true,
name: "mysecrettestargument",
value: "mysecrettestvalue",
},
],
contextPath: "src",
dockerFilePath: "src/DockerFile",
imageNames: ["azurerest:testtag"],
isPushEnabled: true,
noCache: false,
type: "Docker",
},
tags: {
testkey: "value",
},
taskName: "mytTask",
trigger: {
baseImageTrigger: {
baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
name: "myBaseImageTrigger",
updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Token,
},
sourceTriggers: [{
name: "mySourceTrigger",
sourceRepository: {
branch: "master",
repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
sourceControlAuthProperties: {
token: "xxxxx",
tokenType: azure_native.containerregistry.TokenType.PAT,
},
sourceControlType: azure_native.containerregistry.SourceControlType.Github,
},
sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
}],
timerTriggers: [{
name: "myTimerTrigger",
schedule: "30 9 * * 1-5",
}],
},
});
resources:
task:
type: azure-native:containerregistry:Task
properties:
agentConfiguration:
cpu: 2
identity:
type: SystemAssigned
isSystemTask: false
location: eastus
logTemplate: acr/tasks:{{.Run.OS}}
platform:
architecture: amd64
os: Linux
registryName: myRegistry
resourceGroupName: myResourceGroup
status: Enabled
step:
arguments:
- isSecret: false
name: mytestargument
value: mytestvalue
- isSecret: true
name: mysecrettestargument
value: mysecrettestvalue
contextPath: src
dockerFilePath: src/DockerFile
imageNames:
- azurerest:testtag
isPushEnabled: true
noCache: false
type: Docker
tags:
testkey: value
taskName: mytTask
trigger:
baseImageTrigger:
baseImageTriggerType: Runtime
name: myBaseImageTrigger
updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
updateTriggerPayloadType: Token
sourceTriggers:
- name: mySourceTrigger
sourceRepository:
branch: master
repositoryUrl: https://github.com/Azure/azure-rest-api-specs
sourceControlAuthProperties:
token: xxxxx
tokenType: PAT
sourceControlType: Github
sourceTriggerEvents:
- commit
timerTriggers:
- name: myTimerTrigger
schedule: 30 9 * * 1-5
Tasks_Create_QuickTask
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var task = new AzureNative.ContainerRegistry.Task("task", new()
{
IsSystemTask = true,
Location = "eastus",
LogTemplate = "acr/tasks:{{.Run.OS}}",
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
Tags =
{
{ "testkey", "value" },
},
TaskName = "quicktask",
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
IsSystemTask: pulumi.Bool(true),
Location: pulumi.String("eastus"),
LogTemplate: pulumi.String("acr/tasks:{{.Run.OS}}"),
RegistryName: pulumi.String("myRegistry"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Status: pulumi.String(containerregistry.TaskStatusEnabled),
Tags: pulumi.StringMap{
"testkey": pulumi.String("value"),
},
TaskName: pulumi.String("quicktask"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Task;
import com.pulumi.azurenative.containerregistry.TaskArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var task = new Task("task", TaskArgs.builder()
.isSystemTask(true)
.location("eastus")
.logTemplate("acr/tasks:{{.Run.OS}}")
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.tags(Map.of("testkey", "value"))
.taskName("quicktask")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
task = azure_native.containerregistry.Task("task",
is_system_task=True,
location="eastus",
log_template="acr/tasks:{{.Run.OS}}",
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status=azure_native.containerregistry.TaskStatus.ENABLED,
tags={
"testkey": "value",
},
task_name="quicktask")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const task = new azure_native.containerregistry.Task("task", {
isSystemTask: true,
location: "eastus",
logTemplate: "acr/tasks:{{.Run.OS}}",
registryName: "myRegistry",
resourceGroupName: "myResourceGroup",
status: azure_native.containerregistry.TaskStatus.Enabled,
tags: {
testkey: "value",
},
taskName: "quicktask",
});
resources:
task:
type: azure-native:containerregistry:Task
properties:
isSystemTask: true
location: eastus
logTemplate: acr/tasks:{{.Run.OS}}
registryName: myRegistry
resourceGroupName: myResourceGroup
status: Enabled
tags:
testkey: value
taskName: quicktask
Tasks_Create_WithSystemAndUserIdentities
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var task = new AzureNative.ContainerRegistry.Task("task", new()
{
AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
{
Cpu = 2,
},
Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
{
Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned_UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", null },
},
},
IsSystemTask = false,
Location = "eastus",
Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
{
Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
Os = AzureNative.ContainerRegistry.OS.Linux,
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
{
Arguments = new[]
{
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = false,
Name = "mytestargument",
Value = "mytestvalue",
},
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = true,
Name = "mysecrettestargument",
Value = "mysecrettestvalue",
},
},
ContextPath = "src",
DockerFilePath = "src/DockerFile",
ImageNames = new[]
{
"azurerest:testtag",
},
IsPushEnabled = true,
NoCache = false,
Type = "Docker",
},
Tags =
{
{ "testkey", "value" },
},
TaskName = "mytTask",
Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
{
BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
{
BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Default,
},
SourceTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
{
Name = "mySourceTrigger",
SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
{
Branch = "master",
RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
{
Token = "xxxxx",
TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
},
SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
},
SourceTriggerEvents = new[]
{
AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
AgentConfiguration: &containerregistry.AgentPropertiesArgs{
Cpu: pulumi.Int(2),
},
Identity: &containerregistry.IdentityPropertiesArgs{
Type: containerregistry.ResourceIdentityType_SystemAssigned_UserAssigned,
UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": nil,
},
},
IsSystemTask: pulumi.Bool(false),
Location: pulumi.String("eastus"),
Platform: &containerregistry.PlatformPropertiesArgs{
Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
Os: pulumi.String(containerregistry.OSLinux),
},
RegistryName: pulumi.String("myRegistry"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Status: pulumi.String(containerregistry.TaskStatusEnabled),
Step: &containerregistry.DockerBuildStepArgs{
Arguments: []containerregistry.ArgumentArgs{
{
IsSecret: pulumi.Bool(false),
Name: pulumi.String("mytestargument"),
Value: pulumi.String("mytestvalue"),
},
{
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Task;
import com.pulumi.azurenative.containerregistry.TaskArgs;
import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var task = new Task("task", TaskArgs.builder()
.agentConfiguration(AgentPropertiesArgs.builder()
.cpu(2)
.build())
.identity(IdentityPropertiesArgs.builder()
.type("SystemAssigned, UserAssigned")
.userAssignedIdentities(Map.of("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", ))
.build())
.isSystemTask(false)
.location("eastus")
.platform(PlatformPropertiesArgs.builder()
.architecture("amd64")
.os("Linux")
.build())
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(DockerBuildStepArgs.builder()
.arguments(
ArgumentArgs.builder()
.isSecret(false)
.name("mytestargument")
.value("mytestvalue")
.build(),
ArgumentArgs.builder()
.isSecret(true)
.name("mysecrettestargument")
.value("mysecrettestvalue")
.build())
.contextPath("src")
.dockerFilePath("src/DockerFile")
.imageNames("azurerest:testtag")
.isPushEnabled(true)
.noCache(false)
.type("Docker")
.build())
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(TriggerPropertiesArgs.builder()
.baseImageTrigger(BaseImageTriggerArgs.builder()
.baseImageTriggerType("Runtime")
.name("myBaseImageTrigger")
.updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
.updateTriggerPayloadType("Default")
.build())
.sourceTriggers(SourceTriggerArgs.builder()
.name("mySourceTrigger")
.sourceRepository(SourcePropertiesArgs.builder()
.branch("master")
.repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
.sourceControlAuthProperties(AuthInfoArgs.builder()
.token("xxxxx")
.tokenType("PAT")
.build())
.sourceControlType("Github")
.build())
.sourceTriggerEvents("commit")
.build())
.timerTriggers(TimerTriggerArgs.builder()
.name("myTimerTrigger")
.schedule("30 9 * * 1-5")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
task = azure_native.containerregistry.Task("task",
agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
cpu=2,
),
identity=azure_native.containerregistry.IdentityPropertiesArgs(
type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED_USER_ASSIGNED,
user_assigned_identities={
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": azure_native.containerregistry.UserIdentityPropertiesArgs(),
},
),
is_system_task=False,
location="eastus",
platform=azure_native.containerregistry.PlatformPropertiesArgs(
architecture=azure_native.containerregistry.Architecture.AMD64,
os=azure_native.containerregistry.OS.LINUX,
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status=azure_native.containerregistry.TaskStatus.ENABLED,
step=azure_native.containerregistry.DockerBuildStepArgs(
arguments=[
azure_native.containerregistry.ArgumentArgs(
is_secret=False,
name="mytestargument",
value="mytestvalue",
),
azure_native.containerregistry.ArgumentArgs(
is_secret=True,
name="mysecrettestargument",
value="mysecrettestvalue",
),
],
context_path="src",
docker_file_path="src/DockerFile",
image_names=["azurerest:testtag"],
is_push_enabled=True,
no_cache=False,
type="Docker",
),
tags={
"testkey": "value",
},
task_name="mytTask",
trigger=azure_native.containerregistry.TriggerPropertiesArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.DEFAULT,
),
source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
name="mySourceTrigger",
source_repository=azure_native.containerregistry.SourcePropertiesArgs(
branch="master",
repository_url="https://github.com/Azure/azure-rest-api-specs",
source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type=azure_native.containerregistry.TokenType.PAT,
),
source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
),
source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
)],
timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
name="myTimerTrigger",
schedule="30 9 * * 1-5",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const task = new azure_native.containerregistry.Task("task", {
agentConfiguration: {
cpu: 2,
},
identity: {
type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned_UserAssigned,
userAssignedIdentities: {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {},
},
},
isSystemTask: false,
location: "eastus",
platform: {
architecture: azure_native.containerregistry.Architecture.Amd64,
os: azure_native.containerregistry.OS.Linux,
},
registryName: "myRegistry",
resourceGroupName: "myResourceGroup",
status: azure_native.containerregistry.TaskStatus.Enabled,
step: {
arguments: [
{
isSecret: false,
name: "mytestargument",
value: "mytestvalue",
},
{
isSecret: true,
name: "mysecrettestargument",
value: "mysecrettestvalue",
},
],
contextPath: "src",
dockerFilePath: "src/DockerFile",
imageNames: ["azurerest:testtag"],
isPushEnabled: true,
noCache: false,
type: "Docker",
},
tags: {
testkey: "value",
},
taskName: "mytTask",
trigger: {
baseImageTrigger: {
baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
name: "myBaseImageTrigger",
updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Default,
},
sourceTriggers: [{
name: "mySourceTrigger",
sourceRepository: {
branch: "master",
repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
sourceControlAuthProperties: {
token: "xxxxx",
tokenType: azure_native.containerregistry.TokenType.PAT,
},
sourceControlType: azure_native.containerregistry.SourceControlType.Github,
},
sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
}],
timerTriggers: [{
name: "myTimerTrigger",
schedule: "30 9 * * 1-5",
}],
},
});
resources:
task:
type: azure-native:containerregistry:Task
properties:
agentConfiguration:
cpu: 2
identity:
type: SystemAssigned, UserAssigned
userAssignedIdentities:
? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2
: {}
isSystemTask: false
location: eastus
platform:
architecture: amd64
os: Linux
registryName: myRegistry
resourceGroupName: myResourceGroup
status: Enabled
step:
arguments:
- isSecret: false
name: mytestargument
value: mytestvalue
- isSecret: true
name: mysecrettestargument
value: mysecrettestvalue
contextPath: src
dockerFilePath: src/DockerFile
imageNames:
- azurerest:testtag
isPushEnabled: true
noCache: false
type: Docker
tags:
testkey: value
taskName: mytTask
trigger:
baseImageTrigger:
baseImageTriggerType: Runtime
name: myBaseImageTrigger
updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
updateTriggerPayloadType: Default
sourceTriggers:
- name: mySourceTrigger
sourceRepository:
branch: master
repositoryUrl: https://github.com/Azure/azure-rest-api-specs
sourceControlAuthProperties:
token: xxxxx
tokenType: PAT
sourceControlType: Github
sourceTriggerEvents:
- commit
timerTriggers:
- name: myTimerTrigger
schedule: 30 9 * * 1-5
Tasks_Create_WithUserIdentities
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var task = new AzureNative.ContainerRegistry.Task("task", new()
{
AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
{
Cpu = 2,
},
Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
{
Type = AzureNative.ContainerRegistry.ResourceIdentityType.UserAssigned,
UserAssignedIdentities =
{
{ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", null },
{ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", null },
},
},
IsSystemTask = false,
Location = "eastus",
Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
{
Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
Os = AzureNative.ContainerRegistry.OS.Linux,
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
{
Arguments = new[]
{
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = false,
Name = "mytestargument",
Value = "mytestvalue",
},
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = true,
Name = "mysecrettestargument",
Value = "mysecrettestvalue",
},
},
ContextPath = "src",
DockerFilePath = "src/DockerFile",
ImageNames = new[]
{
"azurerest:testtag",
},
IsPushEnabled = true,
NoCache = false,
Type = "Docker",
},
Tags =
{
{ "testkey", "value" },
},
TaskName = "mytTask",
Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
{
BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
{
BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
UpdateTriggerPayloadType = AzureNative.ContainerRegistry.UpdateTriggerPayloadType.Default,
},
SourceTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
{
Name = "mySourceTrigger",
SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
{
Branch = "master",
RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
{
Token = "xxxxx",
TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
},
SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
},
SourceTriggerEvents = new[]
{
AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
AgentConfiguration: &containerregistry.AgentPropertiesArgs{
Cpu: pulumi.Int(2),
},
Identity: &containerregistry.IdentityPropertiesArgs{
Type: containerregistry.ResourceIdentityTypeUserAssigned,
UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": nil,
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": nil,
},
},
IsSystemTask: pulumi.Bool(false),
Location: pulumi.String("eastus"),
Platform: &containerregistry.PlatformPropertiesArgs{
Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
Os: pulumi.String(containerregistry.OSLinux),
},
RegistryName: pulumi.String("myRegistry"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Status: pulumi.String(containerregistry.TaskStatusEnabled),
Step: &containerregistry.DockerBuildStepArgs{
Arguments: []containerregistry.ArgumentArgs{
{
IsSecret: pulumi.Bool(false),
Name: pulumi.String("mytestargument"),
Value: pulumi.String("mytestvalue"),
},
{
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Task;
import com.pulumi.azurenative.containerregistry.TaskArgs;
import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var task = new Task("task", TaskArgs.builder()
.agentConfiguration(AgentPropertiesArgs.builder()
.cpu(2)
.build())
.identity(IdentityPropertiesArgs.builder()
.type("UserAssigned")
.userAssignedIdentities(Map.ofEntries(
Map.entry("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1", ),
Map.entry("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", )
))
.build())
.isSystemTask(false)
.location("eastus")
.platform(PlatformPropertiesArgs.builder()
.architecture("amd64")
.os("Linux")
.build())
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(DockerBuildStepArgs.builder()
.arguments(
ArgumentArgs.builder()
.isSecret(false)
.name("mytestargument")
.value("mytestvalue")
.build(),
ArgumentArgs.builder()
.isSecret(true)
.name("mysecrettestargument")
.value("mysecrettestvalue")
.build())
.contextPath("src")
.dockerFilePath("src/DockerFile")
.imageNames("azurerest:testtag")
.isPushEnabled(true)
.noCache(false)
.type("Docker")
.build())
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(TriggerPropertiesArgs.builder()
.baseImageTrigger(BaseImageTriggerArgs.builder()
.baseImageTriggerType("Runtime")
.name("myBaseImageTrigger")
.updateTriggerEndpoint("https://user:pass@mycicd.webhook.com?token=foo")
.updateTriggerPayloadType("Default")
.build())
.sourceTriggers(SourceTriggerArgs.builder()
.name("mySourceTrigger")
.sourceRepository(SourcePropertiesArgs.builder()
.branch("master")
.repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
.sourceControlAuthProperties(AuthInfoArgs.builder()
.token("xxxxx")
.tokenType("PAT")
.build())
.sourceControlType("Github")
.build())
.sourceTriggerEvents("commit")
.build())
.timerTriggers(TimerTriggerArgs.builder()
.name("myTimerTrigger")
.schedule("30 9 * * 1-5")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
task = azure_native.containerregistry.Task("task",
agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
cpu=2,
),
identity=azure_native.containerregistry.IdentityPropertiesArgs(
type=azure_native.containerregistry.ResourceIdentityType.USER_ASSIGNED,
user_assigned_identities={
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": azure_native.containerregistry.UserIdentityPropertiesArgs(),
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": azure_native.containerregistry.UserIdentityPropertiesArgs(),
},
),
is_system_task=False,
location="eastus",
platform=azure_native.containerregistry.PlatformPropertiesArgs(
architecture=azure_native.containerregistry.Architecture.AMD64,
os=azure_native.containerregistry.OS.LINUX,
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status=azure_native.containerregistry.TaskStatus.ENABLED,
step=azure_native.containerregistry.DockerBuildStepArgs(
arguments=[
azure_native.containerregistry.ArgumentArgs(
is_secret=False,
name="mytestargument",
value="mytestvalue",
),
azure_native.containerregistry.ArgumentArgs(
is_secret=True,
name="mysecrettestargument",
value="mysecrettestvalue",
),
],
context_path="src",
docker_file_path="src/DockerFile",
image_names=["azurerest:testtag"],
is_push_enabled=True,
no_cache=False,
type="Docker",
),
tags={
"testkey": "value",
},
task_name="mytTask",
trigger=azure_native.containerregistry.TriggerPropertiesArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type=azure_native.containerregistry.UpdateTriggerPayloadType.DEFAULT,
),
source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
name="mySourceTrigger",
source_repository=azure_native.containerregistry.SourcePropertiesArgs(
branch="master",
repository_url="https://github.com/Azure/azure-rest-api-specs",
source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type=azure_native.containerregistry.TokenType.PAT,
),
source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
),
source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
)],
timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
name="myTimerTrigger",
schedule="30 9 * * 1-5",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const task = new azure_native.containerregistry.Task("task", {
agentConfiguration: {
cpu: 2,
},
identity: {
type: azure_native.containerregistry.ResourceIdentityType.UserAssigned,
userAssignedIdentities: {
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {},
"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {},
},
},
isSystemTask: false,
location: "eastus",
platform: {
architecture: azure_native.containerregistry.Architecture.Amd64,
os: azure_native.containerregistry.OS.Linux,
},
registryName: "myRegistry",
resourceGroupName: "myResourceGroup",
status: azure_native.containerregistry.TaskStatus.Enabled,
step: {
arguments: [
{
isSecret: false,
name: "mytestargument",
value: "mytestvalue",
},
{
isSecret: true,
name: "mysecrettestargument",
value: "mysecrettestvalue",
},
],
contextPath: "src",
dockerFilePath: "src/DockerFile",
imageNames: ["azurerest:testtag"],
isPushEnabled: true,
noCache: false,
type: "Docker",
},
tags: {
testkey: "value",
},
taskName: "mytTask",
trigger: {
baseImageTrigger: {
baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
name: "myBaseImageTrigger",
updateTriggerEndpoint: "https://user:pass@mycicd.webhook.com?token=foo",
updateTriggerPayloadType: azure_native.containerregistry.UpdateTriggerPayloadType.Default,
},
sourceTriggers: [{
name: "mySourceTrigger",
sourceRepository: {
branch: "master",
repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
sourceControlAuthProperties: {
token: "xxxxx",
tokenType: azure_native.containerregistry.TokenType.PAT,
},
sourceControlType: azure_native.containerregistry.SourceControlType.Github,
},
sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
}],
timerTriggers: [{
name: "myTimerTrigger",
schedule: "30 9 * * 1-5",
}],
},
});
resources:
task:
type: azure-native:containerregistry:Task
properties:
agentConfiguration:
cpu: 2
identity:
type: UserAssigned
userAssignedIdentities:
? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1
: {}
? /subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2
: {}
isSystemTask: false
location: eastus
platform:
architecture: amd64
os: Linux
registryName: myRegistry
resourceGroupName: myResourceGroup
status: Enabled
step:
arguments:
- isSecret: false
name: mytestargument
value: mytestvalue
- isSecret: true
name: mysecrettestargument
value: mysecrettestvalue
contextPath: src
dockerFilePath: src/DockerFile
imageNames:
- azurerest:testtag
isPushEnabled: true
noCache: false
type: Docker
tags:
testkey: value
taskName: mytTask
trigger:
baseImageTrigger:
baseImageTriggerType: Runtime
name: myBaseImageTrigger
updateTriggerEndpoint: https://user:pass@mycicd.webhook.com?token=foo
updateTriggerPayloadType: Default
sourceTriggers:
- name: mySourceTrigger
sourceRepository:
branch: master
repositoryUrl: https://github.com/Azure/azure-rest-api-specs
sourceControlAuthProperties:
token: xxxxx
tokenType: PAT
sourceControlType: Github
sourceTriggerEvents:
- commit
timerTriggers:
- name: myTimerTrigger
schedule: 30 9 * * 1-5
Tasks_Create_WithUserIdentities_WithSystemIdentity
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var task = new AzureNative.ContainerRegistry.Task("task", new()
{
AgentConfiguration = new AzureNative.ContainerRegistry.Inputs.AgentPropertiesArgs
{
Cpu = 2,
},
Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
{
Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
},
IsSystemTask = false,
Location = "eastus",
Platform = new AzureNative.ContainerRegistry.Inputs.PlatformPropertiesArgs
{
Architecture = AzureNative.ContainerRegistry.Architecture.Amd64,
Os = AzureNative.ContainerRegistry.OS.Linux,
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = AzureNative.ContainerRegistry.TaskStatus.Enabled,
Step = new AzureNative.ContainerRegistry.Inputs.DockerBuildStepArgs
{
Arguments = new[]
{
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = false,
Name = "mytestargument",
Value = "mytestvalue",
},
new AzureNative.ContainerRegistry.Inputs.ArgumentArgs
{
IsSecret = true,
Name = "mysecrettestargument",
Value = "mysecrettestvalue",
},
},
ContextPath = "src",
DockerFilePath = "src/DockerFile",
ImageNames = new[]
{
"azurerest:testtag",
},
IsPushEnabled = true,
NoCache = false,
Type = "Docker",
},
Tags =
{
{ "testkey", "value" },
},
TaskName = "mytTask",
Trigger = new AzureNative.ContainerRegistry.Inputs.TriggerPropertiesArgs
{
BaseImageTrigger = new AzureNative.ContainerRegistry.Inputs.BaseImageTriggerArgs
{
BaseImageTriggerType = AzureNative.ContainerRegistry.BaseImageTriggerType.Runtime,
Name = "myBaseImageTrigger",
},
SourceTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.SourceTriggerArgs
{
Name = "mySourceTrigger",
SourceRepository = new AzureNative.ContainerRegistry.Inputs.SourcePropertiesArgs
{
Branch = "master",
RepositoryUrl = "https://github.com/Azure/azure-rest-api-specs",
SourceControlAuthProperties = new AzureNative.ContainerRegistry.Inputs.AuthInfoArgs
{
Token = "xxxxx",
TokenType = AzureNative.ContainerRegistry.TokenType.PAT,
},
SourceControlType = AzureNative.ContainerRegistry.SourceControlType.Github,
},
SourceTriggerEvents = new[]
{
AzureNative.ContainerRegistry.SourceTriggerEvent.Commit,
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := containerregistry.NewTask(ctx, "task", &containerregistry.TaskArgs{
AgentConfiguration: &containerregistry.AgentPropertiesArgs{
Cpu: pulumi.Int(2),
},
Identity: &containerregistry.IdentityPropertiesArgs{
Type: containerregistry.ResourceIdentityTypeSystemAssigned,
},
IsSystemTask: pulumi.Bool(false),
Location: pulumi.String("eastus"),
Platform: &containerregistry.PlatformPropertiesArgs{
Architecture: pulumi.String(containerregistry.ArchitectureAmd64),
Os: pulumi.String(containerregistry.OSLinux),
},
RegistryName: pulumi.String("myRegistry"),
ResourceGroupName: pulumi.String("myResourceGroup"),
Status: pulumi.String(containerregistry.TaskStatusEnabled),
Step: &containerregistry.DockerBuildStepArgs{
Arguments: []containerregistry.ArgumentArgs{
{
IsSecret: pulumi.Bool(false),
Name: pulumi.String("mytestargument"),
Value: pulumi.String("mytestvalue"),
},
{
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
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Task;
import com.pulumi.azurenative.containerregistry.TaskArgs;
import com.pulumi.azurenative.containerregistry.inputs.AgentPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.PlatformPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.TriggerPropertiesArgs;
import com.pulumi.azurenative.containerregistry.inputs.BaseImageTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var task = new Task("task", TaskArgs.builder()
.agentConfiguration(AgentPropertiesArgs.builder()
.cpu(2)
.build())
.identity(IdentityPropertiesArgs.builder()
.type("SystemAssigned")
.build())
.isSystemTask(false)
.location("eastus")
.platform(PlatformPropertiesArgs.builder()
.architecture("amd64")
.os("Linux")
.build())
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(DockerBuildStepArgs.builder()
.arguments(
ArgumentArgs.builder()
.isSecret(false)
.name("mytestargument")
.value("mytestvalue")
.build(),
ArgumentArgs.builder()
.isSecret(true)
.name("mysecrettestargument")
.value("mysecrettestvalue")
.build())
.contextPath("src")
.dockerFilePath("src/DockerFile")
.imageNames("azurerest:testtag")
.isPushEnabled(true)
.noCache(false)
.type("Docker")
.build())
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(TriggerPropertiesArgs.builder()
.baseImageTrigger(BaseImageTriggerArgs.builder()
.baseImageTriggerType("Runtime")
.name("myBaseImageTrigger")
.build())
.sourceTriggers(SourceTriggerArgs.builder()
.name("mySourceTrigger")
.sourceRepository(SourcePropertiesArgs.builder()
.branch("master")
.repositoryUrl("https://github.com/Azure/azure-rest-api-specs")
.sourceControlAuthProperties(AuthInfoArgs.builder()
.token("xxxxx")
.tokenType("PAT")
.build())
.sourceControlType("Github")
.build())
.sourceTriggerEvents("commit")
.build())
.timerTriggers(TimerTriggerArgs.builder()
.name("myTimerTrigger")
.schedule("30 9 * * 1-5")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
task = azure_native.containerregistry.Task("task",
agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
cpu=2,
),
identity=azure_native.containerregistry.IdentityPropertiesArgs(
type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
),
is_system_task=False,
location="eastus",
platform=azure_native.containerregistry.PlatformPropertiesArgs(
architecture=azure_native.containerregistry.Architecture.AMD64,
os=azure_native.containerregistry.OS.LINUX,
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status=azure_native.containerregistry.TaskStatus.ENABLED,
step=azure_native.containerregistry.DockerBuildStepArgs(
arguments=[
azure_native.containerregistry.ArgumentArgs(
is_secret=False,
name="mytestargument",
value="mytestvalue",
),
azure_native.containerregistry.ArgumentArgs(
is_secret=True,
name="mysecrettestargument",
value="mysecrettestvalue",
),
],
context_path="src",
docker_file_path="src/DockerFile",
image_names=["azurerest:testtag"],
is_push_enabled=True,
no_cache=False,
type="Docker",
),
tags={
"testkey": "value",
},
task_name="mytTask",
trigger=azure_native.containerregistry.TriggerPropertiesArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type=azure_native.containerregistry.BaseImageTriggerType.RUNTIME,
name="myBaseImageTrigger",
),
source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
name="mySourceTrigger",
source_repository=azure_native.containerregistry.SourcePropertiesArgs(
branch="master",
repository_url="https://github.com/Azure/azure-rest-api-specs",
source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type=azure_native.containerregistry.TokenType.PAT,
),
source_control_type=azure_native.containerregistry.SourceControlType.GITHUB,
),
source_trigger_events=[azure_native.containerregistry.SourceTriggerEvent.COMMIT],
)],
timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
name="myTimerTrigger",
schedule="30 9 * * 1-5",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const task = new azure_native.containerregistry.Task("task", {
agentConfiguration: {
cpu: 2,
},
identity: {
type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
},
isSystemTask: false,
location: "eastus",
platform: {
architecture: azure_native.containerregistry.Architecture.Amd64,
os: azure_native.containerregistry.OS.Linux,
},
registryName: "myRegistry",
resourceGroupName: "myResourceGroup",
status: azure_native.containerregistry.TaskStatus.Enabled,
step: {
arguments: [
{
isSecret: false,
name: "mytestargument",
value: "mytestvalue",
},
{
isSecret: true,
name: "mysecrettestargument",
value: "mysecrettestvalue",
},
],
contextPath: "src",
dockerFilePath: "src/DockerFile",
imageNames: ["azurerest:testtag"],
isPushEnabled: true,
noCache: false,
type: "Docker",
},
tags: {
testkey: "value",
},
taskName: "mytTask",
trigger: {
baseImageTrigger: {
baseImageTriggerType: azure_native.containerregistry.BaseImageTriggerType.Runtime,
name: "myBaseImageTrigger",
},
sourceTriggers: [{
name: "mySourceTrigger",
sourceRepository: {
branch: "master",
repositoryUrl: "https://github.com/Azure/azure-rest-api-specs",
sourceControlAuthProperties: {
token: "xxxxx",
tokenType: azure_native.containerregistry.TokenType.PAT,
},
sourceControlType: azure_native.containerregistry.SourceControlType.Github,
},
sourceTriggerEvents: [azure_native.containerregistry.SourceTriggerEvent.Commit],
}],
timerTriggers: [{
name: "myTimerTrigger",
schedule: "30 9 * * 1-5",
}],
},
});
resources:
task:
type: azure-native:containerregistry:Task
properties:
agentConfiguration:
cpu: 2
identity:
type: SystemAssigned
isSystemTask: false
location: eastus
platform:
architecture: amd64
os: Linux
registryName: myRegistry
resourceGroupName: myResourceGroup
status: Enabled
step:
arguments:
- isSecret: false
name: mytestargument
value: mytestvalue
- isSecret: true
name: mysecrettestargument
value: mysecrettestvalue
contextPath: src
dockerFilePath: src/DockerFile
imageNames:
- azurerest:testtag
isPushEnabled: true
noCache: false
type: Docker
tags:
testkey: value
taskName: mytTask
trigger:
baseImageTrigger:
baseImageTriggerType: Runtime
name: myBaseImageTrigger
sourceTriggers:
- name: mySourceTrigger
sourceRepository:
branch: master
repositoryUrl: https://github.com/Azure/azure-rest-api-specs
sourceControlAuthProperties:
token: xxxxx
tokenType: PAT
sourceControlType: Github
sourceTriggerEvents:
- commit
timerTriggers:
- name: myTimerTrigger
schedule: 30 9 * * 1-5
Create Task Resource
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)
type: azure-native:containerregistry:Task
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 TaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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",
},
},
},
});
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.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"),
},
},
},
})
var taskResource = new Task("taskResource", 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());
task_resource = azure_native.containerregistry.Task("taskResource",
registry_name="string",
resource_group_name="string",
is_system_task=False,
agent_pool_name="string",
agent_configuration=azure_native.containerregistry.AgentPropertiesArgs(
cpu=0,
),
location="string",
log_template="string",
platform=azure_native.containerregistry.PlatformPropertiesArgs(
os="string",
architecture="string",
variant="string",
),
credentials=azure_native.containerregistry.CredentialsArgs(
custom_registries={
"string": azure_native.containerregistry.CustomRegistryCredentialsArgs(
identity="string",
password=azure_native.containerregistry.SecretObjectArgs(
type="string",
value="string",
),
user_name=azure_native.containerregistry.SecretObjectArgs(
type="string",
value="string",
),
),
},
source_registry=azure_native.containerregistry.SourceRegistryCredentialsArgs(
login_mode="string",
),
),
identity=azure_native.containerregistry.IdentityPropertiesArgs(
principal_id="string",
tenant_id="string",
type=azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
user_assigned_identities={
"string": azure_native.containerregistry.UserIdentityPropertiesArgs(
client_id="string",
principal_id="string",
),
},
),
status="string",
step=azure_native.containerregistry.DockerBuildStepArgs(
docker_file_path="string",
type="Docker",
arguments=[azure_native.containerregistry.ArgumentArgs(
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=azure_native.containerregistry.TriggerPropertiesArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type="string",
name="string",
status="string",
update_trigger_endpoint="string",
update_trigger_payload_type="string",
),
source_triggers=[azure_native.containerregistry.SourceTriggerArgs(
name="string",
source_repository=azure_native.containerregistry.SourcePropertiesArgs(
repository_url="string",
source_control_type="string",
branch="string",
source_control_auth_properties=azure_native.containerregistry.AuthInfoArgs(
token="string",
token_type="string",
expires_in=0,
refresh_token="string",
scope="string",
),
),
source_trigger_events=["string"],
status="string",
)],
timer_triggers=[azure_native.containerregistry.TimerTriggerArgs(
name="string",
schedule="string",
status="string",
)],
))
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",
}],
},
});
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
Task Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Task resource accepts the following input properties:
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group to which the container registry belongs.
- Agent
Configuration Pulumi.Azure Native. Container Registry. Inputs. Agent Properties - The machine configuration of the run agent.
- Agent
Pool stringName - The dedicated agent pool for the task.
- Credentials
Pulumi.
Azure Native. Container Registry. Inputs. Credentials - The properties that describes a set of credentials that will be used when this run is invoked.
- Identity
Pulumi.
Azure Native. Container Registry. Inputs. Identity Properties - Identity for the resource.
- Is
System boolTask - The value of this property indicates whether the task resource is system task or not.
- Location string
- The location of the resource. This cannot be changed after the resource is created.
- Log
Template string - The template that describes the repository and tag information for run log artifact.
- Platform
Pulumi.
Azure Native. Container Registry. Inputs. Platform Properties - The platform properties against which the run has to happen.
- Status
string | Pulumi.
Azure Native. Container Registry. Task Status - The current status of task.
- Step
Pulumi.
Azure | Pulumi.Native. Container Registry. Inputs. Docker Build Step Azure | Pulumi.Native. Container Registry. Inputs. Encoded Task Step Azure Native. Container Registry. Inputs. File Task Step - The properties of a task step.
- Dictionary<string, string>
- The tags of the resource.
- Task
Name string - The name of the container registry task.
- Timeout int
- Run timeout in seconds.
- Trigger
Pulumi.
Azure Native. Container Registry. Inputs. Trigger Properties - The properties that describe all triggers for the task.
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group to which the container registry belongs.
- Agent
Configuration AgentProperties Args - The machine configuration of the run agent.
- Agent
Pool stringName - The dedicated agent pool for the task.
- Credentials
Credentials
Args - The properties that describes a set of credentials that will be used when this run is invoked.
- Identity
Identity
Properties Args - Identity for the resource.
- Is
System boolTask - The value of this property indicates whether the task resource is system task or not.
- Location string
- The location of the resource. This cannot be changed after the resource is created.
- Log
Template string - The template that describes the repository and tag information for run log artifact.
- Platform
Platform
Properties Args - The platform properties against which the run has to happen.
- Status
string | Task
Status - The current status of task.
- Step
Docker
Build | EncodedStep Args Task | FileStep Args Task Step Args - The properties of a task step.
- map[string]string
- The tags of the resource.
- Task
Name string - The name of the container registry task.
- Timeout int
- Run timeout in seconds.
- Trigger
Trigger
Properties Args - The properties that describe all triggers for the task.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group to which the container registry belongs.
- agent
Configuration AgentProperties - The machine configuration of the run agent.
- agent
Pool StringName - 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
Identity
Properties - Identity for the resource.
- is
System BooleanTask - The value of this property indicates whether the task resource is system task or not.
- location String
- The location of the resource. This cannot be changed after the resource is created.
- log
Template String - The template that describes the repository and tag information for run log artifact.
- platform
Platform
Properties - The platform properties against which the run has to happen.
- status
String | Task
Status - The current status of task.
- step
Docker
Build | EncodedStep Task | FileStep Task Step - The properties of a task step.
- Map<String,String>
- The tags of the resource.
- task
Name String - The name of the container registry task.
- timeout Integer
- Run timeout in seconds.
- trigger
Trigger
Properties - The properties that describe all triggers for the task.
- registry
Name string - The name of the container registry.
- resource
Group stringName - The name of the resource group to which the container registry belongs.
- agent
Configuration AgentProperties - The machine configuration of the run agent.
- agent
Pool stringName - 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
Identity
Properties - Identity for the resource.
- is
System booleanTask - The value of this property indicates whether the task resource is system task or not.
- location string
- The location of the resource. This cannot be changed after the resource is created.
- log
Template string - The template that describes the repository and tag information for run log artifact.
- platform
Platform
Properties - The platform properties against which the run has to happen.
- status
string | Task
Status - The current status of task.
- step
Docker
Build | EncodedStep Task | FileStep Task Step - The properties of a task step.
- {[key: string]: string}
- The tags of the resource.
- task
Name string - The name of the container registry task.
- timeout number
- Run timeout in seconds.
- trigger
Trigger
Properties - The properties that describe all triggers for the task.
- registry_
name str - The name of the container registry.
- resource_
group_ strname - The name of the resource group to which the container registry belongs.
- agent_
configuration AgentProperties Args - The machine configuration of the run agent.
- agent_
pool_ strname - The dedicated agent pool for the task.
- credentials
Credentials
Args - The properties that describes a set of credentials that will be used when this run is invoked.
- identity
Identity
Properties Args - Identity for the resource.
- is_
system_ booltask - The value of this property indicates whether the task resource is system task or not.
- location str
- The location of the resource. This cannot be changed after the resource is created.
- log_
template str - The template that describes the repository and tag information for run log artifact.
- platform
Platform
Properties Args - The platform properties against which the run has to happen.
- status
str | Task
Status - The current status of task.
- step
Docker
Build | EncodedStep Args Task | FileStep Args Task Step Args - The properties of a task step.
- Mapping[str, str]
- The tags of the resource.
- task_
name str - The name of the container registry task.
- timeout int
- Run timeout in seconds.
- trigger
Trigger
Properties Args - The properties that describe all triggers for the task.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group to which the container registry belongs.
- agent
Configuration Property Map - The machine configuration of the run agent.
- agent
Pool StringName - 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.
- is
System BooleanTask - The value of this property indicates whether the task resource is system task or not.
- location String
- The location of the resource. This cannot be changed after the resource is created.
- log
Template 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.
- Map<String>
- The tags of the resource.
- task
Name 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:
- Creation
Date string - The creation date of task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning state of the task.
- System
Data Pulumi.Azure Native. Container Registry. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- Creation
Date string - The creation date of task.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning state of the task.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- creation
Date String - The creation date of task.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning state of the task.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
- creation
Date string - The creation date of task.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- provisioning
State string - The provisioning state of the task.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource.
- creation_
date str - The creation date of task.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- provisioning_
state str - The provisioning state of the task.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource.
- creation
Date String - The creation date of task.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning state of the task.
- system
Data 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
- Architecture
Amd64 - amd64
- Architecture
X86 - x86
- Architecture_386
- 386
- Architecture
Arm - arm
- Architecture
Arm64 - 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
ArgumentResponse, ArgumentResponseArgs
AuthInfo, AuthInfoArgs
- Token string
- The access token used to access the source control provider.
- Token
Type string | Pulumi.Azure Native. Container Registry. Token Type - The type of Auth token.
- Expires
In int - Time in seconds that the token remains valid
- Refresh
Token string - The refresh token used to refresh the access token.
- Scope string
- The scope of the access token.
- token str
- The access token used to access the source control provider.
- token_
type str | TokenType - The type of Auth token.
- expires_
in int - Time in seconds that the token remains valid
- refresh_
token str - The refresh token used to refresh the access token.
- scope str
- The scope of the access token.
- token String
- The access token used to access the source control provider.
- token
Type String | "PAT" | "OAuth" - The type of Auth token.
- expires
In Number - Time in seconds that the token remains valid
- refresh
Token String - The refresh token used to refresh the access token.
- scope String
- The scope of the access token.
AuthInfoResponse, AuthInfoResponseArgs
- Token string
- The access token used to access the source control provider.
- Token
Type string - The type of Auth token.
- Expires
In int - Time in seconds that the token remains valid
- Refresh
Token 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.
- Token
Type string - The type of Auth token.
- Expires
In int - Time in seconds that the token remains valid
- Refresh
Token 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.
- token
Type String - The type of Auth token.
- expires
In Integer - Time in seconds that the token remains valid
- refresh
Token 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.
- token
Type string - The type of Auth token.
- expires
In number - Time in seconds that the token remains valid
- refresh
Token string - The refresh token used to refresh the access token.
- scope string
- The scope of the access token.
- token str
- The access token used to access the source control provider.
- token_
type str - The type of Auth token.
- expires_
in int - Time in seconds that the token remains valid
- refresh_
token str - The refresh token used to refresh the access token.
- scope str
- The scope of the access token.
- token String
- The access token used to access the source control provider.
- token
Type String - The type of Auth token.
- expires
In Number - Time in seconds that the token remains valid
- refresh
Token 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
- Base
Image string | Pulumi.Trigger Type Azure Native. Container Registry. Base Image Trigger Type - The type of the auto trigger for base image dependency updates.
- Name string
- The name of the trigger.
- Status
string | Pulumi.
Azure Native. Container Registry. Trigger Status - The current status of trigger.
- Update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- Update
Trigger string | Pulumi.Payload Type Azure Native. Container Registry. Update Trigger Payload Type - Type of Payload body for Base image update triggers.
- Base
Image string | BaseTrigger Type Image Trigger Type - The type of the auto trigger for base image dependency updates.
- Name string
- The name of the trigger.
- Status
string | Trigger
Status - The current status of trigger.
- Update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- Update
Trigger string | UpdatePayload Type Trigger Payload Type - Type of Payload body for Base image update triggers.
- base
Image String | BaseTrigger Type Image Trigger Type - The type of the auto trigger for base image dependency updates.
- name String
- The name of the trigger.
- status
String | Trigger
Status - The current status of trigger.
- update
Trigger StringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger String | UpdatePayload Type Trigger Payload Type - Type of Payload body for Base image update triggers.
- base
Image string | BaseTrigger Type Image Trigger Type - The type of the auto trigger for base image dependency updates.
- name string
- The name of the trigger.
- status
string | Trigger
Status - The current status of trigger.
- update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger string | UpdatePayload Type Trigger Payload Type - Type of Payload body for Base image update triggers.
- base_
image_ str | Basetrigger_ type Image Trigger Type - The type of the auto trigger for base image dependency updates.
- name str
- The name of the trigger.
- status
str | Trigger
Status - The current status of trigger.
- update_
trigger_ strendpoint - The endpoint URL for receiving update triggers.
- update_
trigger_ str | Updatepayload_ type Trigger Payload Type - Type of Payload body for Base image update triggers.
- base
Image String | "All" | "Runtime"Trigger Type - The type of the auto trigger for base image dependency updates.
- name String
- The name of the trigger.
- status String | "Disabled" | "Enabled"
- The current status of trigger.
- update
Trigger StringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger String | "Default" | "Token"Payload Type - Type of Payload body for Base image update triggers.
BaseImageTriggerResponse, BaseImageTriggerResponseArgs
- Base
Image stringTrigger Type - The type of the auto trigger for base image dependency updates.
- Name string
- The name of the trigger.
- Status string
- The current status of trigger.
- Update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- Update
Trigger stringPayload Type - Type of Payload body for Base image update triggers.
- Base
Image stringTrigger Type - The type of the auto trigger for base image dependency updates.
- Name string
- The name of the trigger.
- Status string
- The current status of trigger.
- Update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- Update
Trigger stringPayload Type - Type of Payload body for Base image update triggers.
- base
Image StringTrigger Type - The type of the auto trigger for base image dependency updates.
- name String
- The name of the trigger.
- status String
- The current status of trigger.
- update
Trigger StringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger StringPayload Type - Type of Payload body for Base image update triggers.
- base
Image stringTrigger Type - The type of the auto trigger for base image dependency updates.
- name string
- The name of the trigger.
- status string
- The current status of trigger.
- update
Trigger stringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger stringPayload Type - Type of Payload body for Base image update triggers.
- base_
image_ strtrigger_ type - The type of the auto trigger for base image dependency updates.
- name str
- The name of the trigger.
- status str
- The current status of trigger.
- update_
trigger_ strendpoint - The endpoint URL for receiving update triggers.
- update_
trigger_ strpayload_ type - Type of Payload body for Base image update triggers.
- base
Image StringTrigger Type - The type of the auto trigger for base image dependency updates.
- name String
- The name of the trigger.
- status String
- The current status of trigger.
- update
Trigger StringEndpoint - The endpoint URL for receiving update triggers.
- update
Trigger StringPayload Type - Type of Payload body for Base image update triggers.
BaseImageTriggerType, BaseImageTriggerTypeArgs
- All
- All
- Runtime
- Runtime
- Base
Image Trigger Type All - All
- Base
Image Trigger Type Runtime - Runtime
- All
- All
- Runtime
- Runtime
- All
- All
- Runtime
- Runtime
- ALL
- All
- RUNTIME
- Runtime
- "All"
- All
- "Runtime"
- Runtime
Credentials, CredentialsArgs
- Custom
Registries Dictionary<string, Pulumi.Azure Native. Container Registry. Inputs. Custom Registry Credentials> - 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 Pulumi.Azure Native. Container Registry. Inputs. Source Registry Credentials - Describes the credential parameters for accessing the source registry.
- Custom
Registries map[string]CustomRegistry Credentials - 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 SourceRegistry Credentials - Describes the credential parameters for accessing the source registry.
- custom
Registries Map<String,CustomRegistry Credentials> - 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 SourceRegistry Credentials - Describes the credential parameters for accessing the source registry.
- custom
Registries {[key: string]: CustomRegistry Credentials} - 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 SourceRegistry Credentials - Describes the credential parameters for accessing the source registry.
- custom_
registries Mapping[str, CustomRegistry Credentials] - 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 SourceRegistry Credentials - Describes the credential parameters for accessing the source registry.
- custom
Registries 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.
- source
Registry Property Map - Describes the credential parameters for accessing the source registry.
CredentialsResponse, CredentialsResponseArgs
- Custom
Registries Dictionary<string, Pulumi.Azure Native. Container Registry. Inputs. Custom Registry Credentials Response> - 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 Pulumi.Azure Native. Container Registry. Inputs. Source Registry Credentials Response - Describes the credential parameters for accessing the source registry.
- Custom
Registries map[string]CustomRegistry Credentials Response - 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 SourceRegistry Credentials Response - Describes the credential parameters for accessing the source registry.
- custom
Registries Map<String,CustomRegistry Credentials Response> - 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 SourceRegistry Credentials Response - Describes the credential parameters for accessing the source registry.
- custom
Registries {[key: string]: CustomRegistry Credentials Response} - 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 SourceRegistry Credentials Response - Describes the credential parameters for accessing the source registry.
- custom_
registries Mapping[str, CustomRegistry Credentials Response] - 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 SourceRegistry Credentials Response - Describes the credential parameters for accessing the source registry.
- custom
Registries 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.
- source
Registry 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.
Azure Native. Container Registry. Inputs. Secret Object - 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 Pulumi.Azure Native. Container Registry. Inputs. Secret Object - 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
Secret
Object - 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
Secret
Object - 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
Secret
Object - 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 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
Secret
Object - 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.
- user
Name 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.
Azure Native. Container Registry. Inputs. Secret Object Response - 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 Pulumi.Azure Native. Container Registry. Inputs. Secret Object Response - 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
Secret
Object Response - 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 Response - 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
Secret
Object Response - 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 Response - 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
Secret
Object Response - 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 Response - 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
Secret
Object Response - 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 Response - 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.
- user
Name Property Map - The username for logging into the custom registry.
DockerBuildStep, DockerBuildStepArgs
- Docker
File stringPath - The Docker file path relative to the source context.
- Arguments
List<Pulumi.
Azure Native. Container Registry. Inputs. Argument> - The collection of override arguments to be used when executing this build step.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Image
Names List<string> - The fully qualified image names including the repository and tag.
- Is
Push boolEnabled - 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 string
- The name of the target build stage for the docker build.
- Docker
File stringPath - The Docker file path relative to the source context.
- Arguments []Argument
- The collection of override arguments to be used when executing this build step.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Image
Names []string - The fully qualified image names including the repository and tag.
- Is
Push boolEnabled - 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 string
- The name of the target build stage for the docker build.
- docker
File StringPath - 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.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> - The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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 stringPath - The Docker file path relative to the source context.
- arguments Argument[]
- The collection of override arguments to be used when executing this build step.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- image
Names string[] - The fully qualified image names including the repository and tag.
- is
Push booleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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_ strpath - 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_ strtoken - 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_ boolenabled - 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.
- docker
File StringPath - 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.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> - The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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
- Base
Image List<Pulumi.Dependencies Azure Native. Container Registry. Inputs. Base Image Dependency Response> - List of base image dependencies for a step.
- Docker
File stringPath - The Docker file path relative to the source context.
- Arguments
List<Pulumi.
Azure Native. Container Registry. Inputs. Argument Response> - The collection of override arguments to be used when executing this build step.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Image
Names List<string> - The fully qualified image names including the repository and tag.
- Is
Push boolEnabled - 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 string
- The name of the target build stage for the docker build.
- Base
Image []BaseDependencies Image Dependency Response - List of base image dependencies for a step.
- Docker
File stringPath - The Docker file path relative to the source context.
- Arguments
[]Argument
Response - The collection of override arguments to be used when executing this build step.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Image
Names []string - The fully qualified image names including the repository and tag.
- Is
Push boolEnabled - 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 string
- The name of the target build stage for the docker build.
- base
Image List<BaseDependencies Image Dependency Response> - List of base image dependencies for a step.
- docker
File StringPath - The Docker file path relative to the source context.
- arguments
List<Argument
Response> - The collection of override arguments to be used when executing this build step.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> - The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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 BaseDependencies Image Dependency Response[] - List of base image dependencies for a step.
- docker
File stringPath - The Docker file path relative to the source context.
- arguments
Argument
Response[] - The collection of override arguments to be used when executing this build step.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- image
Names string[] - The fully qualified image names including the repository and tag.
- is
Push booleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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_ Sequence[Basedependencies Image Dependency Response] - List of base image dependencies for a step.
- docker_
file_ strpath - The Docker file path relative to the source context.
- arguments
Sequence[Argument
Response] - The collection of override arguments to be used when executing this build step.
- context_
access_ strtoken - 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_ boolenabled - 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.
- base
Image List<Property Map>Dependencies - List of base image dependencies for a step.
- docker
File StringPath - 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.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> - The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache 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
- Encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- Values
List<Pulumi.
Azure Native. Container Registry. Inputs. Set Value> - The collection of overridable values that can be passed when running a task.
- Encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- Values
[]Set
Value - The collection of overridable values that can be passed when running a task.
- encoded
Task StringContent - Base64 encoded value of the template/definition file content.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- encoded
Values StringContent - Base64 encoded value of the parameters/values file content.
- values
List<Set
Value> - The collection of overridable values that can be passed when running a task.
- encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- values
Set
Value[] - The collection of overridable values that can be passed when running a task.
- encoded_
task_ strcontent - Base64 encoded value of the template/definition file content.
- context_
access_ strtoken - 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_ strcontent - Base64 encoded value of the parameters/values file content.
- values
Sequence[Set
Value] - The collection of overridable values that can be passed when running a task.
- encoded
Task StringContent - Base64 encoded value of the template/definition file content.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- encoded
Values StringContent - 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
- Base
Image List<Pulumi.Dependencies Azure Native. Container Registry. Inputs. Base Image Dependency Response> - List of base image dependencies for a step.
- Encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- Values
List<Pulumi.
Azure Native. Container Registry. Inputs. Set Value Response> - The collection of overridable values that can be passed when running a task.
- Base
Image []BaseDependencies Image Dependency Response - List of base image dependencies for a step.
- Encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- Values
[]Set
Value Response - The collection of overridable values that can be passed when running a task.
- base
Image List<BaseDependencies Image Dependency Response> - List of base image dependencies for a step.
- encoded
Task StringContent - Base64 encoded value of the template/definition file content.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- encoded
Values StringContent - Base64 encoded value of the parameters/values file content.
- values
List<Set
Value Response> - The collection of overridable values that can be passed when running a task.
- base
Image BaseDependencies Image Dependency Response[] - List of base image dependencies for a step.
- encoded
Task stringContent - Base64 encoded value of the template/definition file content.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- encoded
Values stringContent - Base64 encoded value of the parameters/values file content.
- values
Set
Value Response[] - The collection of overridable values that can be passed when running a task.
- base_
image_ Sequence[Basedependencies Image Dependency Response] - List of base image dependencies for a step.
- encoded_
task_ strcontent - Base64 encoded value of the template/definition file content.
- context_
access_ strtoken - 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_ strcontent - Base64 encoded value of the parameters/values file content.
- values
Sequence[Set
Value Response] - The collection of overridable values that can be passed when running a task.
- base
Image List<Property Map>Dependencies - List of base image dependencies for a step.
- encoded
Task StringContent - Base64 encoded value of the template/definition file content.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- encoded
Values StringContent - 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
- Task
File stringPath - The task template/definition file path relative to the source context.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Values
List<Pulumi.
Azure Native. Container Registry. Inputs. Set Value> - The collection of overridable values that can be passed when running a task.
- Values
File stringPath - The task values/parameters file path relative to the source context.
- Task
File stringPath - The task template/definition file path relative to the source context.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Values
[]Set
Value - The collection of overridable values that can be passed when running a task.
- Values
File stringPath - The task values/parameters file path relative to the source context.
- task
File StringPath - The task template/definition file path relative to the source context.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- values
List<Set
Value> - The collection of overridable values that can be passed when running a task.
- values
File StringPath - The task values/parameters file path relative to the source context.
- task
File stringPath - The task template/definition file path relative to the source context.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- values
Set
Value[] - The collection of overridable values that can be passed when running a task.
- values
File stringPath - The task values/parameters file path relative to the source context.
- task_
file_ strpath - The task template/definition 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 a step.
- context_
path str - The URL(absolute or relative) of the source context for the task step.
- values
Sequence[Set
Value] - The collection of overridable values that can be passed when running a task.
- values_
file_ strpath - The task values/parameters file path relative to the source context.
- task
File StringPath - The task template/definition file path relative to the source context.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path 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.
- values
File StringPath - The task values/parameters file path relative to the source context.
FileTaskStepResponse, FileTaskStepResponseArgs
- Base
Image List<Pulumi.Dependencies Azure Native. Container Registry. Inputs. Base Image Dependency Response> - List of base image dependencies for a step.
- Task
File stringPath - The task template/definition file path relative to the source context.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Values
List<Pulumi.
Azure Native. Container Registry. Inputs. Set Value Response> - The collection of overridable values that can be passed when running a task.
- Values
File stringPath - The task values/parameters file path relative to the source context.
- Base
Image []BaseDependencies Image Dependency Response - List of base image dependencies for a step.
- Task
File stringPath - The task template/definition file path relative to the source context.
- Context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string - The URL(absolute or relative) of the source context for the task step.
- Values
[]Set
Value Response - The collection of overridable values that can be passed when running a task.
- Values
File stringPath - The task values/parameters file path relative to the source context.
- base
Image List<BaseDependencies Image Dependency Response> - List of base image dependencies for a step.
- task
File StringPath - The task template/definition file path relative to the source context.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String - The URL(absolute or relative) of the source context for the task step.
- values
List<Set
Value Response> - The collection of overridable values that can be passed when running a task.
- values
File StringPath - The task values/parameters file path relative to the source context.
- base
Image BaseDependencies Image Dependency Response[] - List of base image dependencies for a step.
- task
File stringPath - The task template/definition file path relative to the source context.
- context
Access stringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string - The URL(absolute or relative) of the source context for the task step.
- values
Set
Value Response[] - The collection of overridable values that can be passed when running a task.
- values
File stringPath - The task values/parameters file path relative to the source context.
- base_
image_ Sequence[Basedependencies Image Dependency Response] - List of base image dependencies for a step.
- task_
file_ strpath - The task template/definition 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 a step.
- context_
path str - The URL(absolute or relative) of the source context for the task step.
- values
Sequence[Set
Value Response] - The collection of overridable values that can be passed when running a task.
- values_
file_ strpath - The task values/parameters file path relative to the source context.
- base
Image List<Property Map>Dependencies - List of base image dependencies for a step.
- task
File StringPath - The task template/definition file path relative to the source context.
- context
Access StringToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path 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.
- values
File StringPath - The task values/parameters file path relative to the source context.
IdentityProperties, IdentityPropertiesArgs
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type
Pulumi.
Azure Native. Container Registry. Resource Identity Type - The identity type.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Container Registry. Inputs. User Identity Properties> - 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 string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type
Resource
Identity Type - The identity type.
- User
Assigned map[string]UserIdentities Identity Properties - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type
Resource
Identity Type - The identity type.
- user
Assigned Map<String,UserIdentities Identity Properties> - 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 string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type
Resource
Identity Type - The identity type.
- user
Assigned {[key: string]: UserIdentities Identity Properties} - 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
Resource
Identity Type - The identity type.
- user_
assigned_ Mapping[str, Useridentities Identity Properties] - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type
"System
Assigned" | "User Assigned" | "System Assigned, User Assigned" | "None" - The identity type.
- user
Assigned Map<Property Map>Identities - 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
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Container Registry. Inputs. User Identity Properties Response> - 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 string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- User
Assigned map[string]UserIdentities Identity Properties Response - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- user
Assigned Map<String,UserIdentities Identity Properties Response> - 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 string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- The identity type.
- user
Assigned {[key: string]: UserIdentities Identity Properties Response} - 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_ Mapping[str, Useridentities Identity Properties Response] - 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 String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- user
Assigned Map<Property Map>Identities - The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
OS, OSArgs
- Windows
- Windows
- Linux
- Linux
- OSWindows
- Windows
- OSLinux
- Linux
- Windows
- Windows
- Linux
- Linux
- Windows
- Windows
- Linux
- Linux
- WINDOWS
- Windows
- LINUX
- Linux
- "Windows"
- Windows
- "Linux"
- Linux
PlatformProperties, PlatformPropertiesArgs
- Os
string | Pulumi.
Azure Native. Container Registry. OS - The operating system type required for the run.
- Architecture
string | Pulumi.
Azure Native. Container Registry. Architecture - The OS architecture.
- Variant
string | Pulumi.
Azure Native. Container Registry. Variant - Variant of the CPU.
- Os string | OS
- The operating system type required for the run.
- Architecture string | Architecture
- The OS architecture.
- Variant string | Variant
- Variant of the CPU.
- os String | OS
- The operating system type required for the run.
- architecture String | Architecture
- The OS architecture.
- variant String | Variant
- Variant of the CPU.
- os string | OS
- The operating system type required for the run.
- architecture string | Architecture
- The OS architecture.
- variant string | Variant
- Variant of the CPU.
- os str | OS
- The operating system type required for the run.
- architecture str | Architecture
- The OS architecture.
- variant str | Variant
- Variant of the CPU.
- os String | "Windows" | "Linux"
- The operating system type required for the run.
- architecture String | "amd64" | "x86" | "386" | "arm" | "arm64"
- The OS architecture.
- variant String | "v6" | "v7" | "v8"
- Variant of the CPU.
PlatformPropertiesResponse, PlatformPropertiesResponseArgs
- Os string
- The operating system type required for the run.
- Architecture string
- The OS architecture.
- Variant string
- Variant of the CPU.
- Os string
- The operating system type required for the run.
- Architecture string
- The OS architecture.
- Variant string
- Variant of the CPU.
- os String
- The operating system type required for the run.
- architecture String
- The OS architecture.
- variant String
- Variant of the CPU.
- os string
- The operating system type required for the run.
- architecture string
- The OS architecture.
- variant string
- Variant of the CPU.
- os str
- The operating system type required for the run.
- architecture str
- The OS architecture.
- variant str
- Variant of the CPU.
- os String
- The operating system type required for the run.
- architecture String
- The OS architecture.
- variant String
- Variant of the CPU.
ResourceIdentityType, ResourceIdentityTypeArgs
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
- "None"
- None
SecretObject, SecretObjectArgs
- Type
string | Pulumi.
Azure Native. Container Registry. Secret Object Type - 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 | Secret
Object Type - 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 | Secret
Object Type - 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 | Secret
Object Type - 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 | Secret
Object Type - 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
- Secret
Object Type Opaque - Opaque
- Secret
Object Type Vaultsecret - Vaultsecret
- Opaque
- Opaque
- Vaultsecret
- Vaultsecret
- Opaque
- Opaque
- Vaultsecret
- Vaultsecret
- OPAQUE
- Opaque
- VAULTSECRET
- Vaultsecret
- "Opaque"
- Opaque
- "Vaultsecret"
- Vaultsecret
SetValue, SetValueArgs
SetValueResponse, SetValueResponseArgs
SourceControlType, SourceControlTypeArgs
- Github
- Github
- Visual
Studio Team Service - VisualStudioTeamService
- Source
Control Type Github - Github
- Source
Control Type Visual Studio Team Service - VisualStudioTeamService
- Github
- Github
- Visual
Studio Team Service - VisualStudioTeamService
- Github
- Github
- Visual
Studio Team Service - VisualStudioTeamService
- GITHUB
- Github
- VISUAL_STUDIO_TEAM_SERVICE
- VisualStudioTeamService
- "Github"
- Github
- "Visual
Studio Team Service" - VisualStudioTeamService
SourceProperties, SourcePropertiesArgs
- Repository
Url string - The full URL to the source code repository
- Source
Control string | Pulumi.Type Azure Native. Container Registry. Source Control Type - The type of source control service.
- Branch string
- The branch name of the source code.
- Source
Control Pulumi.Auth Properties Azure Native. Container Registry. Inputs. Auth Info - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- Repository
Url string - The full URL to the source code repository
- Source
Control string | SourceType Control Type - The type of source control service.
- Branch string
- The branch name of the source code.
- Source
Control AuthAuth Properties Info - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url String - The full URL to the source code repository
- source
Control String | SourceType Control Type - The type of source control service.
- branch String
- The branch name of the source code.
- source
Control AuthAuth Properties Info - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url string - The full URL to the source code repository
- source
Control string | SourceType Control Type - The type of source control service.
- branch string
- The branch name of the source code.
- source
Control AuthAuth Properties Info - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository_
url str - The full URL to the source code repository
- source_
control_ str | Sourcetype Control Type - The type of source control service.
- branch str
- The branch name of the source code.
- source_
control_ Authauth_ properties Info - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url String - The full URL to the source code repository
- source
Control String | "Github" | "VisualType Studio Team Service" - The type of source control service.
- branch String
- The branch name of the source code.
- source
Control Property MapAuth Properties - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
SourcePropertiesResponse, SourcePropertiesResponseArgs
- Repository
Url string - The full URL to the source code repository
- Source
Control stringType - The type of source control service.
- Branch string
- The branch name of the source code.
- Source
Control Pulumi.Auth Properties Azure Native. Container Registry. Inputs. Auth Info Response - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- Repository
Url string - The full URL to the source code repository
- Source
Control stringType - The type of source control service.
- Branch string
- The branch name of the source code.
- Source
Control AuthAuth Properties Info Response - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url String - The full URL to the source code repository
- source
Control StringType - The type of source control service.
- branch String
- The branch name of the source code.
- source
Control AuthAuth Properties Info Response - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url string - The full URL to the source code repository
- source
Control stringType - The type of source control service.
- branch string
- The branch name of the source code.
- source
Control AuthAuth Properties Info Response - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository_
url str - The full URL to the source code repository
- source_
control_ strtype - The type of source control service.
- branch str
- The branch name of the source code.
- source_
control_ Authauth_ properties Info Response - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
- repository
Url String - The full URL to the source code repository
- source
Control StringType - The type of source control service.
- branch String
- The branch name of the source code.
- source
Control Property MapAuth Properties - The authorization properties for accessing the source code repository and to set up webhooks for notifications.
SourceRegistryCredentials, SourceRegistryCredentialsArgs
- Login
Mode string | Pulumi.Azure Native. Container Registry. Source Registry Login Mode - 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 string | SourceRegistry Login Mode - 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 String | SourceRegistry Login Mode - 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 string | SourceRegistry Login Mode - 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 | SourceRegistry Login Mode - 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 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
- Login
Mode 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 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 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 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.
- login
Mode 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
- Source
Registry Login Mode None - None
- Source
Registry Login Mode Default - Default
- None
- None
- Default
- Default
- None
- None
- Default
- Default
- NONE
- None
- DEFAULT
- Default
- "None"
- None
- "Default"
- Default
SourceTrigger, SourceTriggerArgs
- Name string
- The name of the trigger.
- Source
Repository Pulumi.Azure Native. Container Registry. Inputs. Source Properties - The properties that describes the source(code) for the task.
- Source
Trigger List<Union<string, Pulumi.Events Azure Native. Container Registry. Source Trigger Event>> - The source event corresponding to the trigger.
- Status
string | Pulumi.
Azure Native. Container Registry. Trigger Status - The current status of trigger.
- Name string
- The name of the trigger.
- Source
Repository SourceProperties - The properties that describes the source(code) for the task.
- Source
Trigger []stringEvents - The source event corresponding to the trigger.
- Status
string | Trigger
Status - The current status of trigger.
- name String
- The name of the trigger.
- source
Repository SourceProperties - The properties that describes the source(code) for the task.
- source
Trigger List<Either<String,SourceEvents Trigger Event>> - The source event corresponding to the trigger.
- status
String | Trigger
Status - The current status of trigger.
- name string
- The name of the trigger.
- source
Repository SourceProperties - The properties that describes the source(code) for the task.
- source
Trigger (string | SourceEvents Trigger Event)[] - The source event corresponding to the trigger.
- status
string | Trigger
Status - The current status of trigger.
- name str
- The name of the trigger.
- source_
repository SourceProperties - The properties that describes the source(code) for the task.
- source_
trigger_ Sequence[Union[str, Sourceevents Trigger Event]] - The source event corresponding to the trigger.
- status
str | Trigger
Status - The current status of trigger.
- name String
- The name of the trigger.
- source
Repository Property Map - The properties that describes the source(code) for the task.
- source
Trigger List<String | "commit" | "pullrequest">Events - The source event corresponding to the trigger.
- status String | "Disabled" | "Enabled"
- The current status of trigger.
SourceTriggerEvent, SourceTriggerEventArgs
- Commit
- commit
- Pullrequest
- pullrequest
- Source
Trigger Event Commit - commit
- Source
Trigger Event Pullrequest - pullrequest
- Commit
- commit
- Pullrequest
- pullrequest
- Commit
- commit
- Pullrequest
- pullrequest
- COMMIT
- commit
- PULLREQUEST
- pullrequest
- "commit"
- commit
- "pullrequest"
- pullrequest
SourceTriggerResponse, SourceTriggerResponseArgs
- Name string
- The name of the trigger.
- Source
Repository Pulumi.Azure Native. Container Registry. Inputs. Source Properties Response - The properties that describes the source(code) for the task.
- Source
Trigger List<string>Events - The source event corresponding to the trigger.
- Status string
- The current status of trigger.
- Name string
- The name of the trigger.
- Source
Repository SourceProperties Response - The properties that describes the source(code) for the task.
- Source
Trigger []stringEvents - The source event corresponding to the trigger.
- Status string
- The current status of trigger.
- name String
- The name of the trigger.
- source
Repository SourceProperties Response - The properties that describes the source(code) for the task.
- source
Trigger List<String>Events - The source event corresponding to the trigger.
- status String
- The current status of trigger.
- name string
- The name of the trigger.
- source
Repository SourceProperties Response - The properties that describes the source(code) for the task.
- source
Trigger string[]Events - The source event corresponding to the trigger.
- status string
- The current status of trigger.
- name str
- The name of the trigger.
- source_
repository SourceProperties Response - The properties that describes the source(code) for the task.
- source_
trigger_ Sequence[str]events - The source event corresponding to the trigger.
- status str
- The current status of trigger.
- name String
- The name of the trigger.
- source
Repository Property Map - The properties that describes the source(code) for the task.
- source
Trigger List<String>Events - The source event corresponding to the trigger.
- status String
- The current status of trigger.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource modification (UTC).
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource modification (UTC).
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TaskStatus, TaskStatusArgs
- Disabled
- Disabled
- Enabled
- Enabled
- Task
Status Disabled - Disabled
- Task
Status Enabled - Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
TimerTrigger, TimerTriggerArgs
- Name string
- The name of the trigger.
- Schedule string
- The CRON expression for the task schedule
- Status
string | Pulumi.
Azure Native. Container Registry. Trigger Status - The current status of trigger.
- Name string
- The name of the trigger.
- Schedule string
- The CRON expression for the task schedule
- Status
string | Trigger
Status - The current status of trigger.
- name String
- The name of the trigger.
- schedule String
- The CRON expression for the task schedule
- status
String | Trigger
Status - The current status of trigger.
- name string
- The name of the trigger.
- schedule string
- The CRON expression for the task schedule
- status
string | Trigger
Status - The current status of trigger.
- name str
- The name of the trigger.
- schedule str
- The CRON expression for the task schedule
- status
str | Trigger
Status - The current status of trigger.
- name String
- The name of the trigger.
- schedule String
- The CRON expression for the task schedule
- status String | "Disabled" | "Enabled"
- The current status of trigger.
TimerTriggerResponse, TimerTriggerResponseArgs
TokenType, TokenTypeArgs
- PAT
- PAT
- OAuth
- OAuth
- Token
Type PAT - PAT
- Token
Type OAuth - OAuth
- PAT
- PAT
- OAuth
- OAuth
- PAT
- PAT
- OAuth
- OAuth
- PAT
- PAT
- O_AUTH
- OAuth
- "PAT"
- PAT
- "OAuth"
- OAuth
TriggerProperties, TriggerPropertiesArgs
- Base
Image Pulumi.Trigger Azure Native. Container Registry. Inputs. Base Image Trigger - The trigger based on base image dependencies.
- Source
Triggers List<Pulumi.Azure Native. Container Registry. Inputs. Source Trigger> - The collection of triggers based on source code repository.
- Timer
Triggers List<Pulumi.Azure Native. Container Registry. Inputs. Timer Trigger> - The collection of timer triggers.
- Base
Image BaseTrigger Image Trigger - The trigger based on base image dependencies.
- Source
Triggers []SourceTrigger - The collection of triggers based on source code repository.
- Timer
Triggers []TimerTrigger - The collection of timer triggers.
- base
Image BaseTrigger Image Trigger - The trigger based on base image dependencies.
- source
Triggers List<SourceTrigger> - The collection of triggers based on source code repository.
- timer
Triggers List<TimerTrigger> - The collection of timer triggers.
- base
Image BaseTrigger Image Trigger - The trigger based on base image dependencies.
- source
Triggers SourceTrigger[] - The collection of triggers based on source code repository.
- timer
Triggers TimerTrigger[] - The collection of timer triggers.
- base_
image_ Basetrigger Image Trigger - 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.
- base
Image Property MapTrigger - The trigger based on base image dependencies.
- source
Triggers List<Property Map> - The collection of triggers based on source code repository.
- timer
Triggers List<Property Map> - The collection of timer triggers.
TriggerPropertiesResponse, TriggerPropertiesResponseArgs
- Base
Image Pulumi.Trigger Azure Native. Container Registry. Inputs. Base Image Trigger Response - The trigger based on base image dependencies.
- Source
Triggers List<Pulumi.Azure Native. Container Registry. Inputs. Source Trigger Response> - The collection of triggers based on source code repository.
- Timer
Triggers List<Pulumi.Azure Native. Container Registry. Inputs. Timer Trigger Response> - The collection of timer triggers.
- Base
Image BaseTrigger Image Trigger Response - The trigger based on base image dependencies.
- Source
Triggers []SourceTrigger Response - The collection of triggers based on source code repository.
- Timer
Triggers []TimerTrigger Response - The collection of timer triggers.
- base
Image BaseTrigger Image Trigger Response - The trigger based on base image dependencies.
- source
Triggers List<SourceTrigger Response> - The collection of triggers based on source code repository.
- timer
Triggers List<TimerTrigger Response> - The collection of timer triggers.
- base
Image BaseTrigger Image Trigger Response - The trigger based on base image dependencies.
- source
Triggers SourceTrigger Response[] - The collection of triggers based on source code repository.
- timer
Triggers TimerTrigger Response[] - The collection of timer triggers.
- base_
image_ Basetrigger Image Trigger Response - The trigger based on base image dependencies.
- source_
triggers Sequence[SourceTrigger Response] - The collection of triggers based on source code repository.
- timer_
triggers Sequence[TimerTrigger Response] - The collection of timer triggers.
- base
Image Property MapTrigger - The trigger based on base image dependencies.
- source
Triggers List<Property Map> - The collection of triggers based on source code repository.
- timer
Triggers List<Property Map> - The collection of timer triggers.
TriggerStatus, TriggerStatusArgs
- Disabled
- Disabled
- Enabled
- Enabled
- Trigger
Status Disabled - Disabled
- Trigger
Status Enabled - Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- DISABLED
- Disabled
- ENABLED
- Enabled
- "Disabled"
- Disabled
- "Enabled"
- Enabled
UpdateTriggerPayloadType, UpdateTriggerPayloadTypeArgs
- Default
- Default
- Token
- Token
- Update
Trigger Payload Type Default - Default
- Update
Trigger Payload Type Token - Token
- Default
- Default
- Token
- Token
- Default
- Default
- Token
- Token
- DEFAULT
- Default
- TOKEN
- Token
- "Default"
- Default
- "Token"
- Token
UserIdentityProperties, UserIdentityPropertiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
Variant, VariantArgs
- V6
- v6
- V7
- v7
- V8
- v8
- Variant
V6 - v6
- Variant
V7 - v7
- Variant
V8 - 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}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0