CloudServiceOperatingSystemsOperationsExtensions.ListOSFamiliesAsync 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.
Gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSFamily>> ListOSFamiliesAsync (this Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations operations, string location, System.Threading.CancellationToken cancellationToken = default);
static member ListOSFamiliesAsync : Microsoft.Azure.Management.Compute.ICloudServiceOperatingSystemsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.OSFamily>>
<Extension()>
Public Function ListOSFamiliesAsync (operations As ICloudServiceOperatingSystemsOperations, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of OSFamily))
Parameters
- operations
- ICloudServiceOperatingSystemsOperations
The operations group for this extension method.
- location
- String
Name of the location that the OS families pertain to.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET