macOSGeneralDeviceConfiguration 资源类型

命名空间:microsoft.graph

重要: /beta 版本下的 Microsoft Graph API 可能会发生更改;不支持生产用途。

注意: 适用于 Intune 的 Microsoft Graph API 需要适用于租户的 活动 Intune 许可证

本主题提供由 macOSGeneralDeviceConfiguration 资源公开的已声明方法、属性和关系的说明。

继承自 deviceConfiguration

方法

方法 返回类型 说明
List macOSGeneralDeviceConfigurations macOSGeneralDeviceConfiguration 集合 列出 macOSGeneralDeviceConfiguration 对象的属性和关系。
Get macOSGeneralDeviceConfiguration macOSGeneralDeviceConfiguration 读取 macOSGeneralDeviceConfiguration 对象的属性和关系。
Create macOSGeneralDeviceConfiguration macOSGeneralDeviceConfiguration 创建新的 macOSGeneralDeviceConfiguration 对象。
Delete macOSGeneralDeviceConfiguration 删除 macOSGeneralDeviceConfiguration
Update macOSGeneralDeviceConfiguration macOSGeneralDeviceConfiguration 更新 macOSGeneralDeviceConfiguration 对象的属性。

属性

属性 类型 说明
id 字符串 实体的键。 继承自 deviceConfiguration
lastModifiedDateTime DateTimeOffset 上次修改对象的日期/时间。 继承自 deviceConfiguration
roleScopeTagIds String collection 此实体实例的范围标记列表。 继承自 deviceConfiguration
supportsScopeTags 布尔 指示基础设备配置是否支持分配范围标记。 如果此值为 false,并且作用域内用户不可见,则不允许分配到 ScopeTags 属性。 对于在 Silverlight 中创建的旧策略,可以通过在 Azure 门户中删除和重新创建策略来解决此问题。 此属性是只读的。 继承自 deviceConfiguration
deviceManagementApplicabilityRuleOsEdition deviceManagementApplicabilityRuleOsEdition 此策略的 OS 版本适用性。 继承自 deviceConfiguration
deviceManagementApplicabilityRuleOsVersion deviceManagementApplicabilityRuleOsVersion 此策略的 OS 版本适用性规则。 继承自 deviceConfiguration
deviceManagementApplicabilityRuleDeviceMode deviceManagementApplicabilityRuleDeviceMode 此策略的设备模式适用性规则。 继承自 deviceConfiguration
createdDateTime DateTimeOffset 创建对象的日期/时间。 继承自 deviceConfiguration
说明 String 管理员提供的设备配置的说明。 继承自 deviceConfiguration
displayName String 管理员提供的设备配置的名称。 继承自 deviceConfiguration
version Int32 设备配置的版本。 继承自 deviceConfiguration
compliantAppsList appListItem 集合 符合性中的应用列表(允许列表或阻止列表,由 CompliantAppListType 控制)。 该集合最多可包含 10000 个元素。
compliantAppListType appListType 位于 CompliantAppsList 中的列表。 可取值为:noneappsInListCompliantappsNotInListCompliant
emailInDomainSuffixes String 集合 缺少匹配任何这些字符串的后缀的电子邮件地址将被视为超出域范围。
passwordBlockSimple Boolean 阻止简单密码。
passwordExpirationDays Int32 密码过期前的天数。
passwordMinimumCharacterSetCount Int32 密码必须包含的字符集数。 有效值为 0 至 4
passwordMinimumLength Int32 密码的最小长度。
passwordMinutesOfInactivityBeforeLock Int32 在需要密码之前需要不活动的分钟数。
passwordMinutesOfInactivityBeforeScreenTimeout Int32 在屏幕超时之前需要不活动的分钟数。
passwordPreviousPasswordBlockCount Int32 要阻止的以前密码的数量。
passwordRequiredType requiredPasswordType 必需的密码类型。 可取值为:deviceDefaultalphanumericnumeric
passwordRequired Boolean 是否需要密码。
passwordMaximumAttemptCount Int32 在设备的锁屏上输入密码的尝试失败次数。 有效值 2 到 11
passwordMinutesUntilFailedLoginReset Int32 在达到最大登录尝试失败次数后重置登录名之前的分钟数。
keychainBlockCloudSync Boolean 指示是否阻止 iCloud 密钥链同步 (macOS 10.12 及更高版本) 。
safariBlockAutofill Boolean 指示在 Safari 中是否阻止用户使用自动填充。
cameraBlocked Boolean 指示是否阻止用户访问设备的照相机。
iTunesBlockMusicService Boolean 指示是否阻止音乐服务并将音乐应用还原为经典模式。
spotlightBlockInternetResults Boolean 指示是否阻止 Spotlight 从 Internet 搜索返回任何结果。
keyboardBlockDictation Boolean 指示是否阻止用户使用听写输入。
definitionLookupBlocked Boolean 指示是否阻止定义查找。
appleWatchBlockAutoUnlock Boolean 指示是否阻止用户使用 Apple Watch 解锁其 Mac。
iTunesBlockFileSharing Boolean 指示是否阻止使用 iTunes 传输文件。
iCloudBlockDocumentSync Boolean 指示是否阻止 iCloud 文档同步。
iCloudBlockMail Boolean 指示是否阻止 iCloud 同步邮件。
iCloudBlockAddressBook 布尔 指示是否阻止 iCloud 同步联系人。
iCloudBlockCalendar 布尔 指示是否阻止 iCloud 同步日历。
iCloudBlockReminders 布尔 指示是否阻止 iCloud 同步提醒。
iCloudBlockBookmarks 布尔 指示是否阻止 iCloud 同步书签。
iCloudBlockNotes Boolean 指示是否阻止 iCloud 同步笔记。
airDropBlocked Boolean 指示是否允许 AirDrop。
passwordBlockModification Boolean 指示是否允许修改密码。
passwordBlockFingerprintUnlock Boolean 指示是否阻止指纹解锁。
passwordBlockAutoFill Boolean 指示是否阻止自动填充密码功能。
passwordBlockProximityRequests Boolean 指示是否阻止从附近设备请求密码。
passwordBlockAirDropSharing Boolean 指示是否使用 AirDrop 密码功能阻止共享密码。
softwareUpdatesEnforcedDelayInDays Int32 设置受监督设备软件更新的使用天数。 有效值为 0 至 90
updateDelayPolicy macOSSoftwareUpdateDelayPolicy 确定是延迟 macOS 的 OS 和/或应用更新。 可取值为:nonedelayOSUpdateVisibilitydelayAppUpdateVisibilityunknownFutureValuedelayMajorOsUpdateVisibility
contentCachingBlocked Boolean 指示是否允许内容缓存。
iCloudBlockPhotoLibrary Boolean 指示是否阻止 iCloud 照片库。
screenCaptureBlocked Boolean 指示是否阻止用户进行屏幕截图。
classroomAppBlockRemoteScreenObservation Boolean 指示是否允许通过 Classroom 应用进行远程屏幕观察。 需要通过 Apple School Manager 或 Apple Business Manager 注册 MDM。
classroomAppForceUnpromptedScreenObservation Boolean 指示是否在不提示的情况下自动向 Classroom 应用上托管课程的教师授予查看学生屏幕的权限。 需要通过 Apple School Manager 或 Apple Business Manager 注册 MDM。
classroomForceAutomaticallyJoinClasses Boolean 指示是否在不提示学生的情况下自动授予教师请求的权限。 需要通过 Apple School Manager 或 Apple Business Manager 注册 MDM。
classroomForceRequestPermissionToLeaveClasses Boolean 指示在尝试离开课程时,是否需要通过 Classroom 注册非托管课程的学生向教师请求权限。 需要通过 Apple School Manager 或 Apple Business Manager 注册 MDM。
classroomForceUnpromptedAppAndDeviceLock Boolean 指示是否允许教师在不提示学生的情况下锁定应用或设备。 需要通过 Apple School Manager 或 Apple Business Manager 注册 MDM。
iCloudBlockActivityContinuation Boolean 指示是否阻止用户在 MacOS 10.15 或更高版本 (另一 iOS 或 MacOS 设备上启动的继续工作) 。
privacyAccessControls macOSPrivacyAccessControlItem 集合 隐私首选项策略控件列表。 该集合最多可包含 10000 个元素。
addingGameCenterFriendsBlocked Boolean 是,阻止用户将好友添加到游戏中心。 适用于运行 macOS 版本 10.13 及更高版本的设备。
gameCenterBlocked Boolean 是,禁用游戏中心,游戏中心图标将从主屏幕中删除。 适用于运行 macOS 版本 10.13 及更高版本的设备。
multiplayerGamingBlocked Boolean TRUE 可在使用游戏中心时阻止多人游戏。 FALSE 允许在使用游戏中心时进行多人游戏。 适用于运行 macOS 版本 10.13 及更高版本的设备。
wallpaperModificationBlocked Boolean TRUE 可防止更改壁纸。 FALSE 允许更改壁纸。 适用于运行 macOS 版本 10.13 及更高版本的设备。
eraseContentAndSettingsBlocked Boolean TRUE 在受监督的设备上禁用重置选项。 FALSE 在受监督的设备上启用重置选项。 适用于运行 macOS 版本 12.0 及更高版本的设备。
softwareUpdateMajorOSDeferredInstallDelayInDays Int32 指定 (1-90) 的天数,以延迟主要 OS 软件更新的可见性。 适用于运行 macOS 版本 11.3 及更高版本的设备。 有效值为 0 至 90
softwareUpdateMinorOSDeferredInstallDelayInDays Int32 指定 (1-90) 的天数,以延迟次要 OS 软件更新的可见性。 适用于运行 macOS 版本 11.3 及更高版本的设备。 有效值为 0 至 90
softwareUpdateNonOSDeferredInstallDelayInDays Int32 指定 (1-90) 的天数,以延迟非 OS 软件更新的可见性。 适用于运行 macOS 版本 11.3 及更高版本的设备。 有效值为 0 至 90
touchIdTimeoutInHours Int32 用户必须输入其密码才能解锁设备,而不是使用 Touch ID 的最长时间。 适用于运行 macOS 12 和更高版本的设备。 有效值 0 到2147483647
iCloudPrivateRelayBlocked Boolean iCloud 专用中继是一项 iCloud+ 服务,可防止网络和服务器通过 Internet 监视人员的活动。 通过阻止 iCloud 专用中继,Apple 不会加密离开设备的流量。 适用于运行 macOS 12 和更高版本的设备。
iCloudDesktopAndDocumentsBlocked Boolean 如果为 TRUE,则阻止云桌面和文档的同步。 如果为 FALSE,则允许同步云桌面和文档。 适用于运行 macOS 10.12.4 及更高版本的设备。

关系

关系 类型 说明
groupAssignments deviceConfigurationGroupAssignment 集合 设备配置文件的组分配列表。 继承自 deviceConfiguration
assignments deviceConfigurationAssignment 集合 设备配置文件的分配列表。 继承自 deviceConfiguration
deviceStatuses deviceConfigurationDeviceStatus 集合 按设备的设备配置安装状态。 继承自 deviceConfiguration
userStatuses deviceConfigurationUserStatus 集合 按用户提供的设备配置安装状态。 继承自 deviceConfiguration
deviceStatusOverview deviceConfigurationDeviceOverview 设备配置设备状态概述 继承自 deviceConfiguration
userStatusOverview deviceConfigurationUserOverview 设备配置用户状态概述 继承自 deviceConfiguration
deviceSettingStateSummaries settingStateDeviceSummary 集合 设备配置设置状态设备摘要 继承自 deviceConfiguration

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.macOSGeneralDeviceConfiguration",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "roleScopeTagIds": [
    "String"
  ],
  "supportsScopeTags": true,
  "deviceManagementApplicabilityRuleOsEdition": {
    "@odata.type": "microsoft.graph.deviceManagementApplicabilityRuleOsEdition",
    "osEditionTypes": [
      "String"
    ],
    "name": "String",
    "ruleType": "String"
  },
  "deviceManagementApplicabilityRuleOsVersion": {
    "@odata.type": "microsoft.graph.deviceManagementApplicabilityRuleOsVersion",
    "minOSVersion": "String",
    "maxOSVersion": "String",
    "name": "String",
    "ruleType": "String"
  },
  "deviceManagementApplicabilityRuleDeviceMode": {
    "@odata.type": "microsoft.graph.deviceManagementApplicabilityRuleDeviceMode",
    "deviceMode": "String",
    "name": "String",
    "ruleType": "String"
  },
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "version": 1024,
  "compliantAppsList": [
    {
      "@odata.type": "microsoft.graph.appListItem",
      "name": "String",
      "publisher": "String",
      "appStoreUrl": "String",
      "appId": "String"
    }
  ],
  "compliantAppListType": "String",
  "emailInDomainSuffixes": [
    "String"
  ],
  "passwordBlockSimple": true,
  "passwordExpirationDays": 1024,
  "passwordMinimumCharacterSetCount": 1024,
  "passwordMinimumLength": 1024,
  "passwordMinutesOfInactivityBeforeLock": 1024,
  "passwordMinutesOfInactivityBeforeScreenTimeout": 1024,
  "passwordPreviousPasswordBlockCount": 1024,
  "passwordRequiredType": "String",
  "passwordRequired": true,
  "passwordMaximumAttemptCount": 1024,
  "passwordMinutesUntilFailedLoginReset": 1024,
  "keychainBlockCloudSync": true,
  "safariBlockAutofill": true,
  "cameraBlocked": true,
  "iTunesBlockMusicService": true,
  "spotlightBlockInternetResults": true,
  "keyboardBlockDictation": true,
  "definitionLookupBlocked": true,
  "appleWatchBlockAutoUnlock": true,
  "iTunesBlockFileSharing": true,
  "iCloudBlockDocumentSync": true,
  "iCloudBlockMail": true,
  "iCloudBlockAddressBook": true,
  "iCloudBlockCalendar": true,
  "iCloudBlockReminders": true,
  "iCloudBlockBookmarks": true,
  "iCloudBlockNotes": true,
  "airDropBlocked": true,
  "passwordBlockModification": true,
  "passwordBlockFingerprintUnlock": true,
  "passwordBlockAutoFill": true,
  "passwordBlockProximityRequests": true,
  "passwordBlockAirDropSharing": true,
  "softwareUpdatesEnforcedDelayInDays": 1024,
  "updateDelayPolicy": "String",
  "contentCachingBlocked": true,
  "iCloudBlockPhotoLibrary": true,
  "screenCaptureBlocked": true,
  "classroomAppBlockRemoteScreenObservation": true,
  "classroomAppForceUnpromptedScreenObservation": true,
  "classroomForceAutomaticallyJoinClasses": true,
  "classroomForceRequestPermissionToLeaveClasses": true,
  "classroomForceUnpromptedAppAndDeviceLock": true,
  "iCloudBlockActivityContinuation": true,
  "privacyAccessControls": [
    {
      "@odata.type": "microsoft.graph.macOSPrivacyAccessControlItem",
      "displayName": "String",
      "identifier": "String",
      "identifierType": "String",
      "codeRequirement": "String",
      "staticCodeValidation": true,
      "blockCamera": true,
      "blockMicrophone": true,
      "blockScreenCapture": true,
      "blockListenEvent": true,
      "speechRecognition": "String",
      "accessibility": "String",
      "addressBook": "String",
      "calendar": "String",
      "reminders": "String",
      "photos": "String",
      "mediaLibrary": "String",
      "fileProviderPresence": "String",
      "systemPolicyAllFiles": "String",
      "systemPolicySystemAdminFiles": "String",
      "systemPolicyDesktopFolder": "String",
      "systemPolicyDocumentsFolder": "String",
      "systemPolicyDownloadsFolder": "String",
      "systemPolicyNetworkVolumes": "String",
      "systemPolicyRemovableVolumes": "String",
      "postEvent": "String",
      "appleEventsAllowedReceivers": [
        {
          "@odata.type": "microsoft.graph.macOSAppleEventReceiver",
          "codeRequirement": "String",
          "identifier": "String",
          "identifierType": "String",
          "allowed": true
        }
      ]
    }
  ],
  "addingGameCenterFriendsBlocked": true,
  "gameCenterBlocked": true,
  "multiplayerGamingBlocked": true,
  "wallpaperModificationBlocked": true,
  "eraseContentAndSettingsBlocked": true,
  "softwareUpdateMajorOSDeferredInstallDelayInDays": 1024,
  "softwareUpdateMinorOSDeferredInstallDelayInDays": 1024,
  "softwareUpdateNonOSDeferredInstallDelayInDays": 1024,
  "touchIdTimeoutInHours": 1024,
  "iCloudPrivateRelayBlocked": true,
  "iCloudDesktopAndDocumentsBlocked": true
}