Datadog update version 2025-06-11#9352
Datadog update version 2025-06-11#9352kairu-ms merged 13 commits intoAzure:mainfrom jbhanuchand:feature-dd-v2
Conversation
❌Azure CLI Extensions Breaking Change Test
|
|
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 |
|
There was a problem hiding this comment.
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.
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.
# --------------------------------------------------------------------------------------------
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
@kairu-ms can you please review, please let me know if anything else needed. |
|
/azp run |
|
Commenter does not have sufficient privileges for PR 9352 in repo Azure/azure-cli-extensions |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ datadog-3.0.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=143184722&view=results |
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.