/// <summary> /// Returns all the Key Value Pairs for a given Application /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='subscriptionId'> /// Subscription Id /// </param> /// <param name='id'> /// Application Id /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <KeyValuePairModel> > GetApplicationKeyValuePairsAsync(this IApplications operations, string subscriptionId, string id, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetApplicationKeyValuePairsWithHttpMessagesAsync(subscriptionId, id, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }