Skip to content

Commit 3a0e745

Browse files
Review edits
1 parent 007a235 commit 3a0e745

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ These methods wrap the [Abort Copy Blob](/rest/api/storageservices/abort-copy-bl
112112

113113
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
114114

115-
#### REST API operations
115+
### REST API operations
116116

117117
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods covered in this article use the following REST API operations:
118118

119119
- [Copy Blob](/rest/api/storageservices/copy-blob) (REST API)
120120
- [Abort Copy Blob](/rest/api/storageservices/abort-copy-blob) (REST API)
121121

122-
#### Code samples
122+
### Code samples
123123

124124
- [View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/CopyBlob.cs)
125125

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following methods wrap the [Put Blob From URL](/rest/api/storageservices/put
5454

5555
These methods are preferred for scenarios where you want to move data into a storage account and have a URL for the source object.
5656

57-
For larger objects, you may choose to work with individual blocks. The following methods wrap the [Put Block From URL](/rest/api/storageservices/put-block-from-url) REST API operation. These methods create a new block to be committed as part of a blob where the contents are read from a source URL:
57+
For large objects, you may choose to work with individual blocks. The following methods wrap the [Put Block From URL](/rest/api/storageservices/put-block-from-url) REST API operation. These methods create a new block to be committed as part of a blob where the contents are read from a source URL:
5858

5959
- [StageBlockFromUri](/dotnet/api/azure.storage.blobs.specialized.blockblobclient.stageblockfromuri)
6060
- [StageBlockFromUriAsync](/dotnet/api/azure.storage.blobs.specialized.blockblobclient.stageblockfromuriasync)
@@ -63,7 +63,7 @@ For larger objects, you may choose to work with individual blocks. The following
6363

6464
If you're copying a blob within the same storage account, access to the source blob can be authorized via Azure Active Directory (Azure AD), a shared access signature (SAS), or an account key.
6565

66-
The following example shows a scenario for copying a source blob within the same storage account. The [SyncUploadFromUriAsync](/dotnet/api/azure.storage.blobs.specialized.blockblobclient.syncuploadfromuriasync) method can optionally accept a Boolean parameter to indicate whether an existing blob should be overwritten, as shown in the example.
66+
The following example shows a scenario for copying a source blob within the same storage account. The [SyncUploadFromUriAsync](/dotnet/api/azure.storage.blobs.specialized.blockblobclient.syncuploadfromuriasync) method can optionally accept a Boolean parameter to indicate whether an existing blob should be overwritten, as shown in the example. The `overwrite` parameter defaults to false.
6767

6868
:::code language="csharp" source="~/azure-storage-snippets/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs" id="Snippet_CopyWithinAccount_PutBlobFromURL":::
6969

@@ -73,7 +73,7 @@ The [SyncUploadFromUriAsync](/dotnet/api/azure.storage.blobs.specialized.blockbl
7373

7474
If the source is a blob in another storage account, the source blob must either be public, or authorized via Azure AD or SAS token. The SAS token needs to include the **Read ('r')** permission. To learn more about SAS tokens, see [Delegate access with shared access signatures](../common/storage-sas-overview.md).
7575

76-
The following example shows a scenario for copying a blob from another storage account. In this example, we create a source blob URI with an appended SAS token by calling [GenerateSasUri](/dotnet/api/azure.storage.blobs.blobcontainerclient.generatesasuri) on the blob client. To use this method, the source blob client needs to be authorized via account key.
76+
The following example shows a scenario for copying a blob from another storage account. In this example, we create a source blob URI with an appended service SAS token by calling [GenerateSasUri](/dotnet/api/azure.storage.blobs.blobcontainerclient.generatesasuri) on the blob client. To use this method, the source blob client needs to be authorized via account key.
7777

7878
:::code language="csharp" source="~/azure-storage-snippets/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs" id="Snippet_CopyAcrossAccounts_PutBlobFromURL":::
7979

@@ -95,14 +95,14 @@ You can perform a copy operation on any source object that can be retrieved via
9595

9696
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
9797

98-
#### REST API operations
98+
### REST API operations
9999

100100
The Azure SDK for .NET contains libraries that build on top of the Azure REST API, allowing you to interact with REST API operations through familiar .NET paradigms. The client library methods covered in this article use the following REST API operations:
101101

102102
- [Put Blob From URL](/rest/api/storageservices/put-blob-from-url) (REST API)
103103
- [Put Block From URL](/rest/api/storageservices/put-block-from-url) (REST API)
104104

105-
#### Code samples
105+
### Code samples
106106

107107
- [View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs)
108108

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Copy operations can be used to move data within a storage account, between stora
2121

2222
| REST API operation | When to use | Client library guidance |
2323
| --- | --- | --- |
24-
| [Put Blob From URL](/rest/api/storageservices/put-blob-from-url) | This operation is preferred for scenarios where you want to move data into a storage account and have a URL for the source object. For large objects, you can use [Put Block From URL](/rest/api/storageservices/put-block-from-url) to write individual blocks to Blob Storage, and then call [Put Block List](/rest/api/storageservices/put-block-list) to commit those blocks to a block blob. These copy operations complete synchronously. | [Copy a blob from a source object URL with .NET](storage-blob-copy-url-dotnet.md) |
24+
| [Put Blob From URL](/rest/api/storageservices/put-blob-from-url) | This operation is preferred for scenarios where you want to move data into a storage account and have a URL for the source object. This operation completes synchronously. | [Copy a blob from a source object URL with .NET](storage-blob-copy-url-dotnet.md) |
25+
| [Put Block From URL](/rest/api/storageservices/put-block-from-url) | For large objects, you can use [Put Block From URL](/rest/api/storageservices/put-block-from-url) to write individual blocks to Blob Storage, and then call [Put Block List](/rest/api/storageservices/put-block-list) to commit those blocks to a block blob. This operation completes synchronously. | [Copy a blob from a source object URL with .NET](storage-blob-copy-url-dotnet.md) |
2526
| [Copy Blob](/rest/api/storageservices/copy-blob) | This operation can be used when you want asynchronous scheduling for a copy operation. | [Copy a blob with asynchronous scheduling using .NET](storage-blob-copy-async-dotnet.md) |
2627

2728
For append blobs, you can use the [Append Block From URL](/rest/api/storageservices/append-block-from-url) operation to commit a new block of data to the end of an existing append blob. The following client library methods wrap this operation:
@@ -36,4 +37,6 @@ For page blobs, you can use the [Put Page From URL](/rest/api/storageservices/pu
3637

3738
## Client library resources
3839

39-
[!INCLUDE [storage-dev-guide-resources-dotnet](../../../includes/storage-dev-guides/storage-dev-guide-resources-dotnet.md)]
40+
- [Client library reference documentation](/dotnet/api/azure.storage.blobs)
41+
- [Client library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/storage/Azure.Storage.Blobs)
42+
- [Package (NuGet)](https://www.nuget.org/packages/Azure.Storage.Blobs)

includes/storage-dev-guides/storage-dev-guide-resources-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.author: pauljewell
1010
ms.custom: include file
1111
---
1212

13-
#### Client library resources
13+
### Client library resources
1414

1515
- [Client library reference documentation](/dotnet/api/azure.storage.blobs)
1616
- [Client library source code](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/storage/Azure.Storage.Blobs)

0 commit comments

Comments
 (0)