RepositoryMirrorRecord¶
-
class
oci.devops.models.RepositoryMirrorRecord(**kwargs)¶ Bases:
objectObject containing information about a mirror record.
Attributes
MIRROR_STATUS_FAILEDA constant which can be used with the mirror_status property of a RepositoryMirrorRecord. MIRROR_STATUS_NONEA constant which can be used with the mirror_status property of a RepositoryMirrorRecord. MIRROR_STATUS_PASSEDA constant which can be used with the mirror_status property of a RepositoryMirrorRecord. MIRROR_STATUS_QUEUEDA constant which can be used with the mirror_status property of a RepositoryMirrorRecord. MIRROR_STATUS_RUNNINGA constant which can be used with the mirror_status property of a RepositoryMirrorRecord. mirror_status[Required] Gets the mirror_status of this RepositoryMirrorRecord. time_endedGets the time_ended of this RepositoryMirrorRecord. time_enqueuedGets the time_enqueued of this RepositoryMirrorRecord. time_startedGets the time_started of this RepositoryMirrorRecord. work_request_idGets the work_request_id of this RepositoryMirrorRecord. Methods
__init__(**kwargs)Initializes a new RepositoryMirrorRecord object with values from keyword arguments. -
MIRROR_STATUS_FAILED= 'FAILED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecord. This constant has a value of “FAILED”
-
MIRROR_STATUS_NONE= 'NONE'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecord. This constant has a value of “NONE”
-
MIRROR_STATUS_PASSED= 'PASSED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecord. This constant has a value of “PASSED”
-
MIRROR_STATUS_QUEUED= 'QUEUED'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecord. This constant has a value of “QUEUED”
-
MIRROR_STATUS_RUNNING= 'RUNNING'¶ A constant which can be used with the mirror_status property of a RepositoryMirrorRecord. This constant has a value of “RUNNING”
-
__init__(**kwargs)¶ Initializes a new RepositoryMirrorRecord 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 RepositoryMirrorRecord. 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 RepositoryMirrorRecord.
- time_enqueued (datetime) – The value to assign to the time_enqueued property of this RepositoryMirrorRecord.
- time_started (datetime) – The value to assign to the time_started property of this RepositoryMirrorRecord.
- time_ended (datetime) – The value to assign to the time_ended property of this RepositoryMirrorRecord.
-
mirror_status¶ [Required] Gets the mirror_status of this RepositoryMirrorRecord. 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 RepositoryMirrorRecord. Return type: str
-
time_ended¶ Gets the time_ended of this RepositoryMirrorRecord. The time taken to complete a mirror operation. Value is null if not completed.
Returns: The time_ended of this RepositoryMirrorRecord. Return type: datetime
-
time_enqueued¶ Gets the time_enqueued of this RepositoryMirrorRecord. The time to enqueue a mirror operation.
Returns: The time_enqueued of this RepositoryMirrorRecord. Return type: datetime
-
time_started¶ Gets the time_started of this RepositoryMirrorRecord. The time to start a mirror operation.
Returns: The time_started of this RepositoryMirrorRecord. Return type: datetime
-
work_request_id¶ Gets the work_request_id of this RepositoryMirrorRecord. Workrequest ID to track current mirror operation.
Returns: The work_request_id of this RepositoryMirrorRecord. Return type: str
-