Share via


ArmLabServicesModelFactory.LabVirtualMachineImageData Method

Definition

Initializes a new instance of LabVirtualMachineImageData.

public static Azure.ResourceManager.LabServices.LabVirtualMachineImageData LabVirtualMachineImageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? enabledState = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default, string displayName = default, string description = default, Uri iconUri = default, string author = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType? osType = default, string plan = default, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? termsStatus = default, string offer = default, string publisher = default, string sku = default, string version = default, Azure.Core.ResourceIdentifier sharedGalleryId = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> availableRegions = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSState? osState = default);
static member LabVirtualMachineImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesEnableState> * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> * string * string * Uri * string * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType> * string * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesEnableState> * string * string * string * string * Azure.Core.ResourceIdentifier * seq<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSState> -> Azure.ResourceManager.LabServices.LabVirtualMachineImageData
Public Shared Function LabVirtualMachineImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional enabledState As Nullable(Of LabServicesEnableState) = Nothing, Optional provisioningState As Nullable(Of LabServicesProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional iconUri As Uri = Nothing, Optional author As String = Nothing, Optional osType As Nullable(Of LabVirtualMachineImageOSType) = Nothing, Optional plan As String = Nothing, Optional termsStatus As Nullable(Of LabServicesEnableState) = Nothing, Optional offer As String = Nothing, Optional publisher As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional sharedGalleryId As ResourceIdentifier = Nothing, Optional availableRegions As IEnumerable(Of AzureLocation) = Nothing, Optional osState As Nullable(Of LabVirtualMachineImageOSState) = Nothing) As LabVirtualMachineImageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

enabledState
Nullable<LabServicesEnableState>

Is the image enabled.

provisioningState
Nullable<LabServicesProvisioningState>

Current provisioning state of the image.

displayName
String

The image display name.

description
String

A description of the image.

iconUri
Uri

URL of the image icon.

author
String

The image author.

osType
Nullable<LabVirtualMachineImageOSType>

The OS Type of the image.

plan
String

The ID of marketplace plan associated with the image (optional).

termsStatus
Nullable<LabServicesEnableState>

The status of image terms of use (enabled = accepted, disabled = not accepted).

offer
String

The ID of an offer associated with the image.

publisher
String

The ID of the publisher of the image.

sku
String

The image SKU.

version
String

The image version.

sharedGalleryId
ResourceIdentifier

The ID for the image in the shared gallery.

availableRegions
IEnumerable<AzureLocation>

The available regions of the image in the shared gallery.

osState
Nullable<LabVirtualMachineImageOSState>

The OS State of the image.

Returns

A new LabVirtualMachineImageData instance for mocking.

Applies to