你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmDevTestLabsModelFactory.DevTestLabCustomImageData 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
ID。
- name
- String
名称。
- resourceType
- ResourceType
resourceType。
- systemData
- SystemData
systemData。
- tags
- IDictionary<String,String>
标记。
- location
- AzureLocation
位置。
要从中创建映像的虚拟机。
要从中创建映像的 VHD。
- description
- String
自定义映像的说明。
- author
- String
自定义映像的作者。
- createdOn
- Nullable<DateTimeOffset>
自定义映像的创建日期。
- managedImageId
- String
支持自定义映像的托管映像 ID。
- managedSnapshotId
- String
支持自定义映像的托管快照 ID。
- dataDiskStorageInfo
- IEnumerable<DevTestLabDataDiskStorageTypeInfo>
有关自定义映像中存在的数据磁盘的存储信息。
- customImagePlan
- DevTestLabCustomImagePlan
有关与此自定义映像相关的计划的存储信息。
- provisioningState
- String
资源的预配状态。
返回
用于模拟的新 DevTestLabCustomImageData 实例。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈