stsPolicy 资源类型stsPolicy resource type

命名空间:microsoft.graphNamespace: microsoft.graph

表示控制 Microsoft 标识平台行为的策略类型的 抽象基本 类型。Represents an abstract base type for policy types that control Microsoft identity platform behavior.

继承自 policyBaseInherits from policyBase.




属性Property 类型Type 说明Description
idid 字符串String 此策略的唯一标识符。Unique identifier for this policy. 只读。Read-only. 继承自 policyBaseInherited from policyBase.
说明description 字符串String 此策略的说明。Description for this policy. 继承自 policyBaseInherited from policyBase.
displayNamedisplayName 字符串String 此策略的显示名称。Display name for this policy. 继承自 policyBaseInherited from policyBase.
definitiondefinition 字符串集合String collection 包含 JSON 字符串的字符串集合,用于定义策略的规则和设置。A string collection containing a JSON string that defines the rules and settings for a policy. 定义的语法因派生的策略类型不同而不同。The syntax for the definition differs for each derived policy type. 必填。Required.
isOrganizationDefaultisOrganizationDefault BooleanBoolean 如果设置为 true,则激活此策略。If set to true, activates this policy. 同一策略类型可以有很多策略,但只有一个策略可以激活为组织默认策略。There can be many policies for the same policy type, but only one can be activated as the organization default. 可选,默认值为 false。Optional, default value is false.



JSON 表示形式JSON representation

下面是资源的 JSON 表示形式。The following is a JSON representation of the resource.

  "id": "String (identifier)",
  "description": "String",
  "displayName": "String",
  "definition": ["String"],
  "isOrganizationDefault": true