[FEATURE REQ] Insufficient documentation or examples for resource type policy_assignments #31956
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
Mgmt
This issue is related to a management-plane library.
Resource Authorization
Service Attention
Workflow: This issue is responsible by Azure service team.
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/resources/resource-manager/Microsoft.Authorization/stable/2025-01-01/policyAssignments.json#L1029
API Spec version
2025-01-01
Please describe the feature.
According to customer report, documentation for resource type policy_assignments could be improved:
policy_assignment.update_by_id
made the most sense from its name to update policy assignment, but it does not support update policy assignment parameters. It could only be done by usingpolicy_assignment.create_by_id
.policy_assignment.create_by_id
, you need to specify policyDefinitionId, which is not documented required.The text was updated successfully, but these errors were encountered: