Skip to content

Commit bda1342

Browse files
committed
fix broken links
1 parent b1daab1 commit bda1342

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

articles/storage/blobs/data-lake-storage-acl-java.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ This example gets and then sets the ACL of a file named `upload-file.txt`. This
184184

185185
### Set ACLs recursively
186186

187-
Set ACLs recursively by calling the **DataLakeDirectoryClient.setAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) objects. Each [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) defines an ACL entry.
187+
Set ACLs recursively by calling the **DataLakeDirectoryClient.setAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) objects. Each [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) defines an ACL entry.
188188

189-
If you want to set a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) and pass in a value of **true**.
189+
If you want to set a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) and pass in a value of **true**.
190190

191-
This example sets the ACL of a directory named `my-parent-directory`. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to set the default ACL. That parameter is used in each call to the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html). The entries of the ACL give the owning user read, write, and execute permissions, gives the owning group only read and execute permissions, and gives all others no access. The last ACL entry in this example gives a specific user with the object ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" read and execute permissions.
191+
This example sets the ACL of a directory named `my-parent-directory`. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to set the default ACL. That parameter is used in each call to the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry). The entries of the ACL give the owning user read, write, and execute permissions, gives the owning group only read and execute permissions, and gives all others no access. The last ACL entry in this example gives a specific user with the object ID "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" read and execute permissions.
192192

193193
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/Java-v12/src/main/java/com/datalake/manage/ACL_DataLake.java" id="Snippet_SetACLRecursively":::
194194

@@ -215,11 +215,11 @@ You can also get and set the ACL of the root directory of a container. To get th
215215

216216
To update an ACL recursively, create a new ACL object with the ACL entry that you want to update, and then use that object in update ACL operation. Do not get the existing ACL, just provide ACL entries to be updated.
217217

218-
Update ACLs recursively by calling the **DataLakeDirectoryClient.updateAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) objects. Each [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) defines an ACL entry.
218+
Update ACLs recursively by calling the **DataLakeDirectoryClient.updateAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) objects. Each [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) defines an ACL entry.
219219

220-
If you want to update a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) and pass in a value of **true**.
220+
If you want to update a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) and pass in a value of **true**.
221221

222-
This example updates an ACL entry with write permission. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to update the default ACL. That parameter is used in the call to the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html).
222+
This example updates an ACL entry with write permission. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to update the default ACL. That parameter is used in the call to the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry).
223223

224224
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/Java-v12/src/main/java/com/datalake/manage/ACL_DataLake.java" id="Snippet_UpdateACLRecursively":::
225225

@@ -240,11 +240,11 @@ First, get the ACL of a directory by calling the [PathAccessControl.getAccessCon
240240

241241
To remove ACL entries recursively, create a new ACL object for ACL entry to be removed, and then use that object in remove ACL operation. Do not get the existing ACL, just provide the ACL entries to be removed.
242242

243-
Remove ACL entries by calling the **DataLakeDirectoryClient.removeAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) objects. Each [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) defines an ACL entry.
243+
Remove ACL entries by calling the **DataLakeDirectoryClient.removeAccessControlRecursive** method. Pass this method a [List](https://docs.oracle.com/javase/8/docs/api/java/util/List.html) of [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) objects. Each [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) defines an ACL entry.
244244

245-
If you want to remove a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) and pass in a value of **true**.
245+
If you want to remove a **default** ACL entry, then you can call the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) and pass in a value of **true**.
246246

247-
This example removes an ACL entry from the ACL of the directory named `my-parent-directory`. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to remove the entry from the default ACL. That parameter is used in the call to the **setDefaultScope** method of the [PathAccessControlEntry](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html).
247+
This example removes an ACL entry from the ACL of the directory named `my-parent-directory`. This method accepts a boolean parameter named `isDefaultScope` that specifies whether to remove the entry from the default ACL. That parameter is used in the call to the **setDefaultScope** method of the [PathAccessControlEntry](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry).
248248

249249
:::code language="java" source="~/azure-storage-snippets/blobs/howto/Java/Java-v12/src/main/java/com/datalake/manage/ACL_DataLake.java" id="Snippet_RemoveACLRecursively":::
250250

@@ -258,7 +258,7 @@ This example returns a continuation token in the event of a failure. The applica
258258

259259
If you want the process to complete uninterrupted by permission errors, you can specify that.
260260

261-
To ensure that the process completes uninterrupted, call the **setContinueOnFailure** method of a [PathSetAccessControlRecursiveOptions](https://azuresdkdocs.blob.core.windows.net/$web/java/azure-storage-file-datalake/12.3.0-beta.1/index.html) object and pass in a value of **true**.
261+
To ensure that the process completes uninterrupted, call the **setContinueOnFailure** method of a [PathSetAccessControlRecursiveOptions](/java/api/com.azure.storage.file.datalake.models.pathaccesscontrolentry) object and pass in a value of **true**.
262262

263263
This example sets ACL entries recursively. If this code encounters a permission error, it records that failure and continues execution. This example prints the number of failures to the console.
264264

articles/storage/blobs/quickstart-blobs-c-plus-plus.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ The following diagram shows the relationship between these resources.
6666

6767
Use these C++ classes to interact with these resources:
6868

69-
- [BlobServiceClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_service_client.html): The `BlobServiceClient` class allows you to manipulate Azure Storage resources and blob containers.
70-
- [BlobContainerClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_container_client.html): The `BlobContainerClient` class allows you to manipulate Azure Storage containers and their blobs.
71-
- [BlobClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_client.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.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_block_blob_client.html): The `BlockBlobClient` class allows you to manipulate Azure Storage block blobs.
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.
7373

7474
## Code examples
7575

@@ -235,38 +235,38 @@ containerClient.CreateIfNotExists();
235235
The following code snippet:
236236

237237
1. Declares a string containing "Hello Azure!"
238-
1. Gets a reference to a [BlockBlobClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/1.0.0-beta.2/class_azure_1_1_storage_1_1_blobs_1_1_block_blob_client.html) object by calling [GetBlockBlobClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/1.0.0-beta.2/class_azure_1_1_storage_1_1_blobs_1_1_blob_container_client.html#acd8c68e3f37268fde0010dd478ff048f) on the container from the [Create a container](#create-a-container) section.
239-
1. Uploads the string to the blob by calling the [​Upload​From](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/1.0.0-beta.2/class_azure_1_1_storage_1_1_blobs_1_1_block_blob_client.html#af93af7e37f8806e39481596ef253f93d) function. This function creates the blob if it doesn't already exist, or updates it if it does.
238+
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 [​Upload​From](/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.
240240

241241
Add this code to the end of `main()`:
242242

243243
:::code language="cpp" source="~/azure-storage-snippets/blobs/quickstarts/C++/V12/BlobQuickstartV12/BlobQuickstartV12/BlobQuickstartV12.cpp" ID="Snippet_UploadBlob":::
244244

245245
### List the blobs in a container
246246

247-
List the blobs in the container by calling the [ListBlobs](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_container_client.html#a8f7e6653ef69788cb4fb23ec85d4fd96) 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](/dotnet/api/azure.storage.blobs.blobcontainerclient) function. Only one blob has been added to the container, so the operation returns just that blob.
248248

249249
Add this code to the end of `main()`:
250250

251251
:::code language="cpp" source="~/azure-storage-snippets/blobs/quickstarts/C++/V12/BlobQuickstartV12/BlobQuickstartV12/BlobQuickstartV12.cpp" ID="Snippet_ListBlobs":::
252252

253253
### Download blobs
254254

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.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_client.html#aa0bcbdbf6ebd17e4888cced4736420f7) function in the [BlobClient](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_client.html) 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](/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.
256256

257257
Add this code to the end of `main()`:
258258

259259
:::code language="cpp" source="~/azure-storage-snippets/blobs/quickstarts/C++/V12/BlobQuickstartV12/BlobQuickstartV12/BlobQuickstartV12.cpp" ID="Snippet_DownloadBlob":::
260260

261261
### Delete a Blob
262262

263-
The following code deletes the blob from the Azure Blob Storage container by calling the [BlobClient.Delete](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_client.html#ac121df9f5dfcdeb80f47b50543df0984) function.
263+
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.
264264

265265
:::code language="cpp" source="~/azure-storage-snippets/blobs/quickstarts/C++/V12/BlobQuickstartV12/BlobQuickstartV12/BlobQuickstartV12.cpp" ID="Snippet_DeleteBlob":::
266266

267267
### Delete a container
268268

269-
The following code cleans up the resources the app created by deleting the entire container by using [BlobContainerClient.​Delete](https://azuresdkdocs.blob.core.windows.net/$web/cpp/azure-storage-blobs/12.0.0/class_azure_1_1_storage_1_1_blobs_1_1_blob_container_client.html#ae7661b6d8f37213b409504c0e9a68d69).
269+
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).
270270

271271
Add this code to the end of `main()`:
272272

0 commit comments

Comments
 (0)