你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
Paged |
listByResource(String resourceId)
List policy assignments of the resource. |
Method Details
listByResource
public abstract PagedIterable
List policy assignments of the resource.
Parameters:
resourceId
- the ID of the resource
Returns:
the list of policy assignments