RoleAssignment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Role Assignments
public class RoleAssignment
[Microsoft.Rest.Serialization.JsonTransformation]
public class RoleAssignment : Microsoft.Rest.Azure.IResource
type RoleAssignment = class
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RoleAssignment = class
interface IResource
Public Class RoleAssignment
Public Class RoleAssignment
Implements IResource
- Inheritance
-
RoleAssignment
- Attributes
- Implements
Constructors
RoleAssignment() |
Initializes a new instance of the RoleAssignment class. |
RoleAssignment(String, String, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String) |
Initializes a new instance of the RoleAssignment class. |
Properties
Condition |
Gets or sets the conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container' |
ConditionVersion |
Gets or sets version of the condition. Currently accepted value is '2.0' |
CreatedBy |
Gets id of the user who created the assignment |
CreatedOn |
Gets time it was created |
DelegatedManagedIdentityResourceId |
Gets or sets id of the delegated managed identity resource |
Description |
Gets or sets description of role assignment |
Id |
Gets the role assignment ID. |
Name |
Gets the role assignment name. |
PrincipalId |
Gets or sets the principal ID. |
PrincipalType |
Gets or sets the principal type of the assigned principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone' |
Properties |
Optional. Gets or sets role assignment properties. |
RoleDefinitionId |
Gets or sets the role definition ID. |
Scope |
Gets the role assignment scope. |
Type |
Gets the role assignment type. |
UpdatedBy |
Gets id of the user who updated the assignment |
UpdatedOn |
Gets time it was updated |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET