-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
UserAssignedServiceIdentity.cs
39 lines (33 loc) · 1.86 KB
/
UserAssignedServiceIdentity.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Workloads.Models
{
/// <summary> A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. </summary>
public partial class UserAssignedServiceIdentity
{
/// <summary> Initializes a new instance of <see cref="UserAssignedServiceIdentity"/>. </summary>
/// <param name="managedServiceIdentityType"> Type of manage identity. </param>
public UserAssignedServiceIdentity(ManagedServiceIdentityType managedServiceIdentityType)
{
ManagedServiceIdentityType = managedServiceIdentityType;
UserAssignedIdentities = new ChangeTrackingDictionary<string, UserAssignedIdentity>();
}
/// <summary> Initializes a new instance of <see cref="UserAssignedServiceIdentity"/>. </summary>
/// <param name="managedServiceIdentityType"> Type of manage identity. </param>
/// <param name="userAssignedIdentities"> User assigned identities dictionary. </param>
internal UserAssignedServiceIdentity(ManagedServiceIdentityType managedServiceIdentityType, IDictionary<string, UserAssignedIdentity> userAssignedIdentities)
{
ManagedServiceIdentityType = managedServiceIdentityType;
UserAssignedIdentities = userAssignedIdentities;
}
/// <summary> Type of manage identity. </summary>
public ManagedServiceIdentityType ManagedServiceIdentityType { get; set; }
/// <summary> User assigned identities dictionary. </summary>
public IDictionary<string, UserAssignedIdentity> UserAssignedIdentities { get; }
}
}