Condividi tramite


ManagedClustersOperationsExtensions.GetOSOptionsAsync Method

Definition

Gets supported OS options in the specified subscription.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.OSOptionProfile> GetOSOptionsAsync (this Microsoft.Azure.Management.ContainerService.IManagedClustersOperations operations, string location, string resourceType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetOSOptionsAsync : Microsoft.Azure.Management.ContainerService.IManagedClustersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Models.OSOptionProfile>
<Extension()>
Public Function GetOSOptionsAsync (operations As IManagedClustersOperations, location As String, Optional resourceType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of OSOptionProfile)

Parameters

operations
IManagedClustersOperations

The operations group for this extension method.

location
String

The name of Azure region.

resourceType
String

The resource type for which the OS options needs to be returned

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to