-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
PolicyAssignmentProperties.cs
68 lines (62 loc) · 3.43 KB
/
PolicyAssignmentProperties.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Authorization.Models
{
/// <summary> Expanded info of resource scope, role definition and policy. </summary>
public partial class PolicyAssignmentProperties : ResourceData
{
/// <summary> Initializes a new instance of PolicyAssignmentProperties. </summary>
internal PolicyAssignmentProperties()
{
}
/// <summary> Initializes a new instance of PolicyAssignmentProperties. </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="policyId"> Id of the policy. </param>
/// <param name="lastModifiedBy"> The name of the entity last modified it. </param>
/// <param name="lastModifiedOn"> The last modified date time. </param>
/// <param name="roleDefinitionId"> Id of the role definition. </param>
/// <param name="roleDefinitionDisplayName"> Display name of the role definition. </param>
/// <param name="roleType"> The role type. </param>
/// <param name="scopeId"> Scope id of the resource. </param>
/// <param name="scopeDisplayName"> Display name of the resource. </param>
/// <param name="scopeType"> Type of the scope. </param>
internal PolicyAssignmentProperties(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ResourceIdentifier policyId, RoleManagementPrincipal lastModifiedBy, DateTimeOffset? lastModifiedOn, ResourceIdentifier roleDefinitionId, string roleDefinitionDisplayName, AuthorizationRoleType? roleType, ResourceIdentifier scopeId, string scopeDisplayName, RoleManagementScopeType? scopeType) : base(id, name, resourceType, systemData)
{
PolicyId = policyId;
LastModifiedBy = lastModifiedBy;
LastModifiedOn = lastModifiedOn;
RoleDefinitionId = roleDefinitionId;
RoleDefinitionDisplayName = roleDefinitionDisplayName;
RoleType = roleType;
ScopeId = scopeId;
ScopeDisplayName = scopeDisplayName;
ScopeType = scopeType;
}
/// <summary> Id of the policy. </summary>
public ResourceIdentifier PolicyId { get; }
/// <summary> The name of the entity last modified it. </summary>
public RoleManagementPrincipal LastModifiedBy { get; }
/// <summary> The last modified date time. </summary>
public DateTimeOffset? LastModifiedOn { get; }
/// <summary> Id of the role definition. </summary>
public ResourceIdentifier RoleDefinitionId { get; }
/// <summary> Display name of the role definition. </summary>
public string RoleDefinitionDisplayName { get; }
/// <summary> The role type. </summary>
public AuthorizationRoleType? RoleType { get; }
/// <summary> Scope id of the resource. </summary>
public ResourceIdentifier ScopeId { get; }
/// <summary> Display name of the resource. </summary>
public string ScopeDisplayName { get; }
/// <summary> Type of the scope. </summary>
public RoleManagementScopeType? ScopeType { get; }
}
}