AdminArtifactSummary

class oci.marketplace_publisher.models.AdminArtifactSummary(**kwargs)

Bases: object

The model for the admin artifact summary.

Attributes

ARTIFACT_TYPE_CONTAINER_IMAGE A constant which can be used with the artifact_type property of a AdminArtifactSummary.
ARTIFACT_TYPE_HELM_CHART A constant which can be used with the artifact_type property of a AdminArtifactSummary.
ARTIFACT_TYPE_MACHINE_IMAGE A constant which can be used with the artifact_type property of a AdminArtifactSummary.
ARTIFACT_TYPE_STACK A constant which can be used with the artifact_type property of a AdminArtifactSummary.
artifact_type [Required] Gets the artifact_type of this AdminArtifactSummary.
compartment_id [Required] Gets the compartment_id of this AdminArtifactSummary.
defined_tags Gets the defined_tags of this AdminArtifactSummary.
display_name [Required] Gets the display_name of this AdminArtifactSummary.
freeform_tags Gets the freeform_tags of this AdminArtifactSummary.
id [Required] Gets the id of this AdminArtifactSummary.
legacy_id Gets the legacy_id of this AdminArtifactSummary.
lifecycle_state [Required] Gets the lifecycle_state of this AdminArtifactSummary.
status [Required] Gets the status of this AdminArtifactSummary.
system_tags Gets the system_tags of this AdminArtifactSummary.
time_created [Required] Gets the time_created of this AdminArtifactSummary.
time_updated [Required] Gets the time_updated of this AdminArtifactSummary.

Methods

__init__(**kwargs) Initializes a new AdminArtifactSummary object with values from keyword arguments.
ARTIFACT_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'

A constant which can be used with the artifact_type property of a AdminArtifactSummary. This constant has a value of “CONTAINER_IMAGE”

ARTIFACT_TYPE_HELM_CHART = 'HELM_CHART'

A constant which can be used with the artifact_type property of a AdminArtifactSummary. This constant has a value of “HELM_CHART”

ARTIFACT_TYPE_MACHINE_IMAGE = 'MACHINE_IMAGE'

A constant which can be used with the artifact_type property of a AdminArtifactSummary. This constant has a value of “MACHINE_IMAGE”

ARTIFACT_TYPE_STACK = 'STACK'

A constant which can be used with the artifact_type property of a AdminArtifactSummary. This constant has a value of “STACK”

__init__(**kwargs)

Initializes a new AdminArtifactSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this AdminArtifactSummary.
  • legacy_id (str) – The value to assign to the legacy_id property of this AdminArtifactSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this AdminArtifactSummary.
  • display_name (str) – The value to assign to the display_name property of this AdminArtifactSummary.
  • artifact_type (str) – The value to assign to the artifact_type property of this AdminArtifactSummary. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminArtifactSummary.
  • status (str) – The value to assign to the status property of this AdminArtifactSummary.
  • time_created (datetime) – The value to assign to the time_created property of this AdminArtifactSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this AdminArtifactSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminArtifactSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminArtifactSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminArtifactSummary.
artifact_type

[Required] Gets the artifact_type of this AdminArtifactSummary. Artifact Type for the artifact.

Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The artifact_type of this AdminArtifactSummary.
Return type:str
compartment_id

[Required] Gets the compartment_id of this AdminArtifactSummary. The unique identifier for the compartment.

Returns:The compartment_id of this AdminArtifactSummary.
Return type:str
defined_tags

Gets the defined_tags of this AdminArtifactSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this AdminArtifactSummary.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this AdminArtifactSummary. The display name for the artifact.

Returns:The display_name of this AdminArtifactSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this AdminArtifactSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this AdminArtifactSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this AdminArtifactSummary. Unique identifier for the artifact.

Returns:The id of this AdminArtifactSummary.
Return type:str
legacy_id

Gets the legacy_id of this AdminArtifactSummary. The unique legacy identifier for the listing.

Returns:The legacy_id of this AdminArtifactSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AdminArtifactSummary. The current state for the Artifact.

Returns:The lifecycle_state of this AdminArtifactSummary.
Return type:str
status

[Required] Gets the status of this AdminArtifactSummary. The current status for the Artifact.

Returns:The status of this AdminArtifactSummary.
Return type:str
system_tags

Gets the system_tags of this AdminArtifactSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this AdminArtifactSummary.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this AdminArtifactSummary. The date and time the artifact was created, in the format defined by RFC3339.

Example: 2023-03-27T21:10:29.600Z

Returns:The time_created of this AdminArtifactSummary.
Return type:datetime
time_updated

[Required] Gets the time_updated of this AdminArtifactSummary. The date and time the artifact was updated, in the format defined by RFC3339.

Example: 2023-03-27T21:10:29.600Z

Returns:The time_updated of this AdminArtifactSummary.
Return type:datetime