/// <summary> /// Lists eligible SKUs for PowerBI Dedicated resource provider. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <SkuEnumerationForNewResourceResult> ListSkusAsync(this ICapacitiesOperations operations, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListSkusWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <inheritdoc/> public async Task <AzureOperationResponse <SkuEnumerationForNewResourceResult> > ListSkusWithHttpMessagesAsync(Dictionary <string, List <string> > customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { return(await innerCapacityOperations .ListSkusWithHttpMessagesAsync(customHeaders, cancellationToken) .ConfigureAwait(false)); }