你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureBlobStorageHttpLogsConfig 类

定义

Http 日志到 Azure Blob 存储配置。

public class AzureBlobStorageHttpLogsConfig
type AzureBlobStorageHttpLogsConfig = class
Public Class AzureBlobStorageHttpLogsConfig
继承
AzureBlobStorageHttpLogsConfig

构造函数

AzureBlobStorageHttpLogsConfig()

初始化 AzureBlobStorageHttpLogsConfig 类的新实例。

AzureBlobStorageHttpLogsConfig(String, Nullable<Int32>, Nullable<Boolean>)

初始化 AzureBlobStorageHttpLogsConfig 类的新实例。

属性

Enabled

如果启用配置,则获取或设置 true;如果禁用配置,则获取 false;如果未设置配置,则获取 null。

RetentionInDays

获取或设置保留期(以天为单位)。 删除早于 X 天的 Blob。 0 或更低表示不保留。

SasUrl

获取或设置具有读/写/列出/删除权限的 Azure Blob 容器的 SAS URL。

适用于