oci.DevOps.Deployment
Explore with Pulumi AI
This resource provides the Deployment resource in Oracle Cloud Infrastructure Devops service.
Creates a new deployment.
Create Deployment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Deployment(name: string, args: DeploymentArgs, opts?: CustomResourceOptions);
@overload
def Deployment(resource_name: str,
args: DeploymentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Deployment(resource_name: str,
opts: Optional[ResourceOptions] = None,
deploy_pipeline_id: Optional[str] = None,
deployment_type: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deploy_artifact_override_arguments: Optional[_devops.DeploymentDeployArtifactOverrideArgumentsArgs] = None,
deploy_stage_id: Optional[str] = None,
deploy_stage_override_arguments: Optional[_devops.DeploymentDeployStageOverrideArgumentsArgs] = None,
deployment_arguments: Optional[_devops.DeploymentDeploymentArgumentsArgs] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
previous_deployment_id: Optional[str] = None,
trigger_new_devops_deployment: Optional[bool] = None)
func NewDeployment(ctx *Context, name string, args DeploymentArgs, opts ...ResourceOption) (*Deployment, error)
public Deployment(string name, DeploymentArgs args, CustomResourceOptions? opts = null)
public Deployment(String name, DeploymentArgs args)
public Deployment(String name, DeploymentArgs args, CustomResourceOptions options)
type: oci:DevOps:Deployment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DeploymentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociDeploymentResource = new Oci.DevOps.Deployment("ociDeploymentResource", new()
{
DeployPipelineId = "string",
DeploymentType = "string",
DefinedTags =
{
{ "string", "string" },
},
DeployArtifactOverrideArguments = new Oci.DevOps.Inputs.DeploymentDeployArtifactOverrideArgumentsArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.DeploymentDeployArtifactOverrideArgumentsItemArgs
{
DeployArtifactId = "string",
Name = "string",
Value = "string",
},
},
},
DeployStageId = "string",
DeployStageOverrideArguments = new Oci.DevOps.Inputs.DeploymentDeployStageOverrideArgumentsArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.DeploymentDeployStageOverrideArgumentsItemArgs
{
DeployStageId = "string",
Name = "string",
Value = "string",
},
},
},
DeploymentArguments = new Oci.DevOps.Inputs.DeploymentDeploymentArgumentsArgs
{
Items = new[]
{
new Oci.DevOps.Inputs.DeploymentDeploymentArgumentsItemArgs
{
Name = "string",
Value = "string",
},
},
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
PreviousDeploymentId = "string",
TriggerNewDevopsDeployment = false,
});
example, err := DevOps.NewDeployment(ctx, "ociDeploymentResource", &DevOps.DeploymentArgs{
DeployPipelineId: pulumi.String("string"),
DeploymentType: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DeployArtifactOverrideArguments: &devops.DeploymentDeployArtifactOverrideArgumentsArgs{
Items: devops.DeploymentDeployArtifactOverrideArgumentsItemArray{
&devops.DeploymentDeployArtifactOverrideArgumentsItemArgs{
DeployArtifactId: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
DeployStageId: pulumi.String("string"),
DeployStageOverrideArguments: &devops.DeploymentDeployStageOverrideArgumentsArgs{
Items: devops.DeploymentDeployStageOverrideArgumentsItemArray{
&devops.DeploymentDeployStageOverrideArgumentsItemArgs{
DeployStageId: pulumi.String("string"),
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
DeploymentArguments: &devops.DeploymentDeploymentArgumentsArgs{
Items: devops.DeploymentDeploymentArgumentsItemArray{
&devops.DeploymentDeploymentArgumentsItemArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PreviousDeploymentId: pulumi.String("string"),
TriggerNewDevopsDeployment: pulumi.Bool(false),
})
var ociDeploymentResource = new Deployment("ociDeploymentResource", DeploymentArgs.builder()
.deployPipelineId("string")
.deploymentType("string")
.definedTags(Map.of("string", "string"))
.deployArtifactOverrideArguments(DeploymentDeployArtifactOverrideArgumentsArgs.builder()
.items(DeploymentDeployArtifactOverrideArgumentsItemArgs.builder()
.deployArtifactId("string")
.name("string")
.value("string")
.build())
.build())
.deployStageId("string")
.deployStageOverrideArguments(DeploymentDeployStageOverrideArgumentsArgs.builder()
.items(DeploymentDeployStageOverrideArgumentsItemArgs.builder()
.deployStageId("string")
.name("string")
.value("string")
.build())
.build())
.deploymentArguments(DeploymentDeploymentArgumentsArgs.builder()
.items(DeploymentDeploymentArgumentsItemArgs.builder()
.name("string")
.value("string")
.build())
.build())
.displayName("string")
.freeformTags(Map.of("string", "string"))
.previousDeploymentId("string")
.triggerNewDevopsDeployment(false)
.build());
oci_deployment_resource = oci.dev_ops.Deployment("ociDeploymentResource",
deploy_pipeline_id="string",
deployment_type="string",
defined_tags={
"string": "string",
},
deploy_artifact_override_arguments={
"items": [{
"deploy_artifact_id": "string",
"name": "string",
"value": "string",
}],
},
deploy_stage_id="string",
deploy_stage_override_arguments={
"items": [{
"deploy_stage_id": "string",
"name": "string",
"value": "string",
}],
},
deployment_arguments={
"items": [{
"name": "string",
"value": "string",
}],
},
display_name="string",
freeform_tags={
"string": "string",
},
previous_deployment_id="string",
trigger_new_devops_deployment=False)
const ociDeploymentResource = new oci.devops.Deployment("ociDeploymentResource", {
deployPipelineId: "string",
deploymentType: "string",
definedTags: {
string: "string",
},
deployArtifactOverrideArguments: {
items: [{
deployArtifactId: "string",
name: "string",
value: "string",
}],
},
deployStageId: "string",
deployStageOverrideArguments: {
items: [{
deployStageId: "string",
name: "string",
value: "string",
}],
},
deploymentArguments: {
items: [{
name: "string",
value: "string",
}],
},
displayName: "string",
freeformTags: {
string: "string",
},
previousDeploymentId: "string",
triggerNewDevopsDeployment: false,
});
type: oci:DevOps:Deployment
properties:
definedTags:
string: string
deployArtifactOverrideArguments:
items:
- deployArtifactId: string
name: string
value: string
deployPipelineId: string
deployStageId: string
deployStageOverrideArguments:
items:
- deployStageId: string
name: string
value: string
deploymentArguments:
items:
- name: string
value: string
deploymentType: string
displayName: string
freeformTags:
string: string
previousDeploymentId: string
triggerNewDevopsDeployment: false
Deployment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Deployment resource accepts the following input properties:
- Deploy
Pipeline stringId - The OCID of a pipeline.
- Deployment
Type string - (Updatable) Specifies type for this deployment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- Trigger
New boolDevops Deployment 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 stringId - The OCID of a pipeline.
- Deployment
Type string - (Updatable) Specifies type for this deployment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments Args - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments Args - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments DeploymentDeployment Arguments Args - Specifies list of arguments passed along with the deployment.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- Trigger
New boolDevops Deployment 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 StringId - The OCID of a pipeline.
- deployment
Type String - (Updatable) Specifies type for this deployment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- previous
Deployment StringId - Specifies the OCID of the previous deployment to be redeployed.
- trigger
New BooleanDevops Deployment 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 stringId - The OCID of a pipeline.
- deployment
Type string - (Updatable) Specifies type for this deployment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- trigger
New booleanDevops Deployment 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_ strid - The OCID of a pipeline.
- deployment_
type str - (Updatable) Specifies type for this deployment.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy_
artifact_ devops.override_ arguments Deployment Deploy Artifact Override Arguments Args - Specifies the list of artifact override arguments at the time of deployment.
- deploy_
stage_ strid - Specifies the OCID of the stage to be redeployed.
- deploy_
stage_ devops.override_ arguments Deployment Deploy Stage Override Arguments Args - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment_
arguments devops.Deployment Deployment Arguments Args - Specifies list of arguments passed along with the deployment.
- display_
name str - (Updatable) Deployment display name. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- previous_
deployment_ strid - Specifies the OCID of the previous deployment to be redeployed.
- trigger_
new_ booldevops_ deployment 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 StringId - The OCID of a pipeline.
- deployment
Type String - (Updatable) Specifies type for this deployment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact Property MapOverride Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage Property MapOverride Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments Property Map - Specifies list of arguments passed along with the deployment.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- previous
Deployment StringId - Specifies the OCID of the previous deployment to be redeployed.
- trigger
New BooleanDevops Deployment 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:
- Compartment
Id string - The OCID of a compartment.
- Deploy
Pipeline List<DeploymentArtifacts Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- Deploy
Pipeline List<DeploymentEnvironments Deploy Pipeline Environment> - List of all environments used in the pipeline.
- Deployment
Execution List<DeploymentProgresses Deployment Execution Progress> - The execution progress details of a deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- Compartment
Id string - The OCID of a compartment.
- Deploy
Pipeline []DeploymentArtifacts Deploy Pipeline Artifact - List of all artifacts used in the pipeline.
- Deploy
Pipeline []DeploymentEnvironments Deploy Pipeline Environment - List of all environments used in the pipeline.
- Deployment
Execution []DeploymentProgresses Deployment Execution Progress - The execution progress details of a deployment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details 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.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- compartment
Id String - The OCID of a compartment.
- deploy
Pipeline List<DeploymentArtifacts Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- deploy
Pipeline List<DeploymentEnvironments Deploy Pipeline Environment> - List of all environments used in the pipeline.
- deployment
Execution List<DeploymentProgresses Deployment Execution Progress> - The execution progress details of a deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time the deployment was created. Format defined by RFC3339.
- time
Updated String - Time the deployment was updated. Format defined by RFC3339.
- compartment
Id string - The OCID of a compartment.
- deploy
Pipeline DeploymentArtifacts Deploy Pipeline Artifact[] - List of all artifacts used in the pipeline.
- deploy
Pipeline DeploymentEnvironments Deploy Pipeline Environment[] - List of all environments used in the pipeline.
- deployment
Execution DeploymentProgresses Deployment Execution Progress[] - The execution progress details of a deployment.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id string - The OCID of a project.
- state string
- The current state of the deployment.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time the deployment was created. Format defined by RFC3339.
- time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- compartment_
id str - The OCID of a compartment.
- deploy_
pipeline_ Sequence[devops.artifacts Deployment Deploy Pipeline Artifact] - List of all artifacts used in the pipeline.
- deploy_
pipeline_ Sequence[devops.environments Deployment Deploy Pipeline Environment] - List of all environments used in the pipeline.
- deployment_
execution_ Sequence[devops.progresses Deployment Deployment Execution Progress] - 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.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Time the deployment was created. Format defined by RFC3339.
- time_
updated str - Time the deployment was updated. Format defined by RFC3339.
- compartment
Id String - The OCID of a compartment.
- deploy
Pipeline List<Property Map>Artifacts - List of all artifacts used in the pipeline.
- deploy
Pipeline List<Property Map>Environments - List of all environments used in the pipeline.
- deployment
Execution List<Property Map>Progresses - The execution progress details of a deployment.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details 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.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time the deployment was created. Format defined by RFC3339.
- time
Updated String - Time the deployment was updated. Format defined by RFC3339.
Look up Existing Deployment Resource
Get an existing Deployment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DeploymentState, opts?: CustomResourceOptions): Deployment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deploy_artifact_override_arguments: Optional[_devops.DeploymentDeployArtifactOverrideArgumentsArgs] = None,
deploy_pipeline_artifacts: Optional[Sequence[_devops.DeploymentDeployPipelineArtifactArgs]] = None,
deploy_pipeline_environments: Optional[Sequence[_devops.DeploymentDeployPipelineEnvironmentArgs]] = None,
deploy_pipeline_id: Optional[str] = None,
deploy_stage_id: Optional[str] = None,
deploy_stage_override_arguments: Optional[_devops.DeploymentDeployStageOverrideArgumentsArgs] = None,
deployment_arguments: Optional[_devops.DeploymentDeploymentArgumentsArgs] = None,
deployment_execution_progresses: Optional[Sequence[_devops.DeploymentDeploymentExecutionProgressArgs]] = None,
deployment_type: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
lifecycle_details: Optional[str] = None,
previous_deployment_id: Optional[str] = None,
project_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None,
trigger_new_devops_deployment: Optional[bool] = None) -> Deployment
func GetDeployment(ctx *Context, name string, id IDInput, state *DeploymentState, opts ...ResourceOption) (*Deployment, error)
public static Deployment Get(string name, Input<string> id, DeploymentState? state, CustomResourceOptions? opts = null)
public static Deployment get(String name, Output<String> id, DeploymentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - The OCID of a compartment.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Pipeline List<DeploymentArtifacts Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- Deploy
Pipeline List<DeploymentEnvironments Deploy Pipeline Environment> - List of all environments used in the pipeline.
- Deploy
Pipeline stringId - The OCID of a pipeline.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- Deployment
Execution List<DeploymentProgresses Deployment Execution Progress> - The execution progress details of a deployment.
- Deployment
Type string - (Updatable) Specifies type for this deployment.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- Previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- Trigger
New boolDevops Deployment 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 string - The OCID of a compartment.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- Deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments Args - Specifies the list of artifact override arguments at the time of deployment.
- Deploy
Pipeline []DeploymentArtifacts Deploy Pipeline Artifact Args - List of all artifacts used in the pipeline.
- Deploy
Pipeline []DeploymentEnvironments Deploy Pipeline Environment Args - List of all environments used in the pipeline.
- Deploy
Pipeline stringId - The OCID of a pipeline.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments Args - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- Deployment
Arguments DeploymentDeployment Arguments Args - Specifies list of arguments passed along with the deployment.
- Deployment
Execution []DeploymentProgresses Deployment Execution Progress Args - The execution progress details of a deployment.
- Deployment
Type string - (Updatable) Specifies type for this deployment.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- Lifecycle
Details 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.
- Previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- Project
Id string - The OCID of a project.
- State string
- The current state of the deployment.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - Time the deployment was created. Format defined by RFC3339.
- Time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- Trigger
New boolDevops Deployment 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 String - The OCID of a compartment.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline List<DeploymentArtifacts Deploy Pipeline Artifact> - List of all artifacts used in the pipeline.
- deploy
Pipeline List<DeploymentEnvironments Deploy Pipeline Environment> - List of all environments used in the pipeline.
- deploy
Pipeline StringId - The OCID of a pipeline.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- deployment
Execution List<DeploymentProgresses Deployment Execution Progress> - The execution progress details of a deployment.
- deployment
Type String - (Updatable) Specifies type for this deployment.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- previous
Deployment StringId - Specifies the OCID of the previous deployment to be redeployed.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time the deployment was created. Format defined by RFC3339.
- time
Updated String - Time the deployment was updated. Format defined by RFC3339.
- trigger
New BooleanDevops Deployment 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 string - The OCID of a compartment.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact DeploymentOverride Arguments Deploy Artifact Override Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline DeploymentArtifacts Deploy Pipeline Artifact[] - List of all artifacts used in the pipeline.
- deploy
Pipeline DeploymentEnvironments Deploy Pipeline Environment[] - List of all environments used in the pipeline.
- deploy
Pipeline stringId - The OCID of a pipeline.
- deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage DeploymentOverride Arguments Deploy Stage Override Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments DeploymentDeployment Arguments - Specifies list of arguments passed along with the deployment.
- deployment
Execution DeploymentProgresses Deployment Execution Progress[] - The execution progress details of a deployment.
- deployment
Type string - (Updatable) Specifies type for this deployment.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- previous
Deployment stringId - Specifies the OCID of the previous deployment to be redeployed.
- project
Id string - The OCID of a project.
- state string
- The current state of the deployment.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - Time the deployment was created. Format defined by RFC3339.
- time
Updated string - Time the deployment was updated. Format defined by RFC3339.
- trigger
New booleanDevops Deployment 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.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy_
artifact_ devops.override_ arguments Deployment Deploy Artifact Override Arguments Args - Specifies the list of artifact override arguments at the time of deployment.
- deploy_
pipeline_ Sequence[devops.artifacts Deployment Deploy Pipeline Artifact Args] - List of all artifacts used in the pipeline.
- deploy_
pipeline_ Sequence[devops.environments Deployment Deploy Pipeline Environment Args] - List of all environments used in the pipeline.
- deploy_
pipeline_ strid - The OCID of a pipeline.
- deploy_
stage_ strid - Specifies the OCID of the stage to be redeployed.
- deploy_
stage_ devops.override_ arguments Deployment Deploy Stage Override Arguments Args - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment_
arguments devops.Deployment Deployment Arguments Args - Specifies list of arguments passed along with the deployment.
- deployment_
execution_ Sequence[devops.progresses Deployment Deployment Execution Progress Args] - 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.
- Mapping[str, str]
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- lifecycle_
details str - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
- previous_
deployment_ strid - 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.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str - Time the deployment was created. Format defined by RFC3339.
- time_
updated str - Time the deployment was updated. Format defined by RFC3339.
- trigger_
new_ booldevops_ deployment 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 String - The OCID of a compartment.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:
{"foo-namespace.bar-key": "value"}
- deploy
Artifact Property MapOverride Arguments - Specifies the list of artifact override arguments at the time of deployment.
- deploy
Pipeline List<Property Map>Artifacts - List of all artifacts used in the pipeline.
- deploy
Pipeline List<Property Map>Environments - List of all environments used in the pipeline.
- deploy
Pipeline StringId - The OCID of a pipeline.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- deploy
Stage Property MapOverride Arguments - Specifies the list of arguments to be overriden per Stage at the time of deployment.
- deployment
Arguments Property Map - Specifies list of arguments passed along with the deployment.
- deployment
Execution List<Property Map>Progresses - The execution progress details of a deployment.
- deployment
Type String - (Updatable) Specifies type for this deployment.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- Map<String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example:
{"bar-key": "value"}
- lifecycle
Details 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.
- previous
Deployment StringId - Specifies the OCID of the previous deployment to be redeployed.
- project
Id String - The OCID of a project.
- state String
- The current state of the deployment.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - Time the deployment was created. Format defined by RFC3339.
- time
Updated String - Time the deployment was updated. Format defined by RFC3339.
- trigger
New BooleanDevops Deployment 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<Deployment
Deploy Artifact Override Arguments Item> - List of artifact override arguments at the time of deployment.
- Items
[]Deployment
Deploy Artifact Override Arguments Item - List of artifact override arguments at the time of deployment.
- items
List<Deployment
Deploy Artifact Override Arguments Item> - List of artifact override arguments at the time of deployment.
- items
Deployment
Deploy Artifact Override Arguments Item[] - List of artifact override arguments at the time of deployment.
- items
Sequence[devops.
Deployment Deploy Artifact Override Arguments Item] - List of artifact override arguments at the time of deployment.
- items List<Property Map>
- List of artifact override arguments at the time of deployment.
DeploymentDeployArtifactOverrideArgumentsItem, DeploymentDeployArtifactOverrideArgumentsItemArgs
- Deploy
Artifact stringId - The OCID of the artifact to which this parameter applies.
- Name string
- Name of the parameter (case-sensitive).
- Value string
- Value of the parameter.
- Deploy
Artifact stringId - The OCID of the artifact to which this parameter applies.
- Name string
- Name of the parameter (case-sensitive).
- Value string
- Value of the parameter.
- deploy
Artifact StringId - The OCID of the artifact to which this parameter applies.
- name String
- Name of the parameter (case-sensitive).
- value String
- Value of the parameter.
- deploy
Artifact stringId - The OCID of the artifact to which this parameter applies.
- name string
- Name of the parameter (case-sensitive).
- value string
- Value of the parameter.
- deploy_
artifact_ strid - The OCID of the artifact to which this parameter applies.
- name str
- Name of the parameter (case-sensitive).
- value str
- Value of the parameter.
- deploy
Artifact StringId - The OCID of the artifact to which this parameter applies.
- name String
- Name of the parameter (case-sensitive).
- value String
- Value of the parameter.
DeploymentDeployPipelineArtifact, DeploymentDeployPipelineArtifactArgs
- Items
List<Deployment
Deploy Pipeline Artifact Item> - A list of stage predecessors for a stage.
- Items
[]Deployment
Deploy Pipeline Artifact Item - A list of stage predecessors for a stage.
- items
List<Deployment
Deploy Pipeline Artifact Item> - A list of stage predecessors for a stage.
- items
Deployment
Deploy Pipeline Artifact Item[] - A list of stage predecessors for a stage.
- items
Sequence[devops.
Deployment Deploy Pipeline Artifact Item] - A list of stage predecessors for a stage.
- items List<Property Map>
- A list of stage predecessors for a stage.
DeploymentDeployPipelineArtifactItem, DeploymentDeployPipelineArtifactItemArgs
- Deploy
Artifact stringId - The OCID of an artifact
- Deploy
Pipeline List<DeploymentStages Deploy Pipeline Artifact Item Deploy Pipeline Stage> - List of stages.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Deploy
Artifact stringId - The OCID of an artifact
- Deploy
Pipeline []DeploymentStages Deploy Pipeline Artifact Item Deploy Pipeline Stage - List of stages.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Artifact StringId - The OCID of an artifact
- deploy
Pipeline List<DeploymentStages Deploy Pipeline Artifact Item Deploy Pipeline Stage> - List of stages.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Artifact stringId - The OCID of an artifact
- deploy
Pipeline DeploymentStages Deploy Pipeline Artifact Item Deploy Pipeline Stage[] - List of stages.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy_
artifact_ strid - The OCID of an artifact
- deploy_
pipeline_ Sequence[devops.stages Deployment Deploy Pipeline Artifact Item Deploy Pipeline Stage] - List of stages.
- display_
name str - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Artifact StringId - The OCID of an artifact
- deploy
Pipeline List<Property Map>Stages - List of stages.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
DeploymentDeployPipelineArtifactItemDeployPipelineStage, DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs
- Items
List<Deployment
Deploy Pipeline Artifact Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- Items
[]Deployment
Deploy Pipeline Artifact Item Deploy Pipeline Stage Item - A list of stage predecessors for a stage.
- items
List<Deployment
Deploy Pipeline Artifact Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- items
Deployment
Deploy Pipeline Artifact Item Deploy Pipeline Stage Item[] - A list of stage predecessors for a stage.
- items
Sequence[devops.
Deployment Deploy Pipeline Artifact Item Deploy Pipeline Stage Item] - A list of stage predecessors for a stage.
- items List<Property Map>
- A list of stage predecessors for a stage.
DeploymentDeployPipelineArtifactItemDeployPipelineStageItem, DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy_
stage_ strid - Specifies the OCID of the stage to be redeployed.
- display_
name str - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
DeploymentDeployPipelineEnvironment, DeploymentDeployPipelineEnvironmentArgs
- Items
List<Deployment
Deploy Pipeline Environment Item> - A list of stage predecessors for a stage.
- Items
[]Deployment
Deploy Pipeline Environment Item - A list of stage predecessors for a stage.
- items
List<Deployment
Deploy Pipeline Environment Item> - A list of stage predecessors for a stage.
- items
Deployment
Deploy Pipeline Environment Item[] - A list of stage predecessors for a stage.
- items
Sequence[devops.
Deployment Deploy Pipeline Environment Item] - A list of stage predecessors for a stage.
- items List<Property Map>
- A list of stage predecessors for a stage.
DeploymentDeployPipelineEnvironmentItem, DeploymentDeployPipelineEnvironmentItemArgs
- Deploy
Environment stringId - The OCID of an Environment
- Deploy
Pipeline List<DeploymentStages Deploy Pipeline Environment Item Deploy Pipeline Stage> - List of stages.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Deploy
Environment stringId - The OCID of an Environment
- Deploy
Pipeline []DeploymentStages Deploy Pipeline Environment Item Deploy Pipeline Stage - List of stages.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Environment StringId - The OCID of an Environment
- deploy
Pipeline List<DeploymentStages Deploy Pipeline Environment Item Deploy Pipeline Stage> - List of stages.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Environment stringId - The OCID of an Environment
- deploy
Pipeline DeploymentStages Deploy Pipeline Environment Item Deploy Pipeline Stage[] - List of stages.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy_
environment_ strid - The OCID of an Environment
- deploy_
pipeline_ Sequence[devops.stages Deployment Deploy Pipeline Environment Item Deploy Pipeline Stage] - List of stages.
- display_
name str - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Environment StringId - The OCID of an Environment
- deploy
Pipeline List<Property Map>Stages - List of stages.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
DeploymentDeployPipelineEnvironmentItemDeployPipelineStage, DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs
- Items
List<Deployment
Deploy Pipeline Environment Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- Items
[]Deployment
Deploy Pipeline Environment Item Deploy Pipeline Stage Item - A list of stage predecessors for a stage.
- items
List<Deployment
Deploy Pipeline Environment Item Deploy Pipeline Stage Item> - A list of stage predecessors for a stage.
- items
Deployment
Deploy Pipeline Environment Item Deploy Pipeline Stage Item[] - A list of stage predecessors for a stage.
- items
Sequence[devops.
Deployment Deploy Pipeline Environment Item Deploy Pipeline Stage Item] - A list of stage predecessors for a stage.
- items List<Property Map>
- A list of stage predecessors for a stage.
DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem, DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- Deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- Display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage stringId - Specifies the OCID of the stage to be redeployed.
- display
Name string - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy_
stage_ strid - Specifies the OCID of the stage to be redeployed.
- display_
name str - (Updatable) Deployment display name. Avoid entering confidential information.
- deploy
Stage StringId - Specifies the OCID of the stage to be redeployed.
- display
Name String - (Updatable) Deployment display name. Avoid entering confidential information.
DeploymentDeployStageOverrideArguments, DeploymentDeployStageOverrideArgumentsArgs
- Items
List<Deployment
Deploy Stage Override Arguments Item> - List of stage override arguments at the time of deployment.
- Items
[]Deployment
Deploy Stage Override Arguments Item - List of stage override arguments at the time of deployment.
- items
List<Deployment
Deploy Stage Override Arguments Item> - List of stage override arguments at the time of deployment.
- items
Deployment
Deploy Stage Override Arguments Item[] - List of stage override arguments at the time of deployment.
- items
Sequence[devops.
Deployment Deploy Stage Override Arguments Item] - List of stage override arguments at the time of deployment.
- items List<Property Map>
- List of stage override arguments at the time of deployment.
DeploymentDeployStageOverrideArgumentsItem, DeploymentDeployStageOverrideArgumentsItemArgs
- Deploy
Stage stringId - The OCID of the stage.
- Name string
- Name of the parameter (case-sensitive).
- Value string
- Value of the parameter.
- Deploy
Stage stringId - The OCID of the stage.
- Name string
- Name of the parameter (case-sensitive).
- Value string
- Value of the parameter.
- deploy
Stage StringId - The OCID of the stage.
- name String
- Name of the parameter (case-sensitive).
- value String
- Value of the parameter.
- deploy
Stage stringId - The OCID of the stage.
- name string
- Name of the parameter (case-sensitive).
- value string
- Value of the parameter.
- deploy_
stage_ strid - The OCID of the stage.
- name str
- Name of the parameter (case-sensitive).
- value str
- Value of the parameter.
- deploy
Stage StringId - The OCID of the stage.
- name String
- Name of the parameter (case-sensitive).
- value String
- Value of the parameter.
DeploymentDeploymentArguments, DeploymentDeploymentArgumentsArgs
- Items
List<Deployment
Deployment Arguments Item> - List of arguments provided at the time of deployment.
- Items
[]Deployment
Deployment Arguments Item - List of arguments provided at the time of deployment.
- items
List<Deployment
Deployment Arguments Item> - List of arguments provided at the time of deployment.
- items
Deployment
Deployment Arguments Item[] - List of arguments provided at the time of deployment.
- items
Sequence[devops.
Deployment Deployment Arguments Item] - List of arguments provided at the time of deployment.
- items List<Property Map>
- List of arguments provided at the time of deployment.
DeploymentDeploymentArgumentsItem, DeploymentDeploymentArgumentsItemArgs
DeploymentDeploymentExecutionProgress, DeploymentDeploymentExecutionProgressArgs
- Deploy
Stage Dictionary<string, string>Execution Progress - Map of stage OCIDs to deploy stage execution progress model.
- Time
Finished string - Time the deployment is finished. Format defined by RFC3339.
- Time
Started string - Time the deployment is started. Format defined by RFC3339.
- Deploy
Stage map[string]stringExecution Progress - Map of stage OCIDs to deploy stage execution progress model.
- Time
Finished string - Time the deployment is finished. Format defined by RFC3339.
- Time
Started string - Time the deployment is started. Format defined by RFC3339.
- deploy
Stage Map<String,String>Execution Progress - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished String - Time the deployment is finished. Format defined by RFC3339.
- time
Started String - Time the deployment is started. Format defined by RFC3339.
- deploy
Stage {[key: string]: string}Execution Progress - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished string - Time the deployment is finished. Format defined by RFC3339.
- time
Started string - Time the deployment is started. Format defined by RFC3339.
- deploy_
stage_ Mapping[str, str]execution_ progress - 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.
- deploy
Stage Map<String>Execution Progress - Map of stage OCIDs to deploy stage execution progress model.
- time
Finished String - Time the deployment is finished. Format defined by RFC3339.
- time
Started String - Time the deployment is started. Format defined by RFC3339.
Import
Deployments can be imported using the id
, e.g.
$ pulumi import oci:DevOps/deployment:Deployment test_deployment "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.