Skip to content

Commit c02fca7

Browse files
Update code snippet references
1 parent a8abd09 commit c02fca7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/storage/blobs/storage-blob-copy-async-java.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to copy a blob with asynchronous scheduling in Azure Stor
55
author: pauljewellmsft
66

77
ms.author: pauljewell
8-
ms.date: 08/05/2024
8+
ms.date: 08/26/2024
99
ms.service: azure-blob-storage
1010
ms.topic: how-to
1111
ms.devlang: java

articles/storage/blobs/storage-blob-copy-url-java.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to copy a blob from a source object URL in Azure Storage
55
author: pauljewellmsft
66

77
ms.author: pauljewell
8-
ms.date: 08/05/2024
8+
ms.date: 08/26/2024
99
ms.service: azure-blob-storage
1010
ms.topic: how-to
1111
ms.devlang: java
@@ -30,7 +30,7 @@ The client library methods covered in this article use the [Put Blob From URL](/
3030

3131
Add the following `import` statements:
3232

33-
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopy.java" id="Snippet_Imports":::
33+
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopyPutFromURL.java" id="Snippet_Imports":::
3434

3535
#### Authorization
3636

@@ -61,15 +61,15 @@ If you're copying a blob from a source within Azure, access to the source blob c
6161

6262
The following example shows a scenario for copying from a source blob within Azure. The [uploadFromUrl](/java/api/com.azure.storage.blob.specialized.blockblobclient#method-details) method can optionally accept a Boolean parameter to indicate whether an existing blob should be overwritten, as shown in the example.
6363

64-
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopy.java" id="Snippet_CopyFromAzure_PutBlobFromURL":::
64+
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopyPutFromURL.java" id="Snippet_CopyFromAzure_PutBlobFromURL":::
6565

6666
The [uploadFromUrlWithResponse](/java/api/com.azure.storage.blob.specialized.blockblobclient#method-details) method can also accept a [BlobUploadFromUrlOptions](/java/api/com.azure.storage.blob.options.blobuploadfromurloptions) parameter to specify further options for the operation.
6767

6868
## Copy a blob from an external source
6969

7070
You can perform a copy operation on any source object that can be retrieved via HTTP GET request on a given URL, including accessible objects outside of Azure. The following example shows a scenario for copying a blob from an accessible source object URL.
7171

72-
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopy.java" id="Snippet_CopyFromExternalSource_PutBlobFromURL":::
72+
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopyPutFromURL.java" id="Snippet_CopyFromExternalSource_PutBlobFromURL":::
7373

7474
## Resources
7575

@@ -84,7 +84,7 @@ The Azure SDK for Java contains libraries that build on top of the Azure REST AP
8484

8585
### Code samples
8686

87-
- [View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopy.java)
87+
- [View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/Java/blob-devguide/blob-devguide-blobs/src/main/java/com/blobs/devguide/blobs/BlobCopyPutFromURL.java)
8888

8989
[!INCLUDE [storage-dev-guide-resources-java](../../../includes/storage-dev-guides/storage-dev-guide-resources-java.md)]
9090

0 commit comments

Comments
 (0)