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

oci.DevOps.Deployment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

    This resource provides the Deployment resource in Oracle Cloud Infrastructure Devops service.

    Creates a new deployment.

    Create Deployment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
    @overload
    def Deployment(resource_name: str,
                   args: DeploymentArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def Deployment(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   deploy_pipeline_id: Optional[str] = None,
                   deployment_type: Optional[str] = None,
                   defined_tags: Optional[Mapping[str, str]] = None,
                   deploy_artifact_override_arguments: Optional[_devops.DeploymentDeployArtifactOverrideArgumentsArgs] = None,
                   deploy_stage_id: Optional[str] = None,
                   deploy_stage_override_arguments: Optional[_devops.DeploymentDeployStageOverrideArgumentsArgs] = None,
                   deployment_arguments: Optional[_devops.DeploymentDeploymentArgumentsArgs] = None,
                   display_name: Optional[str] = None,
                   freeform_tags: Optional[Mapping[str, str]] = None,
                   previous_deployment_id: Optional[str] = None,
                   trigger_new_devops_deployment: Optional[bool] = None)
    func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
    public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
    public Deployment(String name, DeploymentArgs args)
    public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
    
    type: oci:DevOps:Deployment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DeploymentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ociDeploymentResource = new Oci.DevOps.Deployment("ociDeploymentResource", new()
    {
        DeployPipelineId = "string",
        DeploymentType = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DeployArtifactOverrideArguments = new Oci.DevOps.Inputs.DeploymentDeployArtifactOverrideArgumentsArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.DeploymentDeployArtifactOverrideArgumentsItemArgs
                {
                    DeployArtifactId = "string",
                    Name = "string",
                    Value = "string",
                },
            },
        },
        DeployStageId = "string",
        DeployStageOverrideArguments = new Oci.DevOps.Inputs.DeploymentDeployStageOverrideArgumentsArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.DeploymentDeployStageOverrideArgumentsItemArgs
                {
                    DeployStageId = "string",
                    Name = "string",
                    Value = "string",
                },
            },
        },
        DeploymentArguments = new Oci.DevOps.Inputs.DeploymentDeploymentArgumentsArgs
        {
            Items = new[]
            {
                new Oci.DevOps.Inputs.DeploymentDeploymentArgumentsItemArgs
                {
                    Name = "string",
                    Value = "string",
                },
            },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        PreviousDeploymentId = "string",
        TriggerNewDevopsDeployment = false,
    });
    
    example, err := DevOps.NewDeployment(ctx, "ociDeploymentResource", &DevOps.DeploymentArgs{
    	DeployPipelineId: pulumi.String("string"),
    	DeploymentType:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DeployArtifactOverrideArguments: &devops.DeploymentDeployArtifactOverrideArgumentsArgs{
    		Items: devops.DeploymentDeployArtifactOverrideArgumentsItemArray{
    			&devops.DeploymentDeployArtifactOverrideArgumentsItemArgs{
    				DeployArtifactId: pulumi.String("string"),
    				Name:             pulumi.String("string"),
    				Value:            pulumi.String("string"),
    			},
    		},
    	},
    	DeployStageId: pulumi.String("string"),
    	DeployStageOverrideArguments: &devops.DeploymentDeployStageOverrideArgumentsArgs{
    		Items: devops.DeploymentDeployStageOverrideArgumentsItemArray{
    			&devops.DeploymentDeployStageOverrideArgumentsItemArgs{
    				DeployStageId: pulumi.String("string"),
    				Name:          pulumi.String("string"),
    				Value:         pulumi.String("string"),
    			},
    		},
    	},
    	DeploymentArguments: &devops.DeploymentDeploymentArgumentsArgs{
    		Items: devops.DeploymentDeploymentArgumentsItemArray{
    			&devops.DeploymentDeploymentArgumentsItemArgs{
    				Name:  pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	PreviousDeploymentId:       pulumi.String("string"),
    	TriggerNewDevopsDeployment: pulumi.Bool(false),
    })
    
    var ociDeploymentResource = new Deployment("ociDeploymentResource", DeploymentArgs.builder()
        .deployPipelineId("string")
        .deploymentType("string")
        .definedTags(Map.of("string", "string"))
        .deployArtifactOverrideArguments(DeploymentDeployArtifactOverrideArgumentsArgs.builder()
            .items(DeploymentDeployArtifactOverrideArgumentsItemArgs.builder()
                .deployArtifactId("string")
                .name("string")
                .value("string")
                .build())
            .build())
        .deployStageId("string")
        .deployStageOverrideArguments(DeploymentDeployStageOverrideArgumentsArgs.builder()
            .items(DeploymentDeployStageOverrideArgumentsItemArgs.builder()
                .deployStageId("string")
                .name("string")
                .value("string")
                .build())
            .build())
        .deploymentArguments(DeploymentDeploymentArgumentsArgs.builder()
            .items(DeploymentDeploymentArgumentsItemArgs.builder()
                .name("string")
                .value("string")
                .build())
            .build())
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .previousDeploymentId("string")
        .triggerNewDevopsDeployment(false)
        .build());
    
    oci_deployment_resource = oci.dev_ops.Deployment("ociDeploymentResource",
        deploy_pipeline_id="string",
        deployment_type="string",
        defined_tags={
            "string": "string",
        },
        deploy_artifact_override_arguments=oci.dev_ops.DeploymentDeployArtifactOverrideArgumentsArgs(
            items=[oci.dev_ops.DeploymentDeployArtifactOverrideArgumentsItemArgs(
                deploy_artifact_id="string",
                name="string",
                value="string",
            )],
        ),
        deploy_stage_id="string",
        deploy_stage_override_arguments=oci.dev_ops.DeploymentDeployStageOverrideArgumentsArgs(
            items=[oci.dev_ops.DeploymentDeployStageOverrideArgumentsItemArgs(
                deploy_stage_id="string",
                name="string",
                value="string",
            )],
        ),
        deployment_arguments=oci.dev_ops.DeploymentDeploymentArgumentsArgs(
            items=[oci.dev_ops.DeploymentDeploymentArgumentsItemArgs(
                name="string",
                value="string",
            )],
        ),
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        previous_deployment_id="string",
        trigger_new_devops_deployment=False)
    
    const ociDeploymentResource = new oci.devops.Deployment("ociDeploymentResource", {
        deployPipelineId: "string",
        deploymentType: "string",
        definedTags: {
            string: "string",
        },
        deployArtifactOverrideArguments: {
            items: [{
                deployArtifactId: "string",
                name: "string",
                value: "string",
            }],
        },
        deployStageId: "string",
        deployStageOverrideArguments: {
            items: [{
                deployStageId: "string",
                name: "string",
                value: "string",
            }],
        },
        deploymentArguments: {
            items: [{
                name: "string",
                value: "string",
            }],
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        previousDeploymentId: "string",
        triggerNewDevopsDeployment: false,
    });
    
    type: oci:DevOps:Deployment
    properties:
        definedTags:
            string: string
        deployArtifactOverrideArguments:
            items:
                - deployArtifactId: string
                  name: string
                  value: string
        deployPipelineId: string
        deployStageId: string
        deployStageOverrideArguments:
            items:
                - deployStageId: string
                  name: string
                  value: string
        deploymentArguments:
            items:
                - name: string
                  value: string
        deploymentType: string
        displayName: string
        freeformTags:
            string: string
        previousDeploymentId: string
        triggerNewDevopsDeployment: false
    

    Deployment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Deployment resource accepts the following input properties:

    DeployPipelineId string
    The OCID of a pipeline.
    DeploymentType string
    (Updatable) Specifies type for this deployment.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DeployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    PreviousDeploymentId string
    Specifies the OCID of the previous deployment to be redeployed.
    TriggerNewDevopsDeployment bool

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    DeployPipelineId string
    The OCID of a pipeline.
    DeploymentType string
    (Updatable) Specifies type for this deployment.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments DeploymentDeployArtifactOverrideArgumentsArgs
    Specifies the list of artifact override arguments at the time of deployment.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DeployStageOverrideArguments DeploymentDeployStageOverrideArgumentsArgs
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments DeploymentDeploymentArgumentsArgs
    Specifies list of arguments passed along with the deployment.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    PreviousDeploymentId string
    Specifies the OCID of the previous deployment to be redeployed.
    TriggerNewDevopsDeployment bool

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    deployPipelineId String
    The OCID of a pipeline.
    deploymentType String
    (Updatable) Specifies type for this deployment.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    previousDeploymentId String
    Specifies the OCID of the previous deployment to be redeployed.
    triggerNewDevopsDeployment Boolean

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    deployPipelineId string
    The OCID of a pipeline.
    deploymentType string
    (Updatable) Specifies type for this deployment.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    deployStageId string
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    previousDeploymentId string
    Specifies the OCID of the previous deployment to be redeployed.
    triggerNewDevopsDeployment boolean

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    deploy_pipeline_id str
    The OCID of a pipeline.
    deployment_type str
    (Updatable) Specifies type for this deployment.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deploy_artifact_override_arguments devops.DeploymentDeployArtifactOverrideArgumentsArgs
    Specifies the list of artifact override arguments at the time of deployment.
    deploy_stage_id str
    Specifies the OCID of the stage to be redeployed.
    deploy_stage_override_arguments devops.DeploymentDeployStageOverrideArgumentsArgs
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deployment_arguments devops.DeploymentDeploymentArgumentsArgs
    Specifies list of arguments passed along with the deployment.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    previous_deployment_id str
    Specifies the OCID of the previous deployment to be redeployed.
    trigger_new_devops_deployment bool

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    deployPipelineId String
    The OCID of a pipeline.
    deploymentType String
    (Updatable) Specifies type for this deployment.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments Property Map
    Specifies the list of artifact override arguments at the time of deployment.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments Property Map
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments Property Map
    Specifies list of arguments passed along with the deployment.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    previousDeploymentId String
    Specifies the OCID of the previous deployment to be redeployed.
    triggerNewDevopsDeployment Boolean

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Deployment resource produces the following output properties:

    CompartmentId string
    The OCID of a compartment.
    DeployPipelineArtifacts List<DeploymentDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments List<DeploymentDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    DeploymentExecutionProgresses List<DeploymentDeploymentExecutionProgress>
    The execution progress details of a deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    ProjectId string
    The OCID of a project.
    State string
    The current state of the deployment.
    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.
    CompartmentId string
    The OCID of a compartment.
    DeployPipelineArtifacts []DeploymentDeployPipelineArtifact
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments []DeploymentDeployPipelineEnvironment
    List of all environments used in the pipeline.
    DeploymentExecutionProgresses []DeploymentDeploymentExecutionProgress
    The execution progress details of a deployment.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    ProjectId string
    The OCID of a project.
    State string
    The current state of the deployment.
    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.
    compartmentId String
    The OCID of a compartment.
    deployPipelineArtifacts List<DeploymentDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments List<DeploymentDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    deploymentExecutionProgresses List<DeploymentDeploymentExecutionProgress>
    The execution progress details of a deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    projectId String
    The OCID of a project.
    state String
    The current state of the deployment.
    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.
    compartmentId string
    The OCID of a compartment.
    deployPipelineArtifacts DeploymentDeployPipelineArtifact[]
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments DeploymentDeployPipelineEnvironment[]
    List of all environments used in the pipeline.
    deploymentExecutionProgresses DeploymentDeploymentExecutionProgress[]
    The execution progress details of a deployment.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    projectId string
    The OCID of a project.
    state string
    The current state of the deployment.
    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.
    compartment_id str
    The OCID of a compartment.
    deploy_pipeline_artifacts Sequence[devops.DeploymentDeployPipelineArtifact]
    List of all artifacts used in the pipeline.
    deploy_pipeline_environments Sequence[devops.DeploymentDeployPipelineEnvironment]
    List of all environments used in the pipeline.
    deployment_execution_progresses Sequence[devops.DeploymentDeploymentExecutionProgress]
    The execution progress details of a deployment.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
    project_id str
    The OCID of a project.
    state str
    The current state of the deployment.
    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.
    compartmentId String
    The OCID of a compartment.
    deployPipelineArtifacts List<Property Map>
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments List<Property Map>
    List of all environments used in the pipeline.
    deploymentExecutionProgresses List<Property Map>
    The execution progress details of a deployment.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    projectId String
    The OCID of a project.
    state String
    The current state of the deployment.
    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.

    Look up Existing Deployment Resource

    Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DeploymentState, opts?: CustomResourceOptions): Deployment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            deploy_artifact_override_arguments: Optional[_devops.DeploymentDeployArtifactOverrideArgumentsArgs] = None,
            deploy_pipeline_artifacts: Optional[Sequence[_devops.DeploymentDeployPipelineArtifactArgs]] = None,
            deploy_pipeline_environments: Optional[Sequence[_devops.DeploymentDeployPipelineEnvironmentArgs]] = None,
            deploy_pipeline_id: Optional[str] = None,
            deploy_stage_id: Optional[str] = None,
            deploy_stage_override_arguments: Optional[_devops.DeploymentDeployStageOverrideArgumentsArgs] = None,
            deployment_arguments: Optional[_devops.DeploymentDeploymentArgumentsArgs] = None,
            deployment_execution_progresses: Optional[Sequence[_devops.DeploymentDeploymentExecutionProgressArgs]] = None,
            deployment_type: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            previous_deployment_id: Optional[str] = None,
            project_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            trigger_new_devops_deployment: Optional[bool] = None) -> Deployment
    func GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)
    public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)
    public static Deployment get(String name, Output<String> id, DeploymentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    The OCID of a compartment.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    DeployPipelineArtifacts List<DeploymentDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments List<DeploymentDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    DeployPipelineId string
    The OCID of a pipeline.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DeployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    DeploymentExecutionProgresses List<DeploymentDeploymentExecutionProgress>
    The execution progress details of a deployment.
    DeploymentType string
    (Updatable) Specifies type for this deployment.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    State string
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    CompartmentId string
    The OCID of a compartment.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    DeployArtifactOverrideArguments DeploymentDeployArtifactOverrideArgumentsArgs
    Specifies the list of artifact override arguments at the time of deployment.
    DeployPipelineArtifacts []DeploymentDeployPipelineArtifactArgs
    List of all artifacts used in the pipeline.
    DeployPipelineEnvironments []DeploymentDeployPipelineEnvironmentArgs
    List of all environments used in the pipeline.
    DeployPipelineId string
    The OCID of a pipeline.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DeployStageOverrideArguments DeploymentDeployStageOverrideArgumentsArgs
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    DeploymentArguments DeploymentDeploymentArgumentsArgs
    Specifies list of arguments passed along with the deployment.
    DeploymentExecutionProgresses []DeploymentDeploymentExecutionProgressArgs
    The execution progress details of a deployment.
    DeploymentType string
    (Updatable) Specifies type for this deployment.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    State string
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    compartmentId String
    The OCID of a compartment.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    deployPipelineArtifacts List<DeploymentDeployPipelineArtifact>
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments List<DeploymentDeployPipelineEnvironment>
    List of all environments used in the pipeline.
    deployPipelineId String
    The OCID of a pipeline.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses List<DeploymentDeploymentExecutionProgress>
    The execution progress details of a deployment.
    deploymentType String
    (Updatable) Specifies type for this deployment.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    state String
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    compartmentId string
    The OCID of a compartment.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments DeploymentDeployArtifactOverrideArguments
    Specifies the list of artifact override arguments at the time of deployment.
    deployPipelineArtifacts DeploymentDeployPipelineArtifact[]
    List of all artifacts used in the pipeline.
    deployPipelineEnvironments DeploymentDeployPipelineEnvironment[]
    List of all environments used in the pipeline.
    deployPipelineId string
    The OCID of a pipeline.
    deployStageId string
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments DeploymentDeployStageOverrideArguments
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments DeploymentDeploymentArguments
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses DeploymentDeploymentExecutionProgress[]
    The execution progress details of a deployment.
    deploymentType string
    (Updatable) Specifies type for this deployment.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    state string
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    compartment_id str
    The OCID of a compartment.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deploy_artifact_override_arguments devops.DeploymentDeployArtifactOverrideArgumentsArgs
    Specifies the list of artifact override arguments at the time of deployment.
    deploy_pipeline_artifacts Sequence[devops.DeploymentDeployPipelineArtifactArgs]
    List of all artifacts used in the pipeline.
    deploy_pipeline_environments Sequence[devops.DeploymentDeployPipelineEnvironmentArgs]
    List of all environments used in the pipeline.
    deploy_pipeline_id str
    The OCID of a pipeline.
    deploy_stage_id str
    Specifies the OCID of the stage to be redeployed.
    deploy_stage_override_arguments devops.DeploymentDeployStageOverrideArgumentsArgs
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deployment_arguments devops.DeploymentDeploymentArgumentsArgs
    Specifies list of arguments passed along with the deployment.
    deployment_execution_progresses Sequence[devops.DeploymentDeploymentExecutionProgressArgs]
    The execution progress details of a deployment.
    deployment_type str
    (Updatable) Specifies type for this deployment.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    state str
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    compartmentId String
    The OCID of a compartment.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace.bar-key": "value"}
    deployArtifactOverrideArguments 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 OCID of a pipeline.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    deployStageOverrideArguments Property Map
    Specifies the list of arguments to be overriden per Stage at the time of deployment.
    deploymentArguments Property Map
    Specifies list of arguments passed along with the deployment.
    deploymentExecutionProgresses List<Property Map>
    The execution progress details of a deployment.
    deploymentType String
    (Updatable) Specifies type for this deployment.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
    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
    The OCID of a project.
    state String
    The current state of the deployment.
    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

    A boolean specifying if a new deployment should be created on every apply. As long as this value is set to true in the config, every apply will trigger a new deployment to be created. The existing deployment resource will be replaced with the new one in the state file (deployment resources are never deleted, they persist as a store of records, but your state file will only track the latest one created with this resource block).

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while trigger_new_devops_deployment is set true each apply will force the destruction and recreation of the resource with the new property values.

    Supporting Types

    DeploymentDeployArtifactOverrideArguments, DeploymentDeployArtifactOverrideArgumentsArgs

    Items List<DeploymentDeployArtifactOverrideArgumentsItem>
    List of artifact override arguments at the time of deployment.
    Items []DeploymentDeployArtifactOverrideArgumentsItem
    List of artifact override arguments at the time of deployment.
    items List<DeploymentDeployArtifactOverrideArgumentsItem>
    List of artifact override arguments at the time of deployment.
    items DeploymentDeployArtifactOverrideArgumentsItem[]
    List of artifact override arguments at the time of deployment.
    items Sequence[devops.DeploymentDeployArtifactOverrideArgumentsItem]
    List of artifact override arguments at the time of deployment.
    items List<Property Map>
    List of artifact override arguments at the time of deployment.

    DeploymentDeployArtifactOverrideArgumentsItem, DeploymentDeployArtifactOverrideArgumentsItemArgs

    DeployArtifactId string
    The OCID of the artifact to which this parameter applies.
    Name string
    Name of the parameter (case-sensitive).
    Value string
    Value of the parameter.
    DeployArtifactId string
    The OCID of the artifact to which this parameter applies.
    Name string
    Name of the parameter (case-sensitive).
    Value string
    Value of the parameter.
    deployArtifactId String
    The OCID of the artifact to which this parameter applies.
    name String
    Name of the parameter (case-sensitive).
    value String
    Value of the parameter.
    deployArtifactId string
    The OCID of the artifact to which this parameter applies.
    name string
    Name of the parameter (case-sensitive).
    value string
    Value of the parameter.
    deploy_artifact_id str
    The OCID of the artifact to which this parameter applies.
    name str
    Name of the parameter (case-sensitive).
    value str
    Value of the parameter.
    deployArtifactId String
    The OCID of the artifact to which this parameter applies.
    name String
    Name of the parameter (case-sensitive).
    value String
    Value of the parameter.

    DeploymentDeployPipelineArtifact, DeploymentDeployPipelineArtifactArgs

    Items List<DeploymentDeployPipelineArtifactItem>
    A list of stage predecessors for a stage.
    Items []DeploymentDeployPipelineArtifactItem
    A list of stage predecessors for a stage.
    items List<DeploymentDeployPipelineArtifactItem>
    A list of stage predecessors for a stage.
    items DeploymentDeployPipelineArtifactItem[]
    A list of stage predecessors for a stage.
    items Sequence[devops.DeploymentDeployPipelineArtifactItem]
    A list of stage predecessors for a stage.
    items List<Property Map>
    A list of stage predecessors for a stage.

    DeploymentDeployPipelineArtifactItem, DeploymentDeployPipelineArtifactItemArgs

    DeployArtifactId string
    The OCID of an artifact
    DeployPipelineStages List<DeploymentDeployPipelineArtifactItemDeployPipelineStage>
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    DeployArtifactId string
    The OCID of an artifact
    DeployPipelineStages []DeploymentDeployPipelineArtifactItemDeployPipelineStage
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployArtifactId String
    The OCID of an artifact
    deployPipelineStages List<DeploymentDeployPipelineArtifactItemDeployPipelineStage>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployArtifactId string
    The OCID of an artifact
    deployPipelineStages DeploymentDeployPipelineArtifactItemDeployPipelineStage[]
    List of stages.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deploy_artifact_id str
    The OCID of an artifact
    deploy_pipeline_stages Sequence[devops.DeploymentDeployPipelineArtifactItemDeployPipelineStage]
    List of stages.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployArtifactId String
    The OCID of an artifact
    deployPipelineStages List<Property Map>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.

    DeploymentDeployPipelineArtifactItemDeployPipelineStage, DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs

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

    DeploymentDeployPipelineArtifactItemDeployPipelineStageItem, DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs

    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId string
    Specifies the OCID of the stage to be redeployed.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deploy_stage_id str
    Specifies the OCID of the stage to be redeployed.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.

    DeploymentDeployPipelineEnvironment, DeploymentDeployPipelineEnvironmentArgs

    Items List<DeploymentDeployPipelineEnvironmentItem>
    A list of stage predecessors for a stage.
    Items []DeploymentDeployPipelineEnvironmentItem
    A list of stage predecessors for a stage.
    items List<DeploymentDeployPipelineEnvironmentItem>
    A list of stage predecessors for a stage.
    items DeploymentDeployPipelineEnvironmentItem[]
    A list of stage predecessors for a stage.
    items Sequence[devops.DeploymentDeployPipelineEnvironmentItem]
    A list of stage predecessors for a stage.
    items List<Property Map>
    A list of stage predecessors for a stage.

    DeploymentDeployPipelineEnvironmentItem, DeploymentDeployPipelineEnvironmentItemArgs

    DeployEnvironmentId string
    The OCID of an Environment
    DeployPipelineStages List<DeploymentDeployPipelineEnvironmentItemDeployPipelineStage>
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    DeployEnvironmentId string
    The OCID of an Environment
    DeployPipelineStages []DeploymentDeployPipelineEnvironmentItemDeployPipelineStage
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployEnvironmentId String
    The OCID of an Environment
    deployPipelineStages List<DeploymentDeployPipelineEnvironmentItemDeployPipelineStage>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployEnvironmentId string
    The OCID of an Environment
    deployPipelineStages DeploymentDeployPipelineEnvironmentItemDeployPipelineStage[]
    List of stages.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deploy_environment_id str
    The OCID of an Environment
    deploy_pipeline_stages Sequence[devops.DeploymentDeployPipelineEnvironmentItemDeployPipelineStage]
    List of stages.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployEnvironmentId String
    The OCID of an Environment
    deployPipelineStages List<Property Map>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.

    DeploymentDeployPipelineEnvironmentItemDeployPipelineStage, DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs

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

    DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem, DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs

    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    DeployStageId string
    Specifies the OCID of the stage to be redeployed.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId string
    Specifies the OCID of the stage to be redeployed.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deploy_stage_id str
    Specifies the OCID of the stage to be redeployed.
    display_name str
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployStageId String
    Specifies the OCID of the stage to be redeployed.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.

    DeploymentDeployStageOverrideArguments, DeploymentDeployStageOverrideArgumentsArgs

    Items List<DeploymentDeployStageOverrideArgumentsItem>
    List of stage override arguments at the time of deployment.
    Items []DeploymentDeployStageOverrideArgumentsItem
    List of stage override arguments at the time of deployment.
    items List<DeploymentDeployStageOverrideArgumentsItem>
    List of stage override arguments at the time of deployment.
    items DeploymentDeployStageOverrideArgumentsItem[]
    List of stage override arguments at the time of deployment.
    items Sequence[devops.DeploymentDeployStageOverrideArgumentsItem]
    List of stage override arguments at the time of deployment.
    items List<Property Map>
    List of stage override arguments at the time of deployment.

    DeploymentDeployStageOverrideArgumentsItem, DeploymentDeployStageOverrideArgumentsItemArgs

    DeployStageId string
    The OCID of the stage.
    Name string
    Name of the parameter (case-sensitive).
    Value string
    Value of the parameter.
    DeployStageId string
    The OCID of the stage.
    Name string
    Name of the parameter (case-sensitive).
    Value string
    Value of the parameter.
    deployStageId String
    The OCID of the stage.
    name String
    Name of the parameter (case-sensitive).
    value String
    Value of the parameter.
    deployStageId string
    The OCID of the stage.
    name string
    Name of the parameter (case-sensitive).
    value string
    Value of the parameter.
    deploy_stage_id str
    The OCID of the stage.
    name str
    Name of the parameter (case-sensitive).
    value str
    Value of the parameter.
    deployStageId String
    The OCID of the stage.
    name String
    Name of the parameter (case-sensitive).
    value String
    Value of the parameter.

    DeploymentDeploymentArguments, DeploymentDeploymentArgumentsArgs

    Items List<DeploymentDeploymentArgumentsItem>
    List of arguments provided at the time of deployment.
    Items []DeploymentDeploymentArgumentsItem
    List of arguments provided at the time of deployment.
    items List<DeploymentDeploymentArgumentsItem>
    List of arguments provided at the time of deployment.
    items DeploymentDeploymentArgumentsItem[]
    List of arguments provided at the time of deployment.
    items Sequence[devops.DeploymentDeploymentArgumentsItem]
    List of arguments provided at the time of deployment.
    items List<Property Map>
    List of arguments provided at the time of deployment.

    DeploymentDeploymentArgumentsItem, DeploymentDeploymentArgumentsItemArgs

    Name string
    Name of the parameter (case-sensitive).
    Value string
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    Name string
    Name of the parameter (case-sensitive).
    Value string
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    name String
    Name of the parameter (case-sensitive).
    value String
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    name string
    Name of the parameter (case-sensitive).
    value string
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    name str
    Name of the parameter (case-sensitive).
    value str
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    name String
    Name of the parameter (case-sensitive).
    value String
    value of the argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true

    DeploymentDeploymentExecutionProgress, DeploymentDeploymentExecutionProgressArgs

    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.

    Import

    Deployments can be imported using the id, e.g.

    $ pulumi import oci:DevOps/deployment:Deployment test_deployment "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi