Skip to content

Commit 4e6b368

Browse files
Merge pull request #247028 from pauljewellmsft/pauljewell-dev-guide-prereqs
Update Java dev guide prereqs
2 parents 014d33a + ac68b90 commit 4e6b368

15 files changed

+99
-41
lines changed

articles/storage/blobs/storage-blob-container-create-java.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: pauljewellmsft
77

88
ms.service: azure-storage
99
ms.topic: how-to
10-
ms.date: 11/16/2022
10+
ms.date: 08/02/2023
1111
ms.author: pauljewell
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
@@ -17,6 +17,12 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
Blobs in Azure Storage are organized into containers. Before you can upload a blob, you must first create a container. This article shows how to create containers with the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme).
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to create a blob container. To learn more, see the authorization guidance for the following REST API operation:
24+
- [Create Container](/rest/api/storageservices/create-container#authorization)
25+
2026
## Name a container
2127

2228
A container name must be a valid DNS name, as it forms part of the unique URI used to address the container or its blobs. Follow these rules when naming a container:

articles/storage/blobs/storage-blob-container-delete-java.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: pauljewellmsft
77

88
ms.service: azure-storage
99
ms.topic: how-to
10-
ms.date: 11/15/2022
10+
ms.date: 08/02/2023
1111
ms.author: pauljewell
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
@@ -17,6 +17,13 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
This article shows how to delete containers with the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme). If you've enabled [container soft delete](soft-delete-container-overview.md), you can restore deleted containers.
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to delete a blob container, or to restore a soft-deleted container. To learn more, see the authorization guidance for the following REST API operations:
24+
- [Delete Container](/rest/api/storageservices/delete-container#authorization)
25+
- [Restore Container](/rest/api/storageservices/restore-container#authorization)
26+
2027
## Delete a container
2128

2229
To delete a container in Java, use one of the following methods from the `BlobServiceClient` class:

articles/storage/blobs/storage-blob-container-lease-java.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: pauljewell
88

99
ms.service: azure-storage
1010
ms.topic: how-to
11-
ms.date: 11/15/2022
11+
ms.date: 08/02/2023
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1414
---
@@ -17,6 +17,12 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
This article shows how to create and manage container leases using the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme). You can use the client library to acquire, renew, release, and break container leases.
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to work with a container lease. To learn more, see the authorization guidance for the following REST API operation:
24+
- [Lease Container](/rest/api/storageservices/lease-container#authorization)
25+
2026
## About container leases
2127

2228
[!INCLUDE [storage-dev-guide-about-container-lease](../../../includes/storage-dev-guides/storage-dev-guide-about-container-lease.md)]

articles/storage/blobs/storage-blob-container-properties-metadata-java.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: pauljewellmsft
77

88
ms.service: azure-storage
99
ms.topic: how-to
10-
ms.date: 12/22/2022
10+
ms.date: 08/02/2023
1111
ms.author: pauljewell
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
@@ -17,6 +17,14 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
Blob containers support system properties and user-defined metadata, in addition to the data they contain. This article shows how to manage system properties and user-defined metadata with the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme).
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to work with container properties or metadata. To learn more, see the authorization guidance for the following REST API operations:
24+
- [Get Container Properties](/rest/api/storageservices/get-container-properties#authorization)
25+
- [Set Container Metadata](/rest/api/storageservices/set-container-metadata#authorization)
26+
- [Get Container Metadata](/rest/api/storageservices/get-container-metadata#authorization)
27+
2028
## About properties and metadata
2129

2230
- **System properties**: System properties exist on each Blob Storage resource. Some of them can be read or set, while others are read-only. Behind the scenes, some system properties correspond to certain standard HTTP headers. The Azure Storage client library for Java maintains these properties for you.

articles/storage/blobs/storage-blob-containers-list-java.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: pauljewellmsft
77

88
ms.service: azure-storage
99
ms.topic: how-to
10-
ms.date: 11/16/2022
10+
ms.date: 08/02/2023
1111
ms.author: pauljewell
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
@@ -17,6 +17,12 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
When you list the containers in an Azure Storage account from your code, you can specify several options to manage how results are returned from Azure Storage. This article shows how to list containers using the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme).
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to list blob containers. To learn more, see the authorization guidance for the following REST API operation:
24+
- [List Containers](/rest/api/storageservices/list-containers2#authorization)
25+
2026
## Understand container listing options
2127

2228
To list containers in your storage account, call the following method:

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

Lines changed: 3 additions & 6 deletions
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: 04/18/2023
8+
ms.date: 08/02/2023
99
ms.service: azure-storage
1010
ms.topic: how-to
1111
ms.devlang: java
@@ -20,13 +20,10 @@ The client library methods covered in this article use the [Copy Blob](/rest/api
2020

2121
## Prerequisites
2222

23-
To work with the code examples in this article, make sure you have:
24-
25-
- An authorized client object to connect to Blob Storage data resources. To learn more, see [Create and manage client objects that interact with data resources](storage-blob-client-management.md).
26-
- Permissions to perform a copy operation. To learn more, see the authorization guidance for the following REST API operations:
23+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
24+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to perform a copy operation, or to abort a pending copy. To learn more, see the authorization guidance for the following REST API operations:
2725
- [Copy Blob](/rest/api/storageservices/copy-blob#authorization)
2826
- [Abort Copy Blob](/rest/api/storageservices/abort-copy-blob#authorization)
29-
- Packages installed to your project directory. These examples use **azure-storage-blob**. If you're using `DefaultAzureCredential` for authorization, you also need **azure-identity**. To learn more about setting up your project, see [Get Started with Azure Storage and Java](storage-blob-dotnet-get-started.md#set-up-your-project). To see the necessary `import` directives, see [Code samples](#code-samples).
3027

3128
[!INCLUDE [storage-dev-guide-blob-copy-async](../../../includes/storage-dev-guides/storage-dev-guide-about-blob-copy-async.md)]
3229

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

Lines changed: 3 additions & 6 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: 04/18/2023
8+
ms.date: 08/02/2023
99
ms.service: azure-storage
1010
ms.topic: how-to
1111
ms.devlang: java
@@ -20,13 +20,10 @@ The client library methods covered in this article use the [Put Blob From URL](/
2020

2121
## Prerequisites
2222

23-
To work with the code examples in this article, make sure you have:
24-
25-
- An authorized client object to connect to Blob Storage data resources. To learn more, see [Create and manage client objects that interact with data resources](storage-blob-client-management.md).
26-
- Permissions to perform a copy operation. To learn more, see the authorization guidance for the following REST API operations:
23+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
24+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to perform a copy operation. To learn more, see the authorization guidance for the following REST API operations:
2725
- [Put Blob From URL](/rest/api/storageservices/put-blob-from-url#authorization)
2826
- [Put Block From URL](/rest/api/storageservices/put-block-from-url#authorization)
29-
- Packages installed to your project directory. These examples use **azure-storage-blob**. If you're using `DefaultAzureCredential` for authorization, you also need **azure-identity**. To learn more about setting up your project, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md#set-up-your-project). To see the necessary `using` directives, see [Code samples](#code-samples).
3027

3128
[!INCLUDE [storage-dev-guide-blob-copy-from-url](../../../includes/storage-dev-guides/storage-dev-guide-about-blob-copy-from-url.md)]
3229

articles/storage/blobs/storage-blob-delete-java.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: storage
66
author: pauljewellmsft
77

88
ms.author: pauljewell
9-
ms.date: 05/11/2023
9+
ms.date: 08/02/2023
1010
ms.service: azure-storage
1111
ms.topic: how-to
1212
ms.devlang: java
@@ -17,6 +17,13 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
This article shows how to delete blobs with the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme). If you've enabled [soft delete for blobs](soft-delete-blob-overview.md), you can restore deleted blobs during the retention period.
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to delete a blob, or to restore a soft-deleted blob. To learn more, see the authorization guidance for the following REST API operations:
24+
- [Delete Blob](/rest/api/storageservices/delete-blob#authorization)
25+
- [Undelete Blob](/rest/api/storageservices/undelete-blob#authorization)
26+
2027
## Delete a blob
2128

2229
To delete a blob, call one of these methods:

articles/storage/blobs/storage-blob-download-java.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: storage
66
author: pauljewellmsft
77

88
ms.author: pauljewell
9-
ms.date: 11/16/2022
9+
ms.date: 08/02/2023
1010
ms.service: azure-storage
1111
ms.topic: how-to
1212
ms.devlang: java
@@ -19,12 +19,9 @@ This article shows how to download a blob using the [Azure Storage client librar
1919

2020
## Prerequisites
2121

22-
To work with the code examples in this article, make sure you have:
23-
24-
- An authorized client object to connect to Blob Storage data resources. To learn more, see [Create and manage client objects that interact with data resources](storage-blob-client-management.md).
25-
- Permissions to perform an upload operation. To learn more, see the authorization guidance for the following REST API operation:
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to perform a download operation. To learn more, see the authorization guidance for the following REST API operation:
2624
- [Get Blob](/rest/api/storageservices/get-blob#authorization)
27-
- The package **azure-storage-blob** installed to your project directory. To learn more about setting up your project, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md#set-up-your-project).
2825

2926
## Download a blob
3027

articles/storage/blobs/storage-blob-lease-java.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: pauljewell
88

99
ms.service: azure-storage
1010
ms.topic: how-to
11-
ms.date: 12/13/2022
11+
ms.date: 08/02/2023
1212
ms.devlang: java
1313
ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1414
---
@@ -17,6 +17,12 @@ ms.custom: devx-track-java, devguide-java, devx-track-extended-java
1717

1818
This article shows how to create and manage blob leases using the [Azure Storage client library for Java](/java/api/overview/azure/storage-blob-readme). You can use the client library to acquire, renew, release, and break blob leases.
1919

20+
## Prerequisites
21+
22+
- This article assumes you already have a project set up to work with the Azure Blob Storage client library for Java. To learn about setting up your project, including package installation, adding `import` directives, and creating an authorized client object, see [Get Started with Azure Storage and Java](storage-blob-java-get-started.md).
23+
- The [authorization mechanism](../common/authorize-data-access.md) must have permissions to work with a blob lease. To learn more, see the authorization guidance for the following REST API operation:
24+
- [Lease Blob](/rest/api/storageservices/lease-blob#authorization)
25+
2026
## About blob leases
2127

2228
[!INCLUDE [storage-dev-guide-about-blob-lease](../../../includes/storage-dev-guides/storage-dev-guide-about-blob-lease.md)]

0 commit comments

Comments
 (0)