使用 Java 的 Azure 存储示例Azure Storage samples using Java

Java 示例索引Java sample index

下表概述了我们的示例存储库以及每个示例中介绍的方案。The following table provides an overview of our samples repository and the scenarios covered in each sample. 单击链接可查看 GitHub 中相应的示例代码。Click on the links to view the corresponding sample code in GitHub.

终结点Endpoint方案Scenario代码示例Sample Code
BlobBlob 追加 BlobAppend Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
块 blobBlock Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
客户端加密Client-Side Encryption Java 中的 Azure 客户端加密入门Getting Started with Azure Client Side Encryption in Java
复制 BlobCopy Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
创建容器Create Container Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
删除 BlobDelete Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
删除容器Delete Container Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
Blob 元数据/属性/统计信息Blob Metadata/Properties/Stats Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
容器 ACL/元数据/属性Container ACL/Metadata/Properties Java 中 Azure Blob 服务入门Getting Started with Azure Blob Service in Java
获取页面范围Get Page Ranges Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
租用 Blob/容器Lease Blob/Container Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
列出 Blob/容器List Blob/Container Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
页 blobPage Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
SASSAS SAS 测试示例SAS Tests Sample
服务属性Service Properties Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
快照 BlobSnapshot Blob Getting Started with Azure Blob Service in JavaGetting Started with Azure Blob Service in Java
文件File 创建共享/目录/文件Create Shares/Directories/Files Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
删除共享/目录/文件Delete Shares/Directories/Files Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
目录属性/元数据Directory Properties/Metadata Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
下载文件Download Files Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
文件属性/元数据/指标File Properties/Metadata/Metrics Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
文件服务属性File Service Properties Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
列出目录和文件List Directories and Files Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
列出共享List Shares Getting Started with Azure File Service in JavaGetting Started with Azure File Service in Java
共享属性/元数据/统计信息Share Properties/Metadata/Stats Java 中 Azure 文件服务入门Getting Started with Azure File Service in Java
队列Queue 添加消息Add Message Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
客户端加密Client-Side Encryption Java 中的 Azure 客户端加密入门Getting Started with Azure Client Side Encryption in Java
创建队列Create Queues Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
删除消息/队列Delete Message/Queue Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
速览消息Peek Message Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
队列 ACL/元数据/统计信息Queue ACL/Metadata/Stats Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
队列服务属性Queue Service Properties Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
更新消息Update Message Getting Started with Azure Queue Service in JavaGetting Started with Azure Queue Service in Java
Table 创建表Create Table Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
删除实体/表Delete Entity/Table Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
插入/合并/替换实体Insert/Merge/Replace Entity Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
查询实体Query Entities Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
查询表Query Tables Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
表 ACL/属性Table ACL/Properties Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java
更新实体Update Entity Getting Started with Azure Table Service in JavaGetting Started with Azure Table Service in Java

Azure 代码示例库Azure Code Samples library

若要查看完整的示例库,请访问 Azure 代码示例 库,其中包括 Azure 存储的示例,可以下载并在本地运行。To view the complete sample library, go to the Azure Code Samples library, which includes samples for Azure Storage that you can download and run locally. 代码示例库提供 .zip 格式的示例代码。The Code Sample Library provides sample code in .zip format. 此外,用户也可以浏览 GitHub 存储库以获取每个示例并进行克隆。Alternatively, you can browse and clone the GitHub repository for each sample.

Java 示例代码存储库Java sample code repositories

下面是适用于 Azure 存储 Java 客户端库的所有示例存储库的列表。Here is a list of all our sample repositories for the Azure Storage Java client library.

入门指南Getting started guides

有关 Azure 存储客户端库的安装和入门说明,请查看以下指南。Check out the following guides if you are looking for instructions on how to install and get started with the Azure Storage Client Libraries.

后续步骤Next steps

了解其他语言的示例:For information on samples for other languages: