import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Deployment resource in Oracle Cloud Infrastructure Devops service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/devops/latest/Deployment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/devops * * Creates a new deployment. * * ## Import * * Deployments can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DevOps/deployment:Deployment test_deployment "id" * ``` */ export declare class Deployment extends pulumi.CustomResource { /** * Get an existing Deployment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DeploymentState, opts?: pulumi.CustomResourceOptions): Deployment; /** * Returns true if the given object is an instance of Deployment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Deployment; /** * The OCID of a compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * Specifies the list of artifact override arguments at the time of deployment. */ readonly deployArtifactOverrideArguments: pulumi.Output; /** * List of all artifacts used in the pipeline. */ readonly deployPipelineArtifacts: pulumi.Output; /** * List of all environments used in the pipeline. */ readonly deployPipelineEnvironments: pulumi.Output; /** * The OCID of a pipeline. */ readonly deployPipelineId: pulumi.Output; /** * Specifies the OCID of the stage to be redeployed. */ readonly deployStageId: pulumi.Output; /** * Specifies the list of arguments to be overriden per Stage at the time of deployment. */ readonly deployStageOverrideArguments: pulumi.Output; /** * Specifies list of arguments passed along with the deployment. */ readonly deploymentArguments: pulumi.Output; /** * The execution progress details of a deployment. */ readonly deploymentExecutionProgresses: pulumi.Output; /** * (Updatable) Specifies type for this deployment. */ readonly deploymentType: pulumi.Output; /** * (Updatable) Deployment display name. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: 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. */ readonly lifecycleDetails: pulumi.Output; /** * Specifies the OCID of the previous deployment to be redeployed. */ readonly previousDeploymentId: pulumi.Output; /** * The OCID of a project. */ readonly projectId: pulumi.Output; /** * The current state of the deployment. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * Time the deployment was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). */ readonly timeCreated: pulumi.Output; /** * Time the deployment was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * 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 `triggerNewDevopsDeployment` * is set true each apply will force the destruction and recreation of the resource with the new property values. */ readonly triggerNewDevopsDeployment: pulumi.Output; /** * Create a Deployment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DeploymentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Deployment resources. */ export interface DeploymentState { /** * The OCID of a compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Specifies the list of artifact override arguments at the time of deployment. */ deployArtifactOverrideArguments?: pulumi.Input; /** * List of all artifacts used in the pipeline. */ deployPipelineArtifacts?: pulumi.Input[] | undefined>; /** * List of all environments used in the pipeline. */ deployPipelineEnvironments?: pulumi.Input[] | undefined>; /** * The OCID of a pipeline. */ deployPipelineId?: pulumi.Input; /** * Specifies the OCID of the stage to be redeployed. */ deployStageId?: pulumi.Input; /** * Specifies the list of arguments to be overriden per Stage at the time of deployment. */ deployStageOverrideArguments?: pulumi.Input; /** * Specifies list of arguments passed along with the deployment. */ deploymentArguments?: pulumi.Input; /** * The execution progress details of a deployment. */ deploymentExecutionProgresses?: pulumi.Input[] | undefined>; /** * (Updatable) Specifies type for this deployment. */ deploymentType?: pulumi.Input; /** * (Updatable) Deployment display name. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ lifecycleDetails?: pulumi.Input; /** * Specifies the OCID of the previous deployment to be redeployed. */ previousDeploymentId?: pulumi.Input; /** * The OCID of a project. */ projectId?: pulumi.Input; /** * The current state of the deployment. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Time the deployment was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). */ timeCreated?: pulumi.Input; /** * Time the deployment was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). */ timeUpdated?: pulumi.Input; /** * 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 `triggerNewDevopsDeployment` * is set true each apply will force the destruction and recreation of the resource with the new property values. */ triggerNewDevopsDeployment?: pulumi.Input; } /** * The set of arguments for constructing a Deployment resource. */ export interface DeploymentArgs { /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Specifies the list of artifact override arguments at the time of deployment. */ deployArtifactOverrideArguments?: pulumi.Input; /** * The OCID of a pipeline. */ deployPipelineId: pulumi.Input; /** * Specifies the OCID of the stage to be redeployed. */ deployStageId?: pulumi.Input; /** * Specifies the list of arguments to be overriden per Stage at the time of deployment. */ deployStageOverrideArguments?: pulumi.Input; /** * Specifies list of arguments passed along with the deployment. */ deploymentArguments?: pulumi.Input; /** * (Updatable) Specifies type for this deployment. */ deploymentType: pulumi.Input; /** * (Updatable) Deployment display name. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Specifies the OCID of the previous deployment to be redeployed. */ previousDeploymentId?: pulumi.Input; /** * 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 `triggerNewDevopsDeployment` * is set true each apply will force the destruction and recreation of the resource with the new property values. */ triggerNewDevopsDeployment?: pulumi.Input; } //# sourceMappingURL=deployment.d.ts.map