/// <summary> /// Delete a parameter from the cluster /// </summary> /// <param name="source"></param> /// <param name="componentName"></param> /// <param name="vhostName"></param> /// <param name="name"></param> /// <param name="cancellationToken"></param> public static void DeleteParameter( [NotNull] this IManagementClient source, string componentName, string vhostName, string name, CancellationToken cancellationToken = default ) { if (source == null) { throw new ArgumentNullException(nameof(source)); } source.DeleteParameterAsync(componentName, vhostName, name, cancellationToken) .GetAwaiter() .GetResult(); }