deviceCompliancePolicy 资源类型deviceCompliancePolicy resource type

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

注意: 适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

这是符合性策略的基类。This is the base class for Compliance policy. 符合性策略特定于平台,每个平台的符合性策略相互独立,且继承自此处。Compliance policies are platform specific and individual per-platform compliance policies inherit from here.

方法Methods

方法Method 返回类型Return Type 说明Description
List deviceCompliancePoliciesList deviceCompliancePolicies deviceCompliancePolicy 集合deviceCompliancePolicy collection 列出 deviceCompliancePolicy 对象的属性和关系。List properties and relationships of the deviceCompliancePolicy objects.
Get deviceCompliancePolicyGet deviceCompliancePolicy deviceCompliancePolicydeviceCompliancePolicy 读取 deviceCompliancePolicy 对象的属性和关系。Read properties and relationships of the deviceCompliancePolicy object.
assign 操作assign action deviceCompliancePolicyAssignment 集合deviceCompliancePolicyAssignment collection 尚未记录Not yet documented
scheduleActionsForRules 操作scheduleActionsForRules action None 尚未记录Not yet documented

属性Properties

属性Property 类型Type 说明Description
idid StringString 实体的键。Key of the entity.
createdDateTimecreatedDateTime DateTimeOffsetDateTimeOffset 创建对象的日期/时间。DateTime the object was created.
descriptiondescription StringString 管理员提供的设备配置说明。Admin provided description of the Device Configuration.
lastModifiedDateTimelastModifiedDateTime DateTimeOffsetDateTimeOffset 上次修改对象的日期/时间。DateTime the object was last modified.
displayNamedisplayName StringString 管理员提供的设备配置名称。Admin provided name of the device configuration.
versionversion Int32Int32 设备配置的版本。Version of the device configuration.

关系Relationships

关系Relationship 类型Type 说明Description
scheduledActionsForRulescheduledActionsForRule deviceComplianceScheduledActionForRule 集合deviceComplianceScheduledActionForRule collection 此规则的计划操作列表The list of scheduled action for this rule
deviceStatusesdeviceStatuses deviceComplianceDeviceStatus 集合deviceComplianceDeviceStatus collection DeviceComplianceDeviceStatus 的列表。List of DeviceComplianceDeviceStatus.
userStatusesuserStatuses deviceComplianceUserStatus 集合deviceComplianceUserStatus collection DeviceComplianceUserStatus 的列表。List of DeviceComplianceUserStatus.
deviceStatusOverviewdeviceStatusOverview deviceComplianceDeviceOverviewdeviceComplianceDeviceOverview 设备符合性设备状态概述Device compliance devices status overview
userStatusOverviewuserStatusOverview deviceComplianceUserOverviewdeviceComplianceUserOverview 设备符合性用户状态概述Device compliance users status overview
deviceSettingStateSummariesdeviceSettingStateSummaries settingStateDeviceSummary 集合settingStateDeviceSummary collection 符合性设置状态设备摘要Compliance Setting State Device Summary
assignmentsassignments deviceCompliancePolicyAssignment 集合deviceCompliancePolicyAssignment collection 此符合性策略的分配集合。The collection of assignments for this compliance policy.

JSON 表示形式JSON Representation

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

{
  "@odata.type": "#microsoft.graph.deviceCompliancePolicy",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "version": 1024
}