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

ServiceProperties 类

定义

表示与云存储服务相关的属性集的类。

public sealed class ServiceProperties
type ServiceProperties = class
Public NotInheritable Class ServiceProperties
继承
ServiceProperties

构造函数

ServiceProperties()

初始化 ServiceProperties 类的新实例。

ServiceProperties(LoggingProperties, MetricsProperties, MetricsProperties, CorsProperties, DeleteRetentionPolicy)

初始化 ServiceProperties 类的新实例。

ServiceProperties(LoggingProperties, MetricsProperties, MetricsProperties, CorsProperties, DeleteRetentionPolicy, StaticWebsiteProperties)

初始化 ServiceProperties 类的新实例。

属性

Cors

获取或设置跨域资源共享 (CORS) 属性。

DefaultServiceVersion

获取或设置默认服务版本。

DeleteRetentionPolicy

获取或设置删除保留策略。

HourMetrics

获取或设置小时度量值属性。

Logging

获取或设置日志记录属性。

MinuteMetrics

获取或设置分钟度量值属性。

StaticWebsite

获取或设置静态网站属性

适用于