ArmLabServicesModelFactory.LabVirtualMachineImageReference 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 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET