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/quickstart-blobs-c-plus-plus.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,10 @@ The following diagram shows the relationship between these resources.
66
66
67
67
Use these C++ classes to interact with these resources:
68
68
69
-
-[BlobServiceClient](/dotnet/api/azure.storage.blobs.blobserviceclient): The `BlobServiceClient` class allows you to manipulate Azure Storage resources and blob containers.
70
-
-[BlobContainerClient](/dotnet/api/azure.storage.blobs.blobcontainerclient): The `BlobContainerClient` class allows you to manipulate Azure Storage containers and their blobs.
71
-
-[BlobClient](/dotnet/api/azure.storage.blobs.blobclient): The `BlobClient` class allows you to manipulate Azure Storage blobs. It's the base class for all specialized blob classes.
72
-
-[BlockBlobClient](/dotnet/api/azure.storage.blobs.specialized.blockblobclient): The `BlockBlobClient` class allows you to manipulate Azure Storage block blobs.
69
+
-[BlobServiceClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html): The `BlobServiceClient` class allows you to manipulate Azure Storage resources and blob containers.
70
+
-[BlobContainerClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html): The `BlobContainerClient` class allows you to manipulate Azure Storage containers and their blobs.
71
+
-[BlobClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html): The `BlobClient` class allows you to manipulate Azure Storage blobs. It's the base class for all specialized blob classes.
72
+
-[BlockBlobClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html): The `BlockBlobClient` class allows you to manipulate Azure Storage block blobs.
1. Gets a reference to a [BlockBlobClient](/dotnet/api/azure.storage.blobs.specialized.blockblobclient) object by calling [GetBlockBlobClient](/dotnet/api/azure.storage.blobs.specialized.specializedblobextensions.getblockblobclient) on the container from the [Create a container](#create-a-container) section.
239
-
1. Uploads the string to the blob by calling the [UploadFrom](/dotnet/api/azure.storage.blobs.specialized.blockblobclient) function. This function creates the blob if it doesn't already exist, or updates it if it does.
238
+
2. Gets a reference to a [BlockBlobClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) object by calling [GetBlockBlobClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) on the container from the [Create a container](#create-a-container) section.
239
+
3. Uploads the string to the blob by calling the [UploadFrom](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) function. This function creates the blob if it doesn't already exist, or updates it if it does.
List the blobs in the container by calling the [ListBlobs](/dotnet/api/azure.storage.blobs.blobcontainerclient) function. Only one blob has been added to the container, so the operation returns just that blob.
247
+
List the blobs in the container by calling the [ListBlobs](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) function. Only one blob has been added to the container, so the operation returns just that blob.
Get the properties of the uploaded blob. Then, declare and resize a new `std::vector<uint8_t>` object by using the properties of the uploaded blob. Download the previously created blob into the new `std::vector<uint8_t>` object by calling the [DownloadTo](/dotnet/api/azure.storage.blobs.specialized.blobbaseclient.downloadto) function in the [BlobClient](/dotnet/api/azure.storage.blobs.blobclient) base class. Finally, display the downloaded blob data.
255
+
Get the properties of the uploaded blob. Then, declare and resize a new `std::vector<uint8_t>` object by using the properties of the uploaded blob. Download the previously created blob into the new `std::vector<uint8_t>` object by calling the [DownloadTo](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) function in the [BlobClient](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) base class. Finally, display the downloaded blob data.
The following code deletes the blob from the Azure Blob Storage container by calling the [BlobClient.Delete](/dotnet/api/azure.storage.blobs.specialized.blobbaseclient.delete) function.
263
+
The following code deletes the blob from the Azure Blob Storage container by calling the [BlobClient.Delete](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html) function.
The following code cleans up the resources the app created by deleting the entire container by using [BlobContainerClient.Delete](/dotnet/api/azure.storage.blobs.specialized.blobbaseclient.delete).
269
+
The following code cleans up the resources the app created by deleting the entire container by using [BlobContainerClient.Delete](https://azuresdkdocs.z19.web.core.windows.net/cpp/azure-storage-blobs/12.13.0/classes.html).
0 commit comments