IWithScope Interface

Definition

The stage of role assignment definition allowing specifying the scope of the assignment.

public interface IWithScope
type IWithScope = interface
Public Interface IWithScope
Derived

Methods

WithResourceGroupScope(IResourceGroup)

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

WithResourceScope(IResource)

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

WithScope(String)

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

WithSubscriptionScope(String)

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

Applies to