Compartilhar via


CustomVisionErrorCodes type

Define valores para CustomVisionErrorCodes. Os valores possíveis incluem: 'NoError', 'BadRequest', 'BadRequestExceededBatchSize', 'BadRequestNotSupported', 'BadRequestInvalidIds', 'BadRequestProjectName', 'BadRequestProjectNameNotUnique', 'BadRequestProjectDescription', 'BadRequestProjectUnknownDomain', 'BadRequestProjectUnknownClassification', 'BadRequestProjectUnsupportedDomainTypeChange', 'BadRequestProjectUnsupportedExportPlatform', 'BadRequestProjectImagePreprocessingSettings', ' BadRequestProjectDuplicated', 'BadRequestIterationName', 'BadRequestIterationNameNotUnique', 'BadRequestIterationDescription', 'BadRequestIterationIsNotTrained', 'BadRequestIterationValidationFailed', 'BadRequestWorkspaceCannotBeModified', 'BadRequestWorkspaceNotDeletable', 'BadRequestTagName', 'BadRequestTagNameNotUnique', 'BadRequestTagDescription', 'BadRequestTagType', 'BadRequestMultipleNegativeTag', 'BadRequestMultipleGeneralProductTag', ' BadRequestImageTags', 'BadRequestImageRegions', 'BadRequestNegativeAndRegularTagOnSameImage', 'BadRequestUnsupportedDomain', 'BadRequestRequiredParamIsNull', 'BadRequestIterationIsPublished', 'BadRequestInvalidPublishName', 'BadRequestInvalidPublishTarget', 'BadRequestUnpublishFailed', 'BadRequestIterationNotPublished', 'BadRequestSubscriptionApi', 'BadRequestExceedProjectLimit', 'BadRequestExceedIterationPerProjectLimit', 'BadRequestExceedTagPerProjectLimit' , 'BadRequestExceedTagPerImageLimit', 'BadRequestExceededQuota', 'BadRequestCannotMigrateProjectWithName', 'BadRequestNotLimitedTrial', 'BadRequestImageBatch', 'BadRequestImageStream', 'BadRequestImageUrl', 'BadRequestImageFormat', 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeeded', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', ' BadRequestClassificationTrainingValidationFailed', 'BadRequestMultiClassificationTrainingValidationFailed', 'BadRequestMultiLabelClassificationTrainingValidationFailed', 'BadRequestDetectionTrainingValidationFailed', 'BadRequestTrainingAlreadyInProgress', 'BadRequestDetectionTrainingNotAllowNegativeTag', 'BadRequestInvalidEmailAddress', 'BadRequestDomainNotSupportedForAdvancedTraining', 'BadRequestExportPlatformNotSupportedForAdvancedTraining', 'BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining', 'BadRequestExportValidationFailed', 'BadRequestExportAlreadyInProgress', 'BadRequestPredictionIdsMissing', 'BadRequestPredictionIdsExceededCount', 'BadRequestPredictionTagsExceededCount', 'BadRequestPredictionResultsExceededCount', 'BadRequestPredictionInvalidApplicationName', 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', ' BadRequestImageMetadataKey', 'BadRequestImageMetadataValue', 'BadRequestOperationNotSupported', 'BadRequestInvalidArtifactUri', 'BadRequestCustomerManagedKeyRevoked', 'BadRequestInvalid', 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', 'ForbiddenUserDisabled', 'ForbiddenUserInsufficientCapability', 'ForbiddenDRModeEnabled', ' ForbiddenInvalid', 'NotFound', 'NotFoundProject', 'NotFoundProjectDefaultIteration', 'NotFoundIteration', 'NotFoundIterationPerformance', 'NotFoundTag', 'NotFoundImage', 'NotFoundDomain', 'NotFoundApimSubscription', 'NotFoundInvalid', 'Conflict', 'ConflictInvalid', 'ErrorUnknown', 'ErrorIterationCopyFailed', 'ErrorPreparePerformanceMigrationFailed', 'ErrorProjectInvalidWorkspace', 'ErrorProjectInvalidPipelineConfiguration', 'ErrorProjectInvalidDomain', ' ErrorProjectTrainingRequestFailed', 'ErrorProjectImportRequestFailed', 'ErrorProjectExportRequestFailed', 'ErrorFeaturizationServiceUnavailable', 'ErrorFeaturizationQueueTimeout', 'ErrorFeaturizationInvalidFeaturizer', 'ErrorFeaturizationAugmentationUnavailable', 'ErrorFeaturizationUnrecognizedJob', 'ErrorFeaturizationAugmentationError', 'ErrorExporterInvalidPlatform', 'ErrorExporterInvalidFeaturizer', 'ErrorExporterInvalidClassifier', ' ErrorPredictionServiceUnavailable', 'ErrorPredictionModelNotFound', 'ErrorPredictionModelNotCached', 'ErrorPrediction', 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorUnknownBaseModel', 'ErrorInvalid'

type CustomVisionErrorCodes =
  | "NoError"
  | "BadRequest"
  | "BadRequestExceededBatchSize"
  | "BadRequestNotSupported"
  | "BadRequestInvalidIds"
  | "BadRequestProjectName"
  | "BadRequestProjectNameNotUnique"
  | "BadRequestProjectDescription"
  | "BadRequestProjectUnknownDomain"
  | "BadRequestProjectUnknownClassification"
  | "BadRequestProjectUnsupportedDomainTypeChange"
  | "BadRequestProjectUnsupportedExportPlatform"
  | "BadRequestProjectImagePreprocessingSettings"
  | "BadRequestProjectDuplicated"
  | "BadRequestIterationName"
  | "BadRequestIterationNameNotUnique"
  | "BadRequestIterationDescription"
  | "BadRequestIterationIsNotTrained"
  | "BadRequestIterationValidationFailed"
  | "BadRequestWorkspaceCannotBeModified"
  | "BadRequestWorkspaceNotDeletable"
  | "BadRequestTagName"
  | "BadRequestTagNameNotUnique"
  | "BadRequestTagDescription"
  | "BadRequestTagType"
  | "BadRequestMultipleNegativeTag"
  | "BadRequestMultipleGeneralProductTag"
  | "BadRequestImageTags"
  | "BadRequestImageRegions"
  | "BadRequestNegativeAndRegularTagOnSameImage"
  | "BadRequestUnsupportedDomain"
  | "BadRequestRequiredParamIsNull"
  | "BadRequestIterationIsPublished"
  | "BadRequestInvalidPublishName"
  | "BadRequestInvalidPublishTarget"
  | "BadRequestUnpublishFailed"
  | "BadRequestIterationNotPublished"
  | "BadRequestSubscriptionApi"
  | "BadRequestExceedProjectLimit"
  | "BadRequestExceedIterationPerProjectLimit"
  | "BadRequestExceedTagPerProjectLimit"
  | "BadRequestExceedTagPerImageLimit"
  | "BadRequestExceededQuota"
  | "BadRequestCannotMigrateProjectWithName"
  | "BadRequestNotLimitedTrial"
  | "BadRequestImageBatch"
  | "BadRequestImageStream"
  | "BadRequestImageUrl"
  | "BadRequestImageFormat"
  | "BadRequestImageSizeBytes"
  | "BadRequestImageDimensions"
  | "BadRequestImageExceededCount"
  | "BadRequestTrainingNotNeeded"
  | "BadRequestTrainingNotNeededButTrainingPipelineUpdated"
  | "BadRequestTrainingValidationFailed"
  | "BadRequestClassificationTrainingValidationFailed"
  | "BadRequestMultiClassClassificationTrainingValidationFailed"
  | "BadRequestMultiLabelClassificationTrainingValidationFailed"
  | "BadRequestDetectionTrainingValidationFailed"
  | "BadRequestTrainingAlreadyInProgress"
  | "BadRequestDetectionTrainingNotAllowNegativeTag"
  | "BadRequestInvalidEmailAddress"
  | "BadRequestDomainNotSupportedForAdvancedTraining"
  | "BadRequestExportPlatformNotSupportedForAdvancedTraining"
  | "BadRequestReservedBudgetInHoursNotEnoughForAdvancedTraining"
  | "BadRequestExportValidationFailed"
  | "BadRequestExportAlreadyInProgress"
  | "BadRequestPredictionIdsMissing"
  | "BadRequestPredictionIdsExceededCount"
  | "BadRequestPredictionTagsExceededCount"
  | "BadRequestPredictionResultsExceededCount"
  | "BadRequestPredictionInvalidApplicationName"
  | "BadRequestPredictionInvalidQueryParameters"
  | "BadRequestInvalidImportToken"
  | "BadRequestExportWhileTraining"
  | "BadRequestImageMetadataKey"
  | "BadRequestImageMetadataValue"
  | "BadRequestOperationNotSupported"
  | "BadRequestInvalidArtifactUri"
  | "BadRequestCustomerManagedKeyRevoked"
  | "BadRequestInvalid"
  | "UnsupportedMediaType"
  | "Forbidden"
  | "ForbiddenUser"
  | "ForbiddenUserResource"
  | "ForbiddenUserSignupDisabled"
  | "ForbiddenUserSignupAllowanceExceeded"
  | "ForbiddenUserDoesNotExist"
  | "ForbiddenUserDisabled"
  | "ForbiddenUserInsufficientCapability"
  | "ForbiddenDRModeEnabled"
  | "ForbiddenInvalid"
  | "NotFound"
  | "NotFoundProject"
  | "NotFoundProjectDefaultIteration"
  | "NotFoundIteration"
  | "NotFoundIterationPerformance"
  | "NotFoundTag"
  | "NotFoundImage"
  | "NotFoundDomain"
  | "NotFoundApimSubscription"
  | "NotFoundInvalid"
  | "Conflict"
  | "ConflictInvalid"
  | "ErrorUnknown"
  | "ErrorIterationCopyFailed"
  | "ErrorPreparePerformanceMigrationFailed"
  | "ErrorProjectInvalidWorkspace"
  | "ErrorProjectInvalidPipelineConfiguration"
  | "ErrorProjectInvalidDomain"
  | "ErrorProjectTrainingRequestFailed"
  | "ErrorProjectImportRequestFailed"
  | "ErrorProjectExportRequestFailed"
  | "ErrorFeaturizationServiceUnavailable"
  | "ErrorFeaturizationQueueTimeout"
  | "ErrorFeaturizationInvalidFeaturizer"
  | "ErrorFeaturizationAugmentationUnavailable"
  | "ErrorFeaturizationUnrecognizedJob"
  | "ErrorFeaturizationAugmentationError"
  | "ErrorExporterInvalidPlatform"
  | "ErrorExporterInvalidFeaturizer"
  | "ErrorExporterInvalidClassifier"
  | "ErrorPredictionServiceUnavailable"
  | "ErrorPredictionModelNotFound"
  | "ErrorPredictionModelNotCached"
  | "ErrorPrediction"
  | "ErrorPredictionStorage"
  | "ErrorRegionProposal"
  | "ErrorUnknownBaseModel"
  | "ErrorInvalid"