Class Deployment
A single execution or run of a pipeline.
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
[JsonConverter(typeof(DeploymentModelConverter))]
public class Deployment
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type |
Description |
string |
The OCID of a compartment.
|
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
DeployArtifactOverrideArguments
Declaration
[JsonProperty(PropertyName = "deployArtifactOverrideArguments")]
public DeployArtifactOverrideArgumentCollection DeployArtifactOverrideArguments { get; set; }
Property Value
DeployPipelineArtifacts
Declaration
[JsonProperty(PropertyName = "deployPipelineArtifacts")]
public DeployPipelineArtifactCollection DeployPipelineArtifacts { get; set; }
Property Value
DeployPipelineEnvironments
Declaration
[JsonProperty(PropertyName = "deployPipelineEnvironments")]
public DeployPipelineEnvironmentCollection DeployPipelineEnvironments { get; set; }
Property Value
DeployPipelineId
Declaration
[Required(ErrorMessage = "DeployPipelineId is required.")]
[JsonProperty(PropertyName = "deployPipelineId")]
public string DeployPipelineId { get; set; }
Property Value
Type |
Description |
string |
The OCID of a pipeline.
|
DeployStageOverrideArguments
Declaration
[JsonProperty(PropertyName = "deployStageOverrideArguments")]
public DeployStageOverrideArgumentCollection DeployStageOverrideArguments { get; set; }
Property Value
DeploymentArguments
Declaration
[JsonProperty(PropertyName = "deploymentArguments")]
public DeploymentArgumentCollection DeploymentArguments { get; set; }
Property Value
DeploymentExecutionProgress
Declaration
[JsonProperty(PropertyName = "deploymentExecutionProgress")]
public DeploymentExecutionProgress DeploymentExecutionProgress { get; set; }
Property Value
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
string |
Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See Resource Tags. Example: {"bar-key": "value"}
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type |
Description |
string |
Unique identifier that is immutable on creation.
|
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type |
Description |
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.
|
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Deployment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
ProjectId
Declaration
[Required(ErrorMessage = "ProjectId is required.")]
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type |
Description |
string |
The OCID of a project.
|
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type |
Description |
DateTime? |
Time the deployment was created. Format defined by RFC3339.
|
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type |
Description |
DateTime? |
Time the deployment was updated. Format defined by RFC3339.
|