你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

KeyAttributes 类

键的属性。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.keyvault._serialization.Model
KeyAttributes

构造函数

KeyAttributes(*, enabled: bool | None = None, not_before: int | None = None, expires: int | None = None, **kwargs: Any)

仅限关键字的参数

名称 说明
enabled

确定是否启用 对象。

not_before
int

不早于自 1970-01-01T00:00:00Z 以来的日期(以秒为单位)。

expires
int

自 1970-01-01T00:00:00Z 起的到期日期(以秒为单位)。

变量

名称 说明
enabled

确定是否启用 对象。

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

当前对 对象生效的删除恢复级别。 如果它包含“Purgeable”,则特权用户可以永久删除该对象;否则,只有系统可以在保留间隔结束时清除对象。 已知值为:“Purgeable”、“Recoverable+Purgeable”、“Recoverable”和“Recoverable+ProtectedSubscription”。