using JNPF.Common.Enums; using JNPF.ConfigurableOptions; namespace JNPF.Common.Options; /// /// OSS配置. /// public sealed class OssOptions : IConfigurableOptions { /// /// Minio桶. /// public string BucketName { get; set; } /// /// 提供者. /// public OSSProviderType Provider { get; set; } = OSSProviderType.Invalid; /// /// 地址. /// public string Endpoint { get; set; } /// /// 服务访问玥. /// public string AccessKey { get; set; } /// /// 服务密钥. /// public string SecretKey { get; set; } /// /// 地区. /// public string Region { get; set; } /// /// 是否启用https. /// public bool IsEnableHttps { get; set; } /// /// 是否启用缓存. /// public bool IsEnableCache { get; set; } }