Share via


RoleAssignmentImpl Class

Definition

Implementation for ServicePrincipal and its parent interfaces.

public class RoleAssignmentImpl : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.Creatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment,Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentInner,Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentImpl,Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment, Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IDefinition, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleAssignmentInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Graph.RBAC.Fluent.GraphRbacManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment>
type RoleAssignmentImpl = class
    inherit Creatable<IRoleAssignment, RoleAssignmentInner, RoleAssignmentImpl, IRoleAssignment>
    interface IRoleAssignment
    interface IBeta
    interface IIndexable
    interface IHasInner<RoleAssignmentInner>
    interface IHasId
    interface IHasName
    interface IHasManager<GraphRbacManager>
    interface IDefinition
    interface IBlank
    interface IWithAssignee
    interface IWithRole
    interface IWithScope
    interface IWithCreate
    interface ICreatable<IRoleAssignment>
Public Class RoleAssignmentImpl
Inherits Creatable(Of IRoleAssignment, RoleAssignmentInner, RoleAssignmentImpl, IRoleAssignment)
Implements IBeta, ICreatable(Of IRoleAssignment), IDefinition, IHasId, IHasInner(Of RoleAssignmentInner), IHasManager(Of GraphRbacManager), IHasName, IRoleAssignment
Inheritance
Implements

Properties

CreatorTaskGroup (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Inner (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key (Inherited from Indexable)
Name (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)

Methods

AddCreatableDependency(IResourceCreator<IResourceT>) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Create() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateAsync(CancellationToken, Boolean) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreatedResource(String) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResourceAsync(CancellationToken)
ForGroup(IActiveDirectoryGroup)
ForObjectId(String)
ForServicePrincipal(IServicePrincipal)
ForServicePrincipal(String)
ForUser(IActiveDirectoryUser)
ForUser(String)
GetInnerAsync(CancellationToken)
Id()
IsInCreateMode()
Manager()
PrincipalId()
Refresh() (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RoleDefinitionId()
Scope()
SetInner(InnerResourceT) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
WithBuiltInRole(BuiltInRole)
WithResourceGroupScope(IResourceGroup)
WithResourceScope(IResource)
WithRoleDefinition(String)
WithScope(String)
WithSubscriptionScope(String)

Explicit Interface Implementations

IHasId.Id
IHasManager<GraphRbacManager>.Manager
IResourceCreator<IResourceT>.CreateResource() (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken) (Inherited from Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IRoleAssignment.PrincipalId

Gets the principal ID.

IRoleAssignment.RoleDefinitionId

Gets the role definition ID.

IRoleAssignment.Scope

Gets the role assignment scope.

IWithAssignee.ForGroup(IActiveDirectoryGroup)

Specifies the assignee of the role assignment to be a group.

IWithAssignee.ForObjectId(String)

Specifies the assignee of the role assignment.

IWithAssignee.ForServicePrincipal(IServicePrincipal)

Specifies the assignee of the role assignment to be a service principal.

IWithAssignee.ForServicePrincipal(String)

Specifies the assignee of the role assignment to be a service principal.

IWithAssignee.ForUser(IActiveDirectoryUser)

Specifies the assignee of the role assignment to be a user.

IWithAssignee.ForUser(String)

Specifies the assignee of the role assignment to be a user.

IWithRole.WithBuiltInRole(BuiltInRole)

Specifies the name of a built in role for this assignment.

IWithRole.WithRoleDefinition(String)

Specifies the ID of the custom role for this assignment.

IWithScope.WithResourceGroupScope(IResourceGroup)

Specifies the scope of the role assignment to be a resource group.

IWithScope.WithResourceScope(IResource)

Specifies the scope of the role assignment to be a specific resource.

IWithScope.WithScope(String)

Specifies the scope of the role assignment. The scope is usually the ID of a subscription, a resource group, a resource, etc.

IWithScope.WithSubscriptionScope(String)

Specifies the scope of the role assignment to be an entire subscription.

Applies to