diff options
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/RoleAssignmentModel.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/RoleAssignmentModel.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/RoleAssignmentModel.go b/vendor/github.com/yaegashi/msgraph.go/beta/RoleAssignmentModel.go new file mode 100644 index 00000000..af90ba07 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/RoleAssignmentModel.go @@ -0,0 +1,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"` +} |