Skip to content

[AutoPR azure-mgmt-mongocluster] Add Microsoft.DocumentDB/mongoClusters API verison 2025-04-01-preview #11822

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions sdk/mongocluster/azure-mgmt-mongocluster/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,58 @@
# Release History

## 1.1.0b1 (2025-05-12)

### Features Added

- Client `MongoClusterMgmtClient` added operation group `users`
- Model `MongoClusterProperties` added property `data_api`
- Model `MongoClusterProperties` added property `auth_config`
- Model `MongoClusterUpdateProperties` added property `data_api`
- Model `MongoClusterUpdateProperties` added property `auth_config`
- Model `StorageProperties` added property `type`
- Model `StorageProperties` added property `iops`
- Model `StorageProperties` added property `throughput`
- Added model `AuthConfigProperties`
- Added enum `AuthenticationMode`
- Added enum `DataApiMode`
- Added model `DataApiProperties`
- Added model `DatabaseRole`
- Added model `EntraIdentityProvider`
- Added model `EntraIdentityProviderProperties`
- Added enum `EntraPrincipalType`
- Added model `IdentityProvider`
- Added enum `IdentityProviderType`
- Added enum `StorageType`
- Added model `User`
- Added model `UserProperties`
- Added enum `UserRole`
- Added model `UsersOperations`
- Method `MongoClusterProperties.__init__` has a new overload `def __init__(self: None, create_mode: Optional[Union[str, _models.CreateMode]], restore_parameters: Optional[_models.MongoClusterRestoreParameters], replica_parameters: Optional[_models.MongoClusterReplicaParameters], administrator: Optional[_models.AdministratorProperties], server_version: Optional[str], public_network_access: Optional[Union[str, _models.PublicNetworkAccess]], high_availability: Optional[_models.HighAvailabilityProperties], storage: Optional[_models.StorageProperties], sharding: Optional[_models.ShardingProperties], compute: Optional[_models.ComputeProperties], backup: Optional[_models.BackupProperties], data_api: Optional[_models.DataApiProperties], preview_features: Optional[List[Union[str, _models.PreviewFeature]]], auth_config: Optional[_models.AuthConfigProperties])`
- Method `MongoClusterUpdateProperties.__init__` has a new overload `def __init__(self: None, administrator: Optional[_models.AdministratorProperties], server_version: Optional[str], public_network_access: Optional[Union[str, _models.PublicNetworkAccess]], high_availability: Optional[_models.HighAvailabilityProperties], storage: Optional[_models.StorageProperties], sharding: Optional[_models.ShardingProperties], compute: Optional[_models.ComputeProperties], backup: Optional[_models.BackupProperties], data_api: Optional[_models.DataApiProperties], preview_features: Optional[List[Union[str, _models.PreviewFeature]]], auth_config: Optional[_models.AuthConfigProperties])`
- Method `Operation.__init__` has a new overload `def __init__(self: None, display: Optional[_models.OperationDisplay])`
- Method `StorageProperties.__init__` has a new overload `def __init__(self: None, size_gb: Optional[int], type: Optional[Union[str, _models.StorageType]], iops: Optional[int], throughput: Optional[int])`
- Method `AuthConfigProperties.__init__` has a new overload `def __init__(self: None, allowed_modes: Optional[List[Union[str, _models.AuthenticationMode]]])`
- Method `AuthConfigProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `DataApiProperties.__init__` has a new overload `def __init__(self: None, mode: Optional[Union[str, _models.DataApiMode]])`
- Method `DataApiProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `DatabaseRole.__init__` has a new overload `def __init__(self: None, db: str, role: Union[str, _models.UserRole])`
- Method `DatabaseRole.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, properties: _models.EntraIdentityProviderProperties)`
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, type: str)`
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `EntraIdentityProviderProperties.__init__` has a new overload `def __init__(self: None, principal_type: Union[str, _models.EntraPrincipalType])`
- Method `EntraIdentityProviderProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `IdentityProvider.__init__` has a new overload `def __init__(self: None, type: str)`
- Method `IdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `User.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.UserProperties])`
- Method `User.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `UserProperties.__init__` has a new overload `def __init__(self: None, identity_provider: Optional[_models.IdentityProvider], roles: Optional[List[_models.DatabaseRole]])`
- Method `UserProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
- Method `UsersOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, mongo_cluster_name: str, user_name: str, resource: User, content_type: str)`
- Method `UsersOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, mongo_cluster_name: str, user_name: str, resource: JSON, content_type: str)`
- Method `UsersOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, mongo_cluster_name: str, user_name: str, resource: IO[bytes], content_type: str)`

## 1.0.0 (2024-09-26)

### Features Added
Expand Down
6 changes: 3 additions & 3 deletions sdk/mongocluster/azure-mgmt-mongocluster/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Microsoft Azure SDK for Python

This is the Microsoft Azure Mongocluster Management Client Library.
This package has been tested with Python 3.8+.
This package has been tested with Python 3.9+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_
Expand All @@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For

### Prerequisites

- Python 3.8+ is required to use this package.
- Python 3.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package
Expand All @@ -24,7 +24,7 @@ pip install azure-identity

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
Expand Down
4 changes: 2 additions & 2 deletions sdk/mongocluster/azure-mgmt-mongocluster/_meta.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "f93850874010501f216ceadf19459402efd16d9e",
"commit": "713682507acfafd4e56645790022ae6fd18312f2",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"typespec_src": "specification/mongocluster/DocumentDB.MongoCluster.Management",
"@azure-tools/typespec-python": "0.33.0"
"@azure-tools/typespec-python": "0.44.2"
}
Loading