Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi
oci.DevOps.getDeployments
Explore with Pulumi AI
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,
});
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)
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
})
}
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,
});
});
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());
}
}
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}
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>
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]
func GetDeployments(ctx *Context, args *GetDeploymentsArgs, opts ...InvokeOption) (*GetDeploymentsResult, error)
func GetDeploymentsOutput(ctx *Context, args *GetDeploymentsOutputArgs, opts ...InvokeOption) GetDeploymentsResultOutput
> 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)
}
public static CompletableFuture<GetDeploymentsResult> getDeployments(GetDeploymentsArgs args, InvokeOptions options)
public static Output<GetDeploymentsResult> getDeployments(GetDeploymentsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DevOps/getDeployments:getDeployments
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Deploy
Pipeline stringId - The ID of the parent pipeline.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
Changes to this property will trigger replacement.
Deployments Filter> - Id string
- Unique identifier or OCID for listing a single resource by ID.
- Project
Id string - unique project identifier
- State string
- A filter to return only Deployments that matches the given lifecycleState.
- Time
Created stringGreater Than Or Equal To - 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 stringLess Than - 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 string - The OCID of the compartment in which to list resources.
- Deploy
Pipeline stringId - The ID of the parent pipeline.
- Display
Name string - A filter to return only resources that match the entire display name given.
- Filters
Changes to this property will trigger replacement.
Deployments Filter - Id string
- Unique identifier or OCID for listing a single resource by ID.
- Project
Id string - unique project identifier
- State string
- A filter to return only Deployments that matches the given lifecycleState.
- Time
Created stringGreater Than Or Equal To - 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 stringLess Than - 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 String - The OCID of the compartment in which to list resources.
- deploy
Pipeline StringId - The ID of the parent pipeline.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
Deployments Filter> - id String
- Unique identifier or OCID for listing a single resource by ID.
- project
Id String - unique project identifier
- state String
- A filter to return only Deployments that matches the given lifecycleState.
- time
Created StringGreater Than Or Equal To - 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 StringLess Than - 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 string - The OCID of the compartment in which to list resources.
- deploy
Pipeline stringId - The ID of the parent pipeline.
- display
Name string - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
Deployments Filter[] - id string
- Unique identifier or OCID for listing a single resource by ID.
- project
Id string - unique project identifier
- state string
- A filter to return only Deployments that matches the given lifecycleState.
- time
Created stringGreater Than Or Equal To - 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 stringLess Than - 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_ strid - 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.
Get Deployments Filter] - 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_ strgreater_ than_ or_ equal_ to - 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_ strless_ than - 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 String - The OCID of the compartment in which to list resources.
- deploy
Pipeline StringId - The ID of the parent pipeline.
- display
Name String - A filter to return only resources that match the entire display name given.
- filters
Changes to this property will trigger replacement.
- id String
- Unique identifier or OCID for listing a single resource by ID.
- project
Id String - unique project identifier
- state String
- A filter to return only Deployments that matches the given lifecycleState.
- time
Created StringGreater Than Or Equal To - 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 StringLess Than - 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:
- Deployment
Collections List<GetDeployments Deployment Collection> - The list of deployment_collection.
- Compartment
Id string - The OCID of a compartment.
- Deploy
Pipeline stringId - The OCID of a pipeline.
- Display
Name string - Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
List<Get
Deployments Filter> - Id string
- Unique identifier that is immutable on creation.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- Deployment
Collections []GetDeployments Deployment Collection - The list of deployment_collection.
- Compartment
Id string - The OCID of a compartment.
- Deploy
Pipeline stringId - The OCID of a pipeline.
- Display
Name string - Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
- Filters
[]Get
Deployments Filter - Id string
- Unique identifier that is immutable on creation.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- Time
Created stringGreater Than Or Equal To - Time
Created stringLess Than
- deployment
Collections List<GetDeployments Deployment Collection> - The list of deployment_collection.
- compartment
Id String - The OCID of a compartment.
- deploy
Pipeline StringId - The OCID of a pipeline.
- display
Name String - Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
List<Get
Deployments Filter> - id String
- Unique identifier that is immutable on creation.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
- deployment
Collections GetDeployments Deployment Collection[] - The list of deployment_collection.
- compartment
Id string - The OCID of a compartment.
- deploy
Pipeline stringId - The OCID of a pipeline.
- display
Name string - Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
- filters
Get
Deployments Filter[] - id string
- Unique identifier that is immutable on creation.
- project
Id string - The OCID of a project.
- state string
- The current state of the deployment.
- time
Created stringGreater Than Or Equal To - time
Created stringLess Than
- deployment_
collections Sequence[devops.Get Deployments Deployment Collection] - The list of deployment_collection.
- compartment_
id str - The OCID of a compartment.
- deploy_
pipeline_ strid - 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.
Get Deployments Filter] - 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_ strgreater_ than_ or_ equal_ to - time_
created_ strless_ than
- deployment
Collections List<Property Map> - The list of deployment_collection.
- compartment
Id String - The OCID of a compartment.
- deploy
Pipeline StringId - The OCID of a pipeline.
- display
Name 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.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- time
Created StringGreater Than Or Equal To - time
Created StringLess Than
Supporting Types
GetDeploymentsDeploymentCollection
- Items
This property is required. List<GetDeployments Deployment Collection Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item] - 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
- Compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
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"}
- Deploy
Artifact Override Arguments This property is required. List<GetDeployments Deployment Collection Item Deploy Artifact Override Argument> - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Pipeline Artifacts This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- Deploy
Pipeline Environments This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment> - List of all environments used in the pipeline.
- Deploy
Pipeline Id This property is required. string - The ID of the parent pipeline.
- Deploy
Stage Id This property is required. string - The OCID of the stage.
- Deploy
Stage Override Arguments This property is required. List<GetDeployments Deployment Collection Item Deploy Stage Override Argument> - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments This property is required. List<GetDeployments Deployment Collection Item Deployment Argument> - Specifies list of arguments passed along with the deployment.
- Deployment
Execution Progresses This property is required. List<GetDeployments Deployment Collection Item Deployment Execution Progress> - The execution progress details of a deployment.
- Deployment
Type This property is required. string - Specifies type of Deployment
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- Lifecycle
Details 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.
- Previous
Deployment Id This property is required. string - Specifies the OCID of the previous deployment to be redeployed.
- Project
Id 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.
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"}
- Time
Created This property is required. string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated This property is required. string - Time the deployment was updated. Format defined by RFC3339.
- Trigger
New Devops Deployment This property is required. bool
- Compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
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"}
- Deploy
Artifact Override Arguments This property is required. []GetDeployments Deployment Collection Item Deploy Artifact Override Argument - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Pipeline Artifacts This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Artifact - List of all artifacts used in the pipeline.
- Deploy
Pipeline Environments This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Environment - List of all environments used in the pipeline.
- Deploy
Pipeline Id This property is required. string - The ID of the parent pipeline.
- Deploy
Stage Id This property is required. string - The OCID of the stage.
- Deploy
Stage Override Arguments This property is required. []GetDeployments Deployment Collection Item Deploy Stage Override Argument - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments This property is required. []GetDeployments Deployment Collection Item Deployment Argument - Specifies list of arguments passed along with the deployment.
- Deployment
Execution Progresses This property is required. []GetDeployments Deployment Collection Item Deployment Execution Progress - The execution progress details of a deployment.
- Deployment
Type This property is required. string - Specifies type of Deployment
- Display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- Lifecycle
Details 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.
- Previous
Deployment Id This property is required. string - Specifies the OCID of the previous deployment to be redeployed.
- Project
Id 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.
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"}
- Time
Created This property is required. string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated This property is required. string - Time the deployment was updated. Format defined by RFC3339.
- Trigger
New Devops Deployment This property is required. bool
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
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"}
- deploy
Artifact Override Arguments This property is required. List<GetDeployments Deployment Collection Item Deploy Artifact Override Argument> - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline Artifacts This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- deploy
Pipeline Environments This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment> - List of all environments used in the pipeline.
- deploy
Pipeline Id This property is required. String - The ID of the parent pipeline.
- deploy
Stage Id This property is required. String - The OCID of the stage.
- deploy
Stage Override Arguments This property is required. List<GetDeployments Deployment Collection Item Deploy Stage Override Argument> - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments This property is required. List<GetDeployments Deployment Collection Item Deployment Argument> - Specifies list of arguments passed along with the deployment.
- deployment
Execution Progresses This property is required. List<GetDeployments Deployment Collection Item Deployment Execution Progress> - The execution progress details of a deployment.
- deployment
Type This property is required. String - Specifies type of Deployment
- display
Name This property is required. String - A filter to return only resources that match the entire display name given.
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.
- lifecycle
Details 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.
- previous
Deployment Id This property is required. String - Specifies the OCID of the previous deployment to be redeployed.
- project
Id 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.
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"}
- time
Created This property is required. String - Time the deployment was created. Format defined by RFC3339.
- time
Updated This property is required. String - Time the deployment was updated. Format defined by RFC3339.
- trigger
New Devops Deployment This property is required. Boolean
- compartment
Id This property is required. string - The OCID of the compartment in which to list resources.
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"}
- deploy
Artifact Override Arguments This property is required. GetDeployments Deployment Collection Item Deploy Artifact Override Argument[] - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline Artifacts This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Artifact[] - List of all artifacts used in the pipeline.
- deploy
Pipeline Environments This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Environment[] - List of all environments used in the pipeline.
- deploy
Pipeline Id This property is required. string - The ID of the parent pipeline.
- deploy
Stage Id This property is required. string - The OCID of the stage.
- deploy
Stage Override Arguments This property is required. GetDeployments Deployment Collection Item Deploy Stage Override Argument[] - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments This property is required. GetDeployments Deployment Collection Item Deployment Argument[] - Specifies list of arguments passed along with the deployment.
- deployment
Execution Progresses This property is required. GetDeployments Deployment Collection Item Deployment Execution Progress[] - The execution progress details of a deployment.
- deployment
Type This property is required. string - Specifies type of Deployment
- display
Name This property is required. string - A filter to return only resources that match the entire display name given.
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.
- lifecycle
Details 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.
- previous
Deployment Id This property is required. string - Specifies the OCID of the previous deployment to be redeployed.
- project
Id 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.
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"}
- time
Created This property is required. string - Time the deployment was created. Format defined by RFC3339.
- time
Updated This property is required. string - Time the deployment was updated. Format defined by RFC3339.
- trigger
New Devops Deployment This property is required. boolean
- compartment_
id This property is required. str - The OCID of the compartment in which to list resources.
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.Get Deployments Deployment Collection Item Deploy Artifact Override Argument] - Specifies the list of artifact override arguments at the time of deployment.
- deploy_
pipeline_ artifacts This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Artifact] - List of all artifacts used in the pipeline.
- deploy_
pipeline_ environments This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Environment] - 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.Get Deployments Deployment Collection Item Deploy Stage Override Argument] - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment_
arguments This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deployment Argument] - Specifies list of arguments passed along with the deployment.
- deployment_
execution_ progresses This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deployment Execution Progress] - 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.
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.
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
- compartment
Id This property is required. String - The OCID of the compartment in which to list resources.
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"}
- deploy
Artifact Override Arguments This property is required. List<Property Map> - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline Artifacts This property is required. List<Property Map> - List of all artifacts used in the pipeline.
- deploy
Pipeline Environments This property is required. List<Property Map> - List of all environments used in the pipeline.
- deploy
Pipeline Id This property is required. String - The ID of the parent pipeline.
- deploy
Stage Id This property is required. String - The OCID of the stage.
- deploy
Stage Override Arguments This property is required. List<Property Map> - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments This property is required. List<Property Map> - Specifies list of arguments passed along with the deployment.
- deployment
Execution Progresses This property is required. List<Property Map> - The execution progress details of a deployment.
- deployment
Type This property is required. String - Specifies type of Deployment
- display
Name This property is required. String - A filter to return only resources that match the entire display name given.
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.
- lifecycle
Details 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.
- previous
Deployment Id This property is required. String - Specifies the OCID of the previous deployment to be redeployed.
- project
Id 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.
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"}
- time
Created This property is required. String - Time the deployment was created. Format defined by RFC3339.
- time
Updated This property is required. String - Time the deployment was updated. Format defined by RFC3339.
- trigger
New Devops Deployment This property is required. Boolean
GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument
- Items
This property is required. List<GetDeployments Deployment Collection Item Deploy Artifact Override Argument Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Artifact Override Argument Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Artifact Override Argument Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Artifact Override Argument Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Artifact Override Argument Item] - 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
- Deploy
Artifact Id 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. 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. 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. 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.
- deploy
Artifact Id 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<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Artifact Item] - 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
- Deploy
Artifact Id This property is required. string - The OCID of an artifact
- Deploy
Pipeline Stages This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage> - List of stages.
- Display
Name 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. string - The OCID of an artifact
- Deploy
Pipeline Stages This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage - List of stages.
- Display
Name 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. String - The OCID of an artifact
- deploy
Pipeline Stages This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage> - List of stages.
- display
Name 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. string - The OCID of an artifact
- deploy
Pipeline Stages This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage[] - List of stages.
- display
Name 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.Get Deployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage] - List of stages.
- display_
name This property is required. str - A filter to return only resources that match the entire display name given.
- deploy
Artifact Id This property is required. String - The OCID of an artifact
- deploy
Pipeline Stages This property is required. List<Property Map> - List of stages.
- display
Name 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<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Artifact Item Deploy Pipeline Stage Item] - 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
- Deploy
Stage Id This property is required. string - The OCID of the stage.
- Display
Name 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. string - The OCID of the stage.
- Display
Name 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. String - The OCID of the stage.
- display
Name 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. string - The OCID of the stage.
- display
Name 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.
- deploy
Stage Id This property is required. String - The OCID of the stage.
- display
Name 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<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Environment Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Environment Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Environment Item] - 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
- Deploy
Environment Id This property is required. string - The OCID of an Environment
- Deploy
Pipeline Stages This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage> - List of stages.
- Display
Name 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. string - The OCID of an Environment
- Deploy
Pipeline Stages This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage - List of stages.
- Display
Name 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. String - The OCID of an Environment
- deploy
Pipeline Stages This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage> - List of stages.
- display
Name 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. string - The OCID of an Environment
- deploy
Pipeline Stages This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage[] - List of stages.
- display
Name 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.Get Deployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage] - List of stages.
- display_
name This property is required. str - A filter to return only resources that match the entire display name given.
- deploy
Environment Id This property is required. String - The OCID of an Environment
- deploy
Pipeline Stages This property is required. List<Property Map> - List of stages.
- display
Name 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<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Pipeline Environment Item Deploy Pipeline Stage Item] - 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
- Deploy
Stage Id This property is required. string - The OCID of the stage.
- Display
Name 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. string - The OCID of the stage.
- Display
Name 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. String - The OCID of the stage.
- display
Name 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. string - The OCID of the stage.
- display
Name 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.
- deploy
Stage Id This property is required. String - The OCID of the stage.
- display
Name 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<GetDeployments Deployment Collection Item Deploy Stage Override Argument Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deploy Stage Override Argument Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deploy Stage Override Argument Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deploy Stage Override Argument Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deploy Stage Override Argument Item] - 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
- Deploy
Stage Id 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. 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. 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. 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.
- deploy
Stage Id 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<GetDeployments Deployment Collection Item Deployment Argument Item> - A list of stage predecessors for a stage.
- Items
This property is required. []GetDeployments Deployment Collection Item Deployment Argument Item - A list of stage predecessors for a stage.
- items
This property is required. List<GetDeployments Deployment Collection Item Deployment Argument Item> - A list of stage predecessors for a stage.
- items
This property is required. GetDeployments Deployment Collection Item Deployment Argument Item[] - A list of stage predecessors for a stage.
- items
This property is required. Sequence[devops.Get Deployments Deployment Collection Item Deployment Argument Item] - 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
GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress
- Deploy
Stage Execution Progress This property is required. Dictionary<string, string> - Map of stage OCIDs to deploy stage execution progress model.
- Time
Finished This property is required. string - Time the deployment is finished. Format defined by RFC3339.
- Time
Started This property is required. string - Time the deployment is started. Format defined by RFC3339.
- Deploy
Stage Execution Progress This property is required. map[string]string - Map of stage OCIDs to deploy stage execution progress model.
- Time
Finished This property is required. string - Time the deployment is finished. Format defined by RFC3339.
- Time
Started This property is required. string - Time the deployment is started. Format defined by RFC3339.
- deploy
Stage Execution Progress This property is required. Map<String,String> - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished This property is required. String - Time the deployment is finished. Format defined by RFC3339.
- time
Started This property is required. String - Time the deployment is started. Format defined by RFC3339.
- deploy
Stage Execution Progress This property is required. {[key: string]: string} - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished This property is required. string - Time the deployment is finished. Format defined by RFC3339.
- time
Started 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.
- deploy
Stage Execution Progress This property is required. Map<String> - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished This property is required. String - Time the deployment is finished. Format defined by RFC3339.
- time
Started This property is required. String - Time the deployment is started. Format defined by RFC3339.
GetDeploymentsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.