PolicyAssignments Interface
public interface PolicyAssignments extends SupportsListing,SupportsListingByResourceGroup,SupportsGettingById,SupportsCreating<PolicyAssignment.DefinitionStages.Blank>,SupportsDeletingById
Entry point to policy assignment management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
PagedList<Policy |
listByResource(final String resourceId)
List policy assignments of the resource. |
Inherited Members
SupportsCreating<T>.define(String name)
SupportsDeletingById.deleteById(String id)
SupportsDeletingById.deleteByIdAsync(String id, ServiceCallback<Void> callback)
SupportsDeletingById.deleteByIdAsync(String id)
SupportsGettingById<T>.getById(String id)
SupportsGettingById<T>.getByIdAsync(String id)
SupportsGettingById<T>.getByIdAsync(String id, ServiceCallback<T> callback)
SupportsListing<T>.list()
SupportsListing<T>.listAsync()
SupportsListingByResourceGroup<T>.listByResourceGroup(String resourceGroupName)
SupportsListingByResourceGroup<T>.listByResourceGroupAsync(String resourceGroupName)
Method Details
listByResource
public PagedList
List policy assignments of the resource.
Parameters:
resourceId
- the ID of the resource
Returns:
the list of policy assignments
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java