-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
BlobMetrics.cs
33 lines (29 loc) · 1.59 KB
/
BlobMetrics.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Storage.Blobs.Models
{
/// <summary> a summary of request statistics grouped by API in hour or minute aggregates for blobs. </summary>
public partial class BlobMetrics
{
/// <summary> Initializes a new instance of <see cref="BlobMetrics"/>. </summary>
/// <param name="version"> The version of Storage Analytics to configure. </param>
/// <param name="enabled"> Indicates whether metrics are enabled for the Blob service. </param>
/// <param name="includeApis"> Indicates whether metrics should generate summary statistics for called API operations. </param>
/// <param name="retentionPolicy"> the retention policy which determines how long the associated data should persist. </param>
internal BlobMetrics(string version, bool enabled, bool? includeApis, BlobRetentionPolicy retentionPolicy)
{
Version = version;
Enabled = enabled;
IncludeApis = includeApis;
RetentionPolicy = retentionPolicy;
}
/// <summary> The version of Storage Analytics to configure. </summary>
public string Version { get; set; }
/// <summary> Indicates whether metrics are enabled for the Blob service. </summary>
public bool Enabled { get; set; }
/// <summary> the retention policy which determines how long the associated data should persist. </summary>
public BlobRetentionPolicy RetentionPolicy { get; set; }
}
}