cloudPcGalleryImage 资源类型
命名空间:microsoft.graph
表示可用于预配云电脑的当前组织的库映像资源。
继承自 entity。
Methods
方法 | 返回类型 | Description |
---|---|---|
List | cloudPcGalleryImage 集合 | 列出 cloudPcGalleryImage 对象的属性和关系。 |
Get | cloudPcGalleryImage | 读取特定 cloudPcGalleryImage 对象的属性和关系。 |
属性
属性 | 类型 | 说明 |
---|---|---|
displayName | String | 此库图像的显示名称。 例如,Windows 11 Enterprise + Microsoft 365 Apps 22H2 。 此为只读属性。 |
endDate | 日期 | 图像状态变为 supportedWithWarning 的日期。 如果当前时间晚于 endDate 且早于 expirationDate,则用户仍可以预配新的云电脑。 例如,假设库映像的 endDate 为 2023-9-14 , expirationDate 为 2024-3-14 ,如果今天为 2023-10-01,则用户可以预配新的云电脑。 此为只读属性。 |
expirationDate | 日期 | 映像不再可用的日期。 如果当前时间晚于 expirationDate,则用户无法预配新的云电脑。 该值通常为 endDate 加 6 个月。 例如,如果 startDate 为 2025-10-14 ,则 expirationDate 通常是 2026-04-14 。 只读。 |
id | String | 云电脑上库映像资源的唯一标识符 (ID) 。 ID 格式为 {publisherName_offerName_skuName}。 例如,MicrosoftWindowsDesktop_windows-ent-cpc_win11-22h2-ent-cpc-m365 。 可以在Azure 市场中找到 publisherName、offerName 和 skuName。 继承自 entity。 此为只读属性。 |
offerName | String | 传递给 Azure 资源管理器 (ARM) 以检索映像资源的此库映像的套餐名称。 此为只读属性。 |
publisherName | String | 传递给 Azure 资源管理器 (ARM) 以检索映像资源的此库映像的发布者名称。 此为只读属性。 |
sizeInGB | Int32 | 指示此映像的大小(以 GB 为单位)。 例如,64 。 此为只读属性。 |
skuName | String | 传递给 Azure 资源管理器 (ARM) 检索映像资源的此映像的 SKU 名称。 此为只读属性。 |
startDate | 日期 | 云电脑映像可用于预配新云电脑的日期。 例如,2022-09-20 。 此为只读属性。 |
status | cloudPcGalleryImageStatus | 云电脑上库映像的状态。 可能的值是:supported 、supportedWithWarning 、notSupported 、unknownFutureValue 。 默认值为 supported 。 此为只读属性。 |
cloudPcGalleryImageStatus 值
成员 | 说明 |
---|---|
支持 | 指示库映像处于活动状态并已准备好用于预配。 |
supportedWithWarning | 指示库映像已过期,但云电脑继续支持 6 个月,之后它将不受支持,无法使用。 |
notSupported | 指示库映像不受支持。 |
unknownFutureValue | 可演变枚举 sentinel 值。 请勿使用。 |
关系
无。
JSON 表示形式
以下 JSON 表示形式显示了资源类型。
{
"@odata.type": "#microsoft.graph.cloudPcGalleryImage",
"displayName": "String",
"endDate": "String (Date)",
"expirationDate": "String (Date)",
"id": "String (identifier)",
"offerName": "String",
"publisherName": "String",
"sizeInGB": "Int32",
"skuName": "String",
"startDate": "String (Date)",
"status": "String"
}