你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
KeyAttributes 类
由 Azure 密钥保管库 服务管理的对象属性。
变量仅由服务器填充,在发送请求时将被忽略。
- 继承
-
azure.mgmt.keyvault._serialization.ModelKeyAttributes
构造函数
KeyAttributes(*, enabled: bool | None = None, not_before: int | None = None, expires: int | None = None, exportable: bool | None = None, **kwargs: Any)
变量
- enabled
- bool
确定是否启用 对象。
- not_before
- int
自 1970-01-01T00:00:00Z 以来,不早于日期(以秒为单位)。
- expires
- int
自 1970-01-01T00:00:00Z 以来的到期日期(以秒为单位)。
- created
- int
创建时间(以秒为单位)自 1970-01-01T00:00:00Z。
- updated
- int
自 1970-01-01T00:00:00Z 以来的上次更新时间(以秒为单位)。
- recovery_level
- str 或 DeletionRecoveryLevel
当前对 对象的删除恢复级别有效。 如果它包含“Purgeable”,则特权用户可以永久删除该对象;否则,只有系统可以在保留间隔结束时清除对象。 已知值为:“Purgeable”、“Recoverable+Purgeable”、“Recoverable”和“Recoverable+ProtectedSubscription”。
- exportable
- bool
指示是否可以导出私钥。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈