PolicyAssignments Interface
Implements
SupportsGettingById<PolicyAssignment>
SupportsListingByResourceGroup<PolicyAssignment>
SupportsCreating<Blank>
SupportsDeletingById
SupportsListing<PolicyAssignment>
public interface PolicyAssignments
extends SupportsListing<PolicyAssignment>, SupportsListingByResourceGroup<PolicyAssignment>, SupportsGettingById<PolicyAssignment>, SupportsCreating<Blank>, SupportsDeletingById
Entry point to policy assignment management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
com.microsoft.azure.PagedList<Policy |
listByResource(String resourceId)
List policy assignments of the resource. |
Method Details
listByResource
public abstract PagedList
List policy assignments of the resource.
Parameters:
resourceId
- the ID of the resource
Returns:
the list of policy assignments
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java