RepositoryMirrorRecordSummary¶
-
class
oci.devops.models.
RepositoryMirrorRecordSummary
(**kwargs)¶ Bases:
object
Object containing information about a mirror record.
Attributes
MIRROR_STATUS_FAILED
A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. MIRROR_STATUS_NONE
A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. MIRROR_STATUS_PASSED
A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. MIRROR_STATUS_QUEUED
A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. MIRROR_STATUS_RUNNING
A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. defined_tags
Gets the defined_tags of this RepositoryMirrorRecordSummary. freeform_tags
Gets the freeform_tags of this RepositoryMirrorRecordSummary. mirror_status
[Required] Gets the mirror_status of this RepositoryMirrorRecordSummary. system_tags
Gets the system_tags of this RepositoryMirrorRecordSummary. time_completed
Gets the time_completed of this RepositoryMirrorRecordSummary. time_enqueued
Gets the time_enqueued of this RepositoryMirrorRecordSummary. time_started
Gets the time_started of this RepositoryMirrorRecordSummary. work_request_id
Gets the work_request_id of this RepositoryMirrorRecordSummary. Methods
__init__
(**kwargs)Initializes a new RepositoryMirrorRecordSummary object with values from keyword arguments. -
MIRROR_STATUS_FAILED
= 'FAILED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. This constant has a value of “FAILED”
-
MIRROR_STATUS_NONE
= 'NONE'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. This constant has a value of “NONE”
-
MIRROR_STATUS_PASSED
= 'PASSED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. This constant has a value of “PASSED”
-
MIRROR_STATUS_QUEUED
= 'QUEUED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. This constant has a value of “QUEUED”
-
MIRROR_STATUS_RUNNING
= 'RUNNING'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecordSummary. This constant has a value of “RUNNING”
-
__init__
(**kwargs)¶ Initializes a new RepositoryMirrorRecordSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - mirror_status (str) – The value to assign to the mirror_status property of this RepositoryMirrorRecordSummary. Allowed values for this property are: “NONE”, “QUEUED”, “RUNNING”, “PASSED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- work_request_id (str) – The value to assign to the work_request_id property of this RepositoryMirrorRecordSummary.
- time_enqueued (datetime) – The value to assign to the time_enqueued property of this RepositoryMirrorRecordSummary.
- time_started (datetime) – The value to assign to the time_started property of this RepositoryMirrorRecordSummary.
- time_completed (datetime) – The value to assign to the time_completed property of this RepositoryMirrorRecordSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RepositoryMirrorRecordSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RepositoryMirrorRecordSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RepositoryMirrorRecordSummary.
Gets the defined_tags of this RepositoryMirrorRecordSummary. 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 RepositoryMirrorRecordSummary. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this RepositoryMirrorRecordSummary. 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 RepositoryMirrorRecordSummary. Return type: dict(str, str)
-
mirror_status
¶ [Required] Gets the mirror_status of this RepositoryMirrorRecordSummary. Mirror status of current mirror entry. QUEUED - Mirroring Queued RUNNING - Mirroring is Running PASSED - Mirroring Passed FAILED - Mirroring Failed
Allowed values for this property are: “NONE”, “QUEUED”, “RUNNING”, “PASSED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The mirror_status of this RepositoryMirrorRecordSummary. Return type: str
Gets the system_tags of this RepositoryMirrorRecordSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. See Resource Tags. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this RepositoryMirrorRecordSummary. Return type: dict(str, dict(str, object))
-
time_completed
¶ Gets the time_completed of this RepositoryMirrorRecordSummary. The time to complete a mirror operation.
Returns: The time_completed of this RepositoryMirrorRecordSummary. Return type: datetime
-
time_enqueued
¶ Gets the time_enqueued of this RepositoryMirrorRecordSummary. The time to enqueue a mirror operation.
Returns: The time_enqueued of this RepositoryMirrorRecordSummary. Return type: datetime
-
time_started
¶ Gets the time_started of this RepositoryMirrorRecordSummary. The time to start a mirror operation.
Returns: The time_started of this RepositoryMirrorRecordSummary. Return type: datetime
-
work_request_id
¶ Gets the work_request_id of this RepositoryMirrorRecordSummary. Workrequest ID to track current mirror operation.
Returns: The work_request_id of this RepositoryMirrorRecordSummary. Return type: str
-