Azure / AzOps

AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.
https://aka.ms/AzOps
MIT License
393 stars 164 forks source link

Added additional constructor for AzOpsRoleEligibilityScheduleRequest #902

Open borondy opened 1 month ago

borondy commented 1 month ago

Overview/Summary

Added additional constructor for AzOpsRoleEligibilityScheduleRequest to be able to create RoleEligibilityScheduleRequest template based on the RoleEligibilitySchedule resource without an existing RoleEligibilityScheduleRequest resource. See reasons in #901.

NOTE Having the AdminAssign value burnt in, makes sense in our use case. Not sure if it is generally acceptable however? We skip the deployment of the AzOps Pull generated PRs, so false deployment can't automatically happen. These files are however required for us to be able to update the RoleEligibilityScheduleRequests.

This PR fixes/adds/changes/removes

  1. #901

Breaking Changes

  1. N/A

Testing Evidence

We were able to successfully create RoleEligibilityScheduleRequest templates during our pipeline runs where the actual Request was not found in azure: image

As part of this Pull Request I have