Share via


CloudServiceOperatingSystemsOperationsExtensions.GetOSFamilyAsync Method

Definition

Gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.OSFamily> GetOSFamilyAsync (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string location, string osFamilyName, System.Threading.CancellationToken cancellationToken = default);
static member GetOSFamilyAsync : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.OSFamily>
<Extension()>
Public Function GetOSFamilyAsync (operations As ICloudServiceOperatingSystemsOperations, location As String, osFamilyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OSFamily)

Parameters

operations
ICloudServiceOperatingSystemsOperations

The operations group for this extension method.

location
String

Name of the location that the OS family pertains to.

osFamilyName
String

Name of the OS family.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to