Share via


BatchErrorCode Struct

Definition

Contains string constants for error codes returned by the Batch service.

public readonly struct BatchErrorCode
type BatchErrorCode = struct
Public Structure BatchErrorCode
Inheritance
BatchErrorCode

Constructors

BatchErrorCode(String)

Initializes a new instance of BatchErrorCode.

Properties

AccountAlreadyExists

Gets the error code representing that the specified account is disabled.

ActiveJobAndScheduleQuotaReached

Gets the error code indicating that the account has reached its quota of active jobs and job schedules.

AddTaskCollectionTerminated

Gets the error code indicating that the task addition failed.

ApplicationNotFound

Gets the error code indicating that the specified application does not exist.

AuthenticationFailed

Gets the error code indicating that the Batch service failed to authenticate the request.

AutoScaleFormulaTooLong

Gets the error code indicating that an automatic scaling formula is too long.

AutoScaleTooManyRequestsToEnable

Gets the error code indicating that Enable AutoScale requests for the same pool must be separated by at least 30 seconds.

AutoScalingFormulaSyntaxError

Gets the error code indicating that an automatic scaling formula has a syntax error.

CanOnlyBeRunOnceFailure

Gets the error code indicating that the operation can only be run once.

CertificateBeingDeleted

Gets the error code indicating that a certificate operation was attempted while the certificate is being deleted.

CertificateExists

Gets the error code indicating that the certificate already exists.

CertificateNotFound

Gets the error code indicating that the certificate was not found in the Batch account.

CertificateStateActive

Gets the error code indicating that a certificate operation was attempted while the certificate is active.

CertificateStateDeleteFailed

Gets the error code indicating that a certificate could not be deleted because it is still in use.

ConditionNotMet

Gets the error code indicating that a HTTP conditional header did not meet its condition.

EmptyMetadataKey

Gets the error code indicating that an empty metadata key was specified.

FileNotFound

Gets the error code indicating that a node file requested from a task or compute node was not found.

HostInformationNotPresent

Gets the error code indicating that the host information was not present in the request.

InsufficientAccountPermissions

Gets the error code indicating that the account lacks sufficient permissions.

InternalError

Gets the error code indicating that an internal error occurred in the Batch service.

InvalidApplicationPackageReferences

Gets the error code indicating that one or more application package references could not be satisfied.

InvalidAuthenticationInfo

Gets the error code indicating that the authentication information is invalid.

InvalidAutoScalingSettings

Gets the error code indicating that the specified auto-scale settings are invalid.

InvalidCertificateReferences

Gets the error code indicating that a pool specification contains invalid certificate references.

InvalidConstraintValue

Gets the error code indicating that a value in a job or task constraint is out of range.

InvalidHeaderValue

Gets the error code indicating that one of the HTTP headers has an incorrect format.

InvalidHttpVerb

Gets the error code indicating that the HTTP verb is not recognised.

InvalidInput

Gets the error code indicating that one of the request inputs is invalid.

InvalidMetadata

Gets the error code indicating that the metadata contains invalid characters.

InvalidPropertyValue

Gets the error code indicating that a property value in the request body is invalid.

InvalidQueryParameterValue

Gets the error code indicating that a query parameter has an invalid value.

InvalidRange

Gets the error code indicating that the specified byte range is invalid.

InvalidRequestBody

Gets the error code indicating that the HTTP request body is not valid.

InvalidRestAPIForAccountSetting

Gets the error code indicating that there is a conflict between the REST API and the account.

InvalidUri

Gets the error code indicating that the HTTP request URI is invalid.

IOError

Gets the error code indicating that an I/O error occurred while accessing a resource.

JobBeingDeleted

Gets the error code indicating that a job operation was attempted while the job is being deleted.

JobBeingTerminated

Gets the error code indicating that a job operation was attempted while the job is being terminated.

JobCompleted

Gets the error code indicating that a job operation was attempted on a completed job.

JobDisabled

Gets the error code indicating that the specified job is disabled.

JobExists

Gets the error code indicating that the specified job already exists.

JobNotActive

Gets the error code indicating that a job operation was attempted on a job that is not active.

JobNotFound

Gets the error code indicating that the specified job was not found in the Batch account.

JobPreparationTaskNotRunOnNode

Gets the error code indicating that a Job Preparation task was not run on a compute node.

JobPreparationTaskNotSpecified

Gets the error code indicating that no Job Preparation task was specified for the job.

JobReleaseTaskNotRunOnNode

Gets the error code indicating that a Job Release task was not run on a compute node.

JobReleaseTaskNotSpecified

Gets the error code indicating that no Job Release task was specified for the job.

JobScheduleBeingDeleted

Gets the error code indicating that a job schedule operation was attempted on a schedule being deleted.

JobScheduleBeingTerminated

Gets the error code indicating that a job schedule operation was attempted on a schedule being terminated.

JobScheduleCompleted

Gets the error code indicating that a job schedule operation was attempted on a completed schedule.

JobScheduleDisabled

Gets the error code indicating that a job schedule operation was attempted on a disabled schedule.

JobScheduleExists

Gets the error code indicating that the specified job schedule already exists.

JobScheduleNotFound

Gets the error code indicating that the specified job schedule was not found.

JobScheduleWithSameIdExists

Gets the error code indicating that a job schedule with the same id as an existing job exists.

JobWithSameIdExists

Gets the error code indicating that a job with the same id as an existing job schedule exists.

MetadataTooLarge

Gets the error code indicating that the metadata size exceeds the maximum allowed.

MissingContentLengthHeader

Gets the error code indicating that the HTTP Content-Length header was not specified.

MissingRequiredHeader

Gets the error code indicating that a required HTTP header was not specified.

MissingRequiredProperty

Gets the error code indicating that a required property was not specified in the request body.

MissingRequiredQueryParameter

Gets the error code indicating that a required query parameter was not specified.

MultipleConditionHeadersNotSupported

Gets the error code indicating that multiple conditional headers were provided.

MultipleParallelRequestsHitUnexpectedErrors

Gets the error code indicating that one or more parallel requests encountered unexpected errors.

NodeAlreadyInTargetSchedulingState

Gets the error code indicating that the compute node is already in the target scheduling state.

NodeBeingCreated

Gets the error code indicating that a compute node operation was attempted while the node is being created.

NodeBeingRebooted

Gets the error code indicating that a compute node operation was attempted while the node is being rebooted.

NodeBeingReimaged

Gets the error code indicating that a compute node operation was attempted while the node is being reimaged.

NodeBeingStarted

Gets the error code indicating that a compute node operation was attempted while the node is being started.

NodeCountsMismatch

Gets the error code indicating that the node counts do not match.

NodeNotFound

Gets the error code indicating that the specified compute node was not found in the pool.

NodeStateUnusable

Gets the error code indicating that a compute node operation was attempted on a node in an unusable state.

NodeUserExists

Gets the error code indicating that the specified compute node user already exists.

NodeUserNotFound

Gets the error code indicating that the specified compute node user was not found.

NotImplemented

Gets the error code indicating that the operation is not implemented.

OperationInvalidForCurrentState

Gets the error code indicating that the operation is invalid for the current state of the resource.

OperationTimedOut

Gets the error code indicating that the operation timed out.

OSVersionDisabled

Gets the error code indicating that the specified Azure Guest OS version is disabled.

OSVersionExpired

Gets the error code indicating that the specified Azure Guest OS version is expired.

OSVersionNotFound

Gets the error code indicating that the specified Azure Guest OS version was not found.

OutOfRangeInput

Gets the error code indicating that one of the inputs is out of range.

OutOfRangePriority

Gets the error code indicating that a job priority is out of the permitted range.

OutOfRangeQueryParameterValue

Gets the error code indicating that a query parameter is out of range.

PathNotFound

Gets the error code indicating that a file path was not found on a compute node.

PoolBeingCreated

Gets the error code indicating that a pool operation was attempted on a pool being created.

PoolBeingDeleted

Gets the error code indicating that a pool operation was attempted on a pool being deleted.

PoolBeingResized

Gets the error code indicating that a pool operation was attempted on a pool being resized.

PoolExists

Gets the error code indicating that the specified pool already exists.

PoolNotEligibleForOSVersionUpgrade

Gets the error code indicating that the specified pool is not eligible for an OS version upgrade.

PoolNotFound

Gets the error code indicating that the specified pool was not found in the Batch account.

PoolQuotaReached

Gets the error code indicating that the account has reached its pool quota.

PoolVersionEqualsUpgradeVersion

Gets the error code indicating that the pool is already on the target OS version.

RequestBodyTooLarge

Gets the error code indicating that the request body is too large.

RequestUrlFailedToParse

Gets the error code indicating that the request URL could not be parsed.

ResourceAlreadyExists

Gets the error code indicating that the specified resource already exists.

ResourceNotFound

Gets the error code indicating that the specified resource was not found.

ResourceTypeMismatch

Gets the error code indicating that the resource type does not match the expected type.

ServerBusy

Gets the error code indicating that the Batch service is busy.

StorageAccountNotFound

Gets the error code indicating that the requested storage account was not found.

TaskCompleted

Gets the error code indicating that a task operation was attempted on a completed task.

TaskDependenciesNotSpecifiedOnJob

Gets the error code indicating that task dependencies were not specified on the job.

TaskDependencyListTooLong

Gets the error code indicating that the task dependency list is too long.

TaskDependencyRangesTooLong

Gets the error code indicating that the task dependency ranges are too long.

TaskExists

Gets the error code indicating that the specified task already exists.

TaskFilesCleanedup

Gets the error code indicating that the task files have been cleaned up.

TaskFilesUnavailable

Gets the error code indicating that the node files for the task are unavailable.

TaskIdSameAsJobPreparationTask

Gets the error code indicating that the task id is the same as that of the Job Preparation task.

TaskIdSameAsJobReleaseTask

Gets the error code indicating that the task id is the same as that of the Job Release task.

TaskNotFound

Gets the error code indicating that the specified task was not found.

TooManyRequests

Gets the error code indicating that requests for the same pool must be separated by at least 30 seconds.

UnsupportedConstraint

Gets the error code indicating that the requested job or task constraint is not supported.

UnsupportedHeader

Gets the error code indicating that an HTTP header is not supported.

UnsupportedHttpVerb

Gets the error code indicating that the HTTP verb is not supported by the resource.

UnsupportedHttpVersion

Gets the error code indicating that the HTTP version is not supported.

UnsupportedProperty

Gets the error code indicating that the specified property is not supported.

UnsupportedQueryParameter

Gets the error code indicating that the query parameter is not supported.

UnsupportedRequestVersion

Gets the error code indicating that the specified version of the Batch REST API is not supported.

Methods

Equals(BatchErrorCode)

BatchErrorCode string Comparison

ToString()

String value of Error Code

Operators

Equality(BatchErrorCode, BatchErrorCode)

Determines if two BatchErrorCode values are the same.

Implicit(String to BatchErrorCode)

Converts a String to a BatchErrorCode.

Inequality(BatchErrorCode, BatchErrorCode)

Determines if two BatchErrorCode values are not the same.

Applies to