Skip to content

Commit c3cd6e9

Browse files
Merge pull request #224565 from pauljewellmsft/pauljewell-java-devguide-metadata
Update Java dev guide metadata info
2 parents 50bea15 + bac2ecf commit c3cd6e9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

articles/storage/blobs/storage-blob-container-properties-metadata-java.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ You can specify metadata as one or more name-value pairs on a blob or container
4141

4242
- [setMetadata](/java/api/com.azure.storage.blob.blobcontainerclient)
4343

44-
The name of your metadata must conform to the naming conventions for C# identifiers. Metadata names preserve the case with which they were created, but are case-insensitive when set or read. If two or more metadata headers with the same name are submitted for a resource, the Blob service returns status code 400 (Bad Request).
45-
4644
Setting container metadata overwrites all existing metadata associated with the container. It's not possible to modify an individual name-value pair.
4745

4846
The following code example sets metadata on a container:

articles/storage/blobs/storage-blob-properties-metadata-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The following code example gets a blob's system properties and displays some of
5353

5454
## Set and retrieve metadata
5555

56-
You can specify metadata as one or more name-value pairs on a blob or container resource. To set metadata, send a JSON object of name-value pairs using the following method:
56+
You can specify metadata as one or more name-value pairs on a blob or container resource. To set metadata, send a [Map](https://docs.oracle.com/javase/8/docs/api/java/util/Map.html) object containing name-value pairs using the following method:
5757

5858
- [setMetadata](/java/api/com.azure.storage.blob.specialized.blobclientbase)
5959

0 commit comments

Comments
 (0)