/
ArmApplicationManagedIdentity.cs
45 lines (39 loc) · 2.42 KB
/
ArmApplicationManagedIdentity.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.Resources.Models
{
/// <summary> Identity for the resource. </summary>
public partial class ArmApplicationManagedIdentity
{
/// <summary> Initializes a new instance of ArmApplicationManagedIdentity. </summary>
public ArmApplicationManagedIdentity()
{
UserAssignedIdentities = new ChangeTrackingDictionary<string, ArmApplicationUserAssignedIdentity>();
}
/// <summary> Initializes a new instance of ArmApplicationManagedIdentity. </summary>
/// <param name="principalId"> The principal ID of resource identity. </param>
/// <param name="tenantId"> The tenant ID of resource. </param>
/// <param name="identityType"> The identity type. </param>
/// <param name="userAssignedIdentities"> The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. </param>
internal ArmApplicationManagedIdentity(Guid? principalId, Guid? tenantId, ArmApplicationManagedIdentityType? identityType, IDictionary<string, ArmApplicationUserAssignedIdentity> userAssignedIdentities)
{
PrincipalId = principalId;
TenantId = tenantId;
IdentityType = identityType;
UserAssignedIdentities = userAssignedIdentities;
}
/// <summary> The principal ID of resource identity. </summary>
public Guid? PrincipalId { get; }
/// <summary> The tenant ID of resource. </summary>
public Guid? TenantId { get; }
/// <summary> The identity type. </summary>
public ArmApplicationManagedIdentityType? IdentityType { get; set; }
/// <summary> The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. </summary>
public IDictionary<string, ArmApplicationUserAssignedIdentity> UserAssignedIdentities { get; }
}
}