/// <summary> /// GetSkuAvailability_POST /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <object> POSTAsync(this IGetSkuAvailability operations, object body, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.POSTWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <summary> /// GetSkuAvailability_POST /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='body'> /// </param> public static object POST(this IGetSkuAvailability operations, object body) { return(operations.POSTAsync(body).GetAwaiter().GetResult()); }