-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MecRole.cs
51 lines (45 loc) · 2.17 KB
/
MecRole.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.DataBoxEdge;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.DataBoxEdge.Models
{
/// <summary> MEC role. </summary>
public partial class MecRole : DataBoxEdgeRoleData
{
/// <summary> Initializes a new instance of MecRole. </summary>
public MecRole()
{
Kind = DataBoxEdgeRoleType.Mec;
}
/// <summary> Initializes a new instance of MecRole. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="kind"> Role type. </param>
/// <param name="connectionString"> Activation key of the MEC. </param>
/// <param name="controllerEndpoint"> Controller Endpoint. </param>
/// <param name="resourceUniqueId"> Unique Id of the Resource. </param>
/// <param name="roleStatus"> Role status. </param>
internal MecRole(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DataBoxEdgeRoleType kind, AsymmetricEncryptedSecret connectionString, string controllerEndpoint, string resourceUniqueId, DataBoxEdgeRoleStatus? roleStatus) : base(id, name, resourceType, systemData, kind)
{
ConnectionString = connectionString;
ControllerEndpoint = controllerEndpoint;
ResourceUniqueId = resourceUniqueId;
RoleStatus = roleStatus;
Kind = kind;
}
/// <summary> Activation key of the MEC. </summary>
public AsymmetricEncryptedSecret ConnectionString { get; set; }
/// <summary> Controller Endpoint. </summary>
public string ControllerEndpoint { get; set; }
/// <summary> Unique Id of the Resource. </summary>
public string ResourceUniqueId { get; set; }
/// <summary> Role status. </summary>
public DataBoxEdgeRoleStatus? RoleStatus { get; set; }
}
}