namespace ApiDenuncias.Configuration;

public sealed class ManualPurgeOptions
{
    public const string SectionName = "ManualPurge";

    public string BaseUrl { get; set; } = "";

    public string FunctionUrl { get; set; } = "https://func-keymgmt-pre.azurewebsites.net/api/manual_purge";

    public string ForceRotateUrl { get; set; } = "https://func-keymgmt-pre.azurewebsites.net/api/force_rotate";

    public string FunctionKeySecretName { get; set; } = "purge-function-key";

    public bool ReplaceOnManualPurge { get; set; } = true;

    public bool RecoverPartialReplaceFailure { get; set; } = true;

    public int TimeoutSeconds { get; set; } = 30;
}
