Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.DevOps.getBuildPipelineStages
Explore with Pulumi AI
This data source provides the list of Build Pipeline Stages in Oracle Cloud Infrastructure Devops service.
Returns a list of all stages in a compartment or build pipeline.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBuildPipelineStages = oci.DevOps.getBuildPipelineStages({
buildPipelineId: testBuildPipeline.id,
compartmentId: compartmentId,
displayName: buildPipelineStageDisplayName,
id: buildPipelineStageId,
state: buildPipelineStageState,
});
import pulumi
import pulumi_oci as oci
test_build_pipeline_stages = oci.DevOps.get_build_pipeline_stages(build_pipeline_id=test_build_pipeline["id"],
compartment_id=compartment_id,
display_name=build_pipeline_stage_display_name,
id=build_pipeline_stage_id,
state=build_pipeline_stage_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DevOps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DevOps.GetBuildPipelineStages(ctx, &devops.GetBuildPipelineStagesArgs{
BuildPipelineId: pulumi.StringRef(testBuildPipeline.Id),
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(buildPipelineStageDisplayName),
Id: pulumi.StringRef(buildPipelineStageId),
State: pulumi.StringRef(buildPipelineStageState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testBuildPipelineStages = Oci.DevOps.GetBuildPipelineStages.Invoke(new()
{
BuildPipelineId = testBuildPipeline.Id,
CompartmentId = compartmentId,
DisplayName = buildPipelineStageDisplayName,
Id = buildPipelineStageId,
State = buildPipelineStageState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.DevOpsFunctions;
import com.pulumi.oci.DevOps.inputs.GetBuildPipelineStagesArgs;
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) {
final var testBuildPipelineStages = DevOpsFunctions.getBuildPipelineStages(GetBuildPipelineStagesArgs.builder()
.buildPipelineId(testBuildPipeline.id())
.compartmentId(compartmentId)
.displayName(buildPipelineStageDisplayName)
.id(buildPipelineStageId)
.state(buildPipelineStageState)
.build());
}
}
variables:
testBuildPipelineStages:
fn::invoke:
Function: oci:DevOps:getBuildPipelineStages
Arguments:
buildPipelineId: ${testBuildPipeline.id}
compartmentId: ${compartmentId}
displayName: ${buildPipelineStageDisplayName}
id: ${buildPipelineStageId}
state: ${buildPipelineStageState}
Using getBuildPipelineStages
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 getBuildPipelineStages(args: GetBuildPipelineStagesArgs, opts?: InvokeOptions): Promise<GetBuildPipelineStagesResult>
function getBuildPipelineStagesOutput(args: GetBuildPipelineStagesOutputArgs, opts?: InvokeOptions): Output<GetBuildPipelineStagesResult>
def get_build_pipeline_stages(build_pipeline_id: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[_devops.GetBuildPipelineStagesFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBuildPipelineStagesResult
def get_build_pipeline_stages_output(build_pipeline_id: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetBuildPipelineStagesFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBuildPipelineStagesResult]
func GetBuildPipelineStages(ctx *Context, args *GetBuildPipelineStagesArgs, opts ...InvokeOption) (*GetBuildPipelineStagesResult, error)
func GetBuildPipelineStagesOutput(ctx *Context, args *GetBuildPipelineStagesOutputArgs, opts ...InvokeOption) GetBuildPipelineStagesResultOutput
> Note: This function is named GetBuildPipelineStages
in the Go SDK.
public static class GetBuildPipelineStages
{
public static Task<GetBuildPipelineStagesResult> InvokeAsync(GetBuildPipelineStagesArgs args, InvokeOptions? opts = null)
public static Output<GetBuildPipelineStagesResult> Invoke(GetBuildPipelineStagesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBuildPipelineStagesResult> getBuildPipelineStages(GetBuildPipelineStagesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DevOps/getBuildPipelineStages:getBuildPipelineStages
arguments:
# arguments dictionary
The following arguments are supported:
- Build
Pipeline stringId - The OCID of the parent build pipeline.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
List<Get
Build Pipeline Stages Filter> - Id string
- Unique identifier or OCID for listing a single resource by ID.
- State string
- A filter to return the stages that matches the given lifecycle state.
- Build
Pipeline stringId - The OCID of the parent build pipeline.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
[]Get
Build Pipeline Stages Filter - Id string
- Unique identifier or OCID for listing a single resource by ID.
- State string
- A filter to return the stages that matches the given lifecycle state.
- build
Pipeline StringId - The OCID of the parent build pipeline.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
List<Get
Build Pipeline Stages Filter> - id String
- Unique identifier or OCID for listing a single resource by ID.
- state String
- A filter to return the stages that matches the given lifecycle state.
- build
Pipeline stringId - The OCID of the parent build pipeline.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Get
Build Pipeline Stages Filter[] - id string
- Unique identifier or OCID for listing a single resource by ID.
- state string
- A filter to return the stages that matches the given lifecycle state.
- build_
pipeline_ strid - The OCID of the parent build pipeline.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the entire display name given.
- filters
Sequence[devops.
Get Build Pipeline Stages Filter] - id str
- Unique identifier or OCID for listing a single resource by ID.
- state str
- A filter to return the stages that matches the given lifecycle state.
- build
Pipeline StringId - The OCID of the parent build pipeline.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters List<Property Map>
- id String
- Unique identifier or OCID for listing a single resource by ID.
- state String
- A filter to return the stages that matches the given lifecycle state.
getBuildPipelineStages Result
The following output properties are available:
- Build
Pipeline List<GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection> - The list of build_pipeline_stage_collection.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Compartment
Id string - The OCID of the compartment where the pipeline is created.
- Display
Name string - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
List<Get
Build Pipeline Stages Filter> - Id string
- Unique identifier that is immutable on creation.
- State string
- The current state of the stage.
- Build
Pipeline []GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection - The list of build_pipeline_stage_collection.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Compartment
Id string - The OCID of the compartment where the pipeline is created.
- Display
Name string - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
[]Get
Build Pipeline Stages Filter - Id string
- Unique identifier that is immutable on creation.
- State string
- The current state of the stage.
- build
Pipeline List<GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection> - The list of build_pipeline_stage_collection.
- build
Pipeline StringId - The OCID of the build pipeline.
- compartment
Id String - The OCID of the compartment where the pipeline is created.
- display
Name String - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
List<Get
Build Pipeline Stages Filter> - id String
- Unique identifier that is immutable on creation.
- state String
- The current state of the stage.
- build
Pipeline GetStage Collections Build Pipeline Stages Build Pipeline Stage Collection[] - The list of build_pipeline_stage_collection.
- build
Pipeline stringId - The OCID of the build pipeline.
- compartment
Id string - The OCID of the compartment where the pipeline is created.
- display
Name string - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
Get
Build Pipeline Stages Filter[] - id string
- Unique identifier that is immutable on creation.
- state string
- The current state of the stage.
- build_
pipeline_ Sequence[devops.stage_ collections Get Build Pipeline Stages Build Pipeline Stage Collection] - The list of build_pipeline_stage_collection.
- build_
pipeline_ strid - The OCID of the build pipeline.
- compartment_
id str - The OCID of the compartment where the pipeline is created.
- display_
name str - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
Sequence[devops.
Get Build Pipeline Stages Filter] - id str
- Unique identifier that is immutable on creation.
- state str
- The current state of the stage.
- build
Pipeline List<Property Map>Stage Collections - The list of build_pipeline_stage_collection.
- build
Pipeline StringId - The OCID of the build pipeline.
- compartment
Id String - The OCID of the compartment where the pipeline is created.
- display
Name String - Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters List<Property Map>
- id String
- Unique identifier that is immutable on creation.
- state String
- The current state of the stage.
Supporting Types
GetBuildPipelineStagesBuildPipelineStageCollection
- Items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]Get
Build Pipeline Stages Build Pipeline Stage Collection Item - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Get
Build Pipeline Stages Build Pipeline Stage Collection Item[] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[devops.
Get Build Pipeline Stages Build Pipeline Stage Collection Item] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItem
- Build
Pipeline stringId - The OCID of the parent build pipeline.
- Build
Pipeline List<GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection> - The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config - The information about build runner.
- Build
Source GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection - Collection of build sources.
- Build
Spec stringFile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Connection
Type string - The type of source provider.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deliver
Artifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - A target deployment pipeline OCID that will run in this stage.
- Description string
- Optional description about the build stage.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Image string
- Image name for the build environment.
- Is
Pass boolAll Parameters Enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Primary
Build stringSource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- Private
Access GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- Project
Id string - The OCID of the DevOps project.
- Stage
Execution intTimeout In Seconds - Timeout for the build stage execution. Specify value in seconds.
- State string
- A filter to return the stages that matches the given lifecycle state.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the stage was created. Format defined by RFC3339.
- Time
Updated string - The time the stage was updated. Format defined by RFC3339.
- Wait
Criteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria - Specifies wait criteria for the Wait stage.
- Build
Pipeline stringId - The OCID of the parent build pipeline.
- Build
Pipeline []GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection - The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config - The information about build runner.
- Build
Source GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection - Collection of build sources.
- Build
Spec stringFile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Connection
Type string - The type of source provider.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deliver
Artifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - A target deployment pipeline OCID that will run in this stage.
- Description string
- Optional description about the build stage.
- Display
Name string - A filter to return only resources that match the entire display name given.
- map[string]string
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Image string
- Image name for the build environment.
- Is
Pass boolAll Parameters Enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- Lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- Primary
Build stringSource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- Private
Access GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- Project
Id string - The OCID of the DevOps project.
- Stage
Execution intTimeout In Seconds - Timeout for the build stage execution. Specify value in seconds.
- State string
- A filter to return the stages that matches the given lifecycle state.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time the stage was created. Format defined by RFC3339.
- Time
Updated string - The time the stage was updated. Format defined by RFC3339.
- Wait
Criteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria - Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the parent build pipeline.
- build
Pipeline List<GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection> - The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config - The information about build runner.
- build
Source GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection - Collection of build sources.
- build
Spec StringFile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartment
Id String - The OCID of the compartment in which to list resources.
- connection
Type String - The type of source provider.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deliver
Artifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - A target deployment pipeline OCID that will run in this stage.
- description String
- Optional description about the build stage.
- display
Name String - A filter to return only resources that match the entire display name given.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single resource by ID.
- image String
- Image name for the build environment.
- is
Pass BooleanAll Parameters Enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- primary
Build StringSource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- private
Access GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- project
Id String - The OCID of the DevOps project.
- stage
Execution IntegerTimeout In Seconds - Timeout for the build stage execution. Specify value in seconds.
- state String
- A filter to return the stages that matches the given lifecycle state.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the stage was created. Format defined by RFC3339.
- time
Updated String - The time the stage was updated. Format defined by RFC3339.
- wait
Criteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria - Specifies wait criteria for the Wait stage.
- build
Pipeline stringId - The OCID of the parent build pipeline.
- build
Pipeline GetStage Predecessor Collections Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection[] - The collection containing the predecessors of a stage.
- build
Pipeline stringStage Type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner GetShape Config Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config - The information about build runner.
- build
Source GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection - Collection of build sources.
- build
Spec stringFile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartment
Id string - The OCID of the compartment in which to list resources.
- connection
Type string - The type of source provider.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deliver
Artifact GetCollection Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline stringId - A target deployment pipeline OCID that will run in this stage.
- description string
- Optional description about the build stage.
- display
Name string - A filter to return only resources that match the entire display name given.
- {[key: string]: string}
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id string
- Unique identifier or OCID for listing a single resource by ID.
- image string
- Image name for the build environment.
- is
Pass booleanAll Parameters Enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycle
Details string - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- primary
Build stringSource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- private
Access GetConfig Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- project
Id string - The OCID of the DevOps project.
- stage
Execution numberTimeout In Seconds - Timeout for the build stage execution. Specify value in seconds.
- state string
- A filter to return the stages that matches the given lifecycle state.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time the stage was created. Format defined by RFC3339.
- time
Updated string - The time the stage was updated. Format defined by RFC3339.
- wait
Criteria GetBuild Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria - Specifies wait criteria for the Wait stage.
- build_
pipeline_ strid - The OCID of the parent build pipeline.
- build_
pipeline_ Sequence[devops.stage_ predecessor_ collections Get Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection] - The collection containing the predecessors of a stage.
- build_
pipeline_ strstage_ type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build_
runner_ devops.shape_ config Get Build Pipeline Stages Build Pipeline Stage Collection Item Build Runner Shape Config - The information about build runner.
- build_
source_ devops.collection Get Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection - Collection of build sources.
- build_
spec_ strfile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartment_
id str - The OCID of the compartment in which to list resources.
- connection_
type str - The type of source provider.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deliver_
artifact_ devops.collection Get Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy_
pipeline_ strid - A target deployment pipeline OCID that will run in this stage.
- description str
- Optional description about the build stage.
- display_
name str - A filter to return only resources that match the entire display name given.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id str
- Unique identifier or OCID for listing a single resource by ID.
- image str
- Image name for the build environment.
- is_
pass_ boolall_ parameters_ enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- primary_
build_ strsource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- private_
access_ devops.config Get Build Pipeline Stages Build Pipeline Stage Collection Item Private Access Config - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- project_
id str - The OCID of the DevOps project.
- stage_
execution_ inttimeout_ in_ seconds - Timeout for the build stage execution. Specify value in seconds.
- state str
- A filter to return the stages that matches the given lifecycle state.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - The time the stage was created. Format defined by RFC3339.
- time_
updated str - The time the stage was updated. Format defined by RFC3339.
- wait_
criteria devops.Get Build Pipeline Stages Build Pipeline Stage Collection Item Wait Criteria - Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the parent build pipeline.
- build
Pipeline List<Property Map>Stage Predecessor Collections - The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner Property MapShape Config - The information about build runner.
- build
Source Property MapCollection - Collection of build sources.
- build
Spec StringFile - The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- compartment
Id String - The OCID of the compartment in which to list resources.
- connection
Type String - The type of source provider.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deliver
Artifact Property MapCollection - Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - A target deployment pipeline OCID that will run in this stage.
- description String
- Optional description about the build stage.
- display
Name String - A filter to return only resources that match the entire display name given.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- id String
- Unique identifier or OCID for listing a single resource by ID.
- image String
- Image name for the build environment.
- is
Pass BooleanAll Parameters Enabled - A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- lifecycle
Details String - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- primary
Build StringSource - Name of the build source where the build_spec.yml file is located. If not specified, then the first entry in the build source collection is chosen as primary build source.
- private
Access Property MapConfig - Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- project
Id String - The OCID of the DevOps project.
- stage
Execution NumberTimeout In Seconds - Timeout for the build stage execution. Specify value in seconds.
- state String
- A filter to return the stages that matches the given lifecycle state.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time the stage was created. Format defined by RFC3339.
- time
Updated String - The time the stage was updated. Format defined by RFC3339.
- wait
Criteria Property Map - Specifies wait criteria for the Wait stage.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollection
- Items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item[] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[devops.
Get Build Pipeline Stages Build Pipeline Stage Collection Item Build Pipeline Stage Predecessor Collection Item] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItem
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- Id string
- Unique identifier or OCID for listing a single resource by ID.
- id String
- Unique identifier or OCID for listing a single resource by ID.
- id string
- Unique identifier or OCID for listing a single resource by ID.
- id str
- Unique identifier or OCID for listing a single resource by ID.
- id String
- Unique identifier or OCID for listing a single resource by ID.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfig
- Build
Runner stringType - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- Memory
In intGbs - The total amount of memory set for the instance in gigabytes.
- Ocpus int
- The total number of OCPUs set for the instance.
- Build
Runner stringType - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- Memory
In intGbs - The total amount of memory set for the instance in gigabytes.
- Ocpus int
- The total number of OCPUs set for the instance.
- build
Runner StringType - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In IntegerGbs - The total amount of memory set for the instance in gigabytes.
- ocpus Integer
- The total number of OCPUs set for the instance.
- build
Runner stringType - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In numberGbs - The total amount of memory set for the instance in gigabytes.
- ocpus number
- The total number of OCPUs set for the instance.
- build_
runner_ strtype - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory_
in_ intgbs - The total amount of memory set for the instance in gigabytes.
- ocpus int
- The total number of OCPUs set for the instance.
- build
Runner StringType - Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In NumberGbs - The total amount of memory set for the instance in gigabytes.
- ocpus Number
- The total number of OCPUs set for the instance.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollection
- Items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Get
Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item[] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[devops.
Get Build Pipeline Stages Build Pipeline Stage Collection Item Build Source Collection Item] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItem
- Branch string
- Branch name.
- Connection
Id string - Connection identifier pertinent to Bitbucket Server source provider
- Connection
Type string - The type of source provider.
- Name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- Repository
Id string - The DevOps code repository ID.
- Repository
Url string - URL for the repository.
- Branch string
- Branch name.
- Connection
Id string - Connection identifier pertinent to Bitbucket Server source provider
- Connection
Type string - The type of source provider.
- Name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- Repository
Id string - The DevOps code repository ID.
- Repository
Url string - URL for the repository.
- branch String
- Branch name.
- connection
Id String - Connection identifier pertinent to Bitbucket Server source provider
- connection
Type String - The type of source provider.
- name String
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repository
Id String - The DevOps code repository ID.
- repository
Url String - URL for the repository.
- branch string
- Branch name.
- connection
Id string - Connection identifier pertinent to Bitbucket Server source provider
- connection
Type string - The type of source provider.
- name string
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repository
Id string - The DevOps code repository ID.
- repository
Url string - URL for the repository.
- branch str
- Branch name.
- connection_
id str - Connection identifier pertinent to Bitbucket Server source provider
- connection_
type str - The type of source provider.
- name str
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repository_
id str - The DevOps code repository ID.
- repository_
url str - URL for the repository.
- branch String
- Branch name.
- connection
Id String - Connection identifier pertinent to Bitbucket Server source provider
- connection
Type String - The type of source provider.
- name String
- Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository.
- repository
Id String - The DevOps code repository ID.
- repository
Url String - URL for the repository.
GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollection
- Items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- Items
[]Get
Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
List<Get
Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item> - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Get
Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item[] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items
Sequence[devops.
Get Build Pipeline Stages Build Pipeline Stage Collection Item Deliver Artifact Collection Item] - Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
- items List<Property Map>
- Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported.
GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItem
- Artifact
Id string - Artifact identifier that contains the artifact definition.
- Artifact
Name string - Name of the artifact specified in the build_spec.yaml file.
- Artifact
Id string - Artifact identifier that contains the artifact definition.
- Artifact
Name string - Name of the artifact specified in the build_spec.yaml file.
- artifact
Id String - Artifact identifier that contains the artifact definition.
- artifact
Name String - Name of the artifact specified in the build_spec.yaml file.
- artifact
Id string - Artifact identifier that contains the artifact definition.
- artifact
Name string - Name of the artifact specified in the build_spec.yaml file.
- artifact_
id str - Artifact identifier that contains the artifact definition.
- artifact_
name str - Name of the artifact specified in the build_spec.yaml file.
- artifact
Id String - Artifact identifier that contains the artifact definition.
- artifact
Name String - Name of the artifact specified in the build_spec.yaml file.
GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfig
- Network
Channel stringType - Network channel type.
- Nsg
Ids List<string> - An array of network security group OCIDs.
- Subnet
Id string - The OCID of the subnet where VNIC resources will be created for private endpoint.
- Network
Channel stringType - Network channel type.
- Nsg
Ids []string - An array of network security group OCIDs.
- Subnet
Id string - The OCID of the subnet where VNIC resources will be created for private endpoint.
- network
Channel StringType - Network channel type.
- nsg
Ids List<String> - An array of network security group OCIDs.
- subnet
Id String - The OCID of the subnet where VNIC resources will be created for private endpoint.
- network
Channel stringType - Network channel type.
- nsg
Ids string[] - An array of network security group OCIDs.
- subnet
Id string - The OCID of the subnet where VNIC resources will be created for private endpoint.
- network_
channel_ strtype - Network channel type.
- nsg_
ids Sequence[str] - An array of network security group OCIDs.
- subnet_
id str - The OCID of the subnet where VNIC resources will be created for private endpoint.
- network
Channel StringType - Network channel type.
- nsg
Ids List<String> - An array of network security group OCIDs.
- subnet
Id String - The OCID of the subnet where VNIC resources will be created for private endpoint.
GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteria
- Wait
Duration string - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- Wait
Type string - Wait criteria type.
- Wait
Duration string - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- Wait
Type string - Wait criteria type.
- wait
Duration String - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- wait
Type String - Wait criteria type.
- wait
Duration string - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- wait
Type string - Wait criteria type.
- wait_
duration str - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- wait_
type str - Wait criteria type.
- wait
Duration String - The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days.
- wait
Type String - Wait criteria type.
GetBuildPipelineStagesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.