ArmDevTestLabsModelFactory.DevTestLabCustomImageData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
The virtual machine from which the image is to be created.
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.
Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.
- provisioningState
- String
The provisioning status of the resource.
Returns
A new DevTestLabCustomImageData instance for mocking.