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

Bump monitor API version #4507

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

AndreiBarbuOz
Copy link

@AndreiBarbuOz AndreiBarbuOz commented Dec 20, 2024

What this PR does

Update the version of the Microsoft.Insights/scheduledQueryRules to catch up with https://learn.microsoft.com/en-us/azure/templates/microsoft.insights/change-log/scheduledqueryrules#2024-01-01-preview

The new version comes with some features, including the addition of a .spec.identity field which allows using an existing user assignment identity when the service executes the query. This was captured in a focused test, which creates the necessary prerequisites before instantiating the object.

How does this PR make you feel?

gif

Checklist

  • this PR contains tests
  • this PR contains YAML Samples

@AndreiBarbuOz AndreiBarbuOz marked this pull request as draft December 20, 2024 16:48
@AndreiBarbuOz AndreiBarbuOz force-pushed the chore/bump-monitor-api-version branch from d13237b to dc357be Compare January 4, 2025 19:37
@AndreiBarbuOz AndreiBarbuOz marked this pull request as ready for review January 4, 2025 21:28
@AndreiBarbuOz
Copy link
Author

@microsoft-github-policy-service agree company="UiPath"

Copy link
Collaborator

@super-harsh super-harsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a few minor comments below.

.golangci.yml Outdated Show resolved Hide resolved
@AndreiBarbuOz AndreiBarbuOz force-pushed the chore/bump-monitor-api-version branch from 771df97 to 7884677 Compare January 7, 2025 04:57
Copy link
Collaborator

@super-harsh super-harsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just a minor thing without which CI won't pass is that you're missing a recording for sample test. You can run TEST_FILTER=Test_Samples_CreationAndDeletion task controller:test-integration-envtest command in root which'll test your latest sample(s) and create a recording.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants