你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobInventoryPolicySchema 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
存储帐户 Blob 清单策略规则。
public class BlobInventoryPolicySchema
type BlobInventoryPolicySchema = class
Public Class BlobInventoryPolicySchema
- 继承
-
BlobInventoryPolicySchema
构造函数
BlobInventoryPolicySchema() |
初始化 BlobInventoryPolicySchema 类的新实例。 |
BlobInventoryPolicySchema(Boolean, IList<BlobInventoryPolicyRule>, String) |
初始化 BlobInventoryPolicySchema 类的新实例。 |
属性
Destination |
从 API 版本 2021-04-01 起获取已弃用的属性,必须在规则级别“policy.rule.destination”指定所需的目标容器名称 |
Enabled |
如果设置为 true,则获取或设置启用策略。 |
Rules |
获取或设置存储帐户 Blob 清单策略规则。 规则在启用时应用。 |
Type |
有效值为 Inventory |
方法
Validate() |
验证 对象。 |