Sdílet prostřednictvím


ArmComputeModelFactory.CloudServiceOSFamilyData Method

Definition

Initializes a new instance of CloudServiceOSFamilyData.

public static Azure.ResourceManager.Compute.CloudServiceOSFamilyData CloudServiceOSFamilyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string resourceName = default, Azure.Core.AzureLocation? location = default, string osFamilyName = default, string label = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.OSVersionPropertiesBase> versions = default);
static member CloudServiceOSFamilyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.Core.AzureLocation> * string * string * seq<Azure.ResourceManager.Compute.Models.OSVersionPropertiesBase> -> Azure.ResourceManager.Compute.CloudServiceOSFamilyData
Public Shared Function CloudServiceOSFamilyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional resourceName As String = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional osFamilyName As String = Nothing, Optional label As String = Nothing, Optional versions As IEnumerable(Of OSVersionPropertiesBase) = Nothing) As CloudServiceOSFamilyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

resourceName
String

Resource name.

location
Nullable<AzureLocation>

Resource location.

osFamilyName
String

The OS family name.

label
String

The OS family label.

versions
IEnumerable<OSVersionPropertiesBase>

List of OS versions belonging to this family.

Returns

A new CloudServiceOSFamilyData instance for mocking.

Applies to