Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] Insufficient documentation or examples for resource type policy_assignments #31956

Open
ChenxiJiang333 opened this issue Dec 25, 2024 · 1 comment
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.

Comments

@ChenxiJiang333
Copy link
Member

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:

  1. Operation 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 using policy_assignment.create_by_id.
  2. It seems it's lack of support to simply append or reduce policy assignment parameters values. For now, it only supports totally replacing them.
  3. By using policy_assignment.create_by_id, you need to specify policyDefinitionId, which is not documented required.
@ChenxiJiang333 ChenxiJiang333 added 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. labels Dec 25, 2024
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @darshanhs90, @AshishGargMicrosoft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant