-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DataBoxDiskJobSecrets.cs
46 lines (40 loc) · 2.13 KB
/
DataBoxDiskJobSecrets.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure;
using Azure.Core;
namespace Azure.ResourceManager.DataBox.Models
{
/// <summary> The secrets related to disk job. </summary>
public partial class DataBoxDiskJobSecrets : JobSecrets
{
/// <summary> Initializes a new instance of DataBoxDiskJobSecrets. </summary>
internal DataBoxDiskJobSecrets()
{
DiskSecrets = new ChangeTrackingList<DataBoxDiskSecret>();
JobSecretsType = DataBoxOrderType.DataBoxDisk;
}
/// <summary> Initializes a new instance of DataBoxDiskJobSecrets. </summary>
/// <param name="jobSecretsType"> Used to indicate what type of job secrets object. </param>
/// <param name="dataCenterAccessSecurityCode"> Dc Access Security Code for Customer Managed Shipping. </param>
/// <param name="error"> Error while fetching the secrets. </param>
/// <param name="diskSecrets"> Contains the list of secrets object for that device. </param>
/// <param name="passkey"> PassKey for the disk Job. </param>
/// <param name="isPasskeyUserDefined"> Whether passkey was provided by user. </param>
internal DataBoxDiskJobSecrets(DataBoxOrderType jobSecretsType, DataCenterAccessSecurityCode dataCenterAccessSecurityCode, ResponseError error, IReadOnlyList<DataBoxDiskSecret> diskSecrets, string passkey, bool? isPasskeyUserDefined) : base(jobSecretsType, dataCenterAccessSecurityCode, error)
{
DiskSecrets = diskSecrets;
Passkey = passkey;
IsPasskeyUserDefined = isPasskeyUserDefined;
JobSecretsType = jobSecretsType;
}
/// <summary> Contains the list of secrets object for that device. </summary>
public IReadOnlyList<DataBoxDiskSecret> DiskSecrets { get; }
/// <summary> PassKey for the disk Job. </summary>
public string Passkey { get; }
/// <summary> Whether passkey was provided by user. </summary>
public bool? IsPasskeyUserDefined { get; }
}
}