1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. getDeployments
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DevOps.getDeployments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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: 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)
    // 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 Sequence[devops.GetDeploymentsFilter]
    id str
    Unique identifier or OCID for listing a single resource by ID.
    project_id str
    unique project identifier
    state str
    A filter to return only Deployments that matches the given lifecycleState.
    time_created_greater_than_or_equal_to str
    Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
    time_created_less_than str
    Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
    compartmentId String
    The OCID of the compartment in which to list resources.
    deployPipelineId String
    The ID of the parent pipeline.
    displayName String
    A filter to return only resources that match the entire display name given.
    filters List<Property Map>
    id String
    Unique identifier or OCID for listing a single resource by ID.
    projectId String
    unique project identifier
    state String
    A filter to return only Deployments that matches the given lifecycleState.
    timeCreatedGreaterThanOrEqualTo String
    Search for DevOps resources that were created after a specific date. Specifying this parameter corresponding to timeCreatedGreaterThanOrEqualTo parameter will retrieve all security assessments created after the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.
    timeCreatedLessThan String
    Search for DevOps resources that were created before a specific date. Specifying this parameter corresponding to timeCreatedLessThan parameter will retrieve all assessments created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC3339.

    getDeployments Result

    The following output properties are available:

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

    Supporting Types

    GetDeploymentsDeploymentCollection

    Items 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 Sequence[devops.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, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments 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, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    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, string>
    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]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments []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]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    Id string
    Unique identifier or OCID for listing a single resource by ID.
    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]string
    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,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments 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,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    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,String>
    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]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments 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]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id string
    Unique identifier or OCID for listing a single resource by ID.
    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]: string}
    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, 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 Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgument]
    Specifies the list of artifact override arguments at the time of deployment.
    deploy_pipeline_artifacts Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifact]
    List of all artifacts used in the pipeline.
    deploy_pipeline_environments Sequence[devops.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 Sequence[devops.GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgument]
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deployment_arguments Sequence[devops.GetDeploymentsDeploymentCollectionItemDeploymentArgument]
    Specifies list of arguments passed along with the deployment.
    deployment_execution_progresses Sequence[devops.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, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id str
    Unique identifier or OCID for listing a single resource by ID.
    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, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    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<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments 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<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    id String
    Unique identifier or OCID for listing a single resource by ID.
    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>
    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 Sequence[devops.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 Sequence[devops.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, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>
    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi