-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Datadog update version 2025-06-11 #9352
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
base: main
Are you sure you want to change the base?
Conversation
|
Validation for Breaking Change Starting...
Thanks for your contribution! |
|
Hi @jbhanuchand, |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
|
Hi @jbhanuchand Release SuggestionsModule: datadog
Notes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the Datadog Azure CLI extension from version 2.0.0 to 2.1.0, primarily updating the API version from 2021-03-01/2023-10-20 to 2025-06-11. Key changes include:
- Upgraded API version to 2025-06-11 across all commands
- Added new
monitored-subscriptionandsubscription-statuscommand groups - Enhanced monitor configuration with
resource_collectionproperty - Added
agent_rules,automuting, andcustom_metricsto tag rules - Improved argument validation with pattern matching and length constraints
- Changed sensitive fields from
AAZStrArgtoAAZPasswordArgfor better security - Added
get-billing-infocommand to retrieve marketplace and organization billing information
Reviewed Changes
Copilot reviewed 42 out of 42 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Version bumped from 2.0.0 to 2.1.0 |
| azext_metadata.json | Minimum CLI core version updated to 2.75.0 |
| terms/*.py | API version updated to 2025-06-11, added datetime format and required flag |
| tag_rule/*.py | API version updated, added agent_rules, automuting, and custom_metrics properties |
| sso_config/*.py | API version updated to 2025-06-11 with validation patterns |
| monitor/*.py | API version updated, added resource_collection, removed location from update, changed to AAZPasswordArg |
| subscription_status/*.py | New command group added for subscription status management |
| monitored_subscription/*.py | New command group for managing monitored subscriptions |
| HISTORY.rst | Release notes added for version 2.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 50 out of 50 changed files in this pull request and generated 3 comments.
src/datadog/azext_datadog/tests/latest/test_monitored_subscription.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 50 out of 50 changed files in this pull request and generated 3 comments.
src/datadog/azext_datadog/tests/latest/test_monitored_subscription.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 50 out of 50 changed files in this pull request and generated 3 comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 50 out of 50 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_update.py:1
- The 'location' argument has been removed from the update command. This is a breaking change - if users were previously able to update the location of a monitor resource, they will no longer be able to do so. Ensure this is intentional and documented in release notes, as Azure resources typically don't allow location changes after creation.
# --------------------------------------------------------------------------------------------
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install wheel==0.30.0required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.