使用 Java 的 Azure 存储示例

Java 示例索引

Important

若要使用本文中提供的示例,请将终结点 windows.net 替换为 chinacloudapi.cn(如果存在)。

下表概述了我们的示例存储库以及每个示例中介绍的方案。 单击链接可查看 GitHub 中相应的示例代码。



终结点方案代码示例
Blob 追加 Blob Getting Started with Azure Blob Service in Java
块 blob Getting Started with Azure Blob Service in Java
客户端加密 Java 中的 Azure 客户端加密入门
复制 Blob Getting Started with Azure Blob Service in Java
创建容器 Getting Started with Azure Blob Service in Java
删除 Blob Getting Started with Azure Blob Service in Java
删除容器 Getting Started with Azure Blob Service in Java
Blob 元数据/属性/统计信息 Getting Started with Azure Blob Service in Java
容器 ACL/元数据/属性 Getting Started with Azure Blob Service in Java
获取页面范围 页 blob 测试示例
租用 Blob/容器 Getting Started with Azure Blob Service in Java
列出 Blob/容器 Getting Started with Azure Blob Service in Java
页 blob Getting Started with Azure Blob Service in Java
SAS SAS 测试示例
服务属性 Getting Started with Azure Blob Service in Java
快照 Blob Getting Started with Azure Blob Service in Java
文件 创建共享/目录/文件 Getting Started with Azure File Service in Java
删除共享/目录/文件 Getting Started with Azure File Service in Java
目录属性/元数据 Getting Started with Azure File Service in Java
下载文件 Getting Started with Azure File Service in Java
文件属性/元数据/指标 Getting Started with Azure File Service in Java
文件服务属性 Getting Started with Azure File Service in Java
列出目录和文件 Getting Started with Azure File Service in Java
列出共享 Getting Started with Azure File Service in Java
共享属性/元数据/统计信息 Getting Started with Azure File Service in Java
队列 添加消息 存储 Java 客户端库示例
客户端加密 存储 Java 客户端库示例
创建队列 Getting Started with Azure Queue Service in Java
删除消息/队列 Getting Started with Azure Queue Service in Java
速览消息 Getting Started with Azure Queue Service in Java
队列 ACL/元数据/统计信息 Getting Started with Azure Queue Service in Java
队列服务属性 Getting Started with Azure Queue Service in Java
更新消息 Getting Started with Azure Queue Service in Java
创建表 Getting Started with Azure Table Service in Java
删除实体/表 Getting Started with Azure Table Service in Java
插入/合并/替换实体 存储 Java 客户端库示例
查询实体 Getting Started with Azure Table Service in Java
查询表 Getting Started with Azure Table Service in Java
表 ACL/属性 Getting Started with Azure Table Service in Java
更新实体 存储 Java 客户端库示例

Azure 代码示例库

若要查看完整的示例库,请访问 Azure 代码示例 库,其中包括 Azure 存储的示例,可以下载并在本地运行。 代码示例库提供 .zip 格式的示例代码。 此外,用户也可以浏览 GitHub 存储库以获取每个示例并进行克隆。

Java 示例代码存储库

下面是适用于 Azure 存储 Java 客户端库的所有示例存储库的列表。

入门指南

有关 Azure 存储客户端库的安装和入门说明,请查看以下指南。

后续步骤

了解其他语言的示例: