Class DeployArtifact
Artifacts are deployment manifests that are referenced in a pipeline stage for automated deployment to the target environment. DevOps artifacts can be an OCI Container image repository, Kubernetes manifest, an Artifact Registry artifact, or defined inline.
Inherited Members
Namespace: Oci.DevopsService.Models
Assembly: OCI.DotNetSDK.Devops.dll
Syntax
public class DeployArtifact
Properties
ArgumentSubstitutionMode
Declaration
[Required(ErrorMessage = "ArgumentSubstitutionMode is required.")]
[JsonProperty(PropertyName = "argumentSubstitutionMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeployArtifact.ArgumentSubstitutionModeEnum? ArgumentSubstitutionMode { get; set; }
Property Value
Type | Description |
---|---|
DeployArtifact.ArgumentSubstitutionModeEnum? | Mode for artifact parameter substitution. |
Remarks
Required
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. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {"foo-namespace": {"bar-key": "value"}} |
DeployArtifactSource
Declaration
[Required(ErrorMessage = "DeployArtifactSource is required.")]
[JsonProperty(PropertyName = "deployArtifactSource")]
public DeployArtifactSource DeployArtifactSource { get; set; }
Property Value
Type | Description |
---|---|
DeployArtifactSource |
Remarks
Required
DeployArtifactType
Declaration
[Required(ErrorMessage = "DeployArtifactType is required.")]
[JsonProperty(PropertyName = "deployArtifactType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeployArtifact.DeployArtifactTypeEnum? DeployArtifactType { get; set; }
Property Value
Type | Description |
---|---|
DeployArtifact.DeployArtifactTypeEnum? | Type of the deployment artifact. |
Remarks
Required
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | Optional description about the artifact to be deployed. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | Deployment artifact identifier, which can be renamed and is not necessarily unique. Avoid entering confidential information. |
FreeformTags
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. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A detailed message describing the current state. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DeployArtifact.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
DeployArtifact.LifecycleStateEnum? | Current state of the deployment artifact. |
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. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, 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
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the deployment artifact was created. Format defined by RFC3339. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the deployment artifact was updated. Format defined by RFC3339. |