命名空间:microsoft.graph
重要提示:Microsoft 支持 Intune/beta API,但它们可能会进行更频繁的更改。 Microsoft 建议尽可能使用 v1.0 版本。 使用版本选择器检查 API 在版本 v1.0 中的可用性。
注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证。
本主题提供 AndroidDeviceOwnerAOSPDeviceConfiguration 资源公开的声明的方法、属性和关系的说明。
方法
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| id | String | 实体的键。 继承自 deviceConfiguration |
| lastModifiedDateTime | DateTimeOffset | 上次修改对象的日期/时间。 继承自 deviceConfiguration |
| roleScopeTagIds | 字符串集合 | 此实体实例的范围标记的列表。 继承自 deviceConfiguration |
| supportsScopeTags | 布尔值 | 指示基础设备配置是否支持分配范围标记。 如果此值为 false,则不允许分配给 ScopeTags 属性,并且实体对作用域用户不可见。 对于在 Silverlight 中创建的旧策略,会出现此问题,可以通过在 Azure 门户中删除并重新创建策略来解决。 此属性是只读的。 继承自 deviceConfiguration |
| deviceManagementApplicabilityRuleOsEdition | deviceManagementApplicabilityRuleOsEdition | 此策略的操作系统版本适用性。 继承自 deviceConfiguration |
| deviceManagementApplicabilityRuleOsVersion | deviceManagementApplicabilityRuleOsVersion | 此策略的操作系统版本适用性规则。 继承自 deviceConfiguration |
| deviceManagementApplicabilityRuleDeviceMode | deviceManagementApplicabilityRuleDeviceMode | 此策略的设备模式适用性规则。 继承自 deviceConfiguration |
| createdDateTime | DateTimeOffset | 创建对象的日期/时间。 继承自 deviceConfiguration |
| description | String | 管理员提供的设备配置的说明。 继承自 deviceConfiguration |
| displayName | String | 管理员提供的设备配置的名称。 继承自 deviceConfiguration |
| version | Int32 | 设备配置的版本。 继承自 deviceConfiguration |
| appsBlockInstallFromUnknownSources | 布尔值 | 指示是否允许用户启用未知源设置。 设置为 true 时,不允许用户启用未知来源设置。 |
| bluetoothBlocked | 布尔值 | 指示是否禁用蓝牙。 设置为 true 时,无法在设备上启用蓝牙。 |
| bluetoothBlockConfiguration | 布尔值 | 指示是否阻止用户配置蓝牙。 |
| cameraBlocked | 布尔值 | 指示是否禁用相机的使用。 |
| factoryResetBlocked | 布尔值 | 指示设置中的恢复出厂设置选项是否已禁用。 |
| passwordMinimumLength | Int32 | 指示设备上所需的密码的最短长度。 有效值为 4 至 16 |
| passwordMinutesOfInactivityBeforeScreenTimeout | Int32 | 屏幕超时之前的不活动分钟数。 |
| passwordRequiredType | androidDeviceOwnerRequiredPasswordType | 指示设备所需的最低密码质量。 可取值为:deviceDefault、required、numeric、numericComplex、alphabetic、alphanumeric、alphanumericWithSymbols、lowSecurityBiometric、customPassword。 |
| passwordSignInFailureCountBeforeFactoryReset | Int32 | 指示在擦除设备之前用户可以输入错误密码的次数。 有效值为 4 至 11 |
| screenCaptureBlocked | 布尔值 | 指示是否禁用屏幕截图功能。 |
| securityAllowDebuggingFeatures | 布尔值 | 指示是否阻止用户在设备上启用调试功能。 |
| storageBlockExternalMedia | 布尔值 | 指示是否阻止外部媒体。 |
| storageBlockUsbFileTransfer | 布尔值 | 指示是否阻止 USB 文件传输。 |
| wifiBlockEditConfigurations | 布尔值 | 指示是否阻止用户编辑 WiFi 连接设置。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| 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.aospDeviceOwnerDeviceConfiguration",
"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,
"appsBlockInstallFromUnknownSources": true,
"bluetoothBlocked": true,
"bluetoothBlockConfiguration": true,
"cameraBlocked": true,
"factoryResetBlocked": true,
"passwordMinimumLength": 1024,
"passwordMinutesOfInactivityBeforeScreenTimeout": 1024,
"passwordRequiredType": "String",
"passwordSignInFailureCountBeforeFactoryReset": 1024,
"screenCaptureBlocked": true,
"securityAllowDebuggingFeatures": true,
"storageBlockExternalMedia": true,
"storageBlockUsbFileTransfer": true,
"wifiBlockEditConfigurations": true
}