/// <summary>
 /// Refresh the secret of the named value specified by its identifier.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='serviceName'>
 /// The name of the API Management service.
 /// </param>
 /// <param name='namedValueId'>
 /// Identifier of the NamedValue.
 /// </param>
 public static NamedValueContract BeginRefreshSecret(this INamedValueOperations operations, string resourceGroupName, string serviceName, string namedValueId)
 {
     return(operations.BeginRefreshSecretAsync(resourceGroupName, serviceName, namedValueId).GetAwaiter().GetResult());
 }