blob: af90ba076057a4202209c03378ecba108e936d55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Code generated by msgraph-generate.go DO NOT EDIT.
package msgraph
// RoleAssignment The Role Assignment resource. Role assignments tie together a role definition with members and scopes. There can be one or more role assignments per role. This applies to custom and built-in roles.
type RoleAssignment struct {
// Entity is the base model of RoleAssignment
Entity
// DisplayName The display or friendly name of the role Assignment.
DisplayName *string `json:"displayName,omitempty"`
// Description Description of the Role Assignment.
Description *string `json:"description,omitempty"`
// ScopeMembers List of ids of role scope member security groups. These are IDs from Azure Active Directory.
ScopeMembers []string `json:"scopeMembers,omitempty"`
// ScopeType Specifies the type of scope for a Role Assignment. Default type 'ResourceScope' allows assignment of ResourceScopes. For 'AllDevices', 'AllLicensedUsers', and 'AllDevicesAndLicensedUsers', the ResourceScopes property should be left empty.
ScopeType *RoleAssignmentScopeType `json:"scopeType,omitempty"`
// ResourceScopes List of ids of role scope member security groups. These are IDs from Azure Active Directory.
ResourceScopes []string `json:"resourceScopes,omitempty"`
// RoleDefinition undocumented
RoleDefinition *RoleDefinition `json:"roleDefinition,omitempty"`
}
|