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

ArmDevTestLabsModelFactory.DevTestLabCustomImageData 方法

定义

初始化 DevTestLabCustomImageData 的新实例。

public static Azure.ResourceManager.DevTestLabs.DevTestLabCustomImageData DevTestLabCustomImageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVm vm = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVhd vhd = default, string description = default, string author = default, DateTimeOffset? createdOn = default, string managedImageId = default, string managedSnapshotId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskStorageTypeInfo> dataDiskStorageInfo = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImagePlan customImagePlan = default, bool? isPlanAuthorized = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabCustomImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVm * Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImageVhd * string * string * Nullable<DateTimeOffset> * string * string * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskStorageTypeInfo> * Azure.ResourceManager.DevTestLabs.Models.DevTestLabCustomImagePlan * Nullable<bool> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabCustomImageData
Public Shared Function DevTestLabCustomImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional vm As DevTestLabCustomImageVm = Nothing, Optional vhd As DevTestLabCustomImageVhd = Nothing, Optional description As String = Nothing, Optional author As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional managedImageId As String = Nothing, Optional managedSnapshotId As String = Nothing, Optional dataDiskStorageInfo As IEnumerable(Of DevTestLabDataDiskStorageTypeInfo) = Nothing, Optional customImagePlan As DevTestLabCustomImagePlan = Nothing, Optional isPlanAuthorized As Nullable(Of Boolean) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabCustomImageData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

tags
IDictionary<String,String>

标记。

location
AzureLocation

位置。

vm
DevTestLabCustomImageVm

要从中创建映像的虚拟机。

vhd
DevTestLabCustomImageVhd

要从中创建映像的 VHD。

description
String

自定义映像的说明。

author
String

自定义映像的作者。

createdOn
Nullable<DateTimeOffset>

自定义映像的创建日期。

managedImageId
String

支持自定义映像的托管映像 ID。

managedSnapshotId
String

支持自定义映像的托管快照 ID。

dataDiskStorageInfo
IEnumerable<DevTestLabDataDiskStorageTypeInfo>

有关自定义映像中存在的数据磁盘的存储信息。

customImagePlan
DevTestLabCustomImagePlan

有关与此自定义映像相关的计划的存储信息。

isPlanAuthorized
Nullable<Boolean>

是否已为编程部署启用基础套餐/计划的自定义映像。

provisioningState
String

资源的预配状态。

uniqueIdentifier
Nullable<Guid>

资源的唯一不可变标识符 (Guid) 。

返回

用于模拟的新 DevTestLabCustomImageData 实例。

适用于