MachineImageArtifact¶
- class oci.marketplace_publisher.models.MachineImageArtifact(**kwargs)¶
Bases:
ArtifactMachine Image artifact details.
Attributes:
A constant which can be used with the artifact_type property of a Artifact.
A constant which can be used with the artifact_type property of a Artifact.
A constant which can be used with the artifact_type property of a Artifact.
A constant which can be used with the artifact_type property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the lifecycle_state property of a Artifact.
A constant which can be used with the status property of a Artifact.
A constant which can be used with the status property of a Artifact.
A constant which can be used with the status property of a Artifact.
[Required] Gets the artifact_type of this Artifact.
[Required] Gets the compartment_id of this Artifact.
Gets the defined_tags of this Artifact.
[Required] Gets the display_name of this Artifact.
Gets the freeform_tags of this Artifact.
[Required] Gets the id of this Artifact.
[Required] Gets the lifecycle_state of this Artifact.
[Required] Gets the machine_image of this MachineImageArtifact.
[Required] Gets the publisher_id of this Artifact.
[Required] Gets the status of this Artifact.
Gets the status_notes of this Artifact.
Gets the system_tags of this Artifact.
[Required] Gets the time_created of this Artifact.
[Required] Gets the time_updated of this Artifact.
Methods:
__init__(**kwargs)Initializes a new MachineImageArtifact object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- ARTIFACT_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'¶
A constant which can be used with the artifact_type property of a Artifact. 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 Artifact. 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 Artifact. 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 Artifact. This constant has a value of “STACK”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a Artifact. This constant has a value of “UPDATING”
- STATUS_AVAILABLE = 'AVAILABLE'¶
A constant which can be used with the status property of a Artifact. This constant has a value of “AVAILABLE”
- STATUS_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the status property of a Artifact. This constant has a value of “IN_PROGRESS”
- STATUS_UNAVAILABLE = 'UNAVAILABLE'¶
A constant which can be used with the status property of a Artifact. This constant has a value of “UNAVAILABLE”
- __init__(**kwargs)¶
Initializes a new MachineImageArtifact object with values from keyword arguments. The default value of the
artifact_typeattribute of this class isMACHINE_IMAGEand it should not be changed. 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 MachineImageArtifact.
display_name (str) – The value to assign to the display_name property of this MachineImageArtifact.
artifact_type (str) – The value to assign to the artifact_type property of this MachineImageArtifact. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”
status (str) – The value to assign to the status property of this MachineImageArtifact. Allowed values for this property are: “IN_PROGRESS”, “AVAILABLE”, “UNAVAILABLE”
status_notes (str) – The value to assign to the status_notes property of this MachineImageArtifact.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this MachineImageArtifact. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”
time_created (datetime) – The value to assign to the time_created property of this MachineImageArtifact.
compartment_id (str) – The value to assign to the compartment_id property of this MachineImageArtifact.
publisher_id (str) – The value to assign to the publisher_id property of this MachineImageArtifact.
time_updated (datetime) – The value to assign to the time_updated property of this MachineImageArtifact.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this MachineImageArtifact.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this MachineImageArtifact.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this MachineImageArtifact.
machine_image (oci.marketplace_publisher.models.MachineImageDetails) – The value to assign to the machine_image property of this MachineImageArtifact.
- property artifact_type¶
[Required] Gets the artifact_type of this Artifact. 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 Artifact.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this Artifact. The unique identifier for the compartment.
- Returns
The compartment_id of this Artifact.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this Artifact. 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 Artifact.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this Artifact. A display name for the artifact.
- Returns
The display_name of this Artifact.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this Artifact. 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 Artifact.
- Return type
dict(str, str)
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property id¶
[Required] Gets the id of this Artifact. Unique OCID identifier for the artifact.
- Returns
The id of this Artifact.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this Artifact. The current state for the Artifact.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Artifact.
- Return type
str
- property machine_image¶
[Required] Gets the machine_image of this MachineImageArtifact.
- Returns
The machine_image of this MachineImageArtifact.
- Return type
- property publisher_id¶
[Required] Gets the publisher_id of this Artifact. The unique identifier for the publisher.
- Returns
The publisher_id of this Artifact.
- Return type
str
- property status¶
[Required] Gets the status of this Artifact. The current status for the Artifact.
Allowed values for this property are: “IN_PROGRESS”, “AVAILABLE”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this Artifact.
- Return type
str
- property status_notes¶
Gets the status_notes of this Artifact. Status notes for the Artifact.
- Returns
The status_notes of this Artifact.
- Return type
str
- property system_tags¶
Gets the system_tags of this Artifact. 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 Artifact.
- Return type
dict(str, dict(str, object))