azure-native.containerregistry.BuildStep
Explore with Pulumi AI
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:
- Build
Task stringName The name of the container registry build task.
- Registry
Name string The name of the container registry.
- Resource
Group stringName The name of the resource group to which the container registry belongs.
- Step
Name string The name of a build step for a container registry build task.
- Build
Task stringName The name of the container registry build task.
- Registry
Name string The name of the container registry.
- Resource
Group stringName The name of the resource group to which the container registry belongs.
- Step
Name string The name of a build step for a container registry build task.
- build
Task StringName The name of the container registry build task.
- registry
Name String The name of the container registry.
- resource
Group StringName The name of the resource group to which the container registry belongs.
- step
Name String The name of a build step for a container registry build task.
- build
Task stringName The name of the container registry build task.
- registry
Name string The name of the container registry.
- resource
Group stringName The name of the resource group to which the container registry belongs.
- step
Name string The name of a build step for a container registry build task.
- build_
task_ strname The name of the container registry build task.
- registry_
name str The name of the container registry.
- resource_
group_ strname The name of the resource group to which the container registry belongs.
- step_
name str The name of a build step for a container registry build task.
- build
Task StringName The name of the container registry build task.
- registry
Name String The name of the container registry.
- resource
Group StringName The name of the resource group to which the container registry belongs.
- step
Name 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.
Azure Native. Container Registry. Outputs. Docker Build Step Response 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
Docker
Build Step Response 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
Docker
Build Step Response 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
Docker
Build Step Response 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
Docker
Build Step Response 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
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
DockerBuildStepResponse, DockerBuildStepResponseArgs
- Base
Image List<Pulumi.Dependencies Azure Native. Container Registry. Inputs. Base Image Dependency Response> List of base image dependencies for a step.
- Docker
File stringPath The Docker file path relative to the source context.
- Arguments
List<Pulumi.
Azure Native. Container Registry. Inputs. Argument Response> The collection of override arguments to be used when executing this build step.
- Base
Image stringTrigger The type of the auto trigger for base image dependency updates.
- Branch string
The repository branch name.
- Build
Arguments List<Pulumi.Azure Native. Container Registry. Inputs. Build Argument Response> The custom arguments for building this build step.
- Context
Access stringToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string The URL(absolute or relative) of the source context for the task step.
- Image
Names List<string> The fully qualified image names including the repository and tag.
- Is
Push boolEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
- No
Cache bool The value of this property indicates whether the image cache is enabled or not.
- Provisioning
State string The provisioning state of the build step.
- Target string
The name of the target build stage for the docker build.
- Base
Image []BaseDependencies Image Dependency Response List of base image dependencies for a step.
- Docker
File stringPath The Docker file path relative to the source context.
- Arguments
[]Argument
Response The collection of override arguments to be used when executing this build step.
- Base
Image stringTrigger The type of the auto trigger for base image dependency updates.
- Branch string
The repository branch name.
- Build
Arguments []BuildArgument Response The custom arguments for building this build step.
- Context
Access stringToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- Context
Path string The URL(absolute or relative) of the source context for the task step.
- Image
Names []string The fully qualified image names including the repository and tag.
- Is
Push boolEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
- No
Cache bool The value of this property indicates whether the image cache is enabled or not.
- Provisioning
State string The provisioning state of the build step.
- Target string
The name of the target build stage for the docker build.
- base
Image List<BaseDependencies Image Dependency Response> List of base image dependencies for a step.
- docker
File StringPath The Docker file path relative to the source context.
- arguments
List<Argument
Response> The collection of override arguments to be used when executing this build step.
- base
Image StringTrigger The type of the auto trigger for base image dependency updates.
- branch String
The repository branch name.
- build
Arguments List<BuildArgument Response> The custom arguments for building this build step.
- context
Access StringToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache Boolean The value of this property indicates whether the image cache is enabled or not.
- provisioning
State String The provisioning state of the build step.
- target String
The name of the target build stage for the docker build.
- base
Image BaseDependencies Image Dependency Response[] List of base image dependencies for a step.
- docker
File stringPath The Docker file path relative to the source context.
- arguments
Argument
Response[] The collection of override arguments to be used when executing this build step.
- base
Image stringTrigger The type of the auto trigger for base image dependency updates.
- branch string
The repository branch name.
- build
Arguments BuildArgument Response[] The custom arguments for building this build step.
- context
Access stringToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path string The URL(absolute or relative) of the source context for the task step.
- image
Names string[] The fully qualified image names including the repository and tag.
- is
Push booleanEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache boolean The value of this property indicates whether the image cache is enabled or not.
- provisioning
State string The provisioning state of the build step.
- target string
The name of the target build stage for the docker build.
- base_
image_ Sequence[Basedependencies Image Dependency Response] List of base image dependencies for a step.
- docker_
file_ strpath The Docker file path relative to the source context.
- arguments
Sequence[Argument
Response] The collection of override arguments to be used when executing this build step.
- base_
image_ strtrigger The type of the auto trigger for base image dependency updates.
- branch str
The repository branch name.
- build_
arguments Sequence[BuildArgument Response] The custom arguments for building this build step.
- context_
access_ strtoken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context_
path str The URL(absolute or relative) of the source context for the task step.
- image_
names Sequence[str] The fully qualified image names including the repository and tag.
- is_
push_ boolenabled The value of this property indicates whether the image built should be pushed to the registry or not.
- no_
cache bool The value of this property indicates whether the image cache is enabled or not.
- provisioning_
state str The provisioning state of the build step.
- target str
The name of the target build stage for the docker build.
- base
Image List<Property Map>Dependencies List of base image dependencies for a step.
- docker
File StringPath The Docker file path relative to the source context.
- arguments List<Property Map>
The collection of override arguments to be used when executing this build step.
- base
Image StringTrigger The type of the auto trigger for base image dependency updates.
- branch String
The repository branch name.
- build
Arguments List<Property Map> The custom arguments for building this build step.
- context
Access StringToken The token (git PAT or SAS token of storage account blob) associated with the context for a step.
- context
Path String The URL(absolute or relative) of the source context for the task step.
- image
Names List<String> The fully qualified image names including the repository and tag.
- is
Push BooleanEnabled The value of this property indicates whether the image built should be pushed to the registry or not.
- no
Cache Boolean The value of this property indicates whether the image cache is enabled or not.
- provisioning
State 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