-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[AutoPR azure-resourcemanager-mongocluster]-generated-from-SDK Generation - Java-5092518 #46032
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
[AutoPR azure-resourcemanager-mongocluster]-generated-from-SDK Generation - Java-5092518 #46032
Conversation
…anagement/tspconfig.yaml', API Version: 2025-07-01-preview, SDK Release Type: beta, and CommitSHA: 'd87bb60b4d37394472fd03c39b26f29baac130bf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'
API Change CheckAPIView identified API level changes in this PR and created the following API reviews com.azure.resourcemanager:azure-resourcemanager-mongocluster |
@@ -1,19 +1,24 @@ | |||
# Release History | |||
|
|||
## 1.1.0-beta.1 (2025-06-04) | |||
## 1.1.0-beta.1 (2025-07-16) |
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.
The beta version was not auto-incremented - is this expected?
Or is there some other reason this is modifying in place?
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 pull request updates the Azure Resource Manager Mongo Cluster client library from API version 2025-04-01-preview to 2025-07-01-preview. The primary purpose is to add support for Customer Managed Key (CMK) encryption and managed service identity features for Azure Cosmos DB for MongoDB vCore clusters.
- Added comprehensive managed service identity support including system-assigned and user-assigned identities
- Introduced customer managed key encryption capabilities with Key Vault integration
- Updated UserRole enum to change from DATABASE_OWNER to ROOT permissions
Reviewed Changes
Copilot reviewed 21 out of 79 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
tsp-location.yaml | Updated commit reference to latest API specification |
azure-resourcemanager-mongocluster_metadata.json | Updated API version and added new model mappings for encryption and identity |
azure-resourcemanager-mongocluster_apiview_properties.json | Added new model cross-language definitions for CMK and identity features |
UserRole.java | Changed role constant from DATABASE_OWNER to ROOT with updated documentation |
UserAssignedIdentity.java | New model for user-assigned identity properties |
MongoClusterUpdate.java | Added identity property support for cluster updates |
MongoClusterProperties.java | Added encryption property for CMK configuration |
MongoCluster.java | Added identity property and fluent interface support |
ManagedServiceIdentityType.java | New enum for identity types (None, SystemAssigned, UserAssigned, etc.) |
ManagedServiceIdentity.java | New model for managed service identity configuration |
KeyEncryptionKeyIdentityType.java | New enum for key encryption identity types |
KeyEncryptionKeyIdentity.java | New model for key encryption key identity configuration |
EncryptionProperties.java | New model for encryption configuration settings |
CustomerManagedKeyEncryptionProperties.java | New model for customer managed key encryption settings |
MongoClusterManagementClientImpl.java | Updated API version string to 2025-07-01-preview |
MongoClusterImpl.java | Added identity support in implementation |
MongoClusterInner.java | Added identity field and JSON serialization support |
pom.xml | Updated package description with new API version |
SAMPLE.md | Updated all sample file references and added new CMK encryption examples |
README.md | Updated API version in package description |
CHANGELOG.md | Added comprehensive feature list for new encryption and identity capabilities |
@@ -12,9 +12,9 @@ | |||
*/ | |||
public final class UserRole extends ExpandableStringEnum<UserRole> { | |||
/** | |||
* Datbase owner role permissions on the target scope. | |||
* Root role permissions on the target scope. |
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.
The comment contains a grammatical error. It should read "Root role permissions on the target scope" or "Root role permissions for the target scope" instead of "Root role permissions on the target scope."
Copilot uses AI. Check for mistakes.
Configurations: 'specification/mongocluster/DocumentDB.MongoCluster.Management/tspconfig.yaml', API Version: 2025-07-01-preview, SDK Release Type: beta, and CommitSHA: 'd87bb60b4d37394472fd03c39b26f29baac130bf' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'