1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76 |
1
1
1 | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
exports = module.exports;
var SR = {
ANONYMOUS_ACCESS_BLOBSERVICE_ONLY: 'Anonymous access is only valid for the BlobService.',
ARGUMENT_NULL_OR_EMPTY: 'The argument must not be null or an empty string. Argument name: %s.',
ARGUMENT_NULL_OR_UNDEFINED: 'The argument must not be null or undefined. Argument name: %s.',
ARGUMENT_OUT_OF_RANGE_ERROR: 'The argument is out of range. Argument name: %s, Value passed: %s.',
BATCH_ONE_PARTITION_KEY: 'All entities in the batch must have the same PartitionKey value.',
BATCH_ONE_RETRIEVE: 'If a retrieve operation is part of a batch, it must be the only operation in the batch.',
BATCH_TOO_LARGE: 'Batches must not contain more than 100 operations.',
BLOB_INVALID_SEQUENCE_NUMBER: 'The sequence number may not be specified for an increment operation.',
BLOB_TYPE_MISMATCH: 'Blob type of the blob reference doesn\'t match blob type of the blob.',
CANNOT_CREATE_SAS_WITHOUT_ACCOUNT_KEY: 'Cannot create Shared Access Signature unless the Account Name and Key are used to create the ServiceClient.',
CONTENT_LENGTH_MISMATCH: 'An incorrect number of bytes was read from the connection. The connection may have been closed.',
CONTENT_TYPE_MISSING: 'Content-Type response header is missing or invalid.',
EMPTY_BATCH: 'Batch must not be empty.',
EXCEEDED_SIZE_LIMITATION: 'Upload exceeds the size limitation. Max size is %s but the current size is %s',
HASH_MISMATCH: 'Hash mismatch (integrity check failed), Expected value is %s, retrieved %s.',
INCORRECT_ENTITY_KEYS: 'PartitionKey and RowKey must be specified as strings in the entity object.',
INVALID_BLOB_LENGTH: 'createBlockBlobFromText requires the size of text to be less than 64MB. Please use createBlockBlobFromLocalFile or createBlockBlobFromStream to upload large blobs.',
INVALID_CONNECTION_STRING: 'Connection strings must be of the form "key1=value1;key2=value2".',
INVALID_CONNECTION_STRING_BAD_KEY: 'Connection string contains unrecognized key: "%s"',
INVALID_CONNECTION_STRING_DUPLICATE_KEY: 'Connection string contains duplicate key: "%s"',
INVALID_CONNECTION_STRING_EMPTY_KEY: 'Connection strings must not contain empty keys.',
INVALID_DELETE_SNAPSHOT_OPTION: 'The deleteSnapshots option cannot be included when deleting a specific snapshot using the snapshotId option.',
INVALID_EDM_TYPE: 'The value \'%s\' does not match the type \'%s\'.',
INVALID_FILE_LENGTH: 'createFileFromText requires the size of text to be less than 4MB. Please use createFileFromLocalFile or createFileFromStream to upload large files.',
INVALID_FILE_RANGE_FOR_UPDATE: 'Range size should be less than 4MB for a file range update operation.',
INVALID_HEADERS: 'Headers are not supported in the 2012-02-12 version.',
INVALID_MESSAGE_ID: 'Message ID cannot be null or undefined for deleteMessage and updateMessage operations.',
INVALID_PAGE_BLOB_LENGTH: 'Page blob length must be multiple of 512.',
INVALID_PAGE_END_OFFSET: 'Page end offset must be multiple of 512.',
INVALID_PAGE_RANGE_FOR_UPDATE: 'Page range size should be less than 4MB for a page update operation.',
INVALID_PAGE_START_OFFSET: 'Page start offset must be multiple of 512.',
INVALID_POP_RECEIPT: 'Pop Receipt cannot be null or undefined for deleteMessage and updateMessage operations.',
INVALID_PROPERTY_RESOLVER: 'The specified property resolver returned an invalid type. %s:{_:%s,$:%s }',
INVALID_RANGE_FOR_MD5: 'The requested range should be less than 4MB when contentMD5 is expected from the server',
INVALID_SAS_VERSION: 'SAS Version ? is invalid. Valid versions include: ?.',
INVALID_SAS_TOKEN: 'The SAS token should not contain api-version.',
INVALID_SIGNED_IDENTIFIERS: 'Signed identifiers need to be an array.',
INVALID_STREAM_LENGTH: 'The length of the provided stream is invalid.',
INVALID_STRING_ERROR: 'Invalid string error.',
INVALID_TABLE_OPERATION: 'Operation not found: %s',
INVALID_TEXT_LENGTH: 'The length of the provided text is invalid.',
MAXIMUM_EXECUTION_TIMEOUT_EXCEPTION: 'The client could not finish the operation within specified maximum execution timeout.',
MD5_NOT_POSSIBLE: 'MD5 cannot be calculated for an existing blob because it would require reading the existing data. Please disable storeBlobContentMD5.',
MD5_NOT_PRESENT_ERROR: 'MD5 does not exist. If you do not want to force validation, please disable useTransactionalMD5.',
METADATA_KEY_INVALID: 'The key for one of the metadata key-value pairs is null, empty, or whitespace.',
METADATA_VALUE_INVALID: 'The value for one of the metadata key-value pairs is null, empty, or whitespace.',
NO_CREDENTIALS_PROVIDED: 'Credentials must be provided when creating a service client.',
PRIMARY_ONLY_COMMAND: 'This operation can only be executed against the primary storage location.',
QUERY_OPERATOR_REQUIRES_WHERE: '%s operator needs to be used after where.',
SECONDARY_ONLY_COMMAND: 'This operation can only be executed against the secondary storage location.',
STORAGE_HOST_LOCATION_REQUIRED: 'The host for the storage service must be specified.',
STORAGE_HOST_MISSING_LOCATION: 'The host for the target storage location is not specified. Please consider changing the request\'s location mode.',
TYPE_NOT_SUPPORTED: 'Type not supported when sending data to the service: ',
MAX_BLOB_SIZE_CONDITION_NOT_MEET: 'Append block data should not exceed the maximum blob size condition value.',
};
module.exports = SR; |