Skip to content

[AutoPR azure-mgmt-oracledatabase] [DNM] Validate typespec-azure#2607 #11878

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
111 changes: 111 additions & 0 deletions sdk/oracledatabase/azure-mgmt-oracledatabase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,116 @@
# Release History

## 2.0.0 (2025-05-13)

### Features Added

- Client `OracleDatabaseMgmtClient` added operation group `exadb_vm_clusters`
- Client `OracleDatabaseMgmtClient` added operation group `exascale_db_storage_vaults`
- Client `OracleDatabaseMgmtClient` added operation group `flex_components`
- Client `OracleDatabaseMgmtClient` added operation group `gi_minor_versions`
- Client `OracleDatabaseMgmtClient` added operation group `exascale_db_nodes`
- Model `AutonomousDatabaseBackupUpdate` added property `id`
- Model `AutonomousDatabaseBackupUpdate` added property `name`
- Model `AutonomousDatabaseBackupUpdate` added property `type`
- Model `AutonomousDatabaseBackupUpdate` added property `system_data`
- Model `AutonomousDatabaseBaseProperties` added property `time_disaster_recovery_role_changed`
- Model `AutonomousDatabaseBaseProperties` added property `remote_disaster_recovery_configuration`
- Model `AutonomousDatabaseCloneProperties` added property `time_disaster_recovery_role_changed`
- Model `AutonomousDatabaseCloneProperties` added property `remote_disaster_recovery_configuration`
- Model `AutonomousDatabaseProperties` added property `time_disaster_recovery_role_changed`
- Model `AutonomousDatabaseProperties` added property `remote_disaster_recovery_configuration`
- Model `CloudExadataInfrastructureProperties` added property `defined_file_system_configuration`
- Model `CloudExadataInfrastructureProperties` added property `database_server_type`
- Model `CloudExadataInfrastructureProperties` added property `storage_server_type`
- Model `CloudExadataInfrastructureProperties` added property `compute_model`
- Model `CloudVmClusterProperties` added property `file_system_configuration_details`
- Model `CloudVmClusterProperties` added property `compute_model`
- Model `CloudVmClusterUpdateProperties` added property `file_system_configuration_details`
- Enum `DataBaseType` added member `CLONE_FROM_BACKUP_TIMESTAMP`
- Enum `DataBaseType` added member `CROSS_REGION_DISASTER_RECOVERY`
- Model `DbServerProperties` added property `compute_model`
- Model `DbSystemShapeProperties` added property `shape_name`
- Model `DbSystemShapeProperties` added property `compute_model`
- Model `DbSystemShapeProperties` added property `are_server_types_supported`
- Model `DbSystemShapeProperties` added property `display_name`
- Model `OracleSubscriptionProperties` added property `azure_subscription_ids`
- Model `OracleSubscriptionProperties` added property `add_subscription_operation_state`
- Model `OracleSubscriptionProperties` added property `last_operation_status_detail`
- Model `PeerDbDetails` added property `peer_db_ocid`
- Model `PeerDbDetails` added property `peer_db_location`
- Added enum `AddSubscriptionOperationState`
- Added model `AutonomousDatabaseCrossRegionDisasterRecoveryProperties`
- Added model `AutonomousDatabaseFromBackupTimestampProperties`
- Added model `AzureSubscriptions`
- Added model `DbActionResponse`
- Added model `DbNodeDetails`
- Added model `DefinedFileSystemConfiguration`
- Added model `DisasterRecoveryConfigurationDetails`
- Added model `ExadbVmCluster`
- Added enum `ExadbVmClusterLifecycleState`
- Added model `ExadbVmClusterListResult`
- Added model `ExadbVmClusterProperties`
- Added model `ExadbVmClusterStorageDetails`
- Added model `ExadbVmClusterUpdate`
- Added model `ExadbVmClusterUpdateProperties`
- Added model `ExascaleDbNode`
- Added model `ExascaleDbNodeListResult`
- Added model `ExascaleDbNodeProperties`
- Added model `ExascaleDbStorageDetails`
- Added model `ExascaleDbStorageInputDetails`
- Added model `ExascaleDbStorageVault`
- Added enum `ExascaleDbStorageVaultLifecycleState`
- Added model `ExascaleDbStorageVaultListResult`
- Added model `ExascaleDbStorageVaultProperties`
- Added model `ExascaleDbStorageVaultTagsUpdate`
- Added model `FileSystemConfigurationDetails`
- Added model `FlexComponent`
- Added model `FlexComponentListResult`
- Added model `FlexComponentProperties`
- Added model `GiMinorVersion`
- Added model `GiMinorVersionListResult`
- Added model `GiMinorVersionProperties`
- Added enum `GridImageType`
- Added enum `HardwareType`
- Added model `RemoveVirtualMachineFromExadbVmClusterDetails`
- Added enum `ShapeFamily`
- Added enum `SystemShapes`
- Model `AutonomousDatabaseBackupsOperations` added method `list_by_parent`
- Model `AutonomousDatabasesOperations` added method `begin_change_disaster_recovery_configuration`
- Model `DbNodesOperations` added method `list_by_parent`
- Model `DbServersOperations` added method `list_by_parent`
- Model `OracleSubscriptionsOperations` added method `begin_add_azure_subscriptions`
- Model `VirtualNetworkAddressesOperations` added method `list_by_parent`
- Added model `ExadbVmClustersOperations`
- Added model `ExascaleDbNodesOperations`
- Added model `ExascaleDbStorageVaultsOperations`
- Added model `FlexComponentsOperations`
- Added model `GiMinorVersionsOperations`
- 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)`
- 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)`
- Method `OracleSubscriptionsOperations.begin_add_azure_subscriptions` has a new overload `def begin_add_azure_subscriptions(self: None, body: AzureSubscriptions, content_type: str)`
- Method `OracleSubscriptionsOperations.begin_add_azure_subscriptions` has a new overload `def begin_add_azure_subscriptions(self: None, body: IO[bytes], content_type: str)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`
- 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)`

### Breaking Changes

- Deleted or renamed model `AutonomousDatabaseBackupUpdateProperties`
- Deleted or renamed method `AutonomousDatabaseBackupsOperations.list_by_autonomous_database`
- Deleted or renamed method `DbNodesOperations.list_by_cloud_vm_cluster`
- Deleted or renamed method `DbServersOperations.list_by_cloud_exadata_infrastructure`
- Deleted or renamed method `VirtualNetworkAddressesOperations.list_by_cloud_vm_cluster`

## 1.0.0 (2024-07-04)

### Other Changes
Expand Down
6 changes: 3 additions & 3 deletions sdk/oracledatabase/azure-mgmt-oracledatabase/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 Oracledatabase 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
6 changes: 3 additions & 3 deletions sdk/oracledatabase/azure-mgmt-oracledatabase/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "a83c34348fbd25ad79a05e36816b91da0122b583",
"commit": "b9a8c9e8eb8998a222f126a005d1ab633f1daad9",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.10.2",
"use": [
"@autorest/python@6.13.19",
"@autorest/python@6.34.1",
"@autorest/[email protected]"
],
"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",
"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",
"readme": "specification/oracle/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,28 @@
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
# pylint: disable=wrong-import-position

from ._oracle_database_mgmt_client import OracleDatabaseMgmtClient
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from ._patch import * # pylint: disable=unused-wildcard-import

from ._oracle_database_mgmt_client import OracleDatabaseMgmtClient # type: ignore
from ._version import VERSION

__version__ = VERSION

try:
from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
from ._patch import *
except ImportError:
_patch_all = []
from ._patch import patch_sdk as _patch_sdk

__all__ = [
"OracleDatabaseMgmtClient",
]
__all__.extend([p for p in _patch_all if p not in __all__])
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore

_patch_sdk()
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
from ._version import VERSION

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


class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instance-attributes
"""Configuration for OracleDatabaseMgmtClient.

Note that all parameters used to create this instance are saved as instance
Expand All @@ -28,13 +27,13 @@ class OracleDatabaseMgmtClientConfiguration: # pylint: disable=too-many-instanc
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
:type subscription_id: str
:keyword api_version: Api Version. Default value is "2023-09-01". Note that overriding this
:keyword api_version: Api Version. Default value is "2025-03-01". Note that overriding this
default value may result in unsupported behavior.
:paramtype api_version: str
"""

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

if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
Expand Down
Loading