88
99from copy import deepcopy
1010from typing import Any , TYPE_CHECKING
11+ from typing_extensions import Self
1112
1213from azure .core .pipeline import policies
1314from azure .core .rest import HttpRequest , HttpResponse
3031 DbSystemShapesOperations ,
3132 DnsPrivateViewsOperations ,
3233 DnsPrivateZonesOperations ,
34+ ExadbVmClustersOperations ,
35+ ExascaleDbNodesOperations ,
36+ ExascaleDbStorageVaultsOperations ,
37+ FlexComponentsOperations ,
38+ GiMinorVersionsOperations ,
3339 GiVersionsOperations ,
3440 Operations ,
3541 OracleSubscriptionsOperations ,
3844)
3945
4046if TYPE_CHECKING :
41- # pylint: disable=unused-import,ungrouped-imports
4247 from azure .core .credentials import TokenCredential
4348
4449
45- class OracleDatabaseMgmtClient : # pylint: disable=client-accepts-api-version-keyword, too-many-instance-attributes
50+ class OracleDatabaseMgmtClient : # pylint: disable=too-many-instance-attributes
4651 """OracleDatabaseMgmtClient.
4752
4853 :ivar operations: Operations operations
@@ -55,6 +60,11 @@ class OracleDatabaseMgmtClient: # pylint: disable=client-accepts-api-version-ke
5560 azure.mgmt.oracledatabase.operations.CloudExadataInfrastructuresOperations
5661 :ivar cloud_vm_clusters: CloudVmClustersOperations operations
5762 :vartype cloud_vm_clusters: azure.mgmt.oracledatabase.operations.CloudVmClustersOperations
63+ :ivar exadb_vm_clusters: ExadbVmClustersOperations operations
64+ :vartype exadb_vm_clusters: azure.mgmt.oracledatabase.operations.ExadbVmClustersOperations
65+ :ivar exascale_db_storage_vaults: ExascaleDbStorageVaultsOperations operations
66+ :vartype exascale_db_storage_vaults:
67+ azure.mgmt.oracledatabase.operations.ExascaleDbStorageVaultsOperations
5868 :ivar autonomous_database_character_sets: AutonomousDatabaseCharacterSetsOperations operations
5969 :vartype autonomous_database_character_sets:
6070 azure.mgmt.oracledatabase.operations.AutonomousDatabaseCharacterSetsOperations
@@ -71,8 +81,12 @@ class OracleDatabaseMgmtClient: # pylint: disable=client-accepts-api-version-ke
7181 :vartype dns_private_views: azure.mgmt.oracledatabase.operations.DnsPrivateViewsOperations
7282 :ivar dns_private_zones: DnsPrivateZonesOperations operations
7383 :vartype dns_private_zones: azure.mgmt.oracledatabase.operations.DnsPrivateZonesOperations
84+ :ivar flex_components: FlexComponentsOperations operations
85+ :vartype flex_components: azure.mgmt.oracledatabase.operations.FlexComponentsOperations
7486 :ivar gi_versions: GiVersionsOperations operations
7587 :vartype gi_versions: azure.mgmt.oracledatabase.operations.GiVersionsOperations
88+ :ivar gi_minor_versions: GiMinorVersionsOperations operations
89+ :vartype gi_minor_versions: azure.mgmt.oracledatabase.operations.GiMinorVersionsOperations
7690 :ivar system_versions: SystemVersionsOperations operations
7791 :vartype system_versions: azure.mgmt.oracledatabase.operations.SystemVersionsOperations
7892 :ivar oracle_subscriptions: OracleSubscriptionsOperations operations
@@ -88,13 +102,15 @@ class OracleDatabaseMgmtClient: # pylint: disable=client-accepts-api-version-ke
88102 :ivar virtual_network_addresses: VirtualNetworkAddressesOperations operations
89103 :vartype virtual_network_addresses:
90104 azure.mgmt.oracledatabase.operations.VirtualNetworkAddressesOperations
105+ :ivar exascale_db_nodes: ExascaleDbNodesOperations operations
106+ :vartype exascale_db_nodes: azure.mgmt.oracledatabase.operations.ExascaleDbNodesOperations
91107 :param credential: Credential needed for the client to connect to Azure. Required.
92108 :type credential: ~azure.core.credentials.TokenCredential
93109 :param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
94110 :type subscription_id: str
95111 :param base_url: Service URL. Default value is "https://management.azure.com".
96112 :type base_url: str
97- :keyword api_version: Api Version. Default value is "2023-09 -01". Note that overriding this
113+ :keyword api_version: Api Version. Default value is "2025-03 -01". Note that overriding this
98114 default value may result in unsupported behavior.
99115 :paramtype api_version: str
100116 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -145,6 +161,12 @@ def __init__(
145161 self .cloud_vm_clusters = CloudVmClustersOperations (
146162 self ._client , self ._config , self ._serialize , self ._deserialize
147163 )
164+ self .exadb_vm_clusters = ExadbVmClustersOperations (
165+ self ._client , self ._config , self ._serialize , self ._deserialize
166+ )
167+ self .exascale_db_storage_vaults = ExascaleDbStorageVaultsOperations (
168+ self ._client , self ._config , self ._serialize , self ._deserialize
169+ )
148170 self .autonomous_database_character_sets = AutonomousDatabaseCharacterSetsOperations (
149171 self ._client , self ._config , self ._serialize , self ._deserialize
150172 )
@@ -161,7 +183,11 @@ def __init__(
161183 self .dns_private_zones = DnsPrivateZonesOperations (
162184 self ._client , self ._config , self ._serialize , self ._deserialize
163185 )
186+ self .flex_components = FlexComponentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
164187 self .gi_versions = GiVersionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
188+ self .gi_minor_versions = GiMinorVersionsOperations (
189+ self ._client , self ._config , self ._serialize , self ._deserialize
190+ )
165191 self .system_versions = SystemVersionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
166192 self .oracle_subscriptions = OracleSubscriptionsOperations (
167193 self ._client , self ._config , self ._serialize , self ._deserialize
@@ -174,6 +200,9 @@ def __init__(
174200 self .virtual_network_addresses = VirtualNetworkAddressesOperations (
175201 self ._client , self ._config , self ._serialize , self ._deserialize
176202 )
203+ self .exascale_db_nodes = ExascaleDbNodesOperations (
204+ self ._client , self ._config , self ._serialize , self ._deserialize
205+ )
177206
178207 def _send_request (self , request : HttpRequest , * , stream : bool = False , ** kwargs : Any ) -> HttpResponse :
179208 """Runs the network request through the client's chained policies.
@@ -200,7 +229,7 @@ def _send_request(self, request: HttpRequest, *, stream: bool = False, **kwargs:
200229 def close (self ) -> None :
201230 self ._client .close ()
202231
203- def __enter__ (self ) -> "OracleDatabaseMgmtClient" :
232+ def __enter__ (self ) -> Self :
204233 self ._client .__enter__ ()
205234 return self
206235
0 commit comments