-
Notifications
You must be signed in to change notification settings - Fork 5.1k
SDK refresh for Dynatrace 2024-04-24 API version #53831
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
Conversation
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
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 refreshes the Dynatrace SDK to support the 2024-04-24 API version, introducing new operations for monitored subscriptions management, agent installation, plan upgrades, and marketplace integration while removing deprecated operations.
Key changes:
- Updates API version from 2021-09-01 to 2024-04-24
- Adds MonitoredSubscriptions operations for subscription-level monitoring configuration
- Introduces agent management, plan upgrade, and marketplace SaaS resource operations
- Removes deprecated operations (TagRules Update, Monitors GetAccountCredentials)
Reviewed Changes
Copilot reviewed 18 out of 83 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| autorest.md | Updates API spec commit reference and adds new rename mappings; removes deprecated mappings and operations |
| GlobalSuppressions.cs | Adds naming suppressions for generated model types matching service contract |
| MonitoredSubscriptionCollectionTests.cs | New test file for monitored subscription operations |
| MonitoredSubscriptionsRestOperations.cs | New REST client for monitored subscription CRUD operations |
| MonitoredSubscriptionPropertyResource.cs | New resource type for managing monitored subscription properties |
| TagRulesRestOperations.cs | Removes Update operation and 200 status code from Delete operation |
| SingleSignOnRestOperations.cs | Updates API version and documentation |
| MonitorsRestOperations.cs | Replaces GetAccountCredentials with ListMonitoredResources; adds new operations for agent management, metrics status, plan upgrade, and marketplace integration |
| Various model files | New models for subscription monitoring, agent actions, marketplace resources, metrics status, and plan upgrades |
| LinkableEnvironmentContent.cs | Changes constructor to require parameters; adds customization file for backward compatibility |
| DynatraceSsoDetailsContent.cs | Changes constructor to require userPrincipal parameter |
| DynatraceMonitorResourceMetricRules.cs | Changes visibility from internal to public and adds SendingMetrics property |
| DynatraceMonitorPatch.cs | Restructures properties using nested MonitorUpdateProperties and adds Identity support |
...ynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/LinkableEnvironmentContent.cs
Show resolved
Hide resolved
...trace/Azure.ResourceManager.Dynatrace/tests/Scenario/MonitoredSubscriptionCollectionTests.cs
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/ApiCompatBaseline.txt
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/GlobalSuppressions.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/api/Azure.ResourceManager.Dynatrace.net8.0.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/DynatraceMonitorResource.cs
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/DynatraceMonitorResource.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/DynatraceMonitorData.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/DynatraceTagRuleData.cs
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/DynatraceMonitorPatch.cs
Show resolved
Hide resolved
...ynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/DynatraceSsoDetailsContent.cs
Show resolved
Hide resolved
...ynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/DynatraceSsoDetailsContent.cs
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/api/Azure.ResourceManager.Dynatrace.net8.0.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/DynatraceMonitorPatch.cs
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/Models/DynatraceMonitorPatch.cs
Outdated
Show resolved
Hide resolved
sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Customized/ArmDynatraceModelFactory.cs
Outdated
Show resolved
Hide resolved
…rmDynatraceModelFactory.cs Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
Co-authored-by: Dapeng Zhang <ufo54153@gmail.com>
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.