mobileAppContentFile 资源类型

命名空间:microsoft.graph

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

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

包含与给定 mobileAppContent 版本关联的单个安装程序文件的属性。

方法

方法 返回类型 说明
List mobileAppContentFiles mobileAppContentFile 集合 列出 mobileAppContentFile 对象的属性和关系。
Get mobileAppContentFile mobileAppContentFile 读取 mobileAppContentFile 对象的属性和关系。
Create mobileAppContentFile mobileAppContentFile 创建新的 mobileAppContentFile 对象。
Delete mobileAppContentFile 删除 mobileAppContentFile
Update mobileAppContentFile mobileAppContentFile 更新 mobileAppContentFile 对象的属性。
commit 操作 提交给定应用的文件。
renewUpload 操作 续订应用程序文件上传的 SAS URI。

属性

属性 类型 说明
azureStorageUri String 指示文件上传到的 Azure 存储 URI。 在收到有效的 mobileAppContentFile 时由服务创建。 此为只读属性。 此属性是只读的。
isCommitted Boolean 指示文件是否已提交的值。 已提交的应用内容文件已由 Intune 服务完全上传和验证。 TRUE 表示应用内容文件已提交,FALSE 表示未提交应用内容文件。 默认为 FALSE。 此为只读属性。 此属性是只读的。
id String 此 mobileAppContentFile 的唯一标识符。 此 ID 是在创建 mobileAppContentFile 期间分配的。 此为只读属性。 此属性是只读的。
createdDateTime DateTimeOffset 以 ISO 8601 格式指示与应用内容文件关联的创建日期和时间。 例如,2014 年 1 月 1 日午夜 (UTC) 如下所示:“2014-01-01T00:00:00Z”。 此为只读属性。 此属性是只读的。
name String 指示文件的名称。
size Int64 加密前的文件大小。 若要弃用,请改用 sizeInBytes 属性。
sizeEncrypted Int64 加密后的文件大小。 若要弃用,请改用 sizeEncryptedInBytes 属性。
sizeInBytes Int64 指示文件的原始大小(以字节为单位)。 有效值 0 到 9.22337203685478E+18
sizeEncryptedInBytes Int64 指示加密后文件的大小(以字节为单位)。 有效值 0 到 9.22337203685478E+18
azureStorageUriExpirationDateTime DateTimeOffset 以 ISO 8601 格式指示 Azure 存储 URI 过期的日期和时间。 例如,2014 年 1 月 1 日午夜 (UTC) 如下所示:“2014-01-01T00:00:00Z”。 此为只读属性。 此属性是只读的。
manifest 二进制 指示包含文件元数据的清单信息。
uploadState mobileAppContentFileUploadState 指示当前上传请求的状态。 可能的值包括:success、transientError、error、unknown、azureStorageUriRequestSuccess、azureStorageUriRequestPending、 azureStorageUriRequestFailed、azureStorageUriRequestTimedOut、azureStorageUriRenewalSuccess、azureStorageUriRenewalPending、azureStorageUriRenewalFailed、azureStorageUriRenewalTimedOut、commitFileSuccess、commitFilePending、commitFileFailed、commitFileTimedOut。 默认值为 success。 此属性是只读的。 可取值为:successtransientErrorerrorunknownazureStorageUriRequestSuccessazureStorageUriRequestPendingazureStorageUriRequestFailedazureStorageUriRequestTimedOutazureStorageUriRenewalSuccessazureStorageUriRenewalPendingazureStorageUriRenewalFailedazureStorageUriRenewalTimedOutcommitFileSuccesscommitFilePendingcommitFileFailedcommitFileTimedOut
isFrameworkFile 布尔值 一个值,该值指示文件是否为框架文件。 要弃用。
isDependency 布尔值 指示此内容文件是否是main内容文件的依赖项。 TRUE 表示内容文件是依赖项,FALSE 表示内容文件不是依赖项,并且是main内容文件。 默认为 FALSE。

关系

JSON 表示形式

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

{
  "@odata.type": "#microsoft.graph.mobileAppContentFile",
  "azureStorageUri": "String",
  "isCommitted": true,
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "name": "String",
  "size": 1024,
  "sizeEncrypted": 1024,
  "sizeInBytes": 1024,
  "sizeEncryptedInBytes": 1024,
  "azureStorageUriExpirationDateTime": "String (timestamp)",
  "manifest": "binary",
  "uploadState": "String",
  "isFrameworkFile": true,
  "isDependency": true
}