-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathManagedIdentity.cs
More file actions
107 lines (96 loc) · 3.14 KB
/
ManagedIdentity.cs
File metadata and controls
107 lines (96 loc) · 3.14 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
using Microsoft.Xrm.Sdk;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Runtime.Serialization;
using Microsoft.Xrm.Sdk.Client;
namespace XrmSync.Dataverse.Context;
/// <summary>
/// <para>Managed Identity for plugin assemblies.</para>
/// <para>Display Name: Managed Identity</para>
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("DataverseProxyGenerator", "4.0.0.21")]
[EntityLogicalName("managedidentity")]
[DebuggerDisplay("{DebuggerDisplay,nq}")]
[DataContract]
#pragma warning disable CS8981 // Allows: Only lowercase characters
public partial class ManagedIdentity : ExtendedEntity
#pragma warning restore CS8981
{
public const string EntityLogicalName = "managedidentity";
public ManagedIdentity() : base(EntityLogicalName) { }
public ManagedIdentity(Guid id) : base(EntityLogicalName, id) { }
private string DebuggerDisplay => GetDebuggerDisplay("name");
[AttributeLogicalName("managedidentityid")]
public override Guid Id
{
get => base.Id;
set => SetId("managedidentityid", value);
}
/// <summary>
/// <para>Display Name: Name</para>
/// </summary>
[AttributeLogicalName("name")]
[DisplayName("Name")]
[MaxLength(256)]
public string Name
{
get => GetAttributeValue<string>("name");
set => SetAttributeValue("name", value);
}
/// <summary>
/// <para>Azure AD application (client) ID.</para>
/// <para>Display Name: Application Id</para>
/// </summary>
[AttributeLogicalName("applicationid")]
[DisplayName("Application Id")]
public Guid? ApplicationId
{
get => GetAttributeValue<Guid?>("applicationid");
set => SetAttributeValue("applicationid", value);
}
/// <summary>
/// <para>Azure AD tenant ID.</para>
/// <para>Display Name: Tenant Id</para>
/// </summary>
[AttributeLogicalName("tenantid")]
[DisplayName("Tenant Id")]
public Guid? TenantId
{
get => GetAttributeValue<Guid?>("tenantid");
set => SetAttributeValue("tenantid", value);
}
/// <summary>
/// <para>Credential source for the managed identity.</para>
/// <para>Display Name: Credential Source</para>
/// </summary>
[AttributeLogicalName("credentialsource")]
[DisplayName("Credential Source")]
public managedidentity_credentialsource? CredentialSource
{
get => this.GetOptionSetValue<managedidentity_credentialsource>("credentialsource");
set => this.SetOptionSetValue("credentialsource", value);
}
/// <summary>
/// <para>Subject scope for the managed identity.</para>
/// <para>Display Name: Subject Scope</para>
/// </summary>
[AttributeLogicalName("subjectscope")]
[DisplayName("Subject Scope")]
public managedidentity_subjectscope? SubjectScope
{
get => this.GetOptionSetValue<managedidentity_subjectscope>("subjectscope");
set => this.SetOptionSetValue("subjectscope", value);
}
/// <summary>
/// <para>Version of the managed identity.</para>
/// <para>Display Name: Managed Identity Version</para>
/// </summary>
[AttributeLogicalName("managedidentityversion")]
[DisplayName("Managed Identity Version")]
public int? ManagedIdentityVersion
{
get => GetAttributeValue<int?>("managedidentityversion");
set => SetAttributeValue("managedidentityversion", value);
}
}