ArmComputeModelFactory.OSVersionPropertiesBase Method

Definition

Initializes a new instance of OSVersionPropertiesBase.

public static Azure.ResourceManager.Compute.Models.OSVersionPropertiesBase OSVersionPropertiesBase (string version = default, string label = default, bool? isDefault = default, bool? isActive = default);
static member OSVersionPropertiesBase : string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.Models.OSVersionPropertiesBase
Public Shared Function OSVersionPropertiesBase (Optional version As String = Nothing, Optional label As String = Nothing, Optional isDefault As Nullable(Of Boolean) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing) As OSVersionPropertiesBase

Parameters

version
String

The OS version.

label
String

The OS version label.

isDefault
Nullable<Boolean>

Specifies whether this is the default OS version for its family.

isActive
Nullable<Boolean>

Specifies whether this OS version is active.

Returns

A new OSVersionPropertiesBase instance for mocking.

Applies to