# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) Python Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
from enum import Enum
from azure.core import CaseInsensitiveEnumMeta
class FileFormatType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Format types."""
DOCUMENT = "document"
"""Document type file format"""
GLOSSARY = "glossary"
"""Glossary type file format"""
class Status(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""List of possible statuses for job or document."""
NOT_STARTED = "NotStarted"
"""NotStarted"""
RUNNING = "Running"
"""Running"""
SUCCEEDED = "Succeeded"
"""Succeeded"""
FAILED = "Failed"
"""Failed"""
CANCELLED = "Cancelled"
"""Cancelled"""
CANCELLING = "Cancelling"
"""Cancelling"""
VALIDATION_FAILED = "ValidationFailed"
"""ValidationFailed"""
class StorageSource(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Storage Source."""
AZURE_BLOB = "AzureBlob"
"""Azure blob storage source"""
class TranslationErrorCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Enums containing high level error codes."""
INVALID_REQUEST = "InvalidRequest"
"""InvalidRequest"""
INVALID_ARGUMENT = "InvalidArgument"
"""InvalidArgument"""
INTERNAL_SERVER_ERROR = "InternalServerError"
"""InternalServerError"""
SERVICE_UNAVAILABLE = "ServiceUnavailable"
"""ServiceUnavailable"""
RESOURCE_NOT_FOUND = "ResourceNotFound"
"""ResourceNotFound"""
UNAUTHORIZED = "Unauthorized"
"""Unauthorized"""
REQUEST_RATE_TOO_HIGH = "RequestRateTooHigh"
"""RequestRateTooHigh"""