DevCenterModelFactory.DevBoxImageReference 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 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
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