-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ImportDiskDetails.cs
54 lines (47 loc) · 2.7 KB
/
ImportDiskDetails.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
45
46
47
48
49
50
51
52
53
54
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.DataBox.Models
{
/// <summary> Import disk details. </summary>
public partial class ImportDiskDetails
{
/// <summary> Initializes a new instance of ImportDiskDetails. </summary>
/// <param name="manifestFile"> The relative path of the manifest file on the disk. </param>
/// <param name="manifestHash"> The Base16-encoded MD5 hash of the manifest file on the disk. </param>
/// <param name="bitLockerKey"> BitLocker key used to encrypt the disk. </param>
/// <exception cref="ArgumentNullException"> <paramref name="manifestFile"/>, <paramref name="manifestHash"/> or <paramref name="bitLockerKey"/> is null. </exception>
public ImportDiskDetails(string manifestFile, string manifestHash, string bitLockerKey)
{
Argument.AssertNotNull(manifestFile, nameof(manifestFile));
Argument.AssertNotNull(manifestHash, nameof(manifestHash));
Argument.AssertNotNull(bitLockerKey, nameof(bitLockerKey));
ManifestFile = manifestFile;
ManifestHash = manifestHash;
BitLockerKey = bitLockerKey;
}
/// <summary> Initializes a new instance of ImportDiskDetails. </summary>
/// <param name="manifestFile"> The relative path of the manifest file on the disk. </param>
/// <param name="manifestHash"> The Base16-encoded MD5 hash of the manifest file on the disk. </param>
/// <param name="bitLockerKey"> BitLocker key used to encrypt the disk. </param>
/// <param name="backupManifestCloudPath"> Path to backed up manifest, only returned if enableManifestBackup is true. </param>
internal ImportDiskDetails(string manifestFile, string manifestHash, string bitLockerKey, string backupManifestCloudPath)
{
ManifestFile = manifestFile;
ManifestHash = manifestHash;
BitLockerKey = bitLockerKey;
BackupManifestCloudPath = backupManifestCloudPath;
}
/// <summary> The relative path of the manifest file on the disk. </summary>
public string ManifestFile { get; set; }
/// <summary> The Base16-encoded MD5 hash of the manifest file on the disk. </summary>
public string ManifestHash { get; set; }
/// <summary> BitLocker key used to encrypt the disk. </summary>
public string BitLockerKey { get; set; }
/// <summary> Path to backed up manifest, only returned if enableManifestBackup is true. </summary>
public string BackupManifestCloudPath { get; }
}
}