你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryImageProperties interface

库图像资源下的属性

属性

cloudInitDataSource

使用 cloud-init [NoCloud、Azure] 预配时库映像的数据源

containerId

存储容器用于库映像的存储容器的ID

hyperVGeneration

虚拟机的虚拟机管理程序生成 [V1、V2]

identifier

这是库图像定义标识符。

imagePath

应从中创建图库图像的图像的位置

osType

库映像使用的作系统类型 [Windows、Linux]

provisioningState

库映像的预配状态。

sourceVirtualMachineId

源虚拟机的资源 ID,源虚拟机的 OS 磁盘创建库映像。

status

观察到的图库图像状态

version

指定有关要创建或更新的库映像版本的信息。

vmImageRepositoryCredentials

用于登录到有权访问指定映像的映像存储库的凭据

属性详细信息

cloudInitDataSource

使用 cloud-init [NoCloud、Azure] 预配时库映像的数据源

cloudInitDataSource?: string

属性值

string

containerId

存储容器用于库映像的存储容器的ID

containerId?: string

属性值

string

hyperVGeneration

虚拟机的虚拟机管理程序生成 [V1、V2]

hyperVGeneration?: string

属性值

string

identifier

这是库图像定义标识符。

identifier?: GalleryImageIdentifier

属性值

imagePath

应从中创建图库图像的图像的位置

imagePath?: string

属性值

string

osType

库映像使用的作系统类型 [Windows、Linux]

osType: string

属性值

string

provisioningState

库映像的预配状态。

provisioningState?: string

属性值

string

sourceVirtualMachineId

源虚拟机的资源 ID,源虚拟机的 OS 磁盘创建库映像。

sourceVirtualMachineId?: string

属性值

string

status

观察到的图库图像状态

status?: GalleryImageStatus

属性值

version

指定有关要创建或更新的库映像版本的信息。

version?: GalleryImageVersion

属性值

vmImageRepositoryCredentials

用于登录到有权访问指定映像的映像存储库的凭据

vmImageRepositoryCredentials?: VmImageRepositoryCredentials

属性值