azure-native.containerregistry.getBuildStep
Explore with Pulumi AI
Gets the build step for a build task. Azure REST API version: 2018-02-01-preview.
Using getBuildStep
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBuildStep(args: GetBuildStepArgs, opts?: InvokeOptions): Promise<GetBuildStepResult>
function getBuildStepOutput(args: GetBuildStepOutputArgs, opts?: InvokeOptions): Output<GetBuildStepResult>
def get_build_step(build_task_name: Optional[str] = None,
registry_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
step_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBuildStepResult
def get_build_step_output(build_task_name: Optional[pulumi.Input[str]] = None,
registry_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
step_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBuildStepResult]
func LookupBuildStep(ctx *Context, args *LookupBuildStepArgs, opts ...InvokeOption) (*LookupBuildStepResult, error)
func LookupBuildStepOutput(ctx *Context, args *LookupBuildStepOutputArgs, opts ...InvokeOption) LookupBuildStepResultOutput
> Note: This function is named LookupBuildStep
in the Go SDK.
public static class GetBuildStep
{
public static Task<GetBuildStepResult> InvokeAsync(GetBuildStepArgs args, InvokeOptions? opts = null)
public static Output<GetBuildStepResult> Invoke(GetBuildStepInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBuildStepResult> getBuildStep(GetBuildStepArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:containerregistry:getBuildStep
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
getBuildStep Result
The following output properties are available:
- Id string
The resource ID.
- 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 resource ID.
- 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 resource ID.
- 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 resource ID.
- 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 resource ID.
- 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 resource ID.
- 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
BaseImageDependencyResponse
- 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
DockerBuildStepResponse
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0