1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getDeployments
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.DevOps.getDeployments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 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: _var.compartment_id,
        deployPipelineId: oci_devops_deploy_pipeline.test_deploy_pipeline.id,
        displayName: _var.deployment_display_name,
        id: _var.deployment_id,
        projectId: oci_devops_project.test_project.id,
        state: _var.deployment_state,
        timeCreatedGreaterThanOrEqualTo: _var.deployment_time_created_greater_than_or_equal_to,
        timeCreatedLessThan: _var.deployment_time_created_less_than,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_deployments = oci.DevOps.get_deployments(compartment_id=var["compartment_id"],
        deploy_pipeline_id=oci_devops_deploy_pipeline["test_deploy_pipeline"]["id"],
        display_name=var["deployment_display_name"],
        id=var["deployment_id"],
        project_id=oci_devops_project["test_project"]["id"],
        state=var["deployment_state"],
        time_created_greater_than_or_equal_to=var["deployment_time_created_greater_than_or_equal_to"],
        time_created_less_than=var["deployment_time_created_less_than"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/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(_var.Compartment_id),
    			DeployPipelineId:                pulumi.StringRef(oci_devops_deploy_pipeline.Test_deploy_pipeline.Id),
    			DisplayName:                     pulumi.StringRef(_var.Deployment_display_name),
    			Id:                              pulumi.StringRef(_var.Deployment_id),
    			ProjectId:                       pulumi.StringRef(oci_devops_project.Test_project.Id),
    			State:                           pulumi.StringRef(_var.Deployment_state),
    			TimeCreatedGreaterThanOrEqualTo: pulumi.StringRef(_var.Deployment_time_created_greater_than_or_equal_to),
    			TimeCreatedLessThan:             pulumi.StringRef(_var.Deployment_time_created_less_than),
    		}, 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 = @var.Compartment_id,
            DeployPipelineId = oci_devops_deploy_pipeline.Test_deploy_pipeline.Id,
            DisplayName = @var.Deployment_display_name,
            Id = @var.Deployment_id,
            ProjectId = oci_devops_project.Test_project.Id,
            State = @var.Deployment_state,
            TimeCreatedGreaterThanOrEqualTo = @var.Deployment_time_created_greater_than_or_equal_to,
            TimeCreatedLessThan = @var.Deployment_time_created_less_than,
        });
    
    });
    
    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(var_.compartment_id())
                .deployPipelineId(oci_devops_deploy_pipeline.test_deploy_pipeline().id())
                .displayName(var_.deployment_display_name())
                .id(var_.deployment_id())
                .projectId(oci_devops_project.test_project().id())
                .state(var_.deployment_state())
                .timeCreatedGreaterThanOrEqualTo(var_.deployment_time_created_greater_than_or_equal_to())
                .timeCreatedLessThan(var_.deployment_time_created_less_than())
                .build());
    
        }
    }
    
    variables:
      testDeployments:
        fn::invoke:
          Function: oci:DevOps:getDeployments
          Arguments:
            compartmentId: ${var.compartment_id}
            deployPipelineId: ${oci_devops_deploy_pipeline.test_deploy_pipeline.id}
            displayName: ${var.deployment_display_name}
            id: ${var.deployment_id}
            projectId: ${oci_devops_project.test_project.id}
            state: ${var.deployment_state}
            timeCreatedGreaterThanOrEqualTo: ${var.deployment_time_created_greater_than_or_equal_to}
            timeCreatedLessThan: ${var.deployment_time_created_less_than}
    

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DevOps/getDeployments:getDeployments
      arguments:
        # arguments dictionary

    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 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 []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 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 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 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 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 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 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 List<GetDeploymentsDeploymentCollectionItem>
    A list of stage predecessors for a stage.
    Items []GetDeploymentsDeploymentCollectionItem
    A list of stage predecessors for a stage.
    items List<GetDeploymentsDeploymentCollectionItem>
    A list of stage predecessors for a stage.
    items GetDeploymentsDeploymentCollectionItem[]
    A list of stage predecessors for a stage.
    items GetDeploymentsDeploymentCollectionItem]
    A list of stage predecessors for a stage.
    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItem

    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument>
    Specifies the list of artifact override arguments at the time of deployment.
    DeployPipelineArtifacts List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    DeployPipelineId string
    The ID of the parent pipeline.
    DeployStageId string
    The OCID of the stage.
    DeployStageOverrideArguments List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument>
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments List<GetDeploymentsDeploymentCollectionItemDeploymentArgument>
    Specifies list of arguments passed along with the deployment.
    DeploymentExecutionProgresses List<GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress>
    The execution progress details of a deployment.
    DeploymentType string
    Specifies type of Deployment
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    LifecycleDetails 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 string
    Specifies the OCID of the previous deployment to be redeployed.
    ProjectId string
    unique project identifier
    State string
    A filter to return only Deployments that matches the given lifecycleState.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    TriggerNewDevopsDeployment bool
    CompartmentId string
    The OCID of the compartment in which to list resources.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments []GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument
    Specifies the list of artifact override arguments at the time of deployment.
    DeployPipelineArtifacts []GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments []GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment
    List of all environments used in the pipeline.
    DeployPipelineId string
    The ID of the parent pipeline.
    DeployStageId string
    The OCID of the stage.
    DeployStageOverrideArguments []GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments []GetDeploymentsDeploymentCollectionItemDeploymentArgument
    Specifies list of arguments passed along with the deployment.
    DeploymentExecutionProgresses []GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress
    The execution progress details of a deployment.
    DeploymentType string
    Specifies type of Deployment
    DisplayName string
    A filter to return only resources that match the entire display name given.
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    LifecycleDetails 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 string
    Specifies the OCID of the previous deployment to be redeployed.
    ProjectId string
    unique project identifier
    State string
    A filter to return only Deployments that matches the given lifecycleState.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    TriggerNewDevopsDeployment bool
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments List<GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument>
    Specifies the list of artifact override arguments at the time of deployment.
    deployPipelineArtifacts List<GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments List<GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    deployPipelineId String
    The ID of the parent pipeline.
    deployStageId String
    The OCID of the stage.
    deployStageOverrideArguments List<GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument>
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments List<GetDeploymentsDeploymentCollectionItemDeploymentArgument>
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses List<GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress>
    The execution progress details of a deployment.
    deploymentType String
    Specifies type of Deployment
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails 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 String
    Specifies the OCID of the previous deployment to be redeployed.
    projectId String
    unique project identifier
    state String
    A filter to return only Deployments that matches the given lifecycleState.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment Boolean
    compartmentId string
    The OCID of the compartment in which to list resources.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument[]
    Specifies the list of artifact override arguments at the time of deployment.
    deployPipelineArtifacts GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact[]
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment[]
    List of all environments used in the pipeline.
    deployPipelineId string
    The ID of the parent pipeline.
    deployStageId string
    The OCID of the stage.
    deployStageOverrideArguments GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument[]
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments GetDeploymentsDeploymentCollectionItemDeploymentArgument[]
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress[]
    The execution progress details of a deployment.
    deploymentType string
    Specifies type of Deployment
    displayName string
    A filter to return only resources that match the entire display name given.
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id string
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails 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 string
    Specifies the OCID of the previous deployment to be redeployed.
    projectId string
    unique project identifier
    state string
    A filter to return only Deployments that matches the given lifecycleState.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment boolean
    compartment_id str
    The OCID of the compartment in which to list resources.
    defined_tags Mapping[str, Any]
    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 GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument]
    Specifies the list of artifact override arguments at the time of deployment.
    deploy_pipeline_artifacts GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact]
    List of all artifacts used in the pipeline.
    deploy_pipeline_environments GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment]
    List of all environments used in the pipeline.
    deploy_pipeline_id str
    The ID of the parent pipeline.
    deploy_stage_id str
    The OCID of the stage.
    deploy_stage_override_arguments GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument]
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deployment_arguments GetDeploymentsDeploymentCollectionItemDeploymentArgument]
    Specifies list of arguments passed along with the deployment.
    deployment_execution_progresses GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress]
    The execution progress details of a deployment.
    deployment_type str
    Specifies type of Deployment
    display_name str
    A filter to return only resources that match the entire display name given.
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id str
    Unique identifier or OCID for listing a single resource by ID.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    previous_deployment_id str
    Specifies the OCID of the previous deployment to be redeployed.
    project_id str
    unique project identifier
    state str
    A filter to return only Deployments that matches the given lifecycleState.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Time the deployment was created. Format defined by RFC3339.
    time_updated str
    Time the deployment was updated. Format defined by RFC3339.
    trigger_new_devops_deployment bool
    compartmentId String
    The OCID of the compartment in which to list resources.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments List<Property Map>
    Specifies the list of artifact override arguments at the time of deployment.
    deployPipelineArtifacts List<Property Map>
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments List<Property Map>
    List of all environments used in the pipeline.
    deployPipelineId String
    The ID of the parent pipeline.
    deployStageId String
    The OCID of the stage.
    deployStageOverrideArguments List<Property Map>
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments List<Property Map>
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses List<Property Map>
    The execution progress details of a deployment.
    deploymentType String
    Specifies type of Deployment
    displayName String
    A filter to return only resources that match the entire display name given.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    lifecycleDetails 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 String
    Specifies the OCID of the previous deployment to be redeployed.
    projectId String
    unique project identifier
    state String
    A filter to return only Deployments that matches the given lifecycleState.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment Boolean

    GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItem

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

    GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItem

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

    GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStage

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItem

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

    GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironment

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItem

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

    GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStage

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItem

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

    GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItem

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

    GetDeploymentsDeploymentCollectionItemDeploymentArgument

    items List<Property Map>
    A list of stage predecessors for a stage.

    GetDeploymentsDeploymentCollectionItemDeploymentArgumentItem

    Name string
    Name of the step.
    Value string
    value of the argument.
    Name string
    Name of the step.
    Value string
    value of the argument.
    name String
    Name of the step.
    value String
    value of the argument.
    name string
    Name of the step.
    value string
    value of the argument.
    name str
    Name of the step.
    value str
    value of the argument.
    name String
    Name of the step.
    value String
    value of the argument.

    GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgress

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

    GetDeploymentsFilter

    Name string
    Name of the step.
    Values List<string>
    Regex bool
    Name string
    Name of the step.
    Values []string
    Regex bool
    name String
    Name of the step.
    values List<String>
    regex Boolean
    name string
    Name of the step.
    values string[]
    regex boolean
    name str
    Name of the step.
    values Sequence[str]
    regex bool
    name String
    Name of the step.
    values 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.
    oci logo
    Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi