Skip to content

Commit ee22225

Browse files
author
SDKAuto
committed
CodeGen from PR 34580 in Azure/azure-rest-api-specs
Merge 31e96730779f83e2db3d4ebea68e9a441fe59311 into e489de297e262f087de27000a48dd69417e345a4
1 parent 9fe57d9 commit ee22225

File tree

65 files changed

+3254
-969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3254
-969
lines changed

sdk/mongocluster/azure-mgmt-mongocluster/CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# Release History
22

3+
## 1.1.0b1 (2025-05-12)
4+
5+
### Features Added
6+
7+
- Client `MongoClusterMgmtClient` added operation group `users`
8+
- Model `MongoClusterProperties` added property `data_api`
9+
- Model `MongoClusterProperties` added property `auth_config`
10+
- Model `MongoClusterUpdateProperties` added property `data_api`
11+
- Model `MongoClusterUpdateProperties` added property `auth_config`
12+
- Model `StorageProperties` added property `type`
13+
- Model `StorageProperties` added property `iops`
14+
- Model `StorageProperties` added property `throughput`
15+
- Added model `AuthConfigProperties`
16+
- Added enum `AuthenticationMode`
17+
- Added enum `DataApiMode`
18+
- Added model `DataApiProperties`
19+
- Added model `DatabaseRole`
20+
- Added model `EntraIdentityProvider`
21+
- Added model `EntraIdentityProviderProperties`
22+
- Added enum `EntraPrincipalType`
23+
- Added model `IdentityProvider`
24+
- Added enum `IdentityProviderType`
25+
- Added enum `StorageType`
26+
- Added model `User`
27+
- Added model `UserProperties`
28+
- Added enum `UserRole`
29+
- Added model `UsersOperations`
30+
- 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])`
31+
- 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])`
32+
- Method `Operation.__init__` has a new overload `def __init__(self: None, display: Optional[_models.OperationDisplay])`
33+
- 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])`
34+
- Method `AuthConfigProperties.__init__` has a new overload `def __init__(self: None, allowed_modes: Optional[List[Union[str, _models.AuthenticationMode]]])`
35+
- Method `AuthConfigProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
36+
- Method `DataApiProperties.__init__` has a new overload `def __init__(self: None, mode: Optional[Union[str, _models.DataApiMode]])`
37+
- Method `DataApiProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
38+
- Method `DatabaseRole.__init__` has a new overload `def __init__(self: None, db: str, role: Union[str, _models.UserRole])`
39+
- Method `DatabaseRole.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
40+
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, properties: _models.EntraIdentityProviderProperties)`
41+
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
42+
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, type: str)`
43+
- Method `EntraIdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
44+
- Method `EntraIdentityProviderProperties.__init__` has a new overload `def __init__(self: None, principal_type: Union[str, _models.EntraPrincipalType])`
45+
- Method `EntraIdentityProviderProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
46+
- Method `IdentityProvider.__init__` has a new overload `def __init__(self: None, type: str)`
47+
- Method `IdentityProvider.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
48+
- Method `User.__init__` has a new overload `def __init__(self: None, properties: Optional[_models.UserProperties])`
49+
- Method `User.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
50+
- Method `UserProperties.__init__` has a new overload `def __init__(self: None, identity_provider: Optional[_models.IdentityProvider], roles: Optional[List[_models.DatabaseRole]])`
51+
- Method `UserProperties.__init__` has a new overload `def __init__(self: None, mapping: Mapping[str, Any])`
52+
- 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)`
53+
- 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)`
54+
- 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)`
55+
356
## 1.0.0 (2024-09-26)
457

558
### Features Added

sdk/mongocluster/azure-mgmt-mongocluster/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

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

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

1313
### Prerequisites
1414

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

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

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

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "f93850874010501f216ceadf19459402efd16d9e",
2+
"commit": "713682507acfafd4e56645790022ae6fd18312f2",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/mongocluster/DocumentDB.MongoCluster.Management",
5-
"@azure-tools/typespec-python": "0.33.0"
5+
"@azure-tools/typespec-python": "0.44.2"
66
}

0 commit comments

Comments
 (0)