oci.DevOps.BuildPipelineStage
Explore with Pulumi AI
This resource provides the Build Pipeline Stage resource in Oracle Cloud Infrastructure Devops service.
Creates a new stage.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testBuildPipelineStage = new oci.devops.BuildPipelineStage("test_build_pipeline_stage", {
buildPipelineId: testBuildPipeline.id,
buildPipelineStagePredecessorCollection: {
items: [{
id: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId,
}],
},
buildPipelineStageType: buildPipelineStageBuildPipelineStageType,
buildRunnerShapeConfig: {
buildRunnerType: buildPipelineStageBuildRunnerShapeConfigBuildRunnerType,
memoryInGbs: buildPipelineStageBuildRunnerShapeConfigMemoryInGbs,
ocpus: buildPipelineStageBuildRunnerShapeConfigOcpus,
},
buildSourceCollection: {
items: [{
connectionType: buildPipelineStageBuildSourceCollectionItemsConnectionType,
branch: buildPipelineStageBuildSourceCollectionItemsBranch,
connectionId: testConnection.id,
name: buildPipelineStageBuildSourceCollectionItemsName,
repositoryId: testRepository.id,
repositoryUrl: buildPipelineStageBuildSourceCollectionItemsRepositoryUrl,
}],
},
buildSpecFile: buildPipelineStageBuildSpecFile,
definedTags: {
"foo-namespace.bar-key": "value",
},
deliverArtifactCollection: {
items: [{
artifactId: testArtifact.id,
artifactName: buildPipelineStageDeliverArtifactCollectionItemsArtifactName,
}],
},
deployPipelineId: testDeployPipeline.id,
description: buildPipelineStageDescription,
displayName: buildPipelineStageDisplayName,
freeformTags: {
"bar-key": "value",
},
image: buildPipelineStageImage,
isPassAllParametersEnabled: buildPipelineStageIsPassAllParametersEnabled,
primaryBuildSource: buildPipelineStagePrimaryBuildSource,
privateAccessConfig: {
networkChannelType: buildPipelineStagePrivateAccessConfigNetworkChannelType,
subnetId: testSubnet.id,
nsgIds: buildPipelineStagePrivateAccessConfigNsgIds,
},
stageExecutionTimeoutInSeconds: buildPipelineStageStageExecutionTimeoutInSeconds,
waitCriteria: {
waitDuration: buildPipelineStageWaitCriteriaWaitDuration,
waitType: buildPipelineStageWaitCriteriaWaitType,
},
});
import pulumi
import pulumi_oci as oci
test_build_pipeline_stage = oci.dev_ops.BuildPipelineStage("test_build_pipeline_stage",
build_pipeline_id=test_build_pipeline["id"],
build_pipeline_stage_predecessor_collection={
"items": [{
"id": build_pipeline_stage_build_pipeline_stage_predecessor_collection_items_id,
}],
},
build_pipeline_stage_type=build_pipeline_stage_build_pipeline_stage_type,
build_runner_shape_config={
"build_runner_type": build_pipeline_stage_build_runner_shape_config_build_runner_type,
"memory_in_gbs": build_pipeline_stage_build_runner_shape_config_memory_in_gbs,
"ocpus": build_pipeline_stage_build_runner_shape_config_ocpus,
},
build_source_collection={
"items": [{
"connection_type": build_pipeline_stage_build_source_collection_items_connection_type,
"branch": build_pipeline_stage_build_source_collection_items_branch,
"connection_id": test_connection["id"],
"name": build_pipeline_stage_build_source_collection_items_name,
"repository_id": test_repository["id"],
"repository_url": build_pipeline_stage_build_source_collection_items_repository_url,
}],
},
build_spec_file=build_pipeline_stage_build_spec_file,
defined_tags={
"foo-namespace.bar-key": "value",
},
deliver_artifact_collection={
"items": [{
"artifact_id": test_artifact["id"],
"artifact_name": build_pipeline_stage_deliver_artifact_collection_items_artifact_name,
}],
},
deploy_pipeline_id=test_deploy_pipeline["id"],
description=build_pipeline_stage_description,
display_name=build_pipeline_stage_display_name,
freeform_tags={
"bar-key": "value",
},
image=build_pipeline_stage_image,
is_pass_all_parameters_enabled=build_pipeline_stage_is_pass_all_parameters_enabled,
primary_build_source=build_pipeline_stage_primary_build_source,
private_access_config={
"network_channel_type": build_pipeline_stage_private_access_config_network_channel_type,
"subnet_id": test_subnet["id"],
"nsg_ids": build_pipeline_stage_private_access_config_nsg_ids,
},
stage_execution_timeout_in_seconds=build_pipeline_stage_stage_execution_timeout_in_seconds,
wait_criteria={
"wait_duration": build_pipeline_stage_wait_criteria_wait_duration,
"wait_type": build_pipeline_stage_wait_criteria_wait_type,
})
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.NewBuildPipelineStage(ctx, "test_build_pipeline_stage", &DevOps.BuildPipelineStageArgs{
BuildPipelineId: pulumi.Any(testBuildPipeline.Id),
BuildPipelineStagePredecessorCollection: &devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs{
Items: devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArray{
&devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs{
Id: pulumi.Any(buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId),
},
},
},
BuildPipelineStageType: pulumi.Any(buildPipelineStageBuildPipelineStageType),
BuildRunnerShapeConfig: &devops.BuildPipelineStageBuildRunnerShapeConfigArgs{
BuildRunnerType: pulumi.Any(buildPipelineStageBuildRunnerShapeConfigBuildRunnerType),
MemoryInGbs: pulumi.Any(buildPipelineStageBuildRunnerShapeConfigMemoryInGbs),
Ocpus: pulumi.Any(buildPipelineStageBuildRunnerShapeConfigOcpus),
},
BuildSourceCollection: &devops.BuildPipelineStageBuildSourceCollectionArgs{
Items: devops.BuildPipelineStageBuildSourceCollectionItemArray{
&devops.BuildPipelineStageBuildSourceCollectionItemArgs{
ConnectionType: pulumi.Any(buildPipelineStageBuildSourceCollectionItemsConnectionType),
Branch: pulumi.Any(buildPipelineStageBuildSourceCollectionItemsBranch),
ConnectionId: pulumi.Any(testConnection.Id),
Name: pulumi.Any(buildPipelineStageBuildSourceCollectionItemsName),
RepositoryId: pulumi.Any(testRepository.Id),
RepositoryUrl: pulumi.Any(buildPipelineStageBuildSourceCollectionItemsRepositoryUrl),
},
},
},
BuildSpecFile: pulumi.Any(buildPipelineStageBuildSpecFile),
DefinedTags: pulumi.StringMap{
"foo-namespace.bar-key": pulumi.String("value"),
},
DeliverArtifactCollection: &devops.BuildPipelineStageDeliverArtifactCollectionArgs{
Items: devops.BuildPipelineStageDeliverArtifactCollectionItemArray{
&devops.BuildPipelineStageDeliverArtifactCollectionItemArgs{
ArtifactId: pulumi.Any(testArtifact.Id),
ArtifactName: pulumi.Any(buildPipelineStageDeliverArtifactCollectionItemsArtifactName),
},
},
},
DeployPipelineId: pulumi.Any(testDeployPipeline.Id),
Description: pulumi.Any(buildPipelineStageDescription),
DisplayName: pulumi.Any(buildPipelineStageDisplayName),
FreeformTags: pulumi.StringMap{
"bar-key": pulumi.String("value"),
},
Image: pulumi.Any(buildPipelineStageImage),
IsPassAllParametersEnabled: pulumi.Any(buildPipelineStageIsPassAllParametersEnabled),
PrimaryBuildSource: pulumi.Any(buildPipelineStagePrimaryBuildSource),
PrivateAccessConfig: &devops.BuildPipelineStagePrivateAccessConfigArgs{
NetworkChannelType: pulumi.Any(buildPipelineStagePrivateAccessConfigNetworkChannelType),
SubnetId: pulumi.Any(testSubnet.Id),
NsgIds: pulumi.Any(buildPipelineStagePrivateAccessConfigNsgIds),
},
StageExecutionTimeoutInSeconds: pulumi.Any(buildPipelineStageStageExecutionTimeoutInSeconds),
WaitCriteria: &devops.BuildPipelineStageWaitCriteriaArgs{
WaitDuration: pulumi.Any(buildPipelineStageWaitCriteriaWaitDuration),
WaitType: pulumi.Any(buildPipelineStageWaitCriteriaWaitType),
},
})
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 testBuildPipelineStage = new Oci.DevOps.BuildPipelineStage("test_build_pipeline_stage", new()
{
BuildPipelineId = testBuildPipeline.Id,
BuildPipelineStagePredecessorCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
{
Id = buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId,
},
},
},
BuildPipelineStageType = buildPipelineStageBuildPipelineStageType,
BuildRunnerShapeConfig = new Oci.DevOps.Inputs.BuildPipelineStageBuildRunnerShapeConfigArgs
{
BuildRunnerType = buildPipelineStageBuildRunnerShapeConfigBuildRunnerType,
MemoryInGbs = buildPipelineStageBuildRunnerShapeConfigMemoryInGbs,
Ocpus = buildPipelineStageBuildRunnerShapeConfigOcpus,
},
BuildSourceCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionItemArgs
{
ConnectionType = buildPipelineStageBuildSourceCollectionItemsConnectionType,
Branch = buildPipelineStageBuildSourceCollectionItemsBranch,
ConnectionId = testConnection.Id,
Name = buildPipelineStageBuildSourceCollectionItemsName,
RepositoryId = testRepository.Id,
RepositoryUrl = buildPipelineStageBuildSourceCollectionItemsRepositoryUrl,
},
},
},
BuildSpecFile = buildPipelineStageBuildSpecFile,
DefinedTags =
{
{ "foo-namespace.bar-key", "value" },
},
DeliverArtifactCollection = new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionItemArgs
{
ArtifactId = testArtifact.Id,
ArtifactName = buildPipelineStageDeliverArtifactCollectionItemsArtifactName,
},
},
},
DeployPipelineId = testDeployPipeline.Id,
Description = buildPipelineStageDescription,
DisplayName = buildPipelineStageDisplayName,
FreeformTags =
{
{ "bar-key", "value" },
},
Image = buildPipelineStageImage,
IsPassAllParametersEnabled = buildPipelineStageIsPassAllParametersEnabled,
PrimaryBuildSource = buildPipelineStagePrimaryBuildSource,
PrivateAccessConfig = new Oci.DevOps.Inputs.BuildPipelineStagePrivateAccessConfigArgs
{
NetworkChannelType = buildPipelineStagePrivateAccessConfigNetworkChannelType,
SubnetId = testSubnet.Id,
NsgIds = buildPipelineStagePrivateAccessConfigNsgIds,
},
StageExecutionTimeoutInSeconds = buildPipelineStageStageExecutionTimeoutInSeconds,
WaitCriteria = new Oci.DevOps.Inputs.BuildPipelineStageWaitCriteriaArgs
{
WaitDuration = buildPipelineStageWaitCriteriaWaitDuration,
WaitType = buildPipelineStageWaitCriteriaWaitType,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DevOps.BuildPipelineStage;
import com.pulumi.oci.DevOps.BuildPipelineStageArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildRunnerShapeConfigArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStageBuildSourceCollectionArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStageDeliverArtifactCollectionArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStagePrivateAccessConfigArgs;
import com.pulumi.oci.DevOps.inputs.BuildPipelineStageWaitCriteriaArgs;
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 testBuildPipelineStage = new BuildPipelineStage("testBuildPipelineStage", BuildPipelineStageArgs.builder()
.buildPipelineId(testBuildPipeline.id())
.buildPipelineStagePredecessorCollection(BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs.builder()
.items(BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs.builder()
.id(buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId)
.build())
.build())
.buildPipelineStageType(buildPipelineStageBuildPipelineStageType)
.buildRunnerShapeConfig(BuildPipelineStageBuildRunnerShapeConfigArgs.builder()
.buildRunnerType(buildPipelineStageBuildRunnerShapeConfigBuildRunnerType)
.memoryInGbs(buildPipelineStageBuildRunnerShapeConfigMemoryInGbs)
.ocpus(buildPipelineStageBuildRunnerShapeConfigOcpus)
.build())
.buildSourceCollection(BuildPipelineStageBuildSourceCollectionArgs.builder()
.items(BuildPipelineStageBuildSourceCollectionItemArgs.builder()
.connectionType(buildPipelineStageBuildSourceCollectionItemsConnectionType)
.branch(buildPipelineStageBuildSourceCollectionItemsBranch)
.connectionId(testConnection.id())
.name(buildPipelineStageBuildSourceCollectionItemsName)
.repositoryId(testRepository.id())
.repositoryUrl(buildPipelineStageBuildSourceCollectionItemsRepositoryUrl)
.build())
.build())
.buildSpecFile(buildPipelineStageBuildSpecFile)
.definedTags(Map.of("foo-namespace.bar-key", "value"))
.deliverArtifactCollection(BuildPipelineStageDeliverArtifactCollectionArgs.builder()
.items(BuildPipelineStageDeliverArtifactCollectionItemArgs.builder()
.artifactId(testArtifact.id())
.artifactName(buildPipelineStageDeliverArtifactCollectionItemsArtifactName)
.build())
.build())
.deployPipelineId(testDeployPipeline.id())
.description(buildPipelineStageDescription)
.displayName(buildPipelineStageDisplayName)
.freeformTags(Map.of("bar-key", "value"))
.image(buildPipelineStageImage)
.isPassAllParametersEnabled(buildPipelineStageIsPassAllParametersEnabled)
.primaryBuildSource(buildPipelineStagePrimaryBuildSource)
.privateAccessConfig(BuildPipelineStagePrivateAccessConfigArgs.builder()
.networkChannelType(buildPipelineStagePrivateAccessConfigNetworkChannelType)
.subnetId(testSubnet.id())
.nsgIds(buildPipelineStagePrivateAccessConfigNsgIds)
.build())
.stageExecutionTimeoutInSeconds(buildPipelineStageStageExecutionTimeoutInSeconds)
.waitCriteria(BuildPipelineStageWaitCriteriaArgs.builder()
.waitDuration(buildPipelineStageWaitCriteriaWaitDuration)
.waitType(buildPipelineStageWaitCriteriaWaitType)
.build())
.build());
}
}
resources:
testBuildPipelineStage:
type: oci:DevOps:BuildPipelineStage
name: test_build_pipeline_stage
properties:
buildPipelineId: ${testBuildPipeline.id}
buildPipelineStagePredecessorCollection:
items:
- id: ${buildPipelineStageBuildPipelineStagePredecessorCollectionItemsId}
buildPipelineStageType: ${buildPipelineStageBuildPipelineStageType}
buildRunnerShapeConfig:
buildRunnerType: ${buildPipelineStageBuildRunnerShapeConfigBuildRunnerType}
memoryInGbs: ${buildPipelineStageBuildRunnerShapeConfigMemoryInGbs}
ocpus: ${buildPipelineStageBuildRunnerShapeConfigOcpus}
buildSourceCollection:
items:
- connectionType: ${buildPipelineStageBuildSourceCollectionItemsConnectionType}
branch: ${buildPipelineStageBuildSourceCollectionItemsBranch}
connectionId: ${testConnection.id}
name: ${buildPipelineStageBuildSourceCollectionItemsName}
repositoryId: ${testRepository.id}
repositoryUrl: ${buildPipelineStageBuildSourceCollectionItemsRepositoryUrl}
buildSpecFile: ${buildPipelineStageBuildSpecFile}
definedTags:
foo-namespace.bar-key: value
deliverArtifactCollection:
items:
- artifactId: ${testArtifact.id}
artifactName: ${buildPipelineStageDeliverArtifactCollectionItemsArtifactName}
deployPipelineId: ${testDeployPipeline.id}
description: ${buildPipelineStageDescription}
displayName: ${buildPipelineStageDisplayName}
freeformTags:
bar-key: value
image: ${buildPipelineStageImage}
isPassAllParametersEnabled: ${buildPipelineStageIsPassAllParametersEnabled}
primaryBuildSource: ${buildPipelineStagePrimaryBuildSource}
privateAccessConfig:
networkChannelType: ${buildPipelineStagePrivateAccessConfigNetworkChannelType}
subnetId: ${testSubnet.id}
nsgIds: ${buildPipelineStagePrivateAccessConfigNsgIds}
stageExecutionTimeoutInSeconds: ${buildPipelineStageStageExecutionTimeoutInSeconds}
waitCriteria:
waitDuration: ${buildPipelineStageWaitCriteriaWaitDuration}
waitType: ${buildPipelineStageWaitCriteriaWaitType}
Create BuildPipelineStage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BuildPipelineStage(name: string, args: BuildPipelineStageArgs, opts?: CustomResourceOptions);
@overload
def BuildPipelineStage(resource_name: str,
args: BuildPipelineStageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BuildPipelineStage(resource_name: str,
opts: Optional[ResourceOptions] = None,
build_pipeline_id: Optional[str] = None,
build_pipeline_stage_predecessor_collection: Optional[_devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs] = None,
build_pipeline_stage_type: Optional[str] = None,
build_runner_shape_config: Optional[_devops.BuildPipelineStageBuildRunnerShapeConfigArgs] = None,
build_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
build_spec_file: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deliver_artifact_collection: Optional[_devops.BuildPipelineStageDeliverArtifactCollectionArgs] = None,
deploy_pipeline_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image: Optional[str] = None,
is_pass_all_parameters_enabled: Optional[bool] = None,
primary_build_source: Optional[str] = None,
private_access_config: Optional[_devops.BuildPipelineStagePrivateAccessConfigArgs] = None,
stage_execution_timeout_in_seconds: Optional[int] = None,
wait_criteria: Optional[_devops.BuildPipelineStageWaitCriteriaArgs] = None)
func NewBuildPipelineStage(ctx *Context, name string, args BuildPipelineStageArgs, opts ...ResourceOption) (*BuildPipelineStage, error)
public BuildPipelineStage(string name, BuildPipelineStageArgs args, CustomResourceOptions? opts = null)
public BuildPipelineStage(String name, BuildPipelineStageArgs args)
public BuildPipelineStage(String name, BuildPipelineStageArgs args, CustomResourceOptions options)
type: oci:DevOps:BuildPipelineStage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BuildPipelineStageArgs
- 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 BuildPipelineStageArgs
- 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 BuildPipelineStageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BuildPipelineStageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BuildPipelineStageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var buildPipelineStageResource = new Oci.DevOps.BuildPipelineStage("buildPipelineStageResource", new()
{
BuildPipelineId = "string",
BuildPipelineStagePredecessorCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
{
Id = "string",
},
},
},
BuildPipelineStageType = "string",
BuildRunnerShapeConfig = new Oci.DevOps.Inputs.BuildPipelineStageBuildRunnerShapeConfigArgs
{
BuildRunnerType = "string",
MemoryInGbs = 0,
Ocpus = 0,
},
BuildSourceCollection = new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageBuildSourceCollectionItemArgs
{
ConnectionType = "string",
Branch = "string",
ConnectionId = "string",
Name = "string",
RepositoryId = "string",
RepositoryUrl = "string",
},
},
},
BuildSpecFile = "string",
DefinedTags =
{
{ "string", "string" },
},
DeliverArtifactCollection = new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.BuildPipelineStageDeliverArtifactCollectionItemArgs
{
ArtifactId = "string",
ArtifactName = "string",
},
},
},
DeployPipelineId = "string",
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
Image = "string",
IsPassAllParametersEnabled = false,
PrimaryBuildSource = "string",
PrivateAccessConfig = new Oci.DevOps.Inputs.BuildPipelineStagePrivateAccessConfigArgs
{
NetworkChannelType = "string",
SubnetId = "string",
NsgIds = new[]
{
"string",
},
},
StageExecutionTimeoutInSeconds = 0,
WaitCriteria = new Oci.DevOps.Inputs.BuildPipelineStageWaitCriteriaArgs
{
WaitDuration = "string",
WaitType = "string",
},
});
example, err := DevOps.NewBuildPipelineStage(ctx, "buildPipelineStageResource", &DevOps.BuildPipelineStageArgs{
BuildPipelineId: pulumi.String("string"),
BuildPipelineStagePredecessorCollection: &devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs{
Items: devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArray{
&devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs{
Id: pulumi.String("string"),
},
},
},
BuildPipelineStageType: pulumi.String("string"),
BuildRunnerShapeConfig: &devops.BuildPipelineStageBuildRunnerShapeConfigArgs{
BuildRunnerType: pulumi.String("string"),
MemoryInGbs: pulumi.Int(0),
Ocpus: pulumi.Int(0),
},
BuildSourceCollection: &devops.BuildPipelineStageBuildSourceCollectionArgs{
Items: devops.BuildPipelineStageBuildSourceCollectionItemArray{
&devops.BuildPipelineStageBuildSourceCollectionItemArgs{
ConnectionType: pulumi.String("string"),
Branch: pulumi.String("string"),
ConnectionId: pulumi.String("string"),
Name: pulumi.String("string"),
RepositoryId: pulumi.String("string"),
RepositoryUrl: pulumi.String("string"),
},
},
},
BuildSpecFile: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeliverArtifactCollection: &devops.BuildPipelineStageDeliverArtifactCollectionArgs{
Items: devops.BuildPipelineStageDeliverArtifactCollectionItemArray{
&devops.BuildPipelineStageDeliverArtifactCollectionItemArgs{
ArtifactId: pulumi.String("string"),
ArtifactName: pulumi.String("string"),
},
},
},
DeployPipelineId: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Image: pulumi.String("string"),
IsPassAllParametersEnabled: pulumi.Bool(false),
PrimaryBuildSource: pulumi.String("string"),
PrivateAccessConfig: &devops.BuildPipelineStagePrivateAccessConfigArgs{
NetworkChannelType: pulumi.String("string"),
SubnetId: pulumi.String("string"),
NsgIds: pulumi.StringArray{
pulumi.String("string"),
},
},
StageExecutionTimeoutInSeconds: pulumi.Int(0),
WaitCriteria: &devops.BuildPipelineStageWaitCriteriaArgs{
WaitDuration: pulumi.String("string"),
WaitType: pulumi.String("string"),
},
})
var buildPipelineStageResource = new BuildPipelineStage("buildPipelineStageResource", BuildPipelineStageArgs.builder()
.buildPipelineId("string")
.buildPipelineStagePredecessorCollection(BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs.builder()
.items(BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs.builder()
.id("string")
.build())
.build())
.buildPipelineStageType("string")
.buildRunnerShapeConfig(BuildPipelineStageBuildRunnerShapeConfigArgs.builder()
.buildRunnerType("string")
.memoryInGbs(0)
.ocpus(0)
.build())
.buildSourceCollection(BuildPipelineStageBuildSourceCollectionArgs.builder()
.items(BuildPipelineStageBuildSourceCollectionItemArgs.builder()
.connectionType("string")
.branch("string")
.connectionId("string")
.name("string")
.repositoryId("string")
.repositoryUrl("string")
.build())
.build())
.buildSpecFile("string")
.definedTags(Map.of("string", "string"))
.deliverArtifactCollection(BuildPipelineStageDeliverArtifactCollectionArgs.builder()
.items(BuildPipelineStageDeliverArtifactCollectionItemArgs.builder()
.artifactId("string")
.artifactName("string")
.build())
.build())
.deployPipelineId("string")
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.image("string")
.isPassAllParametersEnabled(false)
.primaryBuildSource("string")
.privateAccessConfig(BuildPipelineStagePrivateAccessConfigArgs.builder()
.networkChannelType("string")
.subnetId("string")
.nsgIds("string")
.build())
.stageExecutionTimeoutInSeconds(0)
.waitCriteria(BuildPipelineStageWaitCriteriaArgs.builder()
.waitDuration("string")
.waitType("string")
.build())
.build());
build_pipeline_stage_resource = oci.dev_ops.BuildPipelineStage("buildPipelineStageResource",
build_pipeline_id="string",
build_pipeline_stage_predecessor_collection={
"items": [{
"id": "string",
}],
},
build_pipeline_stage_type="string",
build_runner_shape_config={
"build_runner_type": "string",
"memory_in_gbs": 0,
"ocpus": 0,
},
build_source_collection={
"items": [{
"connection_type": "string",
"branch": "string",
"connection_id": "string",
"name": "string",
"repository_id": "string",
"repository_url": "string",
}],
},
build_spec_file="string",
defined_tags={
"string": "string",
},
deliver_artifact_collection={
"items": [{
"artifact_id": "string",
"artifact_name": "string",
}],
},
deploy_pipeline_id="string",
description="string",
display_name="string",
freeform_tags={
"string": "string",
},
image="string",
is_pass_all_parameters_enabled=False,
primary_build_source="string",
private_access_config={
"network_channel_type": "string",
"subnet_id": "string",
"nsg_ids": ["string"],
},
stage_execution_timeout_in_seconds=0,
wait_criteria={
"wait_duration": "string",
"wait_type": "string",
})
const buildPipelineStageResource = new oci.devops.BuildPipelineStage("buildPipelineStageResource", {
buildPipelineId: "string",
buildPipelineStagePredecessorCollection: {
items: [{
id: "string",
}],
},
buildPipelineStageType: "string",
buildRunnerShapeConfig: {
buildRunnerType: "string",
memoryInGbs: 0,
ocpus: 0,
},
buildSourceCollection: {
items: [{
connectionType: "string",
branch: "string",
connectionId: "string",
name: "string",
repositoryId: "string",
repositoryUrl: "string",
}],
},
buildSpecFile: "string",
definedTags: {
string: "string",
},
deliverArtifactCollection: {
items: [{
artifactId: "string",
artifactName: "string",
}],
},
deployPipelineId: "string",
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
image: "string",
isPassAllParametersEnabled: false,
primaryBuildSource: "string",
privateAccessConfig: {
networkChannelType: "string",
subnetId: "string",
nsgIds: ["string"],
},
stageExecutionTimeoutInSeconds: 0,
waitCriteria: {
waitDuration: "string",
waitType: "string",
},
});
type: oci:DevOps:BuildPipelineStage
properties:
buildPipelineId: string
buildPipelineStagePredecessorCollection:
items:
- id: string
buildPipelineStageType: string
buildRunnerShapeConfig:
buildRunnerType: string
memoryInGbs: 0
ocpus: 0
buildSourceCollection:
items:
- branch: string
connectionId: string
connectionType: string
name: string
repositoryId: string
repositoryUrl: string
buildSpecFile: string
definedTags:
string: string
deliverArtifactCollection:
items:
- artifactId: string
artifactName: string
deployPipelineId: string
description: string
displayName: string
freeformTags:
string: string
image: string
isPassAllParametersEnabled: false
primaryBuildSource: string
privateAccessConfig:
networkChannelType: string
nsgIds:
- string
subnetId: string
stageExecutionTimeoutInSeconds: 0
waitCriteria:
waitDuration: string
waitType: string
BuildPipelineStage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BuildPipelineStage resource accepts the following input properties:
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- Build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- Build
Spec stringFile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Dictionary<string, string>
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- Description string
- (Updatable) Optional description about the stage.
- Display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) 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"}
- Image string
- (Updatable) Image name for the build environment
- Is
Pass boolAll Parameters Enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- Primary
Build stringSource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- Private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- Stage
Execution intTimeout In Seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- Wait
Criteria BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection Args - (Updatable) The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config Args - (Updatable) The information about build runner.
- Build
Source BuildCollection Pipeline Stage Build Source Collection Args - (Updatable) Collection of build sources.
- Build
Spec stringFile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- map[string]string
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection Args - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- Description string
- (Updatable) Optional description about the stage.
- Display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- map[string]string
- (Updatable) 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"}
- Image string
- (Updatable) Image name for the build environment
- Is
Pass boolAll Parameters Enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- Primary
Build stringSource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- Private
Access BuildConfig Pipeline Stage Private Access Config Args - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- Stage
Execution intTimeout In Seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- Wait
Criteria BuildPipeline Stage Wait Criteria Args - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- build
Spec StringFile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Map<String,String>
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description String
- (Updatable) Optional description about the stage.
- display
Name String - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String,String>
- (Updatable) 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"}
- image String
- (Updatable) Image name for the build environment
- is
Pass BooleanAll Parameters Enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- primary
Build StringSource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- stage
Execution IntegerTimeout In Seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- wait
Criteria BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline stringId - The OCID of the build pipeline.
- build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- build
Spec stringFile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- {[key: string]: string}
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description string
- (Updatable) Optional description about the stage.
- display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) 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"}
- image string
- (Updatable) Image name for the build environment
- is
Pass booleanAll Parameters Enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- primary
Build stringSource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- stage
Execution numberTimeout In Seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- wait
Criteria BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- build_
pipeline_ strid - The OCID of the build pipeline.
- build_
pipeline_ devops.stage_ predecessor_ collection Build Pipeline Stage Build Pipeline Stage Predecessor Collection Args - (Updatable) The collection containing the predecessors of a stage.
- build_
pipeline_ strstage_ type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build_
runner_ devops.shape_ config Build Pipeline Stage Build Runner Shape Config Args - (Updatable) The information about build runner.
- build_
source_ devops.collection Build Pipeline Stage Build Source Collection Args - (Updatable) Collection of build sources.
- build_
spec_ strfile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Mapping[str, str]
- (Updatable) 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 Build Pipeline Stage Deliver Artifact Collection Args - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy_
pipeline_ strid - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description str
- (Updatable) Optional description about the stage.
- display_
name str - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) 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"}
- image str
- (Updatable) Image name for the build environment
- is_
pass_ boolall_ parameters_ enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- primary_
build_ strsource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private_
access_ devops.config Build Pipeline Stage Private Access Config Args - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- stage_
execution_ inttimeout_ in_ seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- wait_
criteria devops.Build Pipeline Stage Wait Criteria Args - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Pipeline Property MapStage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner Property MapShape Config - (Updatable) The information about build runner.
- build
Source Property MapCollection - (Updatable) Collection of build sources.
- build
Spec StringFile - (Updatable) The path to the build specification file for this environment. The default location of the file if not specified is build_spec.yaml.
- Map<String>
- (Updatable) 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 - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description String
- (Updatable) Optional description about the stage.
- display
Name String - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String>
- (Updatable) 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"}
- image String
- (Updatable) Image name for the build environment
- is
Pass BooleanAll Parameters Enabled - (Updatable) A boolean flag that specifies whether all the parameters must be passed when the deployment is triggered.
- primary
Build StringSource - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access Property MapConfig - (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network.
- stage
Execution NumberTimeout In Seconds - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- wait
Criteria Property Map - (Updatable) Specifies wait criteria for the Wait stage.
Outputs
All input properties are implicitly available as output properties. Additionally, the BuildPipelineStage resource produces the following output properties:
- Compartment
Id string - The OCID of the compartment where the pipeline is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the stage.
- 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.
- Compartment
Id string - The OCID of the compartment where the pipeline is created.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- Project
Id string - The OCID of the DevOps project.
- State string
- The current state of the stage.
- 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.
- compartment
Id String - The OCID of the compartment where the pipeline is created.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the stage.
- 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.
- compartment
Id string - The OCID of the compartment where the pipeline is created.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- project
Id string - The OCID of the DevOps project.
- state string
- The current state of the stage.
- {[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.
- compartment_
id str - The OCID of the compartment where the pipeline is created.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- project_
id str - The OCID of the DevOps project.
- state str
- The current state of the stage.
- 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.
- compartment
Id String - The OCID of the compartment where the pipeline is created.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- project
Id String - The OCID of the DevOps project.
- state String
- The current state of the stage.
- 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.
Look up Existing BuildPipelineStage Resource
Get an existing BuildPipelineStage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BuildPipelineStageState, opts?: CustomResourceOptions): BuildPipelineStage
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
build_pipeline_id: Optional[str] = None,
build_pipeline_stage_predecessor_collection: Optional[_devops.BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs] = None,
build_pipeline_stage_type: Optional[str] = None,
build_runner_shape_config: Optional[_devops.BuildPipelineStageBuildRunnerShapeConfigArgs] = None,
build_source_collection: Optional[_devops.BuildPipelineStageBuildSourceCollectionArgs] = None,
build_spec_file: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deliver_artifact_collection: Optional[_devops.BuildPipelineStageDeliverArtifactCollectionArgs] = None,
deploy_pipeline_id: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
image: Optional[str] = None,
is_pass_all_parameters_enabled: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
primary_build_source: Optional[str] = None,
private_access_config: Optional[_devops.BuildPipelineStagePrivateAccessConfigArgs] = None,
project_id: Optional[str] = None,
stage_execution_timeout_in_seconds: Optional[int] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
wait_criteria: Optional[_devops.BuildPipelineStageWaitCriteriaArgs] = None) -> BuildPipelineStage
func GetBuildPipelineStage(ctx *Context, name string, id IDInput, state *BuildPipelineStageState, opts ...ResourceOption) (*BuildPipelineStage, error)
public static BuildPipelineStage Get(string name, Input<string> id, BuildPipelineStageState? state, CustomResourceOptions? opts = null)
public static BuildPipelineStage get(String name, Output<String> id, BuildPipelineStageState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- Build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- Build
Spec stringFile - (Updatable) 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 where the pipeline is created.
- Dictionary<string, string>
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- Description string
- (Updatable) Optional description about the stage.
- Display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) 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"}
- Image string
- (Updatable) Image name for the build environment
- Is
Pass boolAll Parameters Enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- Private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- State string
- The current state of the stage.
- 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 BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- Build
Pipeline stringId - The OCID of the build pipeline.
- Build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection Args - (Updatable) The collection containing the predecessors of a stage.
- Build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- Build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config Args - (Updatable) The information about build runner.
- Build
Source BuildCollection Pipeline Stage Build Source Collection Args - (Updatable) Collection of build sources.
- Build
Spec stringFile - (Updatable) 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 where the pipeline is created.
- map[string]string
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection Args - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- Deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- Description string
- (Updatable) Optional description about the stage.
- Display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- map[string]string
- (Updatable) 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"}
- Image string
- (Updatable) Image name for the build environment
- Is
Pass boolAll Parameters Enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- Private
Access BuildConfig Pipeline Stage Private Access Config Args - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- State string
- The current state of the stage.
- 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 BuildPipeline Stage Wait Criteria Args - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- build
Spec StringFile - (Updatable) 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 where the pipeline is created.
- Map<String,String>
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description String
- (Updatable) Optional description about the stage.
- display
Name String - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String,String>
- (Updatable) 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"}
- image String
- (Updatable) Image name for the build environment
- is
Pass BooleanAll Parameters Enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- state String
- The current state of the stage.
- 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 BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline stringId - The OCID of the build pipeline.
- build
Pipeline BuildStage Predecessor Collection Pipeline Stage Build Pipeline Stage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline stringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner BuildShape Config Pipeline Stage Build Runner Shape Config - (Updatable) The information about build runner.
- build
Source BuildCollection Pipeline Stage Build Source Collection - (Updatable) Collection of build sources.
- build
Spec stringFile - (Updatable) 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 where the pipeline is created.
- {[key: string]: string}
- (Updatable) 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 BuildCollection Pipeline Stage Deliver Artifact Collection - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline stringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description string
- (Updatable) Optional description about the stage.
- display
Name string - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) 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"}
- image string
- (Updatable) Image name for the build environment
- is
Pass booleanAll Parameters Enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access BuildConfig Pipeline Stage Private Access Config - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- state string
- The current state of the stage.
- {[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 BuildPipeline Stage Wait Criteria - (Updatable) Specifies wait criteria for the Wait stage.
- build_
pipeline_ strid - The OCID of the build pipeline.
- build_
pipeline_ devops.stage_ predecessor_ collection Build Pipeline Stage Build Pipeline Stage Predecessor Collection Args - (Updatable) The collection containing the predecessors of a stage.
- build_
pipeline_ strstage_ type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build_
runner_ devops.shape_ config Build Pipeline Stage Build Runner Shape Config Args - (Updatable) The information about build runner.
- build_
source_ devops.collection Build Pipeline Stage Build Source Collection Args - (Updatable) Collection of build sources.
- build_
spec_ strfile - (Updatable) 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 where the pipeline is created.
- Mapping[str, str]
- (Updatable) 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 Build Pipeline Stage Deliver Artifact Collection Args - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy_
pipeline_ strid - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description str
- (Updatable) Optional description about the stage.
- display_
name str - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) 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"}
- image str
- (Updatable) Image name for the build environment
- is_
pass_ boolall_ parameters_ enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private_
access_ devops.config Build Pipeline Stage Private Access Config Args - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- state str
- The current state of the stage.
- 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.Build Pipeline Stage Wait Criteria Args - (Updatable) Specifies wait criteria for the Wait stage.
- build
Pipeline StringId - The OCID of the build pipeline.
- build
Pipeline Property MapStage Predecessor Collection - (Updatable) The collection containing the predecessors of a stage.
- build
Pipeline StringStage Type - (Updatable) Defines the stage type, which is one of the following: BUILD, DELIVER_ARTIFACT, WAIT, and TRIGGER_DEPLOYMENT_PIPELINE.
- build
Runner Property MapShape Config - (Updatable) The information about build runner.
- build
Source Property MapCollection - (Updatable) Collection of build sources.
- build
Spec StringFile - (Updatable) 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 where the pipeline is created.
- Map<String>
- (Updatable) 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 - (Updatable) Specifies an array of artifacts that need to be pushed to the artifactory stores.
- deploy
Pipeline StringId - (Updatable) A target deployment pipeline OCID that will run in this stage.
- description String
- (Updatable) Optional description about the stage.
- display
Name String - (Updatable) Stage display name, which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Map<String>
- (Updatable) 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"}
- image String
- (Updatable) Image name for the build environment
- is
Pass BooleanAll Parameters Enabled - (Updatable) 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 - (Updatable) Name of the build source where the build_spec.yml file is located. If not specified, the first entry in the build source collection is chosen as primary build source.
- private
Access Property MapConfig - (Updatable) 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 - (Updatable) Timeout for the build stage execution. Specify value in seconds.
- state String
- The current state of the stage.
- 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 - (Updatable) Specifies wait criteria for the Wait stage.
Supporting Types
BuildPipelineStageBuildPipelineStagePredecessorCollection, BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs
- Items
List<Build
Pipeline Stage Build Pipeline Stage Predecessor Collection Item> - (Updatable) A list of build pipeline stage predecessors for a stage.
- Items
[]Build
Pipeline Stage Build Pipeline Stage Predecessor Collection Item - (Updatable) A list of build pipeline stage predecessors for a stage.
- items
List<Build
Pipeline Stage Build Pipeline Stage Predecessor Collection Item> - (Updatable) A list of build pipeline stage predecessors for a stage.
- items
Build
Pipeline Stage Build Pipeline Stage Predecessor Collection Item[] - (Updatable) A list of build pipeline stage predecessors for a stage.
- items
Sequence[devops.
Build Pipeline Stage Build Pipeline Stage Predecessor Collection Item] - (Updatable) A list of build pipeline stage predecessors for a stage.
- items List<Property Map>
- (Updatable) A list of build pipeline stage predecessors for a stage.
BuildPipelineStageBuildPipelineStagePredecessorCollectionItem, BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs
- Id string
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
- Id string
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
- id String
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
- id string
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
- id str
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
- id String
- (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID.
BuildPipelineStageBuildRunnerShapeConfig, BuildPipelineStageBuildRunnerShapeConfigArgs
- Build
Runner stringType - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- Memory
In intGbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- Ocpus int
- (Updatable) The total number of OCPUs set for the instance.
- Build
Runner stringType - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- Memory
In intGbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- Ocpus int
- (Updatable) The total number of OCPUs set for the instance.
- build
Runner StringType - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In IntegerGbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- ocpus Integer
- (Updatable) The total number of OCPUs set for the instance.
- build
Runner stringType - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In numberGbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- ocpus number
- (Updatable) The total number of OCPUs set for the instance.
- build_
runner_ strtype - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory_
in_ intgbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- ocpus int
- (Updatable) The total number of OCPUs set for the instance.
- build
Runner StringType - (Updatable) Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
- memory
In NumberGbs - (Updatable) The total amount of memory set for the instance in gigabytes.
- ocpus Number
- (Updatable) The total number of OCPUs set for the instance.
BuildPipelineStageBuildSourceCollection, BuildPipelineStageBuildSourceCollectionArgs
- Items
List<Build
Pipeline Stage Build Source Collection Item> - (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
- Items
[]Build
Pipeline Stage Build Source Collection Item - (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
- items
List<Build
Pipeline Stage Build Source Collection Item> - (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
- items
Build
Pipeline Stage Build Source Collection Item[] - (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
- items
Sequence[devops.
Build Pipeline Stage Build Source Collection Item] - (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
- items List<Property Map>
- (Updatable) Collection of build sources. In case of UPDATE operation, replaces existing build sources list. Merging with existing build sources is not supported.
BuildPipelineStageBuildSourceCollectionItem, BuildPipelineStageBuildSourceCollectionItemArgs
- Connection
Type string - (Updatable) The type of source provider.
- Branch string
- (Updatable) Branch name.
- Connection
Id string - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- Name string
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- Repository
Url string - (Updatable) URL for the repository.
- Connection
Type string - (Updatable) The type of source provider.
- Branch string
- (Updatable) Branch name.
- Connection
Id string - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- Name string
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- Repository
Url string - (Updatable) URL for the repository.
- connection
Type String - (Updatable) The type of source provider.
- branch String
- (Updatable) Branch name.
- connection
Id String - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- name String
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- repository
Url String - (Updatable) URL for the repository.
- connection
Type string - (Updatable) The type of source provider.
- branch string
- (Updatable) Branch name.
- connection
Id string - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- name string
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- repository
Url string - (Updatable) URL for the repository.
- connection_
type str - (Updatable) The type of source provider.
- branch str
- (Updatable) Branch name.
- connection_
id str - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- name str
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- repository_
url str - (Updatable) URL for the repository.
- connection
Type String - (Updatable) The type of source provider.
- branch String
- (Updatable) Branch name.
- connection
Id String - (Updatable) Connection identifier pertinent to Bitbucket Server source provider
- name String
- (Updatable) 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 - (Updatable) The DevOps code repository ID.
- repository
Url String - (Updatable) URL for the repository.
BuildPipelineStageDeliverArtifactCollection, BuildPipelineStageDeliverArtifactCollectionArgs
- Items
List<Build
Pipeline Stage Deliver Artifact Collection Item> - (Updatable) 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
[]Build
Pipeline Stage Deliver Artifact Collection Item - (Updatable) 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<Build
Pipeline Stage Deliver Artifact Collection Item> - (Updatable) 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
Build
Pipeline Stage Deliver Artifact Collection Item[] - (Updatable) 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.
Build Pipeline Stage Deliver Artifact Collection Item] - (Updatable) 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>
- (Updatable) 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.
BuildPipelineStageDeliverArtifactCollectionItem, BuildPipelineStageDeliverArtifactCollectionItemArgs
- Artifact
Id string - (Updatable) Artifact identifier that contains the artifact definition.
- Artifact
Name string - (Updatable) Name of the artifact specified in the build_spec.yaml file.
- Artifact
Id string - (Updatable) Artifact identifier that contains the artifact definition.
- Artifact
Name string - (Updatable) Name of the artifact specified in the build_spec.yaml file.
- artifact
Id String - (Updatable) Artifact identifier that contains the artifact definition.
- artifact
Name String - (Updatable) Name of the artifact specified in the build_spec.yaml file.
- artifact
Id string - (Updatable) Artifact identifier that contains the artifact definition.
- artifact
Name string - (Updatable) Name of the artifact specified in the build_spec.yaml file.
- artifact_
id str - (Updatable) Artifact identifier that contains the artifact definition.
- artifact_
name str - (Updatable) Name of the artifact specified in the build_spec.yaml file.
- artifact
Id String - (Updatable) Artifact identifier that contains the artifact definition.
- artifact
Name String - (Updatable) Name of the artifact specified in the build_spec.yaml file.
BuildPipelineStagePrivateAccessConfig, BuildPipelineStagePrivateAccessConfigArgs
- Network
Channel stringType - (Updatable) Network channel type.
- Subnet
Id string - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- Nsg
Ids List<string> - (Updatable) An array of network security group OCIDs.
- Network
Channel stringType - (Updatable) Network channel type.
- Subnet
Id string - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- Nsg
Ids []string - (Updatable) An array of network security group OCIDs.
- network
Channel StringType - (Updatable) Network channel type.
- subnet
Id String - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- nsg
Ids List<String> - (Updatable) An array of network security group OCIDs.
- network
Channel stringType - (Updatable) Network channel type.
- subnet
Id string - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- nsg
Ids string[] - (Updatable) An array of network security group OCIDs.
- network_
channel_ strtype - (Updatable) Network channel type.
- subnet_
id str - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- nsg_
ids Sequence[str] - (Updatable) An array of network security group OCIDs.
- network
Channel StringType - (Updatable) Network channel type.
- subnet
Id String - (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint.
- nsg
Ids List<String> - (Updatable) An array of network security group OCIDs.
BuildPipelineStageWaitCriteria, BuildPipelineStageWaitCriteriaArgs
- Wait
Duration string - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- Wait
Type string (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Wait
Duration string - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- Wait
Type string (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- wait
Duration String - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- wait
Type String (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- wait
Duration string - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- wait
Type string (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- wait_
duration str - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- wait_
type str (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- wait
Duration String - (Updatable) The absolute wait duration. Minimum wait duration must be 5 seconds. Maximum wait duration can be up to 2 days.
- wait
Type String (Updatable) Wait criteria type.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Import
BuildPipelineStages can be imported using the id
, e.g.
$ pulumi import oci:DevOps/buildPipelineStage:BuildPipelineStage test_build_pipeline_stage "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.