1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. BuildStep
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.containerregistry.BuildStep

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

    Build step resource properties Azure REST API version: 2018-02-01-preview.

    Example Usage

    BuildSteps_Create

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var buildStep = new AzureNative.ContainerRegistry.BuildStep("buildStep", new()
        {
            BuildTaskName = "myBuildTask",
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
            StepName = "myStep",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewBuildStep(ctx, "buildStep", &containerregistry.BuildStepArgs{
    			BuildTaskName:     pulumi.String("myBuildTask"),
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    			StepName:          pulumi.String("myStep"),
    		})
    		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.BuildStep;
    import com.pulumi.azurenative.containerregistry.BuildStepArgs;
    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 buildStep = new BuildStep("buildStep", BuildStepArgs.builder()        
                .buildTaskName("myBuildTask")
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .stepName("myStep")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    build_step = azure_native.containerregistry.BuildStep("buildStep",
        build_task_name="myBuildTask",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup",
        step_name="myStep")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const buildStep = new azure_native.containerregistry.BuildStep("buildStep", {
        buildTaskName: "myBuildTask",
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
        stepName: "myStep",
    });
    
    resources:
      buildStep:
        type: azure-native:containerregistry:BuildStep
        properties:
          buildTaskName: myBuildTask
          registryName: myRegistry
          resourceGroupName: myResourceGroup
          stepName: myStep
    

    Create BuildStep Resource

    new BuildStep(name: string, args: BuildStepArgs, opts?: CustomResourceOptions);
    @overload
    def BuildStep(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  build_task_name: Optional[str] = None,
                  registry_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  step_name: Optional[str] = None)
    @overload
    def BuildStep(resource_name: str,
                  args: BuildStepArgs,
                  opts: Optional[ResourceOptions] = None)
    func NewBuildStep(ctx *Context, name string, args BuildStepArgs, opts ...ResourceOption) (*BuildStep, error)
    public BuildStep(string name, BuildStepArgs args, CustomResourceOptions? opts = null)
    public BuildStep(String name, BuildStepArgs args)
    public BuildStep(String name, BuildStepArgs args, CustomResourceOptions options)
    
    type: azure-native:containerregistry:BuildStep
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args BuildStepArgs
    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 BuildStepArgs
    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 BuildStepArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BuildStepArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BuildStepArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BuildStep 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 BuildStep resource accepts the following input properties:

    BuildTaskName string

    The name of the container registry build task.

    RegistryName string

    The name of the container registry.

    ResourceGroupName string

    The name of the resource group to which the container registry belongs.

    StepName string

    The name of a build step for a container registry build task.

    BuildTaskName string

    The name of the container registry build task.

    RegistryName string

    The name of the container registry.

    ResourceGroupName string

    The name of the resource group to which the container registry belongs.

    StepName string

    The name of a build step for a container registry build task.

    buildTaskName String

    The name of the container registry build task.

    registryName String

    The name of the container registry.

    resourceGroupName String

    The name of the resource group to which the container registry belongs.

    stepName String

    The name of a build step for a container registry build task.

    buildTaskName string

    The name of the container registry build task.

    registryName string

    The name of the container registry.

    resourceGroupName string

    The name of the resource group to which the container registry belongs.

    stepName string

    The name of a build step for a container registry build task.

    build_task_name str

    The name of the container registry build task.

    registry_name str

    The name of the container registry.

    resource_group_name str

    The name of the resource group to which the container registry belongs.

    step_name str

    The name of a build step for a container registry build task.

    buildTaskName String

    The name of the container registry build task.

    registryName String

    The name of the container registry.

    resourceGroupName String

    The name of the resource group to which the container registry belongs.

    stepName String

    The name of a build step for a container registry build task.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BuildStep resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the resource.

    Properties Pulumi.AzureNative.ContainerRegistry.Outputs.DockerBuildStepResponse

    The properties of a build step.

    Type string

    The type of the resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    Name string

    The name of the resource.

    Properties DockerBuildStepResponse

    The properties of a build step.

    Type string

    The type of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the resource.

    properties DockerBuildStepResponse

    The properties of a build step.

    type String

    The type of the resource.

    id string

    The provider-assigned unique ID for this managed resource.

    name string

    The name of the resource.

    properties DockerBuildStepResponse

    The properties of a build step.

    type string

    The type of the resource.

    id str

    The provider-assigned unique ID for this managed resource.

    name str

    The name of the resource.

    properties DockerBuildStepResponse

    The properties of a build step.

    type str

    The type of the resource.

    id String

    The provider-assigned unique ID for this managed resource.

    name String

    The name of the resource.

    properties Property Map

    The properties of a build step.

    type String

    The type of the resource.

    Supporting Types

    ArgumentResponse, ArgumentResponseArgs

    Name string

    The name of the argument.

    Value string

    The value of the argument.

    IsSecret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    Name string

    The name of the argument.

    Value string

    The value of the argument.

    IsSecret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name String

    The name of the argument.

    value String

    The value of the argument.

    isSecret Boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name string

    The name of the argument.

    value string

    The value of the argument.

    isSecret boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name str

    The name of the argument.

    value str

    The value of the argument.

    is_secret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name String

    The name of the argument.

    value String

    The value of the argument.

    isSecret Boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    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.

    BuildArgumentResponse, BuildArgumentResponseArgs

    Name string

    The name of the argument.

    Type string

    The type of the argument.

    Value string

    The value of the argument.

    IsSecret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    Name string

    The name of the argument.

    Type string

    The type of the argument.

    Value string

    The value of the argument.

    IsSecret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name String

    The name of the argument.

    type String

    The type of the argument.

    value String

    The value of the argument.

    isSecret Boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name string

    The name of the argument.

    type string

    The type of the argument.

    value string

    The value of the argument.

    isSecret boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name str

    The name of the argument.

    type str

    The type of the argument.

    value str

    The value of the argument.

    is_secret bool

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    name String

    The name of the argument.

    type String

    The type of the argument.

    value String

    The value of the argument.

    isSecret Boolean

    Flag to indicate whether the argument represents a secret and want to be removed from build logs.

    DockerBuildStepResponse, DockerBuildStepResponseArgs

    BaseImageDependencies List<Pulumi.AzureNative.ContainerRegistry.Inputs.BaseImageDependencyResponse>

    List of base image dependencies for a step.

    DockerFilePath string

    The Docker file path relative to the source context.

    Arguments List<Pulumi.AzureNative.ContainerRegistry.Inputs.ArgumentResponse>

    The collection of override arguments to be used when executing this build step.

    BaseImageTrigger string

    The type of the auto trigger for base image dependency updates.

    Branch string

    The repository branch name.

    BuildArguments List<Pulumi.AzureNative.ContainerRegistry.Inputs.BuildArgumentResponse>

    The custom arguments for building this build step.

    ContextAccessToken string

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    ContextPath string

    The URL(absolute or relative) of the source context for the task step.

    ImageNames List<string>

    The fully qualified image names including the repository and tag.

    IsPushEnabled bool

    The value of this property indicates whether the image built should be pushed to the registry or not.

    NoCache bool

    The value of this property indicates whether the image cache is enabled or not.

    ProvisioningState string

    The provisioning state of the build step.

    Target string

    The name of the target build stage for the docker build.

    BaseImageDependencies []BaseImageDependencyResponse

    List of base image dependencies for a step.

    DockerFilePath string

    The Docker file path relative to the source context.

    Arguments []ArgumentResponse

    The collection of override arguments to be used when executing this build step.

    BaseImageTrigger string

    The type of the auto trigger for base image dependency updates.

    Branch string

    The repository branch name.

    BuildArguments []BuildArgumentResponse

    The custom arguments for building this build step.

    ContextAccessToken string

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    ContextPath string

    The URL(absolute or relative) of the source context for the task step.

    ImageNames []string

    The fully qualified image names including the repository and tag.

    IsPushEnabled bool

    The value of this property indicates whether the image built should be pushed to the registry or not.

    NoCache bool

    The value of this property indicates whether the image cache is enabled or not.

    ProvisioningState string

    The provisioning state of the build step.

    Target string

    The name of the target build stage for the docker build.

    baseImageDependencies List<BaseImageDependencyResponse>

    List of base image dependencies for a step.

    dockerFilePath String

    The Docker file path relative to the source context.

    arguments List<ArgumentResponse>

    The collection of override arguments to be used when executing this build step.

    baseImageTrigger String

    The type of the auto trigger for base image dependency updates.

    branch String

    The repository branch name.

    buildArguments List<BuildArgumentResponse>

    The custom arguments for building this build step.

    contextAccessToken String

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    contextPath String

    The URL(absolute or relative) of the source context for the task step.

    imageNames List<String>

    The fully qualified image names including the repository and tag.

    isPushEnabled Boolean

    The value of this property indicates whether the image built should be pushed to the registry or not.

    noCache Boolean

    The value of this property indicates whether the image cache is enabled or not.

    provisioningState String

    The provisioning state of the build step.

    target String

    The name of the target build stage for the docker build.

    baseImageDependencies BaseImageDependencyResponse[]

    List of base image dependencies for a step.

    dockerFilePath string

    The Docker file path relative to the source context.

    arguments ArgumentResponse[]

    The collection of override arguments to be used when executing this build step.

    baseImageTrigger string

    The type of the auto trigger for base image dependency updates.

    branch string

    The repository branch name.

    buildArguments BuildArgumentResponse[]

    The custom arguments for building this build step.

    contextAccessToken string

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    contextPath string

    The URL(absolute or relative) of the source context for the task step.

    imageNames string[]

    The fully qualified image names including the repository and tag.

    isPushEnabled boolean

    The value of this property indicates whether the image built should be pushed to the registry or not.

    noCache boolean

    The value of this property indicates whether the image cache is enabled or not.

    provisioningState string

    The provisioning state of the build step.

    target string

    The name of the target build stage for the docker build.

    base_image_dependencies Sequence[BaseImageDependencyResponse]

    List of base image dependencies for a step.

    docker_file_path str

    The Docker file path relative to the source context.

    arguments Sequence[ArgumentResponse]

    The collection of override arguments to be used when executing this build step.

    base_image_trigger str

    The type of the auto trigger for base image dependency updates.

    branch str

    The repository branch name.

    build_arguments Sequence[BuildArgumentResponse]

    The custom arguments for building this build step.

    context_access_token str

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    context_path str

    The URL(absolute or relative) of the source context for the task step.

    image_names Sequence[str]

    The fully qualified image names including the repository and tag.

    is_push_enabled bool

    The value of this property indicates whether the image built should be pushed to the registry or not.

    no_cache bool

    The value of this property indicates whether the image cache is enabled or not.

    provisioning_state str

    The provisioning state of the build step.

    target str

    The name of the target build stage for the docker build.

    baseImageDependencies List<Property Map>

    List of base image dependencies for a step.

    dockerFilePath String

    The Docker file path relative to the source context.

    arguments List<Property Map>

    The collection of override arguments to be used when executing this build step.

    baseImageTrigger String

    The type of the auto trigger for base image dependency updates.

    branch String

    The repository branch name.

    buildArguments List<Property Map>

    The custom arguments for building this build step.

    contextAccessToken String

    The token (git PAT or SAS token of storage account blob) associated with the context for a step.

    contextPath String

    The URL(absolute or relative) of the source context for the task step.

    imageNames List<String>

    The fully qualified image names including the repository and tag.

    isPushEnabled Boolean

    The value of this property indicates whether the image built should be pushed to the registry or not.

    noCache Boolean

    The value of this property indicates whether the image cache is enabled or not.

    provisioningState String

    The provisioning state of the build step.

    target String

    The name of the target build stage for the docker build.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerregistry:BuildStep myStep /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/buildTasks/{buildTaskName}/steps/{stepName} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi