Partilhar via


ArmComputeModelFactory.CloudServiceOSVersionData Method

Definition

Initializes a new instance of CloudServiceOSVersionData.

public static Azure.ResourceManager.Compute.CloudServiceOSVersionData CloudServiceOSVersionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, string family = default, string familyLabel = default, string version = default, string label = default, bool? isDefault = default, bool? isActive = default);
static member CloudServiceOSVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * string * string * string * string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Compute.CloudServiceOSVersionData
Public Shared Function CloudServiceOSVersionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional family As String = Nothing, Optional familyLabel As String = Nothing, 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 CloudServiceOSVersionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

family
String

The family of this OS version.

familyLabel
String

The family label of this OS version.

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 CloudServiceOSVersionData instance for mocking.

Applies to