You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-copy-async-dotnet.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,14 +112,14 @@ These methods wrap the [Abort Copy Blob](/rest/api/storageservices/abort-copy-bl
112
112
113
113
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
114
114
115
-
####REST API operations
115
+
### REST API operations
116
116
117
117
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:
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/CopyBlob.cs)
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-copy-url-dotnet.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The following methods wrap the [Put Blob From URL](/rest/api/storageservices/put
54
54
55
55
These methods are preferred for scenarios where you want to move data into a storage account and have a URL for the source object.
56
56
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:
@@ -63,7 +63,7 @@ For larger objects, you may choose to work with individual blocks. The following
63
63
64
64
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.
65
65
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.
@@ -73,7 +73,7 @@ The [SyncUploadFromUriAsync](/dotnet/api/azure.storage.blobs.specialized.blockbl
73
73
74
74
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).
75
75
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.
@@ -95,14 +95,14 @@ You can perform a copy operation on any source object that can be retrieved via
95
95
96
96
To learn more about copying blobs using the Azure Blob Storage client library for .NET, see the following resources.
97
97
98
-
####REST API operations
98
+
### REST API operations
99
99
100
100
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:
101
101
102
102
-[Put Blob From URL](/rest/api/storageservices/put-blob-from-url) (REST API)
103
103
-[Put Block From URL](/rest/api/storageservices/put-block-from-url) (REST API)
104
104
105
-
####Code samples
105
+
### Code samples
106
106
107
107
-[View code samples from this article (GitHub)](https://github.com/Azure-Samples/AzureStorageSnippets/blob/master/blobs/howto/dotnet/BlobDevGuideBlobs/PutBlobFromURL.cs)
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blob-copy.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,8 @@ Copy operations can be used to move data within a storage account, between stora
21
21
22
22
| REST API operation | When to use | Client library guidance |
23
23
| --- | --- | --- |
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)|
25
26
|[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)|
26
27
27
28
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
0 commit comments