Interface PolicyAssignments
- All Superinterfaces:
SupportsCreating<PolicyAssignment.DefinitionStages.Blank>, SupportsDeletingById, SupportsGettingById<PolicyAssignment>, SupportsListing<PolicyAssignment>, SupportsListingByResourceGroup<PolicyAssignment>
public interface PolicyAssignments
extends SupportsListing<PolicyAssignment>, SupportsListingByResourceGroup<PolicyAssignment>, SupportsGettingById<PolicyAssignment>, SupportsCreating<PolicyAssignment.DefinitionStages.Blank>, SupportsDeletingById
Entry point to policy assignment management API.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<PolicyAssignment> listByResource(String resourceId) List policy assignments of the resource.Methods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsyncMethods inherited from interface SupportsListing
list, listAsyncMethods inherited from interface SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
listByResource
List policy assignments of the resource.- Parameters:
resourceId- the ID of the resource- Returns:
- the list of policy assignments
-