Skip to content

datadog updating version#9341

Closed
jbhanuchand wants to merge 1 commit intoAzure:mainfrom
jbhanuchand:feature-dd
Closed

datadog updating version#9341
jbhanuchand wants to merge 1 commit intoAzure:mainfrom
jbhanuchand:feature-dd

Conversation

@jbhanuchand
Copy link
Copy Markdown
Member


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

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.json automatically.
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.

Copilot AI review requested due to automatic review settings October 28, 2025 12:50
@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Breaking Change Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @jbhanuchand,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@github-actions
Copy link
Copy Markdown
Contributor

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Oct 28, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

Copy link
Copy Markdown
Contributor

Copilot AI left a 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 pull request updates the Datadog Azure CLI extension to version 2.0.1, migrating to API version 2025-06-11 from the previous 2021-03-01/2023-10-20 versions. The update introduces new functionality for subscription status management and monitored subscriptions, while enhancing existing features with additional properties and validation.

Key Changes

  • API version updated from 2021-03-01/2023-10-20 to 2025-06-11 across all Datadog commands
  • Added new subscription-status and monitored-subscription command groups with CRUD operations
  • Enhanced monitor resources with resource collection configuration and billing info retrieval
  • Added agent rules, auto-muting, and custom metrics support to tag rules

Reviewed Changes

Copilot reviewed 41 out of 41 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/datadog/setup.py Incremented extension version from 2.0.0 to 2.0.1
src/datadog/HISTORY.rst Added changelog entry for version 2.0.1 documenting API version update
src/datadog/azext_datadog/aaz/latest/datadog/terms/_list.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/terms/_create.py Updated API version and added datetime format specification for retrieve-datetime parameter
src/datadog/azext_datadog/aaz/latest/datadog/tag_rule/_update.py Added agent rules, auto-muting, and custom metrics properties; updated API version
src/datadog/azext_datadog/aaz/latest/datadog/tag_rule/_show.py Added new tag rule properties and validation patterns for monitor names
src/datadog/azext_datadog/aaz/latest/datadog/tag_rule/_list.py Updated API version and added monitor name validation
src/datadog/azext_datadog/aaz/latest/datadog/tag_rule/_create.py Added agent rules and custom metrics configuration options
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/default/_show.py New command to check subscription monitoring status for Datadog organization
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/default/init.py Module initialization for subscription status default commands
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/default/__cmd_group.py Command group registration for subscription status default operations
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/_list.py New command to list subscription monitoring statuses
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/init.py Module initialization for subscription status commands
src/datadog/azext_datadog/aaz/latest/datadog/subscription_status/__cmd_group.py Command group registration for subscription status operations
src/datadog/azext_datadog/aaz/latest/datadog/sso_config/_wait.py Updated API version and added monitor name validation
src/datadog/azext_datadog/aaz/latest/datadog/sso_config/_update.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/sso_config/_show.py Updated API version and validation patterns
src/datadog/azext_datadog/aaz/latest/datadog/sso_config/_list.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/sso_config/_create.py Updated API version and added name validation
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/_update.py New command for updating monitored subscriptions with comprehensive tag rules support
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/_show.py New command to retrieve monitored subscription configuration
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/_list.py New command to list all monitored subscriptions for a monitor
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/_delete.py New command to delete monitored subscription configurations
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/_create.py New command to create monitored subscription configurations
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/init.py Module initialization for monitored subscription commands
src/datadog/azext_datadog/aaz/latest/datadog/monitor/monitored_subscription/__cmd_group.py Command group registration for monitored subscription operations
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_wait.py Updated API version and added resource collection property
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_update.py Added resource collection configuration option to monitor updates
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_show.py Updated API version and schema to include resource collection
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_set_default_key.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_refresh_set_password_link.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_list_monitored_resource.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_list_linked_resource.py Updated API version and added location field to linked resources
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_list_host.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_list_api_key.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_list.py Updated API version and modified organization properties to non-read-only
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_get_default_key.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_get_billing_info.py New command to retrieve marketplace and organization billing information
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_delete.py Updated API version to 2025-06-11
src/datadog/azext_datadog/aaz/latest/datadog/monitor/_create.py Added resource collection configuration option and updated API version
src/datadog/azext_datadog/aaz/latest/datadog/monitor/init.py Added import for new get-billing-info command

@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank 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

@github-actions
Copy link
Copy Markdown
Contributor

Hi @jbhanuchand

⚠️ Release Requirements

Module: datadog

  • ⚠️ Please update VERSION to be 2.1.0 in src/datadog/setup.py

Notes

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Oct 28, 2025
@yonzhan yonzhan requested review from jsntcy and kairu-ms October 28, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants