ArmDevTestLabsModelFactory.DevTestLabCustomImageData Method

Definition

Initializes a new instance of 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

vm
DevTestLabCustomImageVm

The virtual machine from which the image is to be created.

vhd
DevTestLabCustomImageVhd

The VHD from which the image is to be created.

description
String

The description of the custom image.

author
String

The author of the custom image.

createdOn
Nullable<DateTimeOffset>

The creation date of the custom image.

managedImageId
String

The Managed Image Id backing the custom image.

managedSnapshotId
String

The Managed Snapshot Id backing the custom image.

dataDiskStorageInfo
IEnumerable<DevTestLabDataDiskStorageTypeInfo>

Storage information about the data disks present in the custom image.

customImagePlan
DevTestLabCustomImagePlan

Storage information about the plan related to this custom image.

isPlanAuthorized
Nullable<Boolean>

Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.

provisioningState
String

The provisioning status of the resource.

uniqueIdentifier
Nullable<Guid>

The unique immutable identifier of a resource (Guid).

Returns

A new DevTestLabCustomImageData instance for mocking.

Applies to