Skip to content

Commit 1622231

Browse files
author
SDKAuto
committed
CodeGen from PR 34659 in Azure/azure-rest-api-specs
Merge fff39c84516f040d6e6933f4fa4a78607c098bad into 778b6f8c84f4d62e66f054e3876acff30e5bd4f9
1 parent 67455e4 commit 1622231

File tree

195 files changed

+20170
-4601
lines changed

Some content is hidden

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

195 files changed

+20170
-4601
lines changed

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

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

3+
## 2.0.0 (2025-05-13)
4+
5+
### Features Added
6+
7+
- Client `OracleDatabaseMgmtClient` added operation group `exadb_vm_clusters`
8+
- Client `OracleDatabaseMgmtClient` added operation group `exascale_db_storage_vaults`
9+
- Client `OracleDatabaseMgmtClient` added operation group `flex_components`
10+
- Client `OracleDatabaseMgmtClient` added operation group `gi_minor_versions`
11+
- Client `OracleDatabaseMgmtClient` added operation group `exascale_db_nodes`
12+
- Model `AutonomousDatabaseBackupUpdate` added property `id`
13+
- Model `AutonomousDatabaseBackupUpdate` added property `name`
14+
- Model `AutonomousDatabaseBackupUpdate` added property `type`
15+
- Model `AutonomousDatabaseBackupUpdate` added property `system_data`
16+
- Model `AutonomousDatabaseBaseProperties` added property `time_disaster_recovery_role_changed`
17+
- Model `AutonomousDatabaseBaseProperties` added property `remote_disaster_recovery_configuration`
18+
- Model `AutonomousDatabaseCloneProperties` added property `time_disaster_recovery_role_changed`
19+
- Model `AutonomousDatabaseCloneProperties` added property `remote_disaster_recovery_configuration`
20+
- Model `AutonomousDatabaseProperties` added property `time_disaster_recovery_role_changed`
21+
- Model `AutonomousDatabaseProperties` added property `remote_disaster_recovery_configuration`
22+
- Model `CloudExadataInfrastructureProperties` added property `defined_file_system_configuration`
23+
- Model `CloudExadataInfrastructureProperties` added property `database_server_type`
24+
- Model `CloudExadataInfrastructureProperties` added property `storage_server_type`
25+
- Model `CloudExadataInfrastructureProperties` added property `compute_model`
26+
- Model `CloudVmClusterProperties` added property `file_system_configuration_details`
27+
- Model `CloudVmClusterProperties` added property `compute_model`
28+
- Model `CloudVmClusterUpdateProperties` added property `file_system_configuration_details`
29+
- Enum `DataBaseType` added member `CLONE_FROM_BACKUP_TIMESTAMP`
30+
- Enum `DataBaseType` added member `CROSS_REGION_DISASTER_RECOVERY`
31+
- Model `DbServerProperties` added property `compute_model`
32+
- Model `DbSystemShapeProperties` added property `shape_name`
33+
- Model `DbSystemShapeProperties` added property `compute_model`
34+
- Model `DbSystemShapeProperties` added property `are_server_types_supported`
35+
- Model `DbSystemShapeProperties` added property `display_name`
36+
- Model `OracleSubscriptionProperties` added property `azure_subscription_ids`
37+
- Model `OracleSubscriptionProperties` added property `add_subscription_operation_state`
38+
- Model `OracleSubscriptionProperties` added property `last_operation_status_detail`
39+
- Model `PeerDbDetails` added property `peer_db_ocid`
40+
- Model `PeerDbDetails` added property `peer_db_location`
41+
- Added enum `AddSubscriptionOperationState`
42+
- Added model `AutonomousDatabaseCrossRegionDisasterRecoveryProperties`
43+
- Added model `AutonomousDatabaseFromBackupTimestampProperties`
44+
- Added model `AzureSubscriptions`
45+
- Added model `DbActionResponse`
46+
- Added model `DbNodeDetails`
47+
- Added model `DefinedFileSystemConfiguration`
48+
- Added model `DisasterRecoveryConfigurationDetails`
49+
- Added model `ExadbVmCluster`
50+
- Added enum `ExadbVmClusterLifecycleState`
51+
- Added model `ExadbVmClusterListResult`
52+
- Added model `ExadbVmClusterProperties`
53+
- Added model `ExadbVmClusterStorageDetails`
54+
- Added model `ExadbVmClusterUpdate`
55+
- Added model `ExadbVmClusterUpdateProperties`
56+
- Added model `ExascaleDbNode`
57+
- Added model `ExascaleDbNodeListResult`
58+
- Added model `ExascaleDbNodeProperties`
59+
- Added model `ExascaleDbStorageDetails`
60+
- Added model `ExascaleDbStorageInputDetails`
61+
- Added model `ExascaleDbStorageVault`
62+
- Added enum `ExascaleDbStorageVaultLifecycleState`
63+
- Added model `ExascaleDbStorageVaultListResult`
64+
- Added model `ExascaleDbStorageVaultProperties`
65+
- Added model `ExascaleDbStorageVaultTagsUpdate`
66+
- Added model `FileSystemConfigurationDetails`
67+
- Added model `FlexComponent`
68+
- Added model `FlexComponentListResult`
69+
- Added model `FlexComponentProperties`
70+
- Added model `GiMinorVersion`
71+
- Added model `GiMinorVersionListResult`
72+
- Added model `GiMinorVersionProperties`
73+
- Added enum `GridImageType`
74+
- Added enum `HardwareType`
75+
- Added model `RemoveVirtualMachineFromExadbVmClusterDetails`
76+
- Added enum `ShapeFamily`
77+
- Added enum `SystemShapes`
78+
- Model `AutonomousDatabaseBackupsOperations` added method `list_by_parent`
79+
- Model `AutonomousDatabasesOperations` added method `begin_change_disaster_recovery_configuration`
80+
- Model `DbNodesOperations` added method `list_by_parent`
81+
- Model `DbServersOperations` added method `list_by_parent`
82+
- Model `OracleSubscriptionsOperations` added method `begin_add_azure_subscriptions`
83+
- Model `VirtualNetworkAddressesOperations` added method `list_by_parent`
84+
- Added model `ExadbVmClustersOperations`
85+
- Added model `ExascaleDbNodesOperations`
86+
- Added model `ExascaleDbStorageVaultsOperations`
87+
- Added model `FlexComponentsOperations`
88+
- Added model `GiMinorVersionsOperations`
89+
- Method `AutonomousDatabasesOperations.begin_change_disaster_recovery_configuration` has a new overload `def begin_change_disaster_recovery_configuration(self: None, resource_group_name: str, autonomousdatabasename: str, body: DisasterRecoveryConfigurationDetails, content_type: str)`
90+
- Method `AutonomousDatabasesOperations.begin_change_disaster_recovery_configuration` has a new overload `def begin_change_disaster_recovery_configuration(self: None, resource_group_name: str, autonomousdatabasename: str, body: IO[bytes], content_type: str)`
91+
- Method `OracleSubscriptionsOperations.begin_add_azure_subscriptions` has a new overload `def begin_add_azure_subscriptions(self: None, body: AzureSubscriptions, content_type: str)`
92+
- Method `OracleSubscriptionsOperations.begin_add_azure_subscriptions` has a new overload `def begin_add_azure_subscriptions(self: None, body: IO[bytes], content_type: str)`
93+
- Method `ExadbVmClustersOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, exadb_vm_cluster_name: str, resource: ExadbVmCluster, content_type: str)`
94+
- Method `ExadbVmClustersOperations.begin_create_or_update` has a new overload `def begin_create_or_update(self: None, resource_group_name: str, exadb_vm_cluster_name: str, resource: IO[bytes], content_type: str)`
95+
- Method `ExadbVmClustersOperations.begin_remove_vms` has a new overload `def begin_remove_vms(self: None, resource_group_name: str, exadb_vm_cluster_name: str, body: RemoveVirtualMachineFromExadbVmClusterDetails, content_type: str)`
96+
- Method `ExadbVmClustersOperations.begin_remove_vms` has a new overload `def begin_remove_vms(self: None, resource_group_name: str, exadb_vm_cluster_name: str, body: IO[bytes], content_type: str)`
97+
- Method `ExadbVmClustersOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, exadb_vm_cluster_name: str, properties: ExadbVmClusterUpdate, content_type: str)`
98+
- Method `ExadbVmClustersOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, exadb_vm_cluster_name: str, properties: IO[bytes], content_type: str)`
99+
- Method `ExascaleDbNodesOperations.begin_action` has a new overload `def begin_action(self: None, resource_group_name: str, exadb_vm_cluster_name: str, exascale_db_node_name: str, body: DbNodeAction, content_type: str)`
100+
- Method `ExascaleDbNodesOperations.begin_action` has a new overload `def begin_action(self: None, resource_group_name: str, exadb_vm_cluster_name: str, exascale_db_node_name: str, body: IO[bytes], content_type: str)`
101+
- Method `ExascaleDbStorageVaultsOperations.begin_create` has a new overload `def begin_create(self: None, resource_group_name: str, exascale_db_storage_vault_name: str, resource: ExascaleDbStorageVault, content_type: str)`
102+
- Method `ExascaleDbStorageVaultsOperations.begin_create` has a new overload `def begin_create(self: None, resource_group_name: str, exascale_db_storage_vault_name: str, resource: IO[bytes], content_type: str)`
103+
- Method `ExascaleDbStorageVaultsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, exascale_db_storage_vault_name: str, properties: ExascaleDbStorageVaultTagsUpdate, content_type: str)`
104+
- Method `ExascaleDbStorageVaultsOperations.begin_update` has a new overload `def begin_update(self: None, resource_group_name: str, exascale_db_storage_vault_name: str, properties: IO[bytes], content_type: str)`
105+
106+
### Breaking Changes
107+
108+
- Deleted or renamed model `AutonomousDatabaseBackupUpdateProperties`
109+
- Deleted or renamed method `AutonomousDatabaseBackupsOperations.list_by_autonomous_database`
110+
- Deleted or renamed method `DbNodesOperations.list_by_cloud_vm_cluster`
111+
- Deleted or renamed method `DbServersOperations.list_by_cloud_exadata_infrastructure`
112+
- Deleted or renamed method `VirtualNetworkAddressesOperations.list_by_cloud_vm_cluster`
113+
3114
## 1.0.0 (2024-07-04)
4115

5116
### Other Changes

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

Lines changed: 3 additions & 3 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 Oracledatabase 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.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "a83c34348fbd25ad79a05e36816b91da0122b583",
2+
"commit": "b9a8c9e8eb8998a222f126a005d1ab633f1daad9",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.13.19",
6+
"@autorest/python@6.34.1",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/oracle/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.13.19 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/oracle/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.34.1 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/oracle/resource-manager/readme.md"
1111
}

sdk/oracledatabase/azure-mgmt-oracledatabase/azure/mgmt/oracledatabase/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._oracle_database_mgmt_client import OracleDatabaseMgmtClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._oracle_database_mgmt_client import OracleDatabaseMgmtClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"OracleDatabaseMgmtClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

21-
class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for OracleDatabaseMgmtClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
@@ -28,13 +27,13 @@ class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instanc
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
3231
default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2023-09-01")
36+
api_version: str = kwargs.pop("api_version", "2025-03-01")
3837

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

0 commit comments

Comments
 (0)