<PackageReference Include="Microsoft.Azure.Storage.Common" Version="11.2.2" />

Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties

public sealed class ServiceProperties
Class representing a set of properties pertaining to a cloud storage service.
public CorsProperties Cors { get; set; }

Gets or sets the Cross Origin Resource Sharing (CORS) properties.

public string DefaultServiceVersion { get; set; }

Gets or sets the default service version.

Gets or sets the delete retention policy.

public MetricsProperties HourMetrics { get; set; }

Gets or sets the hour metrics properties.

public LoggingProperties Logging { get; set; }

Gets or sets the logging properties.

public MetricsProperties MinuteMetrics { get; set; }

Gets or sets the minute metrics properties.

Gets or sets the Static Website properties

Initializes a new instance of the ServiceProperties class.

public ServiceProperties(LoggingProperties logging = null, MetricsProperties hourMetrics = null, MetricsProperties minuteMetrics = null, CorsProperties cors = null, DeleteRetentionPolicy deleteRetentionPolicy = null)

Initializes a new instance of the ServiceProperties class.

public ServiceProperties(LoggingProperties logging, MetricsProperties hourMetrics, MetricsProperties minuteMetrics, CorsProperties cors, DeleteRetentionPolicy deleteRetentionPolicy, StaticWebsiteProperties staticWebsite = null)

Initializes a new instance of the ServiceProperties class.