Dela via


IDefinition Interface

Definition

Container interface for all the definitions that need to be implemented.

public interface IDefinition : Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IBlank, Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate, Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole, Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment>
type IDefinition = interface
    interface IBlank
    interface IWithAssignee
    interface IWithRole
    interface IWithScope
    interface IWithCreate
    interface ICreatable<IRoleAssignment>
    interface IIndexable
Public Interface IDefinition
Implements IBlank, ICreatable(Of IRoleAssignment), IWithCreate, IWithRole, IWithScope
Derived
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
ForGroup(IActiveDirectoryGroup)

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

(Inherited from IWithAssignee)
ForObjectId(String)

Specifies the assignee of the role assignment.

(Inherited from IWithAssignee)
ForServicePrincipal(IServicePrincipal)

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

(Inherited from IWithAssignee)
ForServicePrincipal(String)

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

(Inherited from IWithAssignee)
ForUser(IActiveDirectoryUser)

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

(Inherited from IWithAssignee)
ForUser(String)

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

(Inherited from IWithAssignee)
WithBuiltInRole(BuiltInRole)

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

(Inherited from IWithRole)
WithResourceGroupScope(IResourceGroup)

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

(Inherited from IWithScope)
WithResourceScope(IResource)

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

(Inherited from IWithScope)
WithRoleDefinition(String)

Specifies the ID of the custom role for this assignment.

(Inherited from IWithRole)
WithScope(String)

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

(Inherited from IWithScope)
WithSubscriptionScope(String)

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

(Inherited from IWithScope)

Applies to