BatchErrorCodeStrings Class

  • java.lang.Object
    • com.microsoft.azure.batch.BatchErrorCodeStrings

public final class BatchErrorCodeStrings

Error code strings returned from the Batch service.

Field Summary

Modifier and Type Field and Description
static final String AccountIsDisabled

The specified account is disabled.

static final String ActiveJobAndScheduleQuotaReached

The account has reached its quota of active jobs and job schedules.

static final String ApplicationNotFound

The specified application does not exist.

static final String AuthenticationFailed

The Batch service failed to authenticate the request.

static final String AutoScaleFormulaTooLong

An automatic scaling formula is too long.

static final String AutoScaleTooManyRequestsToEnable

Enable AutoScale requests for the same pool must be separated by at least 30 seconds.

static final String AutoScalingFormulaSyntaxError

An automatic scaling formula has a syntax error.

static final String CertificateBeingDeleted

A certificate operation was attempted which is not permitted when the certificate is in the process of being deleted.

static final String CertificateExists

The certificate you are attempting to add already exists.

static final String CertificateNotFound

The certificate on which an operation was attempted is not present in the Batch account.

static final String CertificateStateActive

A certificate operation was attempted which is not permitted when the certificate is active.

static final String CertificateStateDeleteFailed

A certificate could not be deleted because it is still in use.

static final String ConditionNotMet

A read operation included a HTTP conditional header, and the condition was not met.

static final String EmptyMetadataKey

An add or update request specified a metadata item whose key is an empty string.

static final String FileNotFound

A node file requested from a task or compute node was not found.

static final String HostInformationNotPresent

The host information was missing from the HTTP request.

static final String IOError

An I/O error occurred while trying to access a resource within the Batch account.

static final String InsufficientAccountPermissions

The account being accessed does not have sufficient permissions to execute this operation.

static final String InternalError

An internal error occurred in the Batch service.

static final String InvalidApplicationPackageReferences

One or more application package references could not be satisfied.

static final String InvalidAuthenticationInfo

The authentication credentials were not provided in the correct format.

static final String InvalidAutoScalingSettings

The specified auto-scale settings are not valid.

static final String InvalidCertificateReferences

A pool specification specifies one or more invalid certificates (for example, certificates that are not present in the Batch account).

static final String InvalidConstraintValue

A value in a job or task constraint is out of range.

static final String InvalidHeaderValue

The value of one of the HTTP headers was in an incorrect format.

static final String InvalidHttpVerb

The Batch service did not recognize the HTTP verb used for the request.

static final String InvalidInput

One of the request inputs is not valid.

static final String InvalidMetadata

An add or update request specified a metadata item which contains characters that are not permitted.

static final String InvalidPropertyValue

The value of a property in the HTTP request body is invalid.

static final String InvalidQueryParameterValue

The HTTP request URI contained invalid value for one of the query parameters.

static final String InvalidRange

The specified byte range is invalid for the given resource.

static final String InvalidRequestBody

The HTTP request body is not syntactically valid.

static final String InvalidRestAPIForAccountSetting

There is a conflict between the REST API being used and the account.

static final String InvalidUri

The HTTP request URI was invalid.

static final String JobBeingDeleted

A job operation was attempted which is not permitted when the job is in the process of being deleted.

static final String JobBeingTerminated

A job operation was attempted which is not permitted when the job is in the process of being terminated.

static final String JobCompleted

A job operation was attempted which is not permitted when the job has been completed.

static final String JobDisabled

The specified job is disabled.

static final String JobExists

The specified job exists.

static final String JobNotActive

A job operation was attempted which is not permitted when the job is not active.

static final String JobNotFound

The job on which an operation was attempted is not present in the Batch account.

static final String JobPreparationTaskNotRunOnNode

A Job Preparation task was not run on a compute node.

static final String JobPreparationTaskNotSpecified

The specified job does not have a Job Preparation task.

static final String JobReleaseTaskNotRunOnNode

A Job Release task was not run on a compute node.

static final String JobReleaseTaskNotSpecified

The specified job does not have a Job Release task.

static final String JobScheduleBeingDeleted

A job schedule operation was attempted which is not permitted when the schedule is in the process of being deleted.

static final String JobScheduleBeingTerminated

A job schedule operation was attempted which is not permitted when the schedule is in the process of being terminated.

static final String JobScheduleCompleted

A job schedule operation was attempted which is not permitted when the schedule has completed.

static final String JobScheduleDisabled

A job schedule operation was attempted which is not permitted when the schedule is disabled.

static final String JobScheduleExists

The job schedule you are attempting to add already exists in the Batch account.

static final String JobScheduleNotFound

The job schedule on which an operation was attempted does not exist.

static final String JobScheduleWithSameIdExists

A job schedule with the specified job ID exists.

static final String JobWithSameIdExists

A job with the specified job schedule ID exists.

static final String MetadataTooLarge

The size of the metadata exceeds the maximum permitted.

static final String MissingContentLengthHeader

The HTTP content-length header was not specified.

static final String MissingRequiredHeader

A required HTTP header was not specified.

static final String MissingRequiredProperty

A required property was not specified in the HTTP request body.

static final String MissingRequiredQueryParameter

A required query parameter was not specified in the URL.

static final String MultipleConditionHeadersNotSupported

Multiple condition headers are not supported.

static final String NodeAlreadyInTargetSchedulingState

The specified compute node is already in the target scheduling state.

static final String NodeBeingCreated

A compute node operation was attempted which is not permitted when the node is in the process of being created.

static final String NodeBeingRebooted

A compute node operation was attempted which is not permitted when the node is in the process of being rebooted.

static final String NodeBeingReimaged

A compute node operation was attempted which is not permitted when the node is in the process of being reimaged.

static final String NodeBeingStarted

A compute node operation was attempted which is not permitted when the node is in the process of being started.

static final String NodeCountsMismatch

The node counts do not match.

static final String NodeNotFound

The compute node on which an operation was attempted is not present in the given pool.

static final String NodeStateUnusable

A compute node operation was attempted which is not permitted when the node is unusable.

static final String NodeUserExists

The compute node user account you are attempting to add already exists.

static final String NodeUserNotFound

The compute node user account on which an operation was attempted does not exist.

static final String NotImplemented

The operation is not implemented.

static final String OSVersionDisabled

The specified Azure Guest OS version is disabled.

static final String OSVersionExpired

The specified Azure Guest OS version is expired.

static final String OSVersionNotFound

The specified Azure Guest OS version was not found.

static final String OperationInvalidForCurrentState

The specified operation is not valid for the current state of the resource.

static final String OperationTimedOut

The operation could not be completed within the permitted time.

static final String OutOfRangeInput

One of the request inputs is out of range.

static final String OutOfRangePriority

A job priority was specified which was outside the permitted range of -1000 to 1000.

static final String OutOfRangeQueryParameterValue

A query parameter in the request URL is out of range.

static final String PathNotFound

A file path was not found on a compute node.

static final String PoolBeingCreated

A pool operation was attempted which is not permitted when the pool is in the process of being created.

static final String PoolBeingDeleted

A pool operation was attempted which is not permitted when the pool is in the process of being deleted.

static final String PoolBeingResized

A pool operation was attempted which is not permitted when the pool is in the process of being resized.

static final String PoolExists

The pool you are attempting to add already exists.

static final String PoolNotEligibleForOSVersionUpgrade

The specified pool is not eligible for an operating system version upgrade.

static final String PoolNotFound

The pool on which an operation was attempted is not present in the Batch account.

static final String PoolQuotaReached

The account has reached its quota of pools.

static final String PoolVersionEqualsUpgradeVersion

The pool is already on the operating system version to which it was asked to upgrade.

static final String RequestBodyTooLarge

The size of the HTTP request body exceeds the maximum permitted.

static final String RequestUrlFailedToParse

The Batch service could not parse the request URL.

static final String ResourceAlreadyExists

The specified resource already exists.

static final String ResourceNotFound

The specified resource does not exist.

static final String ResourceTypeMismatch

The resource does not match the expected type.

static final String ServerBusy

The Batch service is currently unable to receive requests.

static final String StorageAccountNotFound

A requested storage account was not found.

static final String TaskCompleted

A task operation was attempted which is not permitted when the task has been completed.

static final String TaskDependenciesNotSpecifiedOnJob

A task was specified as depending on other tasks, but the job did not specify that it would use task dependencies.

static final String TaskDependencyListTooLong

A task was specified as depending on other tasks, but the list of dependencies was too long to be stored.

static final String TaskDependencyRangesTooLong

A task was specified as depending on other tasks, but the list of task ID ranges was too long to be stored.

static final String TaskExists

The task you are attempting to add already exists.

static final String TaskFilesCleanedup

The files of the specified task are cleaned up.

static final String TaskFilesUnavailable

The node files for a task are not available, for example because the retention period has expired.

static final String TaskIdSameAsJobPreparationTask

The task ID is the same as that of the Job Preparation task.

static final String TaskIdSameAsJobReleaseTask

The task ID is the same as that of the Job Release task.

static final String TaskNotFound

The task on which an operation was attempted is not present in the job.

static final String UnsupportedConstraint

A requested job or task constraint is not supported.

static final String UnsupportedHeader

One of the HTTP headers specified in the request is not supported.

static final String UnsupportedHttpVerb

The resource does not support the specified HTTP verb.

static final String UnsupportedHttpVersion

The Batch service does not support the specified version of the HTTP protocol.

static final String UnsupportedProperty

One of the properties specified in the HTTP request body is not supported.

static final String UnsupportedQueryParameter

One of the query parameters specified in the URL is not supported.

static final String UnsupportedRequestVersion

The specified version of the Batch REST API is not supported.

static final String UpgradePoolVersionConflict

The pool is already upgrading to a different operating system version.

Constructor Summary

Constructor Description
BatchErrorCodeStrings()

Methods inherited from java.lang.Object

Field Details

AccountIsDisabled

public static final String AccountIsDisabled

The specified account is disabled.

ActiveJobAndScheduleQuotaReached

public static final String ActiveJobAndScheduleQuotaReached

The account has reached its quota of active jobs and job schedules.

ApplicationNotFound

public static final String ApplicationNotFound

The specified application does not exist.

AuthenticationFailed

public static final String AuthenticationFailed

The Batch service failed to authenticate the request.

AutoScaleFormulaTooLong

public static final String AutoScaleFormulaTooLong

An automatic scaling formula is too long. The maximum length is 8192 characters.

AutoScaleTooManyRequestsToEnable

public static final String AutoScaleTooManyRequestsToEnable

Enable AutoScale requests for the same pool must be separated by at least 30 seconds.

AutoScalingFormulaSyntaxError

public static final String AutoScalingFormulaSyntaxError

An automatic scaling formula has a syntax error.

CertificateBeingDeleted

public static final String CertificateBeingDeleted

A certificate operation was attempted which is not permitted when the certificate is in the process of being deleted.

CertificateExists

public static final String CertificateExists

The certificate you are attempting to add already exists.

CertificateNotFound

public static final String CertificateNotFound

The certificate on which an operation was attempted is not present in the Batch account.

CertificateStateActive

public static final String CertificateStateActive

A certificate operation was attempted which is not permitted when the certificate is active.

CertificateStateDeleteFailed

public static final String CertificateStateDeleteFailed

A certificate could not be deleted because it is still in use.

ConditionNotMet

public static final String ConditionNotMet

A read operation included a HTTP conditional header, and the condition was not met.

EmptyMetadataKey

public static final String EmptyMetadataKey

An add or update request specified a metadata item whose key is an empty string.

FileNotFound

public static final String FileNotFound

A node file requested from a task or compute node was not found.

HostInformationNotPresent

public static final String HostInformationNotPresent

The host information was missing from the HTTP request.

IOError

public static final String IOError

An I/O error occurred while trying to access a resource within the Batch account.

InsufficientAccountPermissions

public static final String InsufficientAccountPermissions

The account being accessed does not have sufficient permissions to execute this operation.

InternalError

public static final String InternalError

An internal error occurred in the Batch service.

InvalidApplicationPackageReferences

public static final String InvalidApplicationPackageReferences

One or more application package references could not be satisfied. This occurs if the application ID or version does not exist or is not active, or if the reference did not specify a version and there is no default version configured.

InvalidAuthenticationInfo

public static final String InvalidAuthenticationInfo

The authentication credentials were not provided in the correct format.

InvalidAutoScalingSettings

public static final String InvalidAutoScalingSettings

The specified auto-scale settings are not valid.

InvalidCertificateReferences

public static final String InvalidCertificateReferences

A pool specification specifies one or more invalid certificates (for example, certificates that are not present in the Batch account).

InvalidConstraintValue

public static final String InvalidConstraintValue

A value in a job or task constraint is out of range.

InvalidHeaderValue

public static final String InvalidHeaderValue

The value of one of the HTTP headers was in an incorrect format.

InvalidHttpVerb

public static final String InvalidHttpVerb

The Batch service did not recognize the HTTP verb used for the request.

InvalidInput

public static final String InvalidInput

One of the request inputs is not valid.

InvalidMetadata

public static final String InvalidMetadata

An add or update request specified a metadata item which contains characters that are not permitted.

InvalidPropertyValue

public static final String InvalidPropertyValue

The value of a property in the HTTP request body is invalid.

InvalidQueryParameterValue

public static final String InvalidQueryParameterValue

The HTTP request URI contained invalid value for one of the query parameters.

InvalidRange

public static final String InvalidRange

The specified byte range is invalid for the given resource.

InvalidRequestBody

public static final String InvalidRequestBody

The HTTP request body is not syntactically valid.

InvalidRestAPIForAccountSetting

public static final String InvalidRestAPIForAccountSetting

There is a conflict between the REST API being used and the account.

InvalidUri

public static final String InvalidUri

The HTTP request URI was invalid.

JobBeingDeleted

public static final String JobBeingDeleted

A job operation was attempted which is not permitted when the job is in the process of being deleted.

JobBeingTerminated

public static final String JobBeingTerminated

A job operation was attempted which is not permitted when the job is in the process of being terminated.

JobCompleted

public static final String JobCompleted

A job operation was attempted which is not permitted when the job has been completed.

JobDisabled

public static final String JobDisabled

The specified job is disabled.

JobExists

public static final String JobExists

The specified job exists.

JobNotActive

public static final String JobNotActive

A job operation was attempted which is not permitted when the job is not active.

JobNotFound

public static final String JobNotFound

The job on which an operation was attempted is not present in the Batch account.

JobPreparationTaskNotRunOnNode

public static final String JobPreparationTaskNotRunOnNode

A Job Preparation task was not run on a compute node.

JobPreparationTaskNotSpecified

public static final String JobPreparationTaskNotSpecified

The specified job does not have a Job Preparation task.

JobReleaseTaskNotRunOnNode

public static final String JobReleaseTaskNotRunOnNode

A Job Release task was not run on a compute node.

JobReleaseTaskNotSpecified

public static final String JobReleaseTaskNotSpecified

The specified job does not have a Job Release task.

JobScheduleBeingDeleted

public static final String JobScheduleBeingDeleted

A job schedule operation was attempted which is not permitted when the schedule is in the process of being deleted.

JobScheduleBeingTerminated

public static final String JobScheduleBeingTerminated

A job schedule operation was attempted which is not permitted when the schedule is in the process of being terminated.

JobScheduleCompleted

public static final String JobScheduleCompleted

A job schedule operation was attempted which is not permitted when the schedule has completed.

JobScheduleDisabled

public static final String JobScheduleDisabled

A job schedule operation was attempted which is not permitted when the schedule is disabled.

JobScheduleExists

public static final String JobScheduleExists

The job schedule you are attempting to add already exists in the Batch account.

JobScheduleNotFound

public static final String JobScheduleNotFound

The job schedule on which an operation was attempted does not exist.

JobScheduleWithSameIdExists

public static final String JobScheduleWithSameIdExists

A job schedule with the specified job ID exists. Job and job schedule cannot have the same ID.

JobWithSameIdExists

public static final String JobWithSameIdExists

A job with the specified job schedule ID exists. Job and job schedule cannot have the same ID.

MetadataTooLarge

public static final String MetadataTooLarge

The size of the metadata exceeds the maximum permitted.

MissingContentLengthHeader

public static final String MissingContentLengthHeader

The HTTP content-length header was not specified.

MissingRequiredHeader

public static final String MissingRequiredHeader

A required HTTP header was not specified.

MissingRequiredProperty

public static final String MissingRequiredProperty

A required property was not specified in the HTTP request body.

MissingRequiredQueryParameter

public static final String MissingRequiredQueryParameter

A required query parameter was not specified in the URL.

MultipleConditionHeadersNotSupported

public static final String MultipleConditionHeadersNotSupported

Multiple condition headers are not supported.

NodeAlreadyInTargetSchedulingState

public static final String NodeAlreadyInTargetSchedulingState

The specified compute node is already in the target scheduling state.

NodeBeingCreated

public static final String NodeBeingCreated

A compute node operation was attempted which is not permitted when the node is in the process of being created.

NodeBeingRebooted

public static final String NodeBeingRebooted

A compute node operation was attempted which is not permitted when the node is in the process of being rebooted.

NodeBeingReimaged

public static final String NodeBeingReimaged

A compute node operation was attempted which is not permitted when the node is in the process of being reimaged.

NodeBeingStarted

public static final String NodeBeingStarted

A compute node operation was attempted which is not permitted when the node is in the process of being started.

NodeCountsMismatch

public static final String NodeCountsMismatch

The node counts do not match.

NodeNotFound

public static final String NodeNotFound

The compute node on which an operation was attempted is not present in the given pool.

NodeStateUnusable

public static final String NodeStateUnusable

A compute node operation was attempted which is not permitted when the node is unusable.

NodeUserExists

public static final String NodeUserExists

The compute node user account you are attempting to add already exists.

NodeUserNotFound

public static final String NodeUserNotFound

The compute node user account on which an operation was attempted does not exist.

NotImplemented

public static final String NotImplemented

The operation is not implemented.

OSVersionDisabled

public static final String OSVersionDisabled

The specified Azure Guest OS version is disabled.

OSVersionExpired

public static final String OSVersionExpired

The specified Azure Guest OS version is expired.

OSVersionNotFound

public static final String OSVersionNotFound

The specified Azure Guest OS version was not found.

OperationInvalidForCurrentState

public static final String OperationInvalidForCurrentState

The specified operation is not valid for the current state of the resource.

OperationTimedOut

public static final String OperationTimedOut

The operation could not be completed within the permitted time.

OutOfRangeInput

public static final String OutOfRangeInput

One of the request inputs is out of range.

OutOfRangePriority

public static final String OutOfRangePriority

A job priority was specified which was outside the permitted range of -1000 to 1000.

OutOfRangeQueryParameterValue

public static final String OutOfRangeQueryParameterValue

A query parameter in the request URL is out of range.

PathNotFound

public static final String PathNotFound

A file path was not found on a compute node.

PoolBeingCreated

public static final String PoolBeingCreated

A pool operation was attempted which is not permitted when the pool is in the process of being created.

PoolBeingDeleted

public static final String PoolBeingDeleted

A pool operation was attempted which is not permitted when the pool is in the process of being deleted.

PoolBeingResized

public static final String PoolBeingResized

A pool operation was attempted which is not permitted when the pool is in the process of being resized.

PoolExists

public static final String PoolExists

The pool you are attempting to add already exists.

PoolNotEligibleForOSVersionUpgrade

public static final String PoolNotEligibleForOSVersionUpgrade

The specified pool is not eligible for an operating system version upgrade.

PoolNotFound

public static final String PoolNotFound

The pool on which an operation was attempted is not present in the Batch account.

PoolQuotaReached

public static final String PoolQuotaReached

The account has reached its quota of pools.

PoolVersionEqualsUpgradeVersion

public static final String PoolVersionEqualsUpgradeVersion

The pool is already on the operating system version to which it was asked to upgrade.

RequestBodyTooLarge

public static final String RequestBodyTooLarge

The size of the HTTP request body exceeds the maximum permitted.

RequestUrlFailedToParse

public static final String RequestUrlFailedToParse

The Batch service could not parse the request URL.

ResourceAlreadyExists

public static final String ResourceAlreadyExists

The specified resource already exists.

ResourceNotFound

public static final String ResourceNotFound

The specified resource does not exist.

ResourceTypeMismatch

public static final String ResourceTypeMismatch

The resource does not match the expected type.

ServerBusy

public static final String ServerBusy

The Batch service is currently unable to receive requests.

StorageAccountNotFound

public static final String StorageAccountNotFound

A requested storage account was not found.

TaskCompleted

public static final String TaskCompleted

A task operation was attempted which is not permitted when the task has been completed.

TaskDependenciesNotSpecifiedOnJob

public static final String TaskDependenciesNotSpecifiedOnJob

A task was specified as depending on other tasks, but the job did not specify that it would use task dependencies.

TaskDependencyListTooLong

public static final String TaskDependencyListTooLong

A task was specified as depending on other tasks, but the list of dependencies was too long to be stored.

TaskDependencyRangesTooLong

public static final String TaskDependencyRangesTooLong

A task was specified as depending on other tasks, but the list of task ID ranges was too long to be stored.

TaskExists

public static final String TaskExists

The task you are attempting to add already exists.

TaskFilesCleanedup

public static final String TaskFilesCleanedup

The files of the specified task are cleaned up.

TaskFilesUnavailable

public static final String TaskFilesUnavailable

The node files for a task are not available, for example because the retention period has expired.

TaskIdSameAsJobPreparationTask

public static final String TaskIdSameAsJobPreparationTask

The task ID is the same as that of the Job Preparation task.

TaskIdSameAsJobReleaseTask

public static final String TaskIdSameAsJobReleaseTask

The task ID is the same as that of the Job Release task.

TaskNotFound

public static final String TaskNotFound

The task on which an operation was attempted is not present in the job.

UnsupportedConstraint

public static final String UnsupportedConstraint

A requested job or task constraint is not supported.

UnsupportedHeader

public static final String UnsupportedHeader

One of the HTTP headers specified in the request is not supported.

UnsupportedHttpVerb

public static final String UnsupportedHttpVerb

The resource does not support the specified HTTP verb.

UnsupportedHttpVersion

public static final String UnsupportedHttpVersion

The Batch service does not support the specified version of the HTTP protocol.

UnsupportedProperty

public static final String UnsupportedProperty

One of the properties specified in the HTTP request body is not supported.

UnsupportedQueryParameter

public static final String UnsupportedQueryParameter

One of the query parameters specified in the URL is not supported.

UnsupportedRequestVersion

public static final String UnsupportedRequestVersion

The specified version of the Batch REST API is not supported.

UpgradePoolVersionConflict

public static final String UpgradePoolVersionConflict

The pool is already upgrading to a different operating system version.

Constructor Details

BatchErrorCodeStrings

public BatchErrorCodeStrings()

Applies to