1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DevOps
  5. Deployment
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DevOps.Deployment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 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, Any]] = 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, Any]] = 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.

    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", "any" },
        },
        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", "any" },
        },
        PreviousDeploymentId = "string",
        TriggerNewDevopsDeployment = false,
    });
    
    example, err := DevOps.NewDeployment(ctx, "ociDeploymentResource", &DevOps.DeploymentArgs{
    	DeployPipelineId: pulumi.String("string"),
    	DeploymentType:   pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	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.Map{
    		"string": pulumi.Any("any"),
    	},
    	PreviousDeploymentId:       pulumi.String("string"),
    	TriggerNewDevopsDeployment: pulumi.Bool(false),
    })
    
    var ociDeploymentResource = new Deployment("ociDeploymentResource", DeploymentArgs.builder()        
        .deployPipelineId("string")
        .deploymentType("string")
        .definedTags(Map.of("string", "any"))
        .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", "any"))
        .previousDeploymentId("string")
        .triggerNewDevopsDeployment(false)
        .build());
    
    oci_deployment_resource = oci.dev_ops.Deployment("ociDeploymentResource",
        deploy_pipeline_id="string",
        deployment_type="string",
        defined_tags={
            "string": "any",
        },
        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": "any",
        },
        previous_deployment_id="string",
        trigger_new_devops_deployment=False)
    
    const ociDeploymentResource = new oci.devops.Deployment("ociDeploymentResource", {
        deployPipelineId: "string",
        deploymentType: "string",
        definedTags: {
            string: "any",
        },
        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: "any",
        },
        previousDeploymentId: "string",
        triggerNewDevopsDeployment: false,
    });
    
    type: oci:DevOps:Deployment
    properties:
        definedTags:
            string: any
        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: any
        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, object>
    (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
    The OCID of the stage.
    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, object>
    (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]interface{}
    (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
    The OCID of the stage.
    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]interface{}
    (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,Object>
    (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
    The OCID of the stage.
    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,Object>
    (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]: any}
    (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
    The OCID of the stage.
    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]: any}
    (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, Any]
    (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
    The OCID of the stage.
    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, Any]
    (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<Any>
    (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
    The OCID of the stage.
    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<Any>
    (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, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    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]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    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,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.
    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]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    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, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Time the deployment was created. Format defined by RFC3339.
    time_updated str
    Time the deployment was updated. Format defined by RFC3339.
    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<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.

    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, Any]] = 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, Any]] = 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, Any]] = 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, object>
    (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
    The OCID of the stage.
    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, object>
    (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, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    TriggerNewDevopsDeployment bool

    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]interface{}
    (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
    The OCID of the stage.
    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]interface{}
    (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]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    Time the deployment was created. Format defined by RFC3339.
    TimeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    TriggerNewDevopsDeployment bool

    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,Object>
    (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
    The OCID of the stage.
    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,Object>
    (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,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment Boolean

    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]: any}
    (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
    The OCID of the stage.
    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]: any}
    (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]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated string
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment boolean

    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, Any]
    (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
    The OCID of the stage.
    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, Any]
    (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, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    Time the deployment was created. Format defined by RFC3339.
    time_updated str
    Time the deployment was updated. Format defined by RFC3339.
    trigger_new_devops_deployment bool

    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<Any>
    (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
    The OCID of the stage.
    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<Any>
    (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<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    Time the deployment was created. Format defined by RFC3339.
    timeUpdated String
    Time the deployment was updated. Format defined by RFC3339.
    triggerNewDevopsDeployment Boolean

    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 arguments provided at the time of deployment.
    Items []DeploymentDeployArtifactOverrideArgumentsItem
    List of arguments provided at the time of deployment.
    items List<DeploymentDeployArtifactOverrideArgumentsItem>
    List of arguments provided at the time of deployment.
    items DeploymentDeployArtifactOverrideArgumentsItem[]
    List of arguments provided at the time of deployment.
    items Sequence[devops.DeploymentDeployArtifactOverrideArgumentsItem]
    List of arguments provided at the time of deployment.
    items List<Property Map>
    List of arguments provided 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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    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 argument.

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

    DeploymentDeployPipelineArtifact, DeploymentDeployPipelineArtifactArgs

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

    DeploymentDeployPipelineArtifactItem, DeploymentDeployPipelineArtifactItemArgs

    DeployArtifactId string
    The OCID of the artifact to which this parameter applies.
    DeployPipelineStages List<DeploymentDeployPipelineArtifactItemDeployPipelineStage>
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    DeployArtifactId string
    The OCID of the artifact to which this parameter applies.
    DeployPipelineStages []DeploymentDeployPipelineArtifactItemDeployPipelineStage
    List of stages.
    DisplayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployArtifactId String
    The OCID of the artifact to which this parameter applies.
    deployPipelineStages List<DeploymentDeployPipelineArtifactItemDeployPipelineStage>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.
    deployArtifactId string
    The OCID of the artifact to which this parameter applies.
    deployPipelineStages DeploymentDeployPipelineArtifactItemDeployPipelineStage[]
    List of stages.
    displayName string
    (Updatable) Deployment display name. Avoid entering confidential information.
    deploy_artifact_id str
    The OCID of the artifact to which this parameter applies.
    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 the artifact to which this parameter applies.
    deployPipelineStages List<Property Map>
    List of stages.
    displayName String
    (Updatable) Deployment display name. Avoid entering confidential information.

    DeploymentDeployPipelineArtifactItemDeployPipelineStage, DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs

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

    DeploymentDeployPipelineArtifactItemDeployPipelineStageItem, DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs

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

    DeploymentDeployPipelineEnvironment, DeploymentDeployPipelineEnvironmentArgs

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

    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<DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem>
    List of arguments provided at the time of deployment.
    Items []DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem
    List of arguments provided at the time of deployment.
    items List<DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem>
    List of arguments provided at the time of deployment.
    items DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem[]
    List of arguments provided at the time of deployment.
    items List<Property Map>
    List of arguments provided at the time of deployment.

    DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem, DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs

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

    DeploymentDeployStageOverrideArguments, DeploymentDeployStageOverrideArgumentsArgs

    Items List<DeploymentDeployStageOverrideArgumentsItem>
    List of arguments provided at the time of deployment.
    Items []DeploymentDeployStageOverrideArgumentsItem
    List of arguments provided at the time of deployment.
    items List<DeploymentDeployStageOverrideArgumentsItem>
    List of arguments provided at the time of deployment.
    items DeploymentDeployStageOverrideArgumentsItem[]
    List of arguments provided at the time of deployment.
    items Sequence[devops.DeploymentDeployStageOverrideArgumentsItem]
    List of arguments provided at the time of deployment.
    items List<Property Map>
    List of arguments provided 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 argument.

    • To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true
    DeployStageId string
    The OCID of the stage.
    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
    deployStageId String
    The OCID of the stage.
    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
    deployStageId string
    The OCID of the stage.
    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
    deploy_stage_id str
    The OCID of the stage.
    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
    deployStageId String
    The OCID of the stage.
    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

    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

    DeployStageExecutionProgresses List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgress>
    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.
    DeployStageExecutionProgresses []DeploymentDeploymentExecutionProgressDeployStageExecutionProgress
    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.
    deployStageExecutionProgresses List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgress>
    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.
    deployStageExecutionProgresses DeploymentDeploymentExecutionProgressDeployStageExecutionProgress[]
    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_progresses Sequence[devops.DeploymentDeploymentExecutionProgressDeployStageExecutionProgress]
    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.
    deployStageExecutionProgresses List<Property Map>
    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.

    DeploymentDeploymentExecutionProgressDeployStageExecutionProgress, DeploymentDeploymentExecutionProgressDeployStageExecutionProgressArgs

    DeployStageDisplayName string
    Stage display name. Avoid entering confidential information.
    DeployStageExecutionProgressDetails List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail>
    Details about stage execution for all the target environments.
    DeployStageId string
    The OCID of the stage.
    DeployStagePredecessors List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor>
    Collection containing the predecessors of a stage.
    DeployStageType string
    Deployment stage type.
    Status string
    The current state of the stage.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    DeployStageDisplayName string
    Stage display name. Avoid entering confidential information.
    DeployStageExecutionProgressDetails []DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail
    Details about stage execution for all the target environments.
    DeployStageId string
    The OCID of the stage.
    DeployStagePredecessors []DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor
    Collection containing the predecessors of a stage.
    DeployStageType string
    Deployment stage type.
    Status string
    The current state of the stage.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    deployStageDisplayName String
    Stage display name. Avoid entering confidential information.
    deployStageExecutionProgressDetails List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail>
    Details about stage execution for all the target environments.
    deployStageId String
    The OCID of the stage.
    deployStagePredecessors List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor>
    Collection containing the predecessors of a stage.
    deployStageType String
    Deployment stage type.
    status String
    The current state of the stage.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.
    deployStageDisplayName string
    Stage display name. Avoid entering confidential information.
    deployStageExecutionProgressDetails DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail[]
    Details about stage execution for all the target environments.
    deployStageId string
    The OCID of the stage.
    deployStagePredecessors DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor[]
    Collection containing the predecessors of a stage.
    deployStageType string
    Deployment stage type.
    status string
    The current state of the stage.
    timeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted string
    Time the deployment is started. Format defined by RFC3339.
    deploy_stage_display_name str
    Stage display name. Avoid entering confidential information.
    deploy_stage_execution_progress_details Sequence[devops.DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail]
    Details about stage execution for all the target environments.
    deploy_stage_id str
    The OCID of the stage.
    deploy_stage_predecessors Sequence[devops.DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor]
    Collection containing the predecessors of a stage.
    deploy_stage_type str
    Deployment stage type.
    status str
    The current state of the stage.
    time_finished str
    Time the deployment is finished. Format defined by RFC3339.
    time_started str
    Time the deployment is started. Format defined by RFC3339.
    deployStageDisplayName String
    Stage display name. Avoid entering confidential information.
    deployStageExecutionProgressDetails List<Property Map>
    Details about stage execution for all the target environments.
    deployStageId String
    The OCID of the stage.
    deployStagePredecessors List<Property Map>
    Collection containing the predecessors of a stage.
    deployStageType String
    Deployment stage type.
    status String
    The current state of the stage.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.

    DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetail, DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailArgs

    RollbackSteps List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep>
    Details about all the rollback steps for one target environment.
    Steps List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep>
    Details about all the steps for one target environment.
    TargetGroup string
    Group for the target environment for example, the batch number for an Instance Group deployment.
    TargetId string
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.
    RollbackSteps []DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep
    Details about all the rollback steps for one target environment.
    Steps []DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep
    Details about all the steps for one target environment.
    TargetGroup string
    Group for the target environment for example, the batch number for an Instance Group deployment.
    TargetId string
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.
    rollbackSteps List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep>
    Details about all the rollback steps for one target environment.
    steps List<DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep>
    Details about all the steps for one target environment.
    targetGroup String
    Group for the target environment for example, the batch number for an Instance Group deployment.
    targetId String
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.
    rollbackSteps DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep[]
    Details about all the rollback steps for one target environment.
    steps DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep[]
    Details about all the steps for one target environment.
    targetGroup string
    Group for the target environment for example, the batch number for an Instance Group deployment.
    targetId string
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.
    rollback_steps Sequence[devops.DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep]
    Details about all the rollback steps for one target environment.
    steps Sequence[devops.DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep]
    Details about all the steps for one target environment.
    target_group str
    Group for the target environment for example, the batch number for an Instance Group deployment.
    target_id str
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.
    rollbackSteps List<Property Map>
    Details about all the rollback steps for one target environment.
    steps List<Property Map>
    Details about all the steps for one target environment.
    targetGroup String
    Group for the target environment for example, the batch number for an Instance Group deployment.
    targetId String
    The function ID, instance ID or the cluster ID. For Wait stage it will be the stage ID.

    DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStep, DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailRollbackStepArgs

    Name string
    Name of the parameter (case-sensitive).
    State string
    The current state of the deployment.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    Name string
    Name of the parameter (case-sensitive).
    State string
    The current state of the deployment.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    name String
    Name of the parameter (case-sensitive).
    state String
    The current state of the deployment.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.
    name string
    Name of the parameter (case-sensitive).
    state string
    The current state of the deployment.
    timeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted string
    Time the deployment is started. Format defined by RFC3339.
    name str
    Name of the parameter (case-sensitive).
    state str
    The current state of the deployment.
    time_finished str
    Time the deployment is finished. Format defined by RFC3339.
    time_started str
    Time the deployment is started. Format defined by RFC3339.
    name String
    Name of the parameter (case-sensitive).
    state String
    The current state of the deployment.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.

    DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStep, DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStageExecutionProgressDetailStepArgs

    Name string
    Name of the parameter (case-sensitive).
    State string
    The current state of the deployment.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    Name string
    Name of the parameter (case-sensitive).
    State string
    The current state of the deployment.
    TimeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    TimeStarted string
    Time the deployment is started. Format defined by RFC3339.
    name String
    Name of the parameter (case-sensitive).
    state String
    The current state of the deployment.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.
    name string
    Name of the parameter (case-sensitive).
    state string
    The current state of the deployment.
    timeFinished string
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted string
    Time the deployment is started. Format defined by RFC3339.
    name str
    Name of the parameter (case-sensitive).
    state str
    The current state of the deployment.
    time_finished str
    Time the deployment is finished. Format defined by RFC3339.
    time_started str
    Time the deployment is started. Format defined by RFC3339.
    name String
    Name of the parameter (case-sensitive).
    state String
    The current state of the deployment.
    timeFinished String
    Time the deployment is finished. Format defined by RFC3339.
    timeStarted String
    Time the deployment is started. Format defined by RFC3339.

    DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessor, DeploymentDeploymentExecutionProgressDeployStageExecutionProgressDeployStagePredecessorArgs

    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi