CreateDeployArtifactDetails¶
- class oci.devops.models.CreateDeployArtifactDetails(**kwargs)¶
Bases:
objectInformation about a new deployment artifact.
Methods:
__init__(**kwargs)Initializes a new CreateDeployArtifactDetails object with values from keyword arguments.
Attributes:
[Required] Gets the argument_substitution_mode of this CreateDeployArtifactDetails.
Gets the defined_tags of this CreateDeployArtifactDetails.
[Required] Gets the deploy_artifact_source of this CreateDeployArtifactDetails.
[Required] Gets the deploy_artifact_type of this CreateDeployArtifactDetails.
Gets the description of this CreateDeployArtifactDetails.
Gets the display_name of this CreateDeployArtifactDetails.
Gets the freeform_tags of this CreateDeployArtifactDetails.
[Required] Gets the project_id of this CreateDeployArtifactDetails.
- __init__(**kwargs)¶
Initializes a new CreateDeployArtifactDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
description (str) – The value to assign to the description property of this CreateDeployArtifactDetails.
display_name (str) – The value to assign to the display_name property of this CreateDeployArtifactDetails.
deploy_artifact_type (str) – The value to assign to the deploy_artifact_type property of this CreateDeployArtifactDetails.
deploy_artifact_source (oci.devops.models.DeployArtifactSource) – The value to assign to the deploy_artifact_source property of this CreateDeployArtifactDetails.
argument_substitution_mode (str) – The value to assign to the argument_substitution_mode property of this CreateDeployArtifactDetails.
project_id (str) – The value to assign to the project_id property of this CreateDeployArtifactDetails.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateDeployArtifactDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateDeployArtifactDetails.
- property argument_substitution_mode¶
[Required] Gets the argument_substitution_mode of this CreateDeployArtifactDetails. Mode for artifact parameter substitution.
- Returns
The argument_substitution_mode of this CreateDeployArtifactDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this CreateDeployArtifactDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns
The defined_tags of this CreateDeployArtifactDetails.
- Return type
dict(str, dict(str, object))
- property deploy_artifact_source¶
[Required] Gets the deploy_artifact_source of this CreateDeployArtifactDetails.
- Returns
The deploy_artifact_source of this CreateDeployArtifactDetails.
- Return type
- property deploy_artifact_type¶
[Required] Gets the deploy_artifact_type of this CreateDeployArtifactDetails. Type of the deployment artifact.
- Returns
The deploy_artifact_type of this CreateDeployArtifactDetails.
- Return type
str
- property description¶
Gets the description of this CreateDeployArtifactDetails. Optional description about the deployment artifact.
- Returns
The description of this CreateDeployArtifactDetails.
- Return type
str
- property display_name¶
Gets the display_name of this CreateDeployArtifactDetails. Deployment artifact display name. Avoid entering confidential information.
- Returns
The display_name of this CreateDeployArtifactDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this CreateDeployArtifactDetails. 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”}
- Returns
The freeform_tags of this CreateDeployArtifactDetails.
- Return type
dict(str, str)
- property project_id¶
[Required] Gets the project_id of this CreateDeployArtifactDetails. The OCID of a project.
- Returns
The project_id of this CreateDeployArtifactDetails.
- Return type
str