/
ManagementPolicyVersion.cs
44 lines (39 loc) · 2.19 KB
/
ManagementPolicyVersion.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
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Storage.Models
{
/// <summary> Management policy action for blob version. </summary>
public partial class ManagementPolicyVersion
{
/// <summary> Initializes a new instance of ManagementPolicyVersion. </summary>
public ManagementPolicyVersion()
{
}
/// <summary> Initializes a new instance of ManagementPolicyVersion. </summary>
/// <param name="tierToCool"> The function to tier blob version to cool storage. </param>
/// <param name="tierToArchive"> The function to tier blob version to archive storage. </param>
/// <param name="tierToCold"> The function to tier blobs to cold storage. </param>
/// <param name="tierToHot"> The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts. </param>
/// <param name="delete"> The function to delete the blob version. </param>
internal ManagementPolicyVersion(DateAfterCreation tierToCool, DateAfterCreation tierToArchive, DateAfterCreation tierToCold, DateAfterCreation tierToHot, DateAfterCreation delete)
{
TierToCool = tierToCool;
TierToArchive = tierToArchive;
TierToCold = tierToCold;
TierToHot = tierToHot;
Delete = delete;
}
/// <summary> The function to tier blob version to cool storage. </summary>
public DateAfterCreation TierToCool { get; set; }
/// <summary> The function to tier blob version to archive storage. </summary>
public DateAfterCreation TierToArchive { get; set; }
/// <summary> The function to tier blobs to cold storage. </summary>
public DateAfterCreation TierToCold { get; set; }
/// <summary> The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts. </summary>
public DateAfterCreation TierToHot { get; set; }
/// <summary> The function to delete the blob version. </summary>
public DateAfterCreation Delete { get; set; }
}
}