azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

36 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.resources.PolicyAssignments"
fullName: "com.microsoft.azure.management.resources.PolicyAssignments"
name: "PolicyAssignments"
nameWithType: "PolicyAssignments"
summary: "Entry point to policy assignment management API."
syntax: "public interface **PolicyAssignments**</br> extends <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing&text=SupportsListing\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup&text=SupportsListingByResourceGroup\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment.DefinitionStages.Blank?alt=com.microsoft.azure.management.resources.PolicyAssignment.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />"
methods:
- uid: "com.microsoft.azure.management.resources.PolicyAssignments.listByResource(java.lang.String)"
fullName: "com.microsoft.azure.management.resources.PolicyAssignments.listByResource(String resourceId)"
name: "listByResource(String resourceId)"
nameWithType: "PolicyAssignments.listByResource(String resourceId)"
summary: "List policy assignments of the resource."
modifiers:
- "abstract"
parameters:
- description: "the ID of the resource"
name: "resourceId"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract PagedList<PolicyAssignment> listByResource(String resourceId)"
desc: "List policy assignments of the resource."
returns:
description: "the list of policy assignments"
type: "<xref href=\"com.microsoft.azure.PagedList?alt=com.microsoft.azure.PagedList&text=PagedList\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Entry point to policy assignment management API."
implements:
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup?alt=com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsListingByResourceGroup&text=SupportsListingByResourceGroup\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment.DefinitionStages.Blank?alt=com.microsoft.azure.management.resources.PolicyAssignment.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing?alt=com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing&text=SupportsListing\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.resources.PolicyAssignment?alt=com.microsoft.azure.management.resources.PolicyAssignment&text=PolicyAssignment\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.microsoft.azure.management.resources"
artifact: com.microsoft.azure:azure-mgmt-resources:1.41.4