We recommend using Azure Native.
azure.containerservice.RegistryTask
Explore with Pulumi AI
Manages a Container Registry Task.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-rg",
location: "West Europe",
});
const exampleRegistry = new azure.containerservice.Registry("example", {
name: "example",
resourceGroupName: example.name,
location: example.location,
sku: "Basic",
});
const exampleRegistryTask = new azure.containerservice.RegistryTask("example", {
name: "example-task",
containerRegistryId: exampleRegistry.id,
platform: {
os: "Linux",
},
dockerStep: {
dockerfilePath: "Dockerfile",
contextPath: "https://github.com/<username>/<repository>#<branch>:<folder>",
contextAccessToken: "<github personal access token>",
imageNames: ["helloworld:{{.Run.ID}}"],
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-rg",
location="West Europe")
example_registry = azure.containerservice.Registry("example",
name="example",
resource_group_name=example.name,
location=example.location,
sku="Basic")
example_registry_task = azure.containerservice.RegistryTask("example",
name="example-task",
container_registry_id=example_registry.id,
platform={
"os": "Linux",
},
docker_step={
"dockerfile_path": "Dockerfile",
"context_path": "https://github.com/<username>/<repository>#<branch>:<folder>",
"context_access_token": "<github personal access token>",
"image_names": ["helloworld:{{.Run.ID}}"],
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/containerservice"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-rg"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleRegistry, err := containerservice.NewRegistry(ctx, "example", &containerservice.RegistryArgs{
Name: pulumi.String("example"),
ResourceGroupName: example.Name,
Location: example.Location,
Sku: pulumi.String("Basic"),
})
if err != nil {
return err
}
_, err = containerservice.NewRegistryTask(ctx, "example", &containerservice.RegistryTaskArgs{
Name: pulumi.String("example-task"),
ContainerRegistryId: exampleRegistry.ID(),
Platform: &containerservice.RegistryTaskPlatformArgs{
Os: pulumi.String("Linux"),
},
DockerStep: &containerservice.RegistryTaskDockerStepArgs{
DockerfilePath: pulumi.String("Dockerfile"),
ContextPath: pulumi.String("https://github.com/<username>/<repository>#<branch>:<folder>"),
ContextAccessToken: pulumi.String("<github personal access token>"),
ImageNames: pulumi.StringArray{
pulumi.String("helloworld:{{.Run.ID}}"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-rg",
Location = "West Europe",
});
var exampleRegistry = new Azure.ContainerService.Registry("example", new()
{
Name = "example",
ResourceGroupName = example.Name,
Location = example.Location,
Sku = "Basic",
});
var exampleRegistryTask = new Azure.ContainerService.RegistryTask("example", new()
{
Name = "example-task",
ContainerRegistryId = exampleRegistry.Id,
Platform = new Azure.ContainerService.Inputs.RegistryTaskPlatformArgs
{
Os = "Linux",
},
DockerStep = new Azure.ContainerService.Inputs.RegistryTaskDockerStepArgs
{
DockerfilePath = "Dockerfile",
ContextPath = "https://github.com/<username>/<repository>#<branch>:<folder>",
ContextAccessToken = "<github personal access token>",
ImageNames = new[]
{
"helloworld:{{.Run.ID}}",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.containerservice.Registry;
import com.pulumi.azure.containerservice.RegistryArgs;
import com.pulumi.azure.containerservice.RegistryTask;
import com.pulumi.azure.containerservice.RegistryTaskArgs;
import com.pulumi.azure.containerservice.inputs.RegistryTaskPlatformArgs;
import com.pulumi.azure.containerservice.inputs.RegistryTaskDockerStepArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-rg")
.location("West Europe")
.build());
var exampleRegistry = new Registry("exampleRegistry", RegistryArgs.builder()
.name("example")
.resourceGroupName(example.name())
.location(example.location())
.sku("Basic")
.build());
var exampleRegistryTask = new RegistryTask("exampleRegistryTask", RegistryTaskArgs.builder()
.name("example-task")
.containerRegistryId(exampleRegistry.id())
.platform(RegistryTaskPlatformArgs.builder()
.os("Linux")
.build())
.dockerStep(RegistryTaskDockerStepArgs.builder()
.dockerfilePath("Dockerfile")
.contextPath("https://github.com/<username>/<repository>#<branch>:<folder>")
.contextAccessToken("<github personal access token>")
.imageNames("helloworld:{{.Run.ID}}")
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-rg
location: West Europe
exampleRegistry:
type: azure:containerservice:Registry
name: example
properties:
name: example
resourceGroupName: ${example.name}
location: ${example.location}
sku: Basic
exampleRegistryTask:
type: azure:containerservice:RegistryTask
name: example
properties:
name: example-task
containerRegistryId: ${exampleRegistry.id}
platform:
os: Linux
dockerStep:
dockerfilePath: Dockerfile
contextPath: https://github.com/<username>/<repository>#<branch>:<folder>
contextAccessToken: <github personal access token>
imageNames:
- helloworld:{{.Run.ID}}
Create RegistryTask Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegistryTask(name: string, args: RegistryTaskArgs, opts?: CustomResourceOptions);
@overload
def RegistryTask(resource_name: str,
args: RegistryTaskArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegistryTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_registry_id: Optional[str] = None,
identity: Optional[RegistryTaskIdentityArgs] = None,
enabled: Optional[bool] = None,
is_system_task: Optional[bool] = None,
docker_step: Optional[RegistryTaskDockerStepArgs] = None,
log_template: Optional[str] = None,
encoded_step: Optional[RegistryTaskEncodedStepArgs] = None,
file_step: Optional[RegistryTaskFileStepArgs] = None,
name: Optional[str] = None,
agent_setting: Optional[RegistryTaskAgentSettingArgs] = None,
base_image_trigger: Optional[RegistryTaskBaseImageTriggerArgs] = None,
agent_pool_name: Optional[str] = None,
platform: Optional[RegistryTaskPlatformArgs] = None,
registry_credential: Optional[RegistryTaskRegistryCredentialArgs] = None,
source_triggers: Optional[Sequence[RegistryTaskSourceTriggerArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
timeout_in_seconds: Optional[int] = None,
timer_triggers: Optional[Sequence[RegistryTaskTimerTriggerArgs]] = None)
func NewRegistryTask(ctx *Context, name string, args RegistryTaskArgs, opts ...ResourceOption) (*RegistryTask, error)
public RegistryTask(string name, RegistryTaskArgs args, CustomResourceOptions? opts = null)
public RegistryTask(String name, RegistryTaskArgs args)
public RegistryTask(String name, RegistryTaskArgs args, CustomResourceOptions options)
type: azure:containerservice:RegistryTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegistryTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var registryTaskResource = new Azure.ContainerService.RegistryTask("registryTaskResource", new()
{
ContainerRegistryId = "string",
Identity = new Azure.ContainerService.Inputs.RegistryTaskIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
Enabled = false,
IsSystemTask = false,
DockerStep = new Azure.ContainerService.Inputs.RegistryTaskDockerStepArgs
{
ContextAccessToken = "string",
ContextPath = "string",
DockerfilePath = "string",
Arguments =
{
{ "string", "string" },
},
CacheEnabled = false,
ImageNames = new[]
{
"string",
},
PushEnabled = false,
SecretArguments =
{
{ "string", "string" },
},
Target = "string",
},
LogTemplate = "string",
EncodedStep = new Azure.ContainerService.Inputs.RegistryTaskEncodedStepArgs
{
TaskContent = "string",
ContextAccessToken = "string",
ContextPath = "string",
SecretValues =
{
{ "string", "string" },
},
ValueContent = "string",
Values =
{
{ "string", "string" },
},
},
FileStep = new Azure.ContainerService.Inputs.RegistryTaskFileStepArgs
{
TaskFilePath = "string",
ContextAccessToken = "string",
ContextPath = "string",
SecretValues =
{
{ "string", "string" },
},
ValueFilePath = "string",
Values =
{
{ "string", "string" },
},
},
Name = "string",
AgentSetting = new Azure.ContainerService.Inputs.RegistryTaskAgentSettingArgs
{
Cpu = 0,
},
BaseImageTrigger = new Azure.ContainerService.Inputs.RegistryTaskBaseImageTriggerArgs
{
Name = "string",
Type = "string",
Enabled = false,
UpdateTriggerEndpoint = "string",
UpdateTriggerPayloadType = "string",
},
AgentPoolName = "string",
Platform = new Azure.ContainerService.Inputs.RegistryTaskPlatformArgs
{
Os = "string",
Architecture = "string",
Variant = "string",
},
RegistryCredential = new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialArgs
{
Customs = new[]
{
new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialCustomArgs
{
LoginServer = "string",
Identity = "string",
Password = "string",
Username = "string",
},
},
Source = new Azure.ContainerService.Inputs.RegistryTaskRegistryCredentialSourceArgs
{
LoginMode = "string",
},
},
SourceTriggers = new[]
{
new Azure.ContainerService.Inputs.RegistryTaskSourceTriggerArgs
{
Events = new[]
{
"string",
},
Name = "string",
RepositoryUrl = "string",
SourceType = "string",
Authentication = new Azure.ContainerService.Inputs.RegistryTaskSourceTriggerAuthenticationArgs
{
Token = "string",
TokenType = "string",
ExpireInSeconds = 0,
RefreshToken = "string",
Scope = "string",
},
Branch = "string",
Enabled = false,
},
},
Tags =
{
{ "string", "string" },
},
TimeoutInSeconds = 0,
TimerTriggers = new[]
{
new Azure.ContainerService.Inputs.RegistryTaskTimerTriggerArgs
{
Name = "string",
Schedule = "string",
Enabled = false,
},
},
});
example, err := containerservice.NewRegistryTask(ctx, "registryTaskResource", &containerservice.RegistryTaskArgs{
ContainerRegistryId: pulumi.String("string"),
Identity: &containerservice.RegistryTaskIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
Enabled: pulumi.Bool(false),
IsSystemTask: pulumi.Bool(false),
DockerStep: &containerservice.RegistryTaskDockerStepArgs{
ContextAccessToken: pulumi.String("string"),
ContextPath: pulumi.String("string"),
DockerfilePath: pulumi.String("string"),
Arguments: pulumi.StringMap{
"string": pulumi.String("string"),
},
CacheEnabled: pulumi.Bool(false),
ImageNames: pulumi.StringArray{
pulumi.String("string"),
},
PushEnabled: pulumi.Bool(false),
SecretArguments: pulumi.StringMap{
"string": pulumi.String("string"),
},
Target: pulumi.String("string"),
},
LogTemplate: pulumi.String("string"),
EncodedStep: &containerservice.RegistryTaskEncodedStepArgs{
TaskContent: pulumi.String("string"),
ContextAccessToken: pulumi.String("string"),
ContextPath: pulumi.String("string"),
SecretValues: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValueContent: pulumi.String("string"),
Values: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
FileStep: &containerservice.RegistryTaskFileStepArgs{
TaskFilePath: pulumi.String("string"),
ContextAccessToken: pulumi.String("string"),
ContextPath: pulumi.String("string"),
SecretValues: pulumi.StringMap{
"string": pulumi.String("string"),
},
ValueFilePath: pulumi.String("string"),
Values: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Name: pulumi.String("string"),
AgentSetting: &containerservice.RegistryTaskAgentSettingArgs{
Cpu: pulumi.Int(0),
},
BaseImageTrigger: &containerservice.RegistryTaskBaseImageTriggerArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
Enabled: pulumi.Bool(false),
UpdateTriggerEndpoint: pulumi.String("string"),
UpdateTriggerPayloadType: pulumi.String("string"),
},
AgentPoolName: pulumi.String("string"),
Platform: &containerservice.RegistryTaskPlatformArgs{
Os: pulumi.String("string"),
Architecture: pulumi.String("string"),
Variant: pulumi.String("string"),
},
RegistryCredential: &containerservice.RegistryTaskRegistryCredentialArgs{
Customs: containerservice.RegistryTaskRegistryCredentialCustomArray{
&containerservice.RegistryTaskRegistryCredentialCustomArgs{
LoginServer: pulumi.String("string"),
Identity: pulumi.String("string"),
Password: pulumi.String("string"),
Username: pulumi.String("string"),
},
},
Source: &containerservice.RegistryTaskRegistryCredentialSourceArgs{
LoginMode: pulumi.String("string"),
},
},
SourceTriggers: containerservice.RegistryTaskSourceTriggerArray{
&containerservice.RegistryTaskSourceTriggerArgs{
Events: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
RepositoryUrl: pulumi.String("string"),
SourceType: pulumi.String("string"),
Authentication: &containerservice.RegistryTaskSourceTriggerAuthenticationArgs{
Token: pulumi.String("string"),
TokenType: pulumi.String("string"),
ExpireInSeconds: pulumi.Int(0),
RefreshToken: pulumi.String("string"),
Scope: pulumi.String("string"),
},
Branch: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TimeoutInSeconds: pulumi.Int(0),
TimerTriggers: containerservice.RegistryTaskTimerTriggerArray{
&containerservice.RegistryTaskTimerTriggerArgs{
Name: pulumi.String("string"),
Schedule: pulumi.String("string"),
Enabled: pulumi.Bool(false),
},
},
})
var registryTaskResource = new RegistryTask("registryTaskResource", RegistryTaskArgs.builder()
.containerRegistryId("string")
.identity(RegistryTaskIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.enabled(false)
.isSystemTask(false)
.dockerStep(RegistryTaskDockerStepArgs.builder()
.contextAccessToken("string")
.contextPath("string")
.dockerfilePath("string")
.arguments(Map.of("string", "string"))
.cacheEnabled(false)
.imageNames("string")
.pushEnabled(false)
.secretArguments(Map.of("string", "string"))
.target("string")
.build())
.logTemplate("string")
.encodedStep(RegistryTaskEncodedStepArgs.builder()
.taskContent("string")
.contextAccessToken("string")
.contextPath("string")
.secretValues(Map.of("string", "string"))
.valueContent("string")
.values(Map.of("string", "string"))
.build())
.fileStep(RegistryTaskFileStepArgs.builder()
.taskFilePath("string")
.contextAccessToken("string")
.contextPath("string")
.secretValues(Map.of("string", "string"))
.valueFilePath("string")
.values(Map.of("string", "string"))
.build())
.name("string")
.agentSetting(RegistryTaskAgentSettingArgs.builder()
.cpu(0)
.build())
.baseImageTrigger(RegistryTaskBaseImageTriggerArgs.builder()
.name("string")
.type("string")
.enabled(false)
.updateTriggerEndpoint("string")
.updateTriggerPayloadType("string")
.build())
.agentPoolName("string")
.platform(RegistryTaskPlatformArgs.builder()
.os("string")
.architecture("string")
.variant("string")
.build())
.registryCredential(RegistryTaskRegistryCredentialArgs.builder()
.customs(RegistryTaskRegistryCredentialCustomArgs.builder()
.loginServer("string")
.identity("string")
.password("string")
.username("string")
.build())
.source(RegistryTaskRegistryCredentialSourceArgs.builder()
.loginMode("string")
.build())
.build())
.sourceTriggers(RegistryTaskSourceTriggerArgs.builder()
.events("string")
.name("string")
.repositoryUrl("string")
.sourceType("string")
.authentication(RegistryTaskSourceTriggerAuthenticationArgs.builder()
.token("string")
.tokenType("string")
.expireInSeconds(0)
.refreshToken("string")
.scope("string")
.build())
.branch("string")
.enabled(false)
.build())
.tags(Map.of("string", "string"))
.timeoutInSeconds(0)
.timerTriggers(RegistryTaskTimerTriggerArgs.builder()
.name("string")
.schedule("string")
.enabled(false)
.build())
.build());
registry_task_resource = azure.containerservice.RegistryTask("registryTaskResource",
container_registry_id="string",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
enabled=False,
is_system_task=False,
docker_step={
"context_access_token": "string",
"context_path": "string",
"dockerfile_path": "string",
"arguments": {
"string": "string",
},
"cache_enabled": False,
"image_names": ["string"],
"push_enabled": False,
"secret_arguments": {
"string": "string",
},
"target": "string",
},
log_template="string",
encoded_step={
"task_content": "string",
"context_access_token": "string",
"context_path": "string",
"secret_values": {
"string": "string",
},
"value_content": "string",
"values": {
"string": "string",
},
},
file_step={
"task_file_path": "string",
"context_access_token": "string",
"context_path": "string",
"secret_values": {
"string": "string",
},
"value_file_path": "string",
"values": {
"string": "string",
},
},
name="string",
agent_setting={
"cpu": 0,
},
base_image_trigger={
"name": "string",
"type": "string",
"enabled": False,
"update_trigger_endpoint": "string",
"update_trigger_payload_type": "string",
},
agent_pool_name="string",
platform={
"os": "string",
"architecture": "string",
"variant": "string",
},
registry_credential={
"customs": [{
"login_server": "string",
"identity": "string",
"password": "string",
"username": "string",
}],
"source": {
"login_mode": "string",
},
},
source_triggers=[{
"events": ["string"],
"name": "string",
"repository_url": "string",
"source_type": "string",
"authentication": {
"token": "string",
"token_type": "string",
"expire_in_seconds": 0,
"refresh_token": "string",
"scope": "string",
},
"branch": "string",
"enabled": False,
}],
tags={
"string": "string",
},
timeout_in_seconds=0,
timer_triggers=[{
"name": "string",
"schedule": "string",
"enabled": False,
}])
const registryTaskResource = new azure.containerservice.RegistryTask("registryTaskResource", {
containerRegistryId: "string",
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
enabled: false,
isSystemTask: false,
dockerStep: {
contextAccessToken: "string",
contextPath: "string",
dockerfilePath: "string",
arguments: {
string: "string",
},
cacheEnabled: false,
imageNames: ["string"],
pushEnabled: false,
secretArguments: {
string: "string",
},
target: "string",
},
logTemplate: "string",
encodedStep: {
taskContent: "string",
contextAccessToken: "string",
contextPath: "string",
secretValues: {
string: "string",
},
valueContent: "string",
values: {
string: "string",
},
},
fileStep: {
taskFilePath: "string",
contextAccessToken: "string",
contextPath: "string",
secretValues: {
string: "string",
},
valueFilePath: "string",
values: {
string: "string",
},
},
name: "string",
agentSetting: {
cpu: 0,
},
baseImageTrigger: {
name: "string",
type: "string",
enabled: false,
updateTriggerEndpoint: "string",
updateTriggerPayloadType: "string",
},
agentPoolName: "string",
platform: {
os: "string",
architecture: "string",
variant: "string",
},
registryCredential: {
customs: [{
loginServer: "string",
identity: "string",
password: "string",
username: "string",
}],
source: {
loginMode: "string",
},
},
sourceTriggers: [{
events: ["string"],
name: "string",
repositoryUrl: "string",
sourceType: "string",
authentication: {
token: "string",
tokenType: "string",
expireInSeconds: 0,
refreshToken: "string",
scope: "string",
},
branch: "string",
enabled: false,
}],
tags: {
string: "string",
},
timeoutInSeconds: 0,
timerTriggers: [{
name: "string",
schedule: "string",
enabled: false,
}],
});
type: azure:containerservice:RegistryTask
properties:
agentPoolName: string
agentSetting:
cpu: 0
baseImageTrigger:
enabled: false
name: string
type: string
updateTriggerEndpoint: string
updateTriggerPayloadType: string
containerRegistryId: string
dockerStep:
arguments:
string: string
cacheEnabled: false
contextAccessToken: string
contextPath: string
dockerfilePath: string
imageNames:
- string
pushEnabled: false
secretArguments:
string: string
target: string
enabled: false
encodedStep:
contextAccessToken: string
contextPath: string
secretValues:
string: string
taskContent: string
valueContent: string
values:
string: string
fileStep:
contextAccessToken: string
contextPath: string
secretValues:
string: string
taskFilePath: string
valueFilePath: string
values:
string: string
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
isSystemTask: false
logTemplate: string
name: string
platform:
architecture: string
os: string
variant: string
registryCredential:
customs:
- identity: string
loginServer: string
password: string
username: string
source:
loginMode: string
sourceTriggers:
- authentication:
expireInSeconds: 0
refreshToken: string
scope: string
token: string
tokenType: string
branch: string
enabled: false
events:
- string
name: string
repositoryUrl: string
sourceType: string
tags:
string: string
timeoutInSeconds: 0
timerTriggers:
- enabled: false
name: string
schedule: string
RegistryTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RegistryTask resource accepts the following input properties:
- Container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- Agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- Agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - Base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - Docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - Enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - Encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - File
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- Identity
Registry
Task Identity - An
identity
block as defined below. - Is
System boolTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - Log
Template string - Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- Registry
Credential RegistryTask Registry Credential - Source
Triggers List<RegistryTask Source Trigger> - One or more
source_trigger
blocks as defined below. - Dictionary<string, string>
- Timeout
In intSeconds - Timer
Triggers List<RegistryTask Timer Trigger> - One or more
timer_trigger
blocks as defined below.
- Container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- Agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- Agent
Setting RegistryTask Agent Setting Args - A
agent_setting
block as defined below. - Base
Image RegistryTrigger Task Base Image Trigger Args - A
base_image_trigger
block as defined below. - Docker
Step RegistryTask Docker Step Args - A
docker_step
block as defined below. - Enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - Encoded
Step RegistryTask Encoded Step Args - A
encoded_step
block as defined below. - File
Step RegistryTask File Step Args A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- Identity
Registry
Task Identity Args - An
identity
block as defined below. - Is
System boolTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - Log
Template string - Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
Registry
Task Platform Args A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- Registry
Credential RegistryTask Registry Credential Args - Source
Triggers []RegistryTask Source Trigger Args - One or more
source_trigger
blocks as defined below. - map[string]string
- Timeout
In intSeconds - Timer
Triggers []RegistryTask Timer Trigger Args - One or more
timer_trigger
blocks as defined below.
- container
Registry StringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agent
Pool StringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - enabled Boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - file
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity - An
identity
block as defined below. - is
System BooleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template String - name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential RegistryTask Registry Credential - source
Triggers List<RegistryTask Source Trigger> - One or more
source_trigger
blocks as defined below. - Map<String,String>
- timeout
In IntegerSeconds - timer
Triggers List<RegistryTask Timer Trigger> - One or more
timer_trigger
blocks as defined below.
- container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - enabled boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - file
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity - An
identity
block as defined below. - is
System booleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template string - name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential RegistryTask Registry Credential - source
Triggers RegistryTask Source Trigger[] - One or more
source_trigger
blocks as defined below. - {[key: string]: string}
- timeout
In numberSeconds - timer
Triggers RegistryTask Timer Trigger[] - One or more
timer_trigger
blocks as defined below.
- container_
registry_ strid - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agent_
pool_ strname - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent_
setting RegistryTask Agent Setting Args - A
agent_setting
block as defined below. - base_
image_ Registrytrigger Task Base Image Trigger Args - A
base_image_trigger
block as defined below. - docker_
step RegistryTask Docker Step Args - A
docker_step
block as defined below. - enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded_
step RegistryTask Encoded Step Args - A
encoded_step
block as defined below. - file_
step RegistryTask File Step Args A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity Args - An
identity
block as defined below. - is_
system_ booltask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log_
template str - name str
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform Args A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry_
credential RegistryTask Registry Credential Args - source_
triggers Sequence[RegistryTask Source Trigger Args] - One or more
source_trigger
blocks as defined below. - Mapping[str, str]
- timeout_
in_ intseconds - timer_
triggers Sequence[RegistryTask Timer Trigger Args] - One or more
timer_trigger
blocks as defined below.
- container
Registry StringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- agent
Pool StringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting Property Map - A
agent_setting
block as defined below. - base
Image Property MapTrigger - A
base_image_trigger
block as defined below. - docker
Step Property Map - A
docker_step
block as defined below. - enabled Boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step Property Map - A
encoded_step
block as defined below. - file
Step Property Map A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity Property Map
- An
identity
block as defined below. - is
System BooleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template String - name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform Property Map
A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential Property Map - source
Triggers List<Property Map> - One or more
source_trigger
blocks as defined below. - Map<String>
- timeout
In NumberSeconds - timer
Triggers List<Property Map> - One or more
timer_trigger
blocks as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegistryTask resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RegistryTask Resource
Get an existing RegistryTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RegistryTaskState, opts?: CustomResourceOptions): RegistryTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
agent_pool_name: Optional[str] = None,
agent_setting: Optional[RegistryTaskAgentSettingArgs] = None,
base_image_trigger: Optional[RegistryTaskBaseImageTriggerArgs] = None,
container_registry_id: Optional[str] = None,
docker_step: Optional[RegistryTaskDockerStepArgs] = None,
enabled: Optional[bool] = None,
encoded_step: Optional[RegistryTaskEncodedStepArgs] = None,
file_step: Optional[RegistryTaskFileStepArgs] = None,
identity: Optional[RegistryTaskIdentityArgs] = None,
is_system_task: Optional[bool] = None,
log_template: Optional[str] = None,
name: Optional[str] = None,
platform: Optional[RegistryTaskPlatformArgs] = None,
registry_credential: Optional[RegistryTaskRegistryCredentialArgs] = None,
source_triggers: Optional[Sequence[RegistryTaskSourceTriggerArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
timeout_in_seconds: Optional[int] = None,
timer_triggers: Optional[Sequence[RegistryTaskTimerTriggerArgs]] = None) -> RegistryTask
func GetRegistryTask(ctx *Context, name string, id IDInput, state *RegistryTaskState, opts ...ResourceOption) (*RegistryTask, error)
public static RegistryTask Get(string name, Input<string> id, RegistryTaskState? state, CustomResourceOptions? opts = null)
public static RegistryTask get(String name, Output<String> id, RegistryTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- Agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - Base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - Container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- Docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - Enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - Encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - File
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- Identity
Registry
Task Identity - An
identity
block as defined below. - Is
System boolTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - Log
Template string - Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- Registry
Credential RegistryTask Registry Credential - Source
Triggers List<RegistryTask Source Trigger> - One or more
source_trigger
blocks as defined below. - Dictionary<string, string>
- Timeout
In intSeconds - Timer
Triggers List<RegistryTask Timer Trigger> - One or more
timer_trigger
blocks as defined below.
- Agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- Agent
Setting RegistryTask Agent Setting Args - A
agent_setting
block as defined below. - Base
Image RegistryTrigger Task Base Image Trigger Args - A
base_image_trigger
block as defined below. - Container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- Docker
Step RegistryTask Docker Step Args - A
docker_step
block as defined below. - Enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - Encoded
Step RegistryTask Encoded Step Args - A
encoded_step
block as defined below. - File
Step RegistryTask File Step Args A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- Identity
Registry
Task Identity Args - An
identity
block as defined below. - Is
System boolTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - Log
Template string - Name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- Platform
Registry
Task Platform Args A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- Registry
Credential RegistryTask Registry Credential Args - Source
Triggers []RegistryTask Source Trigger Args - One or more
source_trigger
blocks as defined below. - map[string]string
- Timeout
In intSeconds - Timer
Triggers []RegistryTask Timer Trigger Args - One or more
timer_trigger
blocks as defined below.
- agent
Pool StringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - container
Registry StringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - enabled Boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - file
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity - An
identity
block as defined below. - is
System BooleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template String - name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential RegistryTask Registry Credential - source
Triggers List<RegistryTask Source Trigger> - One or more
source_trigger
blocks as defined below. - Map<String,String>
- timeout
In IntegerSeconds - timer
Triggers List<RegistryTask Timer Trigger> - One or more
timer_trigger
blocks as defined below.
- agent
Pool stringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting RegistryTask Agent Setting - A
agent_setting
block as defined below. - base
Image RegistryTrigger Task Base Image Trigger - A
base_image_trigger
block as defined below. - container
Registry stringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- docker
Step RegistryTask Docker Step - A
docker_step
block as defined below. - enabled boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step RegistryTask Encoded Step - A
encoded_step
block as defined below. - file
Step RegistryTask File Step A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity - An
identity
block as defined below. - is
System booleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template string - name string
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential RegistryTask Registry Credential - source
Triggers RegistryTask Source Trigger[] - One or more
source_trigger
blocks as defined below. - {[key: string]: string}
- timeout
In numberSeconds - timer
Triggers RegistryTask Timer Trigger[] - One or more
timer_trigger
blocks as defined below.
- agent_
pool_ strname - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent_
setting RegistryTask Agent Setting Args - A
agent_setting
block as defined below. - base_
image_ Registrytrigger Task Base Image Trigger Args - A
base_image_trigger
block as defined below. - container_
registry_ strid - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- docker_
step RegistryTask Docker Step Args - A
docker_step
block as defined below. - enabled bool
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded_
step RegistryTask Encoded Step Args - A
encoded_step
block as defined below. - file_
step RegistryTask File Step Args A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity
Registry
Task Identity Args - An
identity
block as defined below. - is_
system_ booltask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log_
template str - name str
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform
Registry
Task Platform Args A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry_
credential RegistryTask Registry Credential Args - source_
triggers Sequence[RegistryTask Source Trigger Args] - One or more
source_trigger
blocks as defined below. - Mapping[str, str]
- timeout_
in_ intseconds - timer_
triggers Sequence[RegistryTask Timer Trigger Args] - One or more
timer_trigger
blocks as defined below.
- agent
Pool StringName - The name of the dedicated Container Registry Agent Pool for this Container Registry Task.
- agent
Setting Property Map - A
agent_setting
block as defined below. - base
Image Property MapTrigger - A
base_image_trigger
block as defined below. - container
Registry StringId - The ID of the Container Registry that this Container Registry Task resides in. Changing this forces a new Container Registry Task to be created.
- docker
Step Property Map - A
docker_step
block as defined below. - enabled Boolean
- Should this Container Registry Task be enabled? Defaults to
true
. - encoded
Step Property Map - A
encoded_step
block as defined below. - file
Step Property Map A
file_step
block as defined below.NOTE: For non-system task (when
is_system_task
is set tofalse
), one and only one of thedocker_step
,encoded_step
andfile_step
should be specified.- identity Property Map
- An
identity
block as defined below. - is
System BooleanTask - Whether this Container Registry Task is a system task. Changing this forces a new Container Registry Task to be created. Defaults to
false
. - log
Template String - name String
- The name which should be used for this Container Registry Task. Changing this forces a new Container Registry Task to be created.
- platform Property Map
A
platform
block as defined below.NOTE: The
platform
is required for non-system task (whenis_system_task
is set tofalse
).- registry
Credential Property Map - source
Triggers List<Property Map> - One or more
source_trigger
blocks as defined below. - Map<String>
- timeout
In NumberSeconds - timer
Triggers List<Property Map> - One or more
timer_trigger
blocks as defined below.
Supporting Types
RegistryTaskAgentSetting, RegistryTaskAgentSettingArgs
- Cpu int
- The number of cores required for the Container Registry Task.
- Cpu int
- The number of cores required for the Container Registry Task.
- cpu Integer
- The number of cores required for the Container Registry Task.
- cpu number
- The number of cores required for the Container Registry Task.
- cpu int
- The number of cores required for the Container Registry Task.
- cpu Number
- The number of cores required for the Container Registry Task.
RegistryTaskBaseImageTrigger, RegistryTaskBaseImageTriggerArgs
- Name string
- The name which should be used for this trigger.
- Type string
- The type of the trigger. Possible values are
All
andRuntime
. - Enabled bool
- Should the trigger be enabled? Defaults to
true
. - Update
Trigger stringEndpoint - The endpoint URL for receiving the trigger.
- Update
Trigger stringPayload Type - Type of payload body for the trigger. Possible values are
Default
andToken
.
- Name string
- The name which should be used for this trigger.
- Type string
- The type of the trigger. Possible values are
All
andRuntime
. - Enabled bool
- Should the trigger be enabled? Defaults to
true
. - Update
Trigger stringEndpoint - The endpoint URL for receiving the trigger.
- Update
Trigger stringPayload Type - Type of payload body for the trigger. Possible values are
Default
andToken
.
- name String
- The name which should be used for this trigger.
- type String
- The type of the trigger. Possible values are
All
andRuntime
. - enabled Boolean
- Should the trigger be enabled? Defaults to
true
. - update
Trigger StringEndpoint - The endpoint URL for receiving the trigger.
- update
Trigger StringPayload Type - Type of payload body for the trigger. Possible values are
Default
andToken
.
- name string
- The name which should be used for this trigger.
- type string
- The type of the trigger. Possible values are
All
andRuntime
. - enabled boolean
- Should the trigger be enabled? Defaults to
true
. - update
Trigger stringEndpoint - The endpoint URL for receiving the trigger.
- update
Trigger stringPayload Type - Type of payload body for the trigger. Possible values are
Default
andToken
.
- name str
- The name which should be used for this trigger.
- type str
- The type of the trigger. Possible values are
All
andRuntime
. - enabled bool
- Should the trigger be enabled? Defaults to
true
. - update_
trigger_ strendpoint - The endpoint URL for receiving the trigger.
- update_
trigger_ strpayload_ type - Type of payload body for the trigger. Possible values are
Default
andToken
.
- name String
- The name which should be used for this trigger.
- type String
- The type of the trigger. Possible values are
All
andRuntime
. - enabled Boolean
- Should the trigger be enabled? Defaults to
true
. - update
Trigger StringEndpoint - The endpoint URL for receiving the trigger.
- update
Trigger StringPayload Type - Type of payload body for the trigger. Possible values are
Default
andToken
.
RegistryTaskDockerStep, RegistryTaskDockerStepArgs
- Context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - Dockerfile
Path string - The Dockerfile path relative to the source context.
- Arguments Dictionary<string, string>
- Specifies a map of arguments to be used when executing this step.
- Cache
Enabled bool - Should the image cache be enabled? Defaults to
true
. - Image
Names List<string> - Specifies a list of fully qualified image names including the repository and tag.
- Push
Enabled bool - Should the image built be pushed to the registry or not? Defaults to
true
. - Secret
Arguments Dictionary<string, string> - Specifies a map of secret arguments to be used when executing this step.
- Target string
- The name of the target build stage for the docker build.
- Context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - Dockerfile
Path string - The Dockerfile path relative to the source context.
- Arguments map[string]string
- Specifies a map of arguments to be used when executing this step.
- Cache
Enabled bool - Should the image cache be enabled? Defaults to
true
. - Image
Names []string - Specifies a list of fully qualified image names including the repository and tag.
- Push
Enabled bool - Should the image built be pushed to the registry or not? Defaults to
true
. - Secret
Arguments map[string]string - Specifies a map of secret arguments to be used when executing this step.
- Target string
- The name of the target build stage for the docker build.
- context
Access StringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path String - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - dockerfile
Path String - The Dockerfile path relative to the source context.
- arguments Map<String,String>
- Specifies a map of arguments to be used when executing this step.
- cache
Enabled Boolean - Should the image cache be enabled? Defaults to
true
. - image
Names List<String> - Specifies a list of fully qualified image names including the repository and tag.
- push
Enabled Boolean - Should the image built be pushed to the registry or not? Defaults to
true
. - secret
Arguments Map<String,String> - Specifies a map of secret arguments to be used when executing this step.
- target String
- The name of the target build stage for the docker build.
- context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path string - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - dockerfile
Path string - The Dockerfile path relative to the source context.
- arguments {[key: string]: string}
- Specifies a map of arguments to be used when executing this step.
- cache
Enabled boolean - Should the image cache be enabled? Defaults to
true
. - image
Names string[] - Specifies a list of fully qualified image names including the repository and tag.
- push
Enabled boolean - Should the image built be pushed to the registry or not? Defaults to
true
. - secret
Arguments {[key: string]: string} - Specifies a map of secret arguments to be used when executing this step.
- target string
- The name of the target build stage for the docker build.
- context_
access_ strtoken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_
path str - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - dockerfile_
path str - The Dockerfile path relative to the source context.
- arguments Mapping[str, str]
- Specifies a map of arguments to be used when executing this step.
- cache_
enabled bool - Should the image cache be enabled? Defaults to
true
. - image_
names Sequence[str] - Specifies a list of fully qualified image names including the repository and tag.
- push_
enabled bool - Should the image built be pushed to the registry or not? Defaults to
true
. - secret_
arguments Mapping[str, str] - Specifies a map of secret arguments to be used when executing this step.
- target str
- The name of the target build stage for the docker build.
- context
Access StringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path String - The URL (absolute or relative) of the source context for this step. If the context is an url you can reference a specific branch or folder via
#branch:folder
. - dockerfile
Path String - The Dockerfile path relative to the source context.
- arguments Map<String>
- Specifies a map of arguments to be used when executing this step.
- cache
Enabled Boolean - Should the image cache be enabled? Defaults to
true
. - image
Names List<String> - Specifies a list of fully qualified image names including the repository and tag.
- push
Enabled Boolean - Should the image built be pushed to the registry or not? Defaults to
true
. - secret
Arguments Map<String> - Specifies a map of secret arguments to be used when executing this step.
- target String
- The name of the target build stage for the docker build.
RegistryTaskEncodedStep, RegistryTaskEncodedStepArgs
- Task
Content string - The (optionally base64 encoded) content of the build template.
- Context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step.
- Secret
Values Dictionary<string, string> - Specifies a map of secret values that can be passed when running a task.
- Value
Content string - The (optionally base64 encoded) content of the build parameters.
- Values Dictionary<string, string>
- Specifies a map of values that can be passed when running a task.
- Task
Content string - The (optionally base64 encoded) content of the build template.
- Context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step.
- Secret
Values map[string]string - Specifies a map of secret values that can be passed when running a task.
- Value
Content string - The (optionally base64 encoded) content of the build parameters.
- Values map[string]string
- Specifies a map of values that can be passed when running a task.
- task
Content String - The (optionally base64 encoded) content of the build template.
- context
Access StringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path String - The URL (absolute or relative) of the source context for this step.
- secret
Values Map<String,String> - Specifies a map of secret values that can be passed when running a task.
- value
Content String - The (optionally base64 encoded) content of the build parameters.
- values Map<String,String>
- Specifies a map of values that can be passed when running a task.
- task
Content string - The (optionally base64 encoded) content of the build template.
- context
Access stringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path string - The URL (absolute or relative) of the source context for this step.
- secret
Values {[key: string]: string} - Specifies a map of secret values that can be passed when running a task.
- value
Content string - The (optionally base64 encoded) content of the build parameters.
- values {[key: string]: string}
- Specifies a map of values that can be passed when running a task.
- task_
content str - The (optionally base64 encoded) content of the build template.
- context_
access_ strtoken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_
path str - The URL (absolute or relative) of the source context for this step.
- secret_
values Mapping[str, str] - Specifies a map of secret values that can be passed when running a task.
- value_
content str - The (optionally base64 encoded) content of the build parameters.
- values Mapping[str, str]
- Specifies a map of values that can be passed when running a task.
- task
Content String - The (optionally base64 encoded) content of the build template.
- context
Access StringToken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context
Path String - The URL (absolute or relative) of the source context for this step.
- secret
Values Map<String> - Specifies a map of secret values that can be passed when running a task.
- value
Content String - The (optionally base64 encoded) content of the build parameters.
- values Map<String>
- Specifies a map of values that can be passed when running a task.
RegistryTaskFileStep, RegistryTaskFileStepArgs
- Task
File stringPath - The task template 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 this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step.
- Secret
Values Dictionary<string, string> - Specifies a map of secret values that can be passed when running a task.
- Value
File stringPath - The parameters file path relative to the source context.
- Values Dictionary<string, string>
- Specifies a map of values that can be passed when running a task.
- Task
File stringPath - The task template 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 this step.
- Context
Path string - The URL (absolute or relative) of the source context for this step.
- Secret
Values map[string]string - Specifies a map of secret values that can be passed when running a task.
- Value
File stringPath - The parameters file path relative to the source context.
- Values map[string]string
- Specifies a map of values that can be passed when running a task.
- task
File StringPath - The task template 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 this step.
- context
Path String - The URL (absolute or relative) of the source context for this step.
- secret
Values Map<String,String> - Specifies a map of secret values that can be passed when running a task.
- value
File StringPath - The parameters file path relative to the source context.
- values Map<String,String>
- Specifies a map of values that can be passed when running a task.
- task
File stringPath - The task template 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 this step.
- context
Path string - The URL (absolute or relative) of the source context for this step.
- secret
Values {[key: string]: string} - Specifies a map of secret values that can be passed when running a task.
- value
File stringPath - The parameters file path relative to the source context.
- values {[key: string]: string}
- Specifies a map of values that can be passed when running a task.
- task_
file_ strpath - The task template file path relative to the source context.
- context_
access_ strtoken - The token (Git PAT or SAS token of storage account blob) associated with the context for this step.
- context_
path str - The URL (absolute or relative) of the source context for this step.
- secret_
values Mapping[str, str] - Specifies a map of secret values that can be passed when running a task.
- value_
file_ strpath - The parameters file path relative to the source context.
- values Mapping[str, str]
- Specifies a map of values that can be passed when running a task.
- task
File StringPath - The task template 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 this step.
- context
Path String - The URL (absolute or relative) of the source context for this step.
- secret
Values Map<String> - Specifies a map of secret values that can be passed when running a task.
- value
File StringPath - The parameters file path relative to the source context.
- values Map<String>
- Specifies a map of values that can be passed when running a task.
RegistryTaskIdentity, RegistryTaskIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id string - The Principal ID associated with this Managed Service Identity.
- tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity_
ids Sequence[str] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal_
id str - The Principal ID associated with this Managed Service Identity.
- tenant_
id str - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Container Registry Task. Possible values are
SystemAssigned
,UserAssigned
,SystemAssigned, UserAssigned
(to enable both). - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Container Registry Task.
NOTE: This is required when
type
is set toUserAssigned
orSystemAssigned, UserAssigned
.- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
RegistryTaskPlatform, RegistryTaskPlatformArgs
- Os string
- The operating system type required for the task. Possible values are
Windows
andLinux
. - Architecture string
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - Variant string
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
- Os string
- The operating system type required for the task. Possible values are
Windows
andLinux
. - Architecture string
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - Variant string
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
- os String
- The operating system type required for the task. Possible values are
Windows
andLinux
. - architecture String
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - variant String
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
- os string
- The operating system type required for the task. Possible values are
Windows
andLinux
. - architecture string
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - variant string
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
- os str
- The operating system type required for the task. Possible values are
Windows
andLinux
. - architecture str
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - variant str
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
- os String
- The operating system type required for the task. Possible values are
Windows
andLinux
. - architecture String
- The OS architecture. Possible values are
amd64
,x86
,386
,arm
andarm64
. - variant String
- The variant of the CPU. Possible values are
v6
,v7
,v8
.
RegistryTaskRegistryCredential, RegistryTaskRegistryCredentialArgs
- Customs
List<Registry
Task Registry Credential Custom> - One or more
custom
blocks as defined above. - Source
Registry
Task Registry Credential Source - One
source
block as defined below.
- Customs
[]Registry
Task Registry Credential Custom - One or more
custom
blocks as defined above. - Source
Registry
Task Registry Credential Source - One
source
block as defined below.
- customs
List<Registry
Task Registry Credential Custom> - One or more
custom
blocks as defined above. - source
Registry
Task Registry Credential Source - One
source
block as defined below.
- customs
Registry
Task Registry Credential Custom[] - One or more
custom
blocks as defined above. - source
Registry
Task Registry Credential Source - One
source
block as defined below.
- customs
Sequence[Registry
Task Registry Credential Custom] - One or more
custom
blocks as defined above. - source
Registry
Task Registry Credential Source - One
source
block as defined below.
- customs List<Property Map>
- One or more
custom
blocks as defined above. - source Property Map
- One
source
block as defined below.
RegistryTaskRegistryCredentialCustom, RegistryTaskRegistryCredentialCustomArgs
- Login
Server string - The login server of the custom Container Registry.
- Identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - Password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- Username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- Login
Server string - The login server of the custom Container Registry.
- Identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - Password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- Username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- login
Server String - The login server of the custom Container Registry.
- identity String
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - password String
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username String
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- login
Server string - The login server of the custom Container Registry.
- identity string
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - password string
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username string
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- login_
server str - The login server of the custom Container Registry.
- identity str
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - password str
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username str
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
- login
Server String - The login server of the custom Container Registry.
- identity String
- The managed identity assigned to this custom credential. For user assigned identity, the value is the client ID of the identity. For system assigned identity, the value is
[system]
. - password String
- The password for logging into the custom Container Registry. It can be either a plain text of password, or a Keyvault Secret ID.
- username String
- The username for logging into the custom Container Registry. It can be either a plain text of username, or a Keyvault Secret ID.
RegistryTaskRegistryCredentialSource, RegistryTaskRegistryCredentialSourceArgs
- Login
Mode string - The login mode for the source registry. Possible values are
None
andDefault
.
- Login
Mode string - The login mode for the source registry. Possible values are
None
andDefault
.
- login
Mode String - The login mode for the source registry. Possible values are
None
andDefault
.
- login
Mode string - The login mode for the source registry. Possible values are
None
andDefault
.
- login_
mode str - The login mode for the source registry. Possible values are
None
andDefault
.
- login
Mode String - The login mode for the source registry. Possible values are
None
andDefault
.
RegistryTaskSourceTrigger, RegistryTaskSourceTriggerArgs
- Events List<string>
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - Name string
- The name which should be used for this trigger.
- Repository
Url string - The full URL to the source code repository.
- Source
Type string - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - Authentication
Registry
Task Source Trigger Authentication - A
authentication
block as defined above. - Branch string
- The branch name of the source code.
- Enabled bool
- Should the trigger be enabled? Defaults to
true
.
- Events []string
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - Name string
- The name which should be used for this trigger.
- Repository
Url string - The full URL to the source code repository.
- Source
Type string - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - Authentication
Registry
Task Source Trigger Authentication - A
authentication
block as defined above. - Branch string
- The branch name of the source code.
- Enabled bool
- Should the trigger be enabled? Defaults to
true
.
- events List<String>
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - name String
- The name which should be used for this trigger.
- repository
Url String - The full URL to the source code repository.
- source
Type String - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - authentication
Registry
Task Source Trigger Authentication - A
authentication
block as defined above. - branch String
- The branch name of the source code.
- enabled Boolean
- Should the trigger be enabled? Defaults to
true
.
- events string[]
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - name string
- The name which should be used for this trigger.
- repository
Url string - The full URL to the source code repository.
- source
Type string - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - authentication
Registry
Task Source Trigger Authentication - A
authentication
block as defined above. - branch string
- The branch name of the source code.
- enabled boolean
- Should the trigger be enabled? Defaults to
true
.
- events Sequence[str]
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - name str
- The name which should be used for this trigger.
- repository_
url str - The full URL to the source code repository.
- source_
type str - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - authentication
Registry
Task Source Trigger Authentication - A
authentication
block as defined above. - branch str
- The branch name of the source code.
- enabled bool
- Should the trigger be enabled? Defaults to
true
.
- events List<String>
- Specifies a list of source events corresponding to the trigger. Possible values are
commit
andpullrequest
. - name String
- The name which should be used for this trigger.
- repository
Url String - The full URL to the source code repository.
- source
Type String - The type of the source control service. Possible values are
Github
andVisualStudioTeamService
. - authentication Property Map
- A
authentication
block as defined above. - branch String
- The branch name of the source code.
- enabled Boolean
- Should the trigger be enabled? Defaults to
true
.
RegistryTaskSourceTriggerAuthentication, RegistryTaskSourceTriggerAuthenticationArgs
- Token string
- The access token used to access the source control provider.
- Token
Type string - The type of the token. Possible values are
PAT
(personal access token) andOAuth
. - Expire
In intSeconds - Time in seconds that the token remains valid.
- Refresh
Token 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 the token. Possible values are
PAT
(personal access token) andOAuth
. - Expire
In intSeconds - 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 the token. Possible values are
PAT
(personal access token) andOAuth
. - expire
In IntegerSeconds - 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 the token. Possible values are
PAT
(personal access token) andOAuth
. - expire
In numberSeconds - 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 the token. Possible values are
PAT
(personal access token) andOAuth
. - expire_
in_ intseconds - Time in seconds that the token remains valid.
- refresh_
token str - The refresh token used to refresh the access token.
- scope str
- The scope of the access token.
- token String
- The access token used to access the source control provider.
- token
Type String - The type of the token. Possible values are
PAT
(personal access token) andOAuth
. - expire
In NumberSeconds - 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.
RegistryTaskTimerTrigger, RegistryTaskTimerTriggerArgs
Import
Container Registry Tasks can be imported using the resource id
, e.g.
$ pulumi import azure:containerservice/registryTask:RegistryTask example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.ContainerRegistry/registries/registry1/tasks/task1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.