1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getDeployments
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.DevOps.getDeployments

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Deployments in Oracle Cloud Infrastructure Devops service.

Returns a list of deployments.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDeployments = oci.DevOps.getDeployments({
    compartmentId: compartmentId,
    deployPipelineId: testDeployPipeline.id,
    displayName: deploymentDisplayName,
    id: deploymentId,
    projectId: testProject.id,
    state: deploymentState,
    timeCreatedGreaterThanOrEqualTo: deploymentTimeCreatedGreaterThanOrEqualTo,
    timeCreatedLessThan: deploymentTimeCreatedLessThan,
});
Copy
import pulumi
import pulumi_oci as oci

test_deployments = oci.DevOps.get_deployments(compartment_id=compartment_id,
    deploy_pipeline_id=test_deploy_pipeline["id"],
    display_name=deployment_display_name,
    id=deployment_id,
    project_id=test_project["id"],
    state=deployment_state,
    time_created_greater_than_or_equal_to=deployment_time_created_greater_than_or_equal_to,
    time_created_less_than=deployment_time_created_less_than)
Copy
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.GetDeployments(ctx, &devops.GetDeploymentsArgs{
			CompartmentId:                   pulumi.StringRef(compartmentId),
			DeployPipelineId:                pulumi.StringRef(testDeployPipeline.Id),
			DisplayName:                     pulumi.StringRef(deploymentDisplayName),
			Id:                              pulumi.StringRef(deploymentId),
			ProjectId:                       pulumi.StringRef(testProject.Id),
			State:                           pulumi.StringRef(deploymentState),
			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(deploymentTimeCreatedGreaterThanOrEqualTo),
			TimeCreatedLessThan:             pulumi.StringRef(deploymentTimeCreatedLessThan),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDeployments = Oci.DevOps.GetDeployments.Invoke(new()
    {
        CompartmentId = compartmentId,
        DeployPipelineId = testDeployPipeline.Id,
        DisplayName = deploymentDisplayName,
        Id = deploymentId,
        ProjectId = testProject.Id,
        State = deploymentState,
        TimeCreatedGreaterThanOrEqualTo = deploymentTimeCreatedGreaterThanOrEqualTo,
        TimeCreatedLessThan = deploymentTimeCreatedLessThan,
    });

});
Copy
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.GetDeploymentsArgs;
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 testDeployments = DevOpsFunctions.getDeployments(GetDeploymentsArgs.builder()
            .compartmentId(compartmentId)
            .deployPipelineId(testDeployPipeline.id())
            .displayName(deploymentDisplayName)
            .id(deploymentId)
            .projectId(testProject.id())
            .state(deploymentState)
            .timeCreatedGreaterThanOrEqualTo(deploymentTimeCreatedGreaterThanOrEqualTo)
            .timeCreatedLessThan(deploymentTimeCreatedLessThan)
            .build());

    }
}
Copy
variables:
  testDeployments:
    fn::invoke:
      function: oci:DevOps:getDeployments
      arguments:
        compartmentId: ${compartmentId}
        deployPipelineId: ${testDeployPipeline.id}
        displayName: ${deploymentDisplayName}
        id: ${deploymentId}
        projectId: ${testProject.id}
        state: ${deploymentState}
        timeCreatedGreaterThanOrEqualTo: ${deploymentTimeCreatedGreaterThanOrEqualTo}
        timeCreatedLessThan: ${deploymentTimeCreatedLessThan}
Copy

Using getDeployments

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 getDeployments(args: GetDeploymentsArgs, opts?: InvokeOptions): Promise<GetDeploymentsResult>
function getDeploymentsOutput(args: GetDeploymentsOutputArgs, opts?: InvokeOptions): Output<GetDeploymentsResult>
Copy
def get_deployments(compartment_id: Optional[str] = None,
                    deploy_pipeline_id: Optional[str] = None,
                    display_name: Optional[str] = None,
                    filters: Optional[Sequence[_devops.GetDeploymentsFilter]] = None,
                    id: Optional[str] = None,
                    project_id: Optional[str] = None,
                    state: Optional[str] = None,
                    time_created_greater_than_or_equal_to: Optional[str] = None,
                    time_created_less_than: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetDeploymentsResult
def get_deployments_output(compartment_id: Optional[pulumi.Input[str]] = None,
                    deploy_pipeline_id: Optional[pulumi.Input[str]] = None,
                    display_name: Optional[pulumi.Input[str]] = None,
                    filters: Optional[pulumi.Input[Sequence[pulumi.Input[_devops.GetDeploymentsFilterArgs]]]] = None,
                    id: Optional[pulumi.Input[str]] = None,
                    project_id: Optional[pulumi.Input[str]] = None,
                    state: Optional[pulumi.Input[str]] = None,
                    time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                    time_created_less_than: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentsResult]
Copy
func GetDeployments(ctx *Context, args *GetDeploymentsArgs, opts ...InvokeOption) (*GetDeploymentsResult, error)
func GetDeploymentsOutput(ctx *Context, args *GetDeploymentsOutputArgs, opts ...InvokeOption) GetDeploymentsResultOutput
Copy

> Note: This function is named GetDeployments in the Go SDK.

public static class GetDeployments 
{
    public static Task<GetDeploymentsResult> InvokeAsync(GetDeploymentsArgs args, InvokeOptions? opts = null)
    public static Output<GetDeploymentsResult> Invoke(GetDeploymentsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDeploymentsResult> getDeployments(GetDeploymentsArgs args, InvokeOptions options)
public static Output<GetDeploymentsResult> getDeployments(GetDeploymentsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DevOps/getDeployments:getDeployments
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId string
The OCID of the compartment in which to list resources.
DeployPipelineId string
The ID of the parent pipeline.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. List<GetDeploymentsFilter>
Id string
Unique identifier or OCID for listing a single resource by ID.
ProjectId string
unique project identifier
State string
A filter to return only Deployments that matches the given lifecycleState.
TimeCreatedGreaterThanOrEqualTo string
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
TimeCreatedLessThan string
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
CompartmentId string
The OCID of the compartment in which to list resources.
DeployPipelineId string
The ID of the parent pipeline.
DisplayName string
A filter to return only resources that match the entire display name given.
Filters Changes to this property will trigger replacement. []GetDeploymentsFilter
Id string
Unique identifier or OCID for listing a single resource by ID.
ProjectId string
unique project identifier
State string
A filter to return only Deployments that matches the given lifecycleState.
TimeCreatedGreaterThanOrEqualTo string
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
TimeCreatedLessThan string
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
compartmentId String
The OCID of the compartment in which to list resources.
deployPipelineId String
The ID of the parent pipeline.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<GetDeploymentsFilter>
id String
Unique identifier or OCID for listing a single resource by ID.
projectId String
unique project identifier
state String
A filter to return only Deployments that matches the given lifecycleState.
timeCreatedGreaterThanOrEqualTo String
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
timeCreatedLessThan String
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
compartmentId string
The OCID of the compartment in which to list resources.
deployPipelineId string
The ID of the parent pipeline.
displayName string
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. GetDeploymentsFilter[]
id string
Unique identifier or OCID for listing a single resource by ID.
projectId string
unique project identifier
state string
A filter to return only Deployments that matches the given lifecycleState.
timeCreatedGreaterThanOrEqualTo string
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
timeCreatedLessThan string
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
compartment_id str
The OCID of the compartment in which to list resources.
deploy_pipeline_id str
The ID of the parent pipeline.
display_name str
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. Sequence[devops.GetDeploymentsFilter]
id str
Unique identifier or OCID for listing a single resource by ID.
project_id str
unique project identifier
state str
A filter to return only Deployments that matches the given lifecycleState.
time_created_greater_than_or_equal_to str
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
time_created_less_than str
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
compartmentId String
The OCID of the compartment in which to list resources.
deployPipelineId String
The ID of the parent pipeline.
displayName String
A filter to return only resources that match the entire display name given.
filters Changes to this property will trigger replacement. List<Property Map>
id String
Unique identifier or OCID for listing a single resource by ID.
projectId String
unique project identifier
state String
A filter to return only Deployments that matches the given lifecycleState.
timeCreatedGreaterThanOrEqualTo String
Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
timeCreatedLessThan String
Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.

getDeployments Result

The following output properties are available:

DeploymentCollections List<GetDeploymentsDeploymentCollection>
The list of deployment_collection.
CompartmentId string
The OCID of a compartment.
DeployPipelineId string
The OCID of a pipeline.
DisplayName string
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
Filters List<GetDeploymentsFilter>
Id string
Unique identifier that is immutable on creation.
ProjectId string
The OCID of a project.
State string
The current state of the deployment.
TimeCreatedGreaterThanOrEqualTo string
TimeCreatedLessThan string
DeploymentCollections []GetDeploymentsDeploymentCollection
The list of deployment_collection.
CompartmentId string
The OCID of a compartment.
DeployPipelineId string
The OCID of a pipeline.
DisplayName string
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
Filters []GetDeploymentsFilter
Id string
Unique identifier that is immutable on creation.
ProjectId string
The OCID of a project.
State string
The current state of the deployment.
TimeCreatedGreaterThanOrEqualTo string
TimeCreatedLessThan string
deploymentCollections List<GetDeploymentsDeploymentCollection>
The list of deployment_collection.
compartmentId String
The OCID of a compartment.
deployPipelineId String
The OCID of a pipeline.
displayName String
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters List<GetDeploymentsFilter>
id String
Unique identifier that is immutable on creation.
projectId String
The OCID of a project.
state String
The current state of the deployment.
timeCreatedGreaterThanOrEqualTo String
timeCreatedLessThan String
deploymentCollections GetDeploymentsDeploymentCollection[]
The list of deployment_collection.
compartmentId string
The OCID of a compartment.
deployPipelineId string
The OCID of a pipeline.
displayName string
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters GetDeploymentsFilter[]
id string
Unique identifier that is immutable on creation.
projectId string
The OCID of a project.
state string
The current state of the deployment.
timeCreatedGreaterThanOrEqualTo string
timeCreatedLessThan string
deployment_collections Sequence[devops.GetDeploymentsDeploymentCollection]
The list of deployment_collection.
compartment_id str
The OCID of a compartment.
deploy_pipeline_id str
The OCID of a pipeline.
display_name str
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
filters Sequence[devops.GetDeploymentsFilter]
id str
Unique identifier that is immutable on creation.
project_id str
The OCID of a project.
state str
The current state of the deployment.
time_created_greater_than_or_equal_to str
time_created_less_than str
deploymentCollections List<Property Map>
The list of deployment_collection.
compartmentId String
The OCID of a compartment.
deployPipelineId String
The OCID of a pipeline.
displayName String
Deployment identifier 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.
projectId String
The OCID of a project.
state String
The current state of the deployment.
timeCreatedGreaterThanOrEqualTo String
timeCreatedLessThan String

Supporting Types

GetDeploymentsDeploymentCollection

Items This property is required. List<GetDeploymentsDeploymentCollectionItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItem

CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
DefinedTags This property is required. 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"}
DeployArtifactOverrideArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument>
Specifies the list of artifact override arguments at the time of deployment.
DeployPipelineArtifacts This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact>
List of all artifacts used in the pipeline.
DeployPipelineEnvironments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment>
List of all environments used in the pipeline.
DeployPipelineId This property is required. string
The ID of the parent pipeline.
DeployStageId This property is required. string
The OCID of the stage.
DeployStageOverrideArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument>
Specifies the list of arguments to be overriden per Stage at the time of deployment.
DeploymentArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentArgument>
Specifies list of arguments passed along with the deployment.
DeploymentExecutionProgresses This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress>
The execution progress details of a deployment.
DeploymentType This property is required. string
Specifies type of Deployment
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. 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 This property is required. string
Unique identifier or OCID for listing a single resource by ID.
LifecycleDetails This property is required. 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.
PreviousDeploymentId This property is required. string
Specifies the OCID of the previous deployment to be redeployed.
ProjectId This property is required. string
unique project identifier
State This property is required. string
A filter to return only Deployments that matches the given lifecycleState.
SystemTags This property is required. 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"}
TimeCreated This property is required. string
Time the deployment was created. Format defined by RFC3339.
TimeUpdated This property is required. string
Time the deployment was updated. Format defined by RFC3339.
TriggerNewDevopsDeployment This property is required. bool
CompartmentId This property is required. string
The OCID of the compartment in which to list resources.
DefinedTags This property is required. 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"}
DeployArtifactOverrideArguments This property is required. []GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument
Specifies the list of artifact override arguments at the time of deployment.
DeployPipelineArtifacts This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact
List of all artifacts used in the pipeline.
DeployPipelineEnvironments This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment
List of all environments used in the pipeline.
DeployPipelineId This property is required. string
The ID of the parent pipeline.
DeployStageId This property is required. string
The OCID of the stage.
DeployStageOverrideArguments This property is required. []GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument
Specifies the list of arguments to be overriden per Stage at the time of deployment.
DeploymentArguments This property is required. []GetDeploymentsDeploymentCollectionItemDeploymentArgument
Specifies list of arguments passed along with the deployment.
DeploymentExecutionProgresses This property is required. []GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress
The execution progress details of a deployment.
DeploymentType This property is required. string
Specifies type of Deployment
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
FreeformTags This property is required. 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 This property is required. string
Unique identifier or OCID for listing a single resource by ID.
LifecycleDetails This property is required. 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.
PreviousDeploymentId This property is required. string
Specifies the OCID of the previous deployment to be redeployed.
ProjectId This property is required. string
unique project identifier
State This property is required. string
A filter to return only Deployments that matches the given lifecycleState.
SystemTags This property is required. 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"}
TimeCreated This property is required. string
Time the deployment was created. Format defined by RFC3339.
TimeUpdated This property is required. string
Time the deployment was updated. Format defined by RFC3339.
TriggerNewDevopsDeployment This property is required. bool
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
definedTags This property is required. 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"}
deployArtifactOverrideArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument>
Specifies the list of artifact override arguments at the time of deployment.
deployPipelineArtifacts This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact>
List of all artifacts used in the pipeline.
deployPipelineEnvironments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment>
List of all environments used in the pipeline.
deployPipelineId This property is required. String
The ID of the parent pipeline.
deployStageId This property is required. String
The OCID of the stage.
deployStageOverrideArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument>
Specifies the list of arguments to be overriden per Stage at the time of deployment.
deploymentArguments This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentArgument>
Specifies list of arguments passed along with the deployment.
deploymentExecutionProgresses This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress>
The execution progress details of a deployment.
deploymentType This property is required. String
Specifies type of Deployment
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. 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 This property is required. String
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. 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.
previousDeploymentId This property is required. String
Specifies the OCID of the previous deployment to be redeployed.
projectId This property is required. String
unique project identifier
state This property is required. String
A filter to return only Deployments that matches the given lifecycleState.
systemTags This property is required. 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"}
timeCreated This property is required. String
Time the deployment was created. Format defined by RFC3339.
timeUpdated This property is required. String
Time the deployment was updated. Format defined by RFC3339.
triggerNewDevopsDeployment This property is required. Boolean
compartmentId This property is required. string
The OCID of the compartment in which to list resources.
definedTags This property is required. {[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"}
deployArtifactOverrideArguments This property is required. GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument[]
Specifies the list of artifact override arguments at the time of deployment.
deployPipelineArtifacts This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact[]
List of all artifacts used in the pipeline.
deployPipelineEnvironments This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment[]
List of all environments used in the pipeline.
deployPipelineId This property is required. string
The ID of the parent pipeline.
deployStageId This property is required. string
The OCID of the stage.
deployStageOverrideArguments This property is required. GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument[]
Specifies the list of arguments to be overriden per Stage at the time of deployment.
deploymentArguments This property is required. GetDeploymentsDeploymentCollectionItemDeploymentArgument[]
Specifies list of arguments passed along with the deployment.
deploymentExecutionProgresses This property is required. GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress[]
The execution progress details of a deployment.
deploymentType This property is required. string
Specifies type of Deployment
displayName This property is required. string
A filter to return only resources that match the entire display name given.
freeformTags This property is required. {[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 This property is required. string
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. 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.
previousDeploymentId This property is required. string
Specifies the OCID of the previous deployment to be redeployed.
projectId This property is required. string
unique project identifier
state This property is required. string
A filter to return only Deployments that matches the given lifecycleState.
systemTags This property is required. {[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"}
timeCreated This property is required. string
Time the deployment was created. Format defined by RFC3339.
timeUpdated This property is required. string
Time the deployment was updated. Format defined by RFC3339.
triggerNewDevopsDeployment This property is required. boolean
compartment_id This property is required. str
The OCID of the compartment in which to list resources.
defined_tags This property is required. 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"}
deploy_artifact_override_arguments This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument]
Specifies the list of artifact override arguments at the time of deployment.
deploy_pipeline_artifacts This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact]
List of all artifacts used in the pipeline.
deploy_pipeline_environments This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment]
List of all environments used in the pipeline.
deploy_pipeline_id This property is required. str
The ID of the parent pipeline.
deploy_stage_id This property is required. str
The OCID of the stage.
deploy_stage_override_arguments This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument]
Specifies the list of arguments to be overriden per Stage at the time of deployment.
deployment_arguments This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeploymentArgument]
Specifies list of arguments passed along with the deployment.
deployment_execution_progresses This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress]
The execution progress details of a deployment.
deployment_type This property is required. str
Specifies type of Deployment
display_name This property is required. str
A filter to return only resources that match the entire display name given.
freeform_tags This property is required. 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 This property is required. str
Unique identifier or OCID for listing a single resource by ID.
lifecycle_details This property is required. 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.
previous_deployment_id This property is required. str
Specifies the OCID of the previous deployment to be redeployed.
project_id This property is required. str
unique project identifier
state This property is required. str
A filter to return only Deployments that matches the given lifecycleState.
system_tags This property is required. 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 This property is required. str
Time the deployment was created. Format defined by RFC3339.
time_updated This property is required. str
Time the deployment was updated. Format defined by RFC3339.
trigger_new_devops_deployment This property is required. bool
compartmentId This property is required. String
The OCID of the compartment in which to list resources.
definedTags This property is required. 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"}
deployArtifactOverrideArguments This property is required. List<Property Map>
Specifies the list of artifact override arguments at the time of deployment.
deployPipelineArtifacts This property is required. List<Property Map>
List of all artifacts used in the pipeline.
deployPipelineEnvironments This property is required. List<Property Map>
List of all environments used in the pipeline.
deployPipelineId This property is required. String
The ID of the parent pipeline.
deployStageId This property is required. String
The OCID of the stage.
deployStageOverrideArguments This property is required. List<Property Map>
Specifies the list of arguments to be overriden per Stage at the time of deployment.
deploymentArguments This property is required. List<Property Map>
Specifies list of arguments passed along with the deployment.
deploymentExecutionProgresses This property is required. List<Property Map>
The execution progress details of a deployment.
deploymentType This property is required. String
Specifies type of Deployment
displayName This property is required. String
A filter to return only resources that match the entire display name given.
freeformTags This property is required. 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 This property is required. String
Unique identifier or OCID for listing a single resource by ID.
lifecycleDetails This property is required. 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.
previousDeploymentId This property is required. String
Specifies the OCID of the previous deployment to be redeployed.
projectId This property is required. String
unique project identifier
state This property is required. String
A filter to return only Deployments that matches the given lifecycleState.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
Time the deployment was created. Format defined by RFC3339.
timeUpdated This property is required. String
Time the deployment was updated. Format defined by RFC3339.
triggerNewDevopsDeployment This property is required. Boolean

GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem

DeployArtifactId This property is required. string
The OCID of an artifact
Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
DeployArtifactId This property is required. string
The OCID of an artifact
Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
deployArtifactId This property is required. String
The OCID of an artifact
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.
deployArtifactId This property is required. string
The OCID of an artifact
name This property is required. string
Name of the step.
value This property is required. string
value of the argument.
deploy_artifact_id This property is required. str
The OCID of an artifact
name This property is required. str
Name of the step.
value This property is required. str
value of the argument.
deployArtifactId This property is required. String
The OCID of an artifact
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.

GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem

DeployArtifactId This property is required. string
The OCID of an artifact
DeployPipelineStages This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage>
List of stages.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DeployArtifactId This property is required. string
The OCID of an artifact
DeployPipelineStages This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage
List of stages.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
deployArtifactId This property is required. String
The OCID of an artifact
deployPipelineStages This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage>
List of stages.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
deployArtifactId This property is required. string
The OCID of an artifact
deployPipelineStages This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage[]
List of stages.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
deploy_artifact_id This property is required. str
The OCID of an artifact
deploy_pipeline_stages This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage]
List of stages.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
deployArtifactId This property is required. String
The OCID of an artifact
deployPipelineStages This property is required. List<Property Map>
List of stages.
displayName This property is required. String
A filter to return only resources that match the entire display name given.

GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem[]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem

DeployStageId This property is required. string
The OCID of the stage.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DeployStageId This property is required. string
The OCID of the stage.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
deployStageId This property is required. String
The OCID of the stage.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
deployStageId This property is required. string
The OCID of the stage.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
deploy_stage_id This property is required. str
The OCID of the stage.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
deployStageId This property is required. String
The OCID of the stage.
displayName This property is required. String
A filter to return only resources that match the entire display name given.

GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem

DeployEnvironmentId This property is required. string
The OCID of an Environment
DeployPipelineStages This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage>
List of stages.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DeployEnvironmentId This property is required. string
The OCID of an Environment
DeployPipelineStages This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage
List of stages.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
deployEnvironmentId This property is required. String
The OCID of an Environment
deployPipelineStages This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage>
List of stages.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
deployEnvironmentId This property is required. string
The OCID of an Environment
deployPipelineStages This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage[]
List of stages.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
deploy_environment_id This property is required. str
The OCID of an Environment
deploy_pipeline_stages This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage]
List of stages.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
deployEnvironmentId This property is required. String
The OCID of an Environment
deployPipelineStages This property is required. List<Property Map>
List of stages.
displayName This property is required. String
A filter to return only resources that match the entire display name given.

GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem[]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem

DeployStageId This property is required. string
The OCID of the stage.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
DeployStageId This property is required. string
The OCID of the stage.
DisplayName This property is required. string
A filter to return only resources that match the entire display name given.
deployStageId This property is required. String
The OCID of the stage.
displayName This property is required. String
A filter to return only resources that match the entire display name given.
deployStageId This property is required. string
The OCID of the stage.
displayName This property is required. string
A filter to return only resources that match the entire display name given.
deploy_stage_id This property is required. str
The OCID of the stage.
display_name This property is required. str
A filter to return only resources that match the entire display name given.
deployStageId This property is required. String
The OCID of the stage.
displayName This property is required. String
A filter to return only resources that match the entire display name given.

GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem

DeployStageId This property is required. string
The OCID of the stage.
Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
DeployStageId This property is required. string
The OCID of the stage.
Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
deployStageId This property is required. String
The OCID of the stage.
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.
deployStageId This property is required. string
The OCID of the stage.
name This property is required. string
Name of the step.
value This property is required. string
value of the argument.
deploy_stage_id This property is required. str
The OCID of the stage.
name This property is required. str
Name of the step.
value This property is required. str
value of the argument.
deployStageId This property is required. String
The OCID of the stage.
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.

GetDeploymentsDeploymentCollectionItemDeploymentArgument

Items This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem>
A list of stage predecessors for a stage.
Items This property is required. []GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem
A list of stage predecessors for a stage.
items This property is required. List<GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem>
A list of stage predecessors for a stage.
items This property is required. GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem[]
A list of stage predecessors for a stage.
items This property is required. Sequence[devops.GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem]
A list of stage predecessors for a stage.
items This property is required. List<Property Map>
A list of stage predecessors for a stage.

GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem

Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
Name This property is required. string
Name of the step.
Value This property is required. string
value of the argument.
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.
name This property is required. string
Name of the step.
value This property is required. string
value of the argument.
name This property is required. str
Name of the step.
value This property is required. str
value of the argument.
name This property is required. String
Name of the step.
value This property is required. String
value of the argument.

GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress

DeployStageExecutionProgress This property is required. Dictionary<string, string>
Map of stage OCIDs to deploy stage execution progress model.
TimeFinished This property is required. string
Time the deployment is finished. Format defined by RFC3339.
TimeStarted This property is required. string
Time the deployment is started. Format defined by RFC3339.
DeployStageExecutionProgress This property is required. map[string]string
Map of stage OCIDs to deploy stage execution progress model.
TimeFinished This property is required. string
Time the deployment is finished. Format defined by RFC3339.
TimeStarted This property is required. string
Time the deployment is started. Format defined by RFC3339.
deployStageExecutionProgress This property is required. Map<String,String>
Map of stage OCIDs to deploy stage execution progress model.
timeFinished This property is required. String
Time the deployment is finished. Format defined by RFC3339.
timeStarted This property is required. String
Time the deployment is started. Format defined by RFC3339.
deployStageExecutionProgress This property is required. {[key: string]: string}
Map of stage OCIDs to deploy stage execution progress model.
timeFinished This property is required. string
Time the deployment is finished. Format defined by RFC3339.
timeStarted This property is required. string
Time the deployment is started. Format defined by RFC3339.
deploy_stage_execution_progress This property is required. Mapping[str, str]
Map of stage OCIDs to deploy stage execution progress model.
time_finished This property is required. str
Time the deployment is finished. Format defined by RFC3339.
time_started This property is required. str
Time the deployment is started. Format defined by RFC3339.
deployStageExecutionProgress This property is required. Map<String>
Map of stage OCIDs to deploy stage execution progress model.
timeFinished This property is required. String
Time the deployment is finished. Format defined by RFC3339.
timeStarted This property is required. String
Time the deployment is started. Format defined by RFC3339.

GetDeploymentsFilter

Name This property is required. string
Name of the step.
Values This property is required. List<string>
Regex bool
Name This property is required. string
Name of the step.
Values This property is required. []string
Regex bool
name This property is required. String
Name of the step.
values This property is required. List<String>
regex Boolean
name This property is required. string
Name of the step.
values This property is required. string[]
regex boolean
name This property is required. str
Name of the step.
values This property is required. Sequence[str]
regex bool
name This property is required. String
Name of the step.
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi