internal static AzureClient.IConfigurable WithUserAgent(this AzureClient.IConfigurable azure, HealthCheckOptions options)
        {
            if (string.IsNullOrWhiteSpace(options.Product) || string.IsNullOrWhiteSpace(options.Version))
            {
                return(azure);
            }

            return(azure.WithUserAgent(options.Product, options.Version));
        }
        internal static AzureClient.IConfigurable WithLogLevel(this AzureClient.IConfigurable azure, HealthCheckOptions options)
        {
            if (options.LogLevel == null)
            {
                return(azure);
            }

            return(azure.WithLogLevel(options.LogLevel.Value));
        }