-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ShareMetrics.cs
36 lines (31 loc) · 1.48 KB
/
ShareMetrics.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
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Storage.Common;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary> Storage Analytics metrics for file service. </summary>
public partial class ShareMetrics
{
/// <summary> Initializes a new instance of <see cref="ShareMetrics"/>. </summary>
/// <param name="version"> The version of Storage Analytics to configure. </param>
/// <param name="enabled"> Indicates whether metrics are enabled for the File service. </param>
/// <param name="includeApis"> Indicates whether metrics should generate summary statistics for called API operations. </param>
/// <param name="retentionPolicy"> The retention policy. </param>
internal ShareMetrics(string version, bool enabled, bool? includeApis, ShareRetentionPolicy 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 File service. </summary>
public bool Enabled { get; set; }
/// <summary> The retention policy. </summary>
public ShareRetentionPolicy RetentionPolicy { get; set; }
}
}