Skip to content

Commit fb275f9

Browse files
[AutoPR azure-mgmt-mongocluster]-generated-from-SDK Generation - Python-6240122 (#46669)
* Configurations: 'specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml', and CommitSHA: 'b0a55df5d0486a2faa05a3c93b2b90da6cce081b' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6240122 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. * update * update * update --------- Co-authored-by: Chenxi Jiang (WICRESOFT NORTH AMERICA LTD) <v-chenjiang@microsoft.com> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent a03b43b commit fb275f9

70 files changed

Lines changed: 971 additions & 292 deletions

File tree

Some content is hidden

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

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Release History
22

3+
## 1.2.0b1 (2026-05-01)
4+
5+
### Features Added
6+
7+
- Model `MongoClusterProperties` added property `network_bypass_mode`
8+
- Model `MongoClusterUpdateProperties` added property `network_bypass_mode`
9+
- Added enum `NetworkBypassMode`
10+
311
## 1.1.0 (2025-10-15)
412

513
### Features Added

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

Lines changed: 2 additions & 2 deletions
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.9+.
4+
This package has been tested with Python 3.10+.
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.9+ is required to use this package.
15+
- Python 3.10+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
2-
"apiVersion": "2025-09-01",
3-
"commit": "c5601446fc65494f18157aecbcc79cebcfbab1fb",
2+
"apiVersion": "2026-02-01-preview",
3+
"apiVersions": {
4+
"Microsoft.DocumentDB": "2026-02-01-preview"
5+
},
6+
"commit": "b0a55df5d0486a2faa05a3c93b2b90da6cce081b",
47
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
58
"typespec_src": "specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster",
6-
"emitterVersion": "0.52.1"
9+
"emitterVersion": "0.61.3"
710
}

sdk/mongocluster/azure-mgmt-mongocluster/apiview-properties.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"azure.mgmt.mongocluster.models.ReplicationState": "Microsoft.DocumentDB.ReplicationState",
6969
"azure.mgmt.mongocluster.models.AuthenticationMode": "Microsoft.DocumentDB.AuthenticationMode",
7070
"azure.mgmt.mongocluster.models.KeyEncryptionKeyIdentityType": "Microsoft.DocumentDB.KeyEncryptionKeyIdentityType",
71+
"azure.mgmt.mongocluster.models.NetworkBypassMode": "Microsoft.DocumentDB.NetworkBypassMode",
7172
"azure.mgmt.mongocluster.models.ManagedServiceIdentityType": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
7273
"azure.mgmt.mongocluster.models.CheckNameAvailabilityReason": "Azure.ResourceManager.CommonTypes.CheckNameAvailabilityReason",
7374
"azure.mgmt.mongocluster.models.PromoteOption": "Microsoft.DocumentDB.PromoteOption",

sdk/mongocluster/azure-mgmt-mongocluster/azure/mgmt/mongocluster/_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ class MongoClusterMgmtClient: # pylint: disable=too-many-instance-attributes
6262
:keyword cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
6363
None.
6464
:paramtype cloud_setting: ~azure.core.AzureClouds
65-
:keyword api_version: The API version to use for this operation. Default value is "2025-09-01".
66-
Note that overriding this default value may result in unsupported behavior.
65+
:keyword api_version: The API version to use for this operation. Known values are
66+
"2026-02-01-preview". Default value is "2026-02-01-preview". Note that overriding this default
67+
value may result in unsupported behavior.
6768
:paramtype api_version: str
6869
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
6970
Retry-After header is present.

sdk/mongocluster/azure-mgmt-mongocluster/azure/mgmt/mongocluster/_configuration.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ class MongoClusterMgmtClientConfiguration: # pylint: disable=too-many-instance-
3333
:param cloud_setting: The cloud setting for which to get the ARM endpoint. Default value is
3434
None.
3535
:type cloud_setting: ~azure.core.AzureClouds
36-
:keyword api_version: The API version to use for this operation. Default value is "2025-09-01".
37-
Note that overriding this default value may result in unsupported behavior.
36+
:keyword api_version: The API version to use for this operation. Known values are
37+
"2026-02-01-preview". Default value is "2026-02-01-preview". Note that overriding this default
38+
value may result in unsupported behavior.
3839
:paramtype api_version: str
3940
"""
4041

@@ -46,7 +47,7 @@ def __init__(
4647
cloud_setting: Optional["AzureClouds"] = None,
4748
**kwargs: Any
4849
) -> None:
49-
api_version: str = kwargs.pop("api_version", "2025-09-01")
50+
api_version: str = kwargs.pop("api_version", "2026-02-01-preview")
5051

5152
if credential is None:
5253
raise ValueError("Parameter 'credential' must not be None.")

sdk/mongocluster/azure-mgmt-mongocluster/azure/mgmt/mongocluster/_patch.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
99
"""
1010

11-
1211
__all__: list[str] = [] # Add all objects you want publicly available to users at this package level
1312

1413

0 commit comments

Comments
 (0)