-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
QueueRetentionPolicy.cs
27 lines (23 loc) · 1.16 KB
/
QueueRetentionPolicy.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Storage.Queues.Models
{
/// <summary> the retention policy. </summary>
public partial class QueueRetentionPolicy
{
/// <summary> Initializes a new instance of <see cref="QueueRetentionPolicy"/>. </summary>
/// <param name="enabled"> Indicates whether a retention policy is enabled for the storage service. </param>
/// <param name="days"> Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted. </param>
internal QueueRetentionPolicy(bool enabled, int? days)
{
Enabled = enabled;
Days = days;
}
/// <summary> Indicates whether a retention policy is enabled for the storage service. </summary>
public bool Enabled { get; set; }
/// <summary> Indicates the number of days that metrics or logging or soft-deleted data should be retained. All data older than this value will be deleted. </summary>
public int? Days { get; set; }
}
}