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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET