ArmLabServicesModelFactory.LabVirtualMachineImageReference Method

Definition

Initializes a new instance of LabVirtualMachineImageReference.

public static Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference LabVirtualMachineImageReference (Azure.Core.ResourceIdentifier id = default, string offer = default, string publisher = default, string sku = default, string version = default, string exactVersion = default);
static member LabVirtualMachineImageReference : Azure.Core.ResourceIdentifier * string * string * string * string * string -> Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference
Public Shared Function LabVirtualMachineImageReference (Optional id As ResourceIdentifier = Nothing, Optional offer As String = Nothing, Optional publisher As String = Nothing, Optional sku As String = Nothing, Optional version As String = Nothing, Optional exactVersion As String = Nothing) As LabVirtualMachineImageReference

Parameters

id
ResourceIdentifier

Image resource ID.

offer
String

The image offer if applicable.

publisher
String

The image publisher.

sku
String

The image SKU.

version
String

The image version specified on creation.

exactVersion
String

The actual version of the image after use.

Returns

A new LabVirtualMachineImageReference instance for mocking.

Applies to