Azure Blob Copy - 保留内容类型 [英] Azure Blob Copy - Retain Content Type

查看:125
本文介绍了Azure Blob Copy - 保留内容类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在执行Azure Blob复制时是否仍然保留内容类型信息?

解决方案

嗨Andrew,


一般情况下:复制blob时,会将以下系统属性复制到具有相同值的目标blob:



  • 内容类型
  • 内容编码
  • 内容语言
  • 的Content-Length
  • 缓存控制
  • Content-MD5
  • Content-Disposition
  • x-ms-blob-sequence-number(仅适用于页面blob)
  • x-ms- committed- block-count(仅适用于附加blob,仅适用于2015-02-21版本)

有关详细信息,请参阅" "。


希望这会有所帮助。


Is there anyway to retain the Content Type information when doing an Azure Blob copy?

解决方案

Hi Andrew,

In general: When a blob is copied, the following system properties are copied to the destination blob with the same values:

  • Content-Type
  • Content-Encoding
  • Content-Language
  • Content-Length
  • Cache-Control
  • Content-MD5
  • Content-Disposition
  • x-ms-blob-sequence-number (for page blobs only)
  • x-ms- committed-block-count (for append blobs only, and for version 2015-02-21 only)

For more details, refer "Copying Blob Properties and Metadata".

In Azure Data Factory: GetMetadata activity can be used to retrieve metadata of any data.

The following metadata types can be specified in the GetMetadata activity field list to retrieve:

Once debug completes you can now take a look at the output of the debug execution for any of the activities in your pipeline. We only have the one activity in this example. Click on the output to see the output values for the items selected:

For more details, refer "Get metadata activity in Azure Data Factory".

Hope this helps.


这篇关于Azure Blob Copy - 保留内容类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆