passwordCredentialConfiguration 资源类型

命名空间:microsoft.graph

重要

Microsoft Graph版本下的 /beta API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。

包含用于配置限制(如阻止或限制密码密码生存期)的属性的密码凭据配置对象。

属性

属性 类型 说明
restrictionType appCredentialRestrictionType 要应用的限制的类型。 可能的值是:、passwordAdditionpasswordLifetimesymmetricKeyAddition``symmetricKeyLifetimecustomPasswordAdditionunknownFutureValue。 每个 restrictionType 值只能用于每个策略一次。
maxLifeTime 期限 可以用作设置密码过期时间的最大数目的值(以天、小时、分钟或秒表示)。 以 ISO 8601 格式定义持续时间。 例如,"P4DT12H30M5S"表示持续时间为四天、十二小时、三十分钟和五秒。 当限制类型设置为 时,此属性是必需的 passwordLifetime
restrictForAppsCreatedAfterDateTime DateTimeOffset 强制执行在强制执行日期或之后创建的应用的策略。 对于现有应用程序,将备份强制执行日期。 若要应用于所有应用程序,此日期为 null

关系

无。

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.passwordCredentialConfiguration",
  "restrictionType": {
    "@odata.type": "microsoft.graph.appCredentialRestrictionType"
  },
  "maxLifetime": "String (duration)",
  "restrictForAppsCreatedAfterDateTime": "DateTimeOffset"
}