/// <summary> /// Lists all available provider configurations for the subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// The subscription ID /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <ProviderConfigurationListItem> > GetAllProviderConfigurationsAsync(this ISmsClient operations, System.Guid subscriptionId, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetAllProviderConfigurationsWithHttpMessagesAsync(subscriptionId, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }