Share via


IWithScope Interface

Definition

The stage of the PolicyAssignment definition allowing to specify scope.

public interface IWithScope
type IWithScope = interface
Public Interface IWithScope
Derived

Methods

ForResource(IGenericResource)

Specifies the scope of PolicyAssignment to be a resource.

ForResourceGroup(IResourceGroup)

Specifies the scope of PolicyAssignment to be a resource group.

ForScope(String)

Specifies the scope of PolicyAssignment.

Applies to