Dela via


DevCenterModelFactory.DevBoxImageReference Method

Definition

Initializes a new instance of DevBoxImageReference.

public static Azure.Developer.DevCenter.Models.DevBoxImageReference DevBoxImageReference (string name = default, string version = default, string operatingSystem = default, string osBuildNumber = default, DateTimeOffset? publishedDate = default);
static member DevBoxImageReference : string * string * string * string * Nullable<DateTimeOffset> -> Azure.Developer.DevCenter.Models.DevBoxImageReference
Public Shared Function DevBoxImageReference (Optional name As String = Nothing, Optional version As String = Nothing, Optional operatingSystem As String = Nothing, Optional osBuildNumber As String = Nothing, Optional publishedDate As Nullable(Of DateTimeOffset) = Nothing) As DevBoxImageReference

Parameters

name
String

The name of the image used.

version
String

The version of the image.

operatingSystem
String

The operating system of the image.

osBuildNumber
String

The operating system build number of the image.

publishedDate
Nullable<DateTimeOffset>

The datetime that the backing image version was published.

Returns

A new DevBoxImageReference instance for mocking.

Applies to