Source code for sevenbridges.models.enums

[docs]class RequestParameters: MAX_URL_LENGTH = 6000 DEFAULT_TIMEOUT = 300 DEFAULT_RETRY_COUNT = 6 DEFAULT_BACKOFF_FACTOR = 1 DEFAULT_BULK_LIMIT = 100
[docs]class PartSize: KB = 1024 MB = 1024 * KB GB = 1024 * MB TB = 1024 * GB MAXIMUM_UPLOAD_SIZE = 5 * GB MAXIMUM_OBJECT_SIZE = 5 * TB MAXIMUM_TOTAL_PARTS = 10000 DOWNLOAD_MINIMUM_PART_SIZE = 5 * MB UPLOAD_MINIMUM_PART_SIZE = 5 * MB UPLOAD_RECOMMENDED_SIZE = 32 * MB
[docs]class TransferState: ABORTED = 'ABORTED' RUNNING = 'RUNNING' PAUSED = 'PAUSED' COMPLETED = 'COMPLETED' PREPARING = 'PREPARING' STOPPED = 'STOPPED' FAILED = 'FAILED'
[docs]class VolumeType: S3 = 'S3' GOOGLE = 'GCS' OSS = 'OSS'
[docs]class VolumeAccessMode: READ_ONLY = 'RO' READ_WRITE = 'RW'
[docs]class FileStorageType: VOLUME = 'VOLUME' PLATFORM = 'PLATFORM'
[docs]class FileApiFormats: FILE = 'File' FOLDER = 'Directory'
[docs]class ImportExportState: PENDING = 'PENDING' RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' FAILED = 'FAILED'
[docs]class TaskStatus: DRAFT = 'DRAFT' CREATING = 'CREATING' QUEUED = 'QUEUED' RUNNING = 'RUNNING' COMPLETED = 'COMPLETED' ABORTED = 'ABORTED' ABORTING = 'ABORTING' FAILED = 'FAILED' terminal_states = [COMPLETED, FAILED, ABORTED]
[docs]class FeedbackType: IDEA = 'IDEA' THOUGHT = 'THOUGHT' PROBLEM = 'PROBLEM'
[docs]class AppRawFormat: JSON = 'json' YAML = 'yaml'
[docs]class AppCopyStrategy: CLONE = 'clone' DIRECT = 'direct' TRANSIENT = 'transient' CLONE_DIRECT = 'clone_direct'
[docs]class AutomationRunActions: STOP = 'stop' RERUN = 'rerun'
[docs]class AsyncJobStates: RUNNING = 'RUNNING' FINISHED = 'FINISHED' SUBMITTED = 'SUBMITTED' RESOLVING = 'RESOLVING'
[docs]class AsyncFileOperations: COPY = 'copy' DELETE = 'delete' MOVE = 'move'
[docs]class DivisionRole: MEMBER = 'member' ADMIN = 'admin' EXTERNAL_COLLABORATOR = 'external_collaborator'
[docs]class AutomationStatus: CREATED = 'CREATED' FINISHED = 'FINISHED' ABORTED = 'ABORTED' FAILED = 'FAILED' RUNNING = 'RUNNING' SENT_TO_EXECUTION = 'SENT_TO_EXECUTION' QUEUED_FOR_EXECUTION = 'QUEUED_FOR_EXECUTION' QUEUED_FOR_TERMINATION = 'QUEUED_FOR_TERMINATION' terminal_states = [FINISHED, FAILED, ABORTED]