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. API Version: 2019-06-01-preview.
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 = "amd64",
Os = "Linux",
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = "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 = "Runtime",
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
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 = "PAT",
},
SourceControlType = "Github",
},
SourceTriggerEvents = new[]
{
"commit",
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
Coming soon!
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()
.agentConfiguration(Map.of("cpu", 2))
.identity(Map.of("type", "SystemAssigned"))
.isSystemTask(false)
.location("eastus")
.logTemplate("acr/tasks:{{.Run.OS}}")
.platform(Map.ofEntries(
Map.entry("architecture", "amd64"),
Map.entry("os", "Linux")
))
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(Map.ofEntries(
Map.entry("arguments",
Map.ofEntries(
Map.entry("isSecret", false),
Map.entry("name", "mytestargument"),
Map.entry("value", "mytestvalue")
),
Map.ofEntries(
Map.entry("isSecret", true),
Map.entry("name", "mysecrettestargument"),
Map.entry("value", "mysecrettestvalue")
)),
Map.entry("contextPath", "src"),
Map.entry("dockerFilePath", "src/DockerFile"),
Map.entry("imageNames", "azurerest:testtag"),
Map.entry("isPushEnabled", true),
Map.entry("noCache", false),
Map.entry("type", "Docker")
))
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(Map.ofEntries(
Map.entry("baseImageTrigger", Map.ofEntries(
Map.entry("baseImageTriggerType", "Runtime"),
Map.entry("name", "myBaseImageTrigger"),
Map.entry("updateTriggerEndpoint", "https://user:pass@mycicd.webhook.com?token=foo"),
Map.entry("updateTriggerPayloadType", "Token")
)),
Map.entry("sourceTriggers", Map.ofEntries(
Map.entry("name", "mySourceTrigger"),
Map.entry("sourceRepository", Map.ofEntries(
Map.entry("branch", "master"),
Map.entry("repositoryUrl", "https://github.com/Azure/azure-rest-api-specs"),
Map.entry("sourceControlAuthProperties", Map.ofEntries(
Map.entry("token", "xxxxx"),
Map.entry("tokenType", "PAT")
)),
Map.entry("sourceControlType", "Github")
)),
Map.entry("sourceTriggerEvents", "commit")
)),
Map.entry("timerTriggers", Map.ofEntries(
Map.entry("name", "myTimerTrigger"),
Map.entry("schedule", "30 9 * * 1-5")
))
))
.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="amd64",
os="Linux",
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status="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.TriggerPropertiesResponseArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type="Runtime",
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type="Token",
),
source_triggers=[{
"name": "mySourceTrigger",
"sourceRepository": {
"branch": "master",
"repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
"sourceControlAuthProperties": azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type="PAT",
),
"sourceControlType": "Github",
},
"sourceTriggerEvents": ["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: "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",
}],
},
});
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 = "Enabled",
Tags =
{
{ "testkey", "value" },
},
TaskName = "quicktask",
});
});
package main
import (
containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry"
"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("Enabled"),
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="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: "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 = "amd64",
Os = "Linux",
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = "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 = "Runtime",
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
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 = "PAT",
},
SourceControlType = "Github",
},
SourceTriggerEvents = new[]
{
"commit",
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
Coming soon!
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()
.agentConfiguration(Map.of("cpu", 2))
.identity(Map.ofEntries(
Map.entry("type", "SystemAssigned, UserAssigned"),
Map.entry("userAssignedIdentities", Map.of("/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2", ))
))
.isSystemTask(false)
.location("eastus")
.platform(Map.ofEntries(
Map.entry("architecture", "amd64"),
Map.entry("os", "Linux")
))
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(Map.ofEntries(
Map.entry("arguments",
Map.ofEntries(
Map.entry("isSecret", false),
Map.entry("name", "mytestargument"),
Map.entry("value", "mytestvalue")
),
Map.ofEntries(
Map.entry("isSecret", true),
Map.entry("name", "mysecrettestargument"),
Map.entry("value", "mysecrettestvalue")
)),
Map.entry("contextPath", "src"),
Map.entry("dockerFilePath", "src/DockerFile"),
Map.entry("imageNames", "azurerest:testtag"),
Map.entry("isPushEnabled", true),
Map.entry("noCache", false),
Map.entry("type", "Docker")
))
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(Map.ofEntries(
Map.entry("baseImageTrigger", Map.ofEntries(
Map.entry("baseImageTriggerType", "Runtime"),
Map.entry("name", "myBaseImageTrigger"),
Map.entry("updateTriggerEndpoint", "https://user:pass@mycicd.webhook.com?token=foo"),
Map.entry("updateTriggerPayloadType", "Default")
)),
Map.entry("sourceTriggers", Map.ofEntries(
Map.entry("name", "mySourceTrigger"),
Map.entry("sourceRepository", Map.ofEntries(
Map.entry("branch", "master"),
Map.entry("repositoryUrl", "https://github.com/Azure/azure-rest-api-specs"),
Map.entry("sourceControlAuthProperties", Map.ofEntries(
Map.entry("token", "xxxxx"),
Map.entry("tokenType", "PAT")
)),
Map.entry("sourceControlType", "Github")
)),
Map.entry("sourceTriggerEvents", "commit")
)),
Map.entry("timerTriggers", Map.ofEntries(
Map.entry("name", "myTimerTrigger"),
Map.entry("schedule", "30 9 * * 1-5")
))
))
.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.IdentityPropertiesResponseArgs(
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="amd64",
os="Linux",
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status="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.TriggerPropertiesResponseArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type="Runtime",
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type="Default",
),
source_triggers=[{
"name": "mySourceTrigger",
"sourceRepository": {
"branch": "master",
"repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
"sourceControlAuthProperties": azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type="PAT",
),
"sourceControlType": "Github",
},
"sourceTriggerEvents": ["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: "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",
}],
},
});
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 = "amd64",
Os = "Linux",
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = "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 = "Runtime",
Name = "myBaseImageTrigger",
UpdateTriggerEndpoint = "https://user:pass@mycicd.webhook.com?token=foo",
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 = "PAT",
},
SourceControlType = "Github",
},
SourceTriggerEvents = new[]
{
"commit",
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
Coming soon!
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()
.agentConfiguration(Map.of("cpu", 2))
.identity(Map.ofEntries(
Map.entry("type", "UserAssigned"),
Map.entry("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", )
))
))
.isSystemTask(false)
.location("eastus")
.platform(Map.ofEntries(
Map.entry("architecture", "amd64"),
Map.entry("os", "Linux")
))
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(Map.ofEntries(
Map.entry("arguments",
Map.ofEntries(
Map.entry("isSecret", false),
Map.entry("name", "mytestargument"),
Map.entry("value", "mytestvalue")
),
Map.ofEntries(
Map.entry("isSecret", true),
Map.entry("name", "mysecrettestargument"),
Map.entry("value", "mysecrettestvalue")
)),
Map.entry("contextPath", "src"),
Map.entry("dockerFilePath", "src/DockerFile"),
Map.entry("imageNames", "azurerest:testtag"),
Map.entry("isPushEnabled", true),
Map.entry("noCache", false),
Map.entry("type", "Docker")
))
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(Map.ofEntries(
Map.entry("baseImageTrigger", Map.ofEntries(
Map.entry("baseImageTriggerType", "Runtime"),
Map.entry("name", "myBaseImageTrigger"),
Map.entry("updateTriggerEndpoint", "https://user:pass@mycicd.webhook.com?token=foo"),
Map.entry("updateTriggerPayloadType", "Default")
)),
Map.entry("sourceTriggers", Map.ofEntries(
Map.entry("name", "mySourceTrigger"),
Map.entry("sourceRepository", Map.ofEntries(
Map.entry("branch", "master"),
Map.entry("repositoryUrl", "https://github.com/Azure/azure-rest-api-specs"),
Map.entry("sourceControlAuthProperties", Map.ofEntries(
Map.entry("token", "xxxxx"),
Map.entry("tokenType", "PAT")
)),
Map.entry("sourceControlType", "Github")
)),
Map.entry("sourceTriggerEvents", "commit")
)),
Map.entry("timerTriggers", Map.ofEntries(
Map.entry("name", "myTimerTrigger"),
Map.entry("schedule", "30 9 * * 1-5")
))
))
.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.IdentityPropertiesResponseArgs(
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="amd64",
os="Linux",
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status="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.TriggerPropertiesResponseArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type="Runtime",
name="myBaseImageTrigger",
update_trigger_endpoint="https://user:pass@mycicd.webhook.com?token=foo",
update_trigger_payload_type="Default",
),
source_triggers=[{
"name": "mySourceTrigger",
"sourceRepository": {
"branch": "master",
"repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
"sourceControlAuthProperties": azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type="PAT",
),
"sourceControlType": "Github",
},
"sourceTriggerEvents": ["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: "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",
}],
},
});
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 = "amd64",
Os = "Linux",
},
RegistryName = "myRegistry",
ResourceGroupName = "myResourceGroup",
Status = "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 = "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 = "PAT",
},
SourceControlType = "Github",
},
SourceTriggerEvents = new[]
{
"commit",
},
},
},
TimerTriggers = new[]
{
new AzureNative.ContainerRegistry.Inputs.TimerTriggerArgs
{
Name = "myTimerTrigger",
Schedule = "30 9 * * 1-5",
},
},
},
});
});
Coming soon!
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()
.agentConfiguration(Map.of("cpu", 2))
.identity(Map.of("type", "SystemAssigned"))
.isSystemTask(false)
.location("eastus")
.platform(Map.ofEntries(
Map.entry("architecture", "amd64"),
Map.entry("os", "Linux")
))
.registryName("myRegistry")
.resourceGroupName("myResourceGroup")
.status("Enabled")
.step(Map.ofEntries(
Map.entry("arguments",
Map.ofEntries(
Map.entry("isSecret", false),
Map.entry("name", "mytestargument"),
Map.entry("value", "mytestvalue")
),
Map.ofEntries(
Map.entry("isSecret", true),
Map.entry("name", "mysecrettestargument"),
Map.entry("value", "mysecrettestvalue")
)),
Map.entry("contextPath", "src"),
Map.entry("dockerFilePath", "src/DockerFile"),
Map.entry("imageNames", "azurerest:testtag"),
Map.entry("isPushEnabled", true),
Map.entry("noCache", false),
Map.entry("type", "Docker")
))
.tags(Map.of("testkey", "value"))
.taskName("mytTask")
.trigger(Map.ofEntries(
Map.entry("baseImageTrigger", Map.ofEntries(
Map.entry("baseImageTriggerType", "Runtime"),
Map.entry("name", "myBaseImageTrigger")
)),
Map.entry("sourceTriggers", Map.ofEntries(
Map.entry("name", "mySourceTrigger"),
Map.entry("sourceRepository", Map.ofEntries(
Map.entry("branch", "master"),
Map.entry("repositoryUrl", "https://github.com/Azure/azure-rest-api-specs"),
Map.entry("sourceControlAuthProperties", Map.ofEntries(
Map.entry("token", "xxxxx"),
Map.entry("tokenType", "PAT")
)),
Map.entry("sourceControlType", "Github")
)),
Map.entry("sourceTriggerEvents", "commit")
)),
Map.entry("timerTriggers", Map.ofEntries(
Map.entry("name", "myTimerTrigger"),
Map.entry("schedule", "30 9 * * 1-5")
))
))
.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="amd64",
os="Linux",
),
registry_name="myRegistry",
resource_group_name="myResourceGroup",
status="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.TriggerPropertiesResponseArgs(
base_image_trigger=azure_native.containerregistry.BaseImageTriggerArgs(
base_image_trigger_type="Runtime",
name="myBaseImageTrigger",
),
source_triggers=[{
"name": "mySourceTrigger",
"sourceRepository": {
"branch": "master",
"repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
"sourceControlAuthProperties": azure_native.containerregistry.AuthInfoArgs(
token="xxxxx",
token_type="PAT",
),
"sourceControlType": "Github",
},
"sourceTriggerEvents": ["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: "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",
}],
},
});
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 =
{
{ "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", "SystemAssigned" },
{ "userAssignedIdentities",
{
{ "string",
{
{ "clientId", "string" },
{ "principalId", "string" },
} },
} },
},
Status = "string",
Step =
{
{ "dockerFilePath", "string" },
{ "type", "Docker" },
{ "arguments", new[]
{
{
{ "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 =
{
{ "baseImageTrigger",
{
{ "baseImageTriggerType", "string" },
{ "name", "string" },
{ "status", "string" },
{ "updateTriggerEndpoint", "string" },
{ "updateTriggerPayloadType", "string" },
} },
{ "sourceTriggers", new[]
{
{
{ "name", "string" },
{ "sourceRepository",
{
{ "repositoryUrl", "string" },
{ "sourceControlType", "string" },
{ "branch", "string" },
{ "sourceControlAuthProperties",
{
{ "token", "string" },
{ "tokenType", "string" },
{ "expiresIn", 0 },
{ "refreshToken", "string" },
{ "scope", "string" },
} },
} },
{ "sourceTriggerEvents", new[]
{
"string",
} },
{ "status", "string" },
},
} },
{ "timerTriggers", new[]
{
{
{ "name", "string" },
{ "schedule", "string" },
{ "status", "string" },
},
} },
},
});
example, err := containerregistry.NewTask(ctx, "taskResource", &containerregistry.TaskArgs{
RegistryName: "string",
ResourceGroupName: "string",
IsSystemTask: false,
AgentPoolName: "string",
AgentConfiguration: map[string]interface{}{
"cpu": 0,
},
Location: "string",
LogTemplate: "string",
Platform: map[string]interface{}{
"os": "string",
"architecture": "string",
"variant": "string",
},
Credentials: map[string]interface{}{
"customRegistries": map[string]interface{}{
"string": map[string]interface{}{
"identity": "string",
"password": map[string]interface{}{
"type": "string",
"value": "string",
},
"userName": map[string]interface{}{
"type": "string",
"value": "string",
},
},
},
"sourceRegistry": map[string]interface{}{
"loginMode": "string",
},
},
Identity: map[string]interface{}{
"principalId": "string",
"tenantId": "string",
"type": "SystemAssigned",
"userAssignedIdentities": map[string]interface{}{
"string": map[string]interface{}{
"clientId": "string",
"principalId": "string",
},
},
},
Status: "string",
Step: map[string]interface{}{
"dockerFilePath": "string",
"type": "Docker",
"arguments": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"value": "string",
"isSecret": false,
},
},
"contextAccessToken": "string",
"contextPath": "string",
"imageNames": []string{
"string",
},
"isPushEnabled": false,
"noCache": false,
"target": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
TaskName: "string",
Timeout: 0,
Trigger: map[string]interface{}{
"baseImageTrigger": map[string]interface{}{
"baseImageTriggerType": "string",
"name": "string",
"status": "string",
"updateTriggerEndpoint": "string",
"updateTriggerPayloadType": "string",
},
"sourceTriggers": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"sourceRepository": map[string]interface{}{
"repositoryUrl": "string",
"sourceControlType": "string",
"branch": "string",
"sourceControlAuthProperties": map[string]interface{}{
"token": "string",
"tokenType": "string",
"expiresIn": 0,
"refreshToken": "string",
"scope": "string",
},
},
"sourceTriggerEvents": []string{
"string",
},
"status": "string",
},
},
"timerTriggers": []map[string]interface{}{
map[string]interface{}{
"name": "string",
"schedule": "string",
"status": "string",
},
},
},
})
var taskResource = new Task("taskResource", TaskArgs.builder()
.registryName("string")
.resourceGroupName("string")
.isSystemTask(false)
.agentPoolName("string")
.agentConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.logTemplate("string")
.platform(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.credentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.status("string")
.step(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.taskName("string")
.timeout(0)
.trigger(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.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={
cpu: 0,
},
location=string,
log_template=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: 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,
},
task_name=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,
}],
})
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: "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/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0