diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt
index 6bf7c0b885b3..6ed4c83cd344 100644
--- a/eng/versioning/version_client.txt
+++ b/eng/versioning/version_client.txt
@@ -453,7 +453,7 @@ com.azure.resourcemanager:azure-resourcemanager-deviceregistry;1.0.0;1.1.0-beta.
com.azure.resourcemanager:azure-resourcemanager-standbypool;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-edgezones;1.0.0-beta.2;1.0.0-beta.3
com.azure.resourcemanager:azure-resourcemanager-devopsinfrastructure;1.0.0;1.1.0-beta.1
-com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.0.0;1.1.0-beta.1
+com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.0.0;1.1.0
com.azure.resourcemanager:azure-resourcemanager-informaticadatamanagement;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-mongocluster;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-computefleet;1.0.0;1.1.0-beta.1
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/CHANGELOG.md b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/CHANGELOG.md
index a06f079f8052..1c63f88f2d7a 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/CHANGELOG.md
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/CHANGELOG.md
@@ -1,14 +1,471 @@
# Release History
-## 1.1.0-beta.1 (Unreleased)
+## 1.1.0 (2025-06-04)
-### Features Added
+- Azure Resource Manager Oracle Database client library for Java. This package contains Microsoft Azure SDK for Oracle Database Management SDK. Package api-version 2025-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
### Breaking Changes
-### Bugs Fixed
+#### `models.DnsPrivateZoneListResult` was removed
+
+#### `models.GiVersionListResult` was removed
+
+#### `models.VirtualNetworkAddressListResult` was removed
+
+#### `models.DbServerListResult` was removed
+
+#### `models.AutonomousDbVersionListResult` was removed
+
+#### `models.SystemVersionListResult` was removed
+
+#### `models.AutonomousDatabaseListResult` was removed
+
+#### `models.DbNodeListResult` was removed
+
+#### `models.DnsPrivateViewListResult` was removed
+
+#### `models.AutonomousDatabaseCharacterSetListResult` was removed
+
+#### `models.AutonomousDatabaseBackupListResult` was removed
+
+#### `models.DbSystemShapeListResult` was removed
+
+#### `models.CloudVmClusterListResult` was removed
+
+#### `models.AutonomousDatabaseNationalCharacterSetListResult` was removed
+
+#### `models.OperationListResult` was removed
+
+#### `models.OracleSubscriptionListResult` was removed
+
+#### `models.CloudExadataInfrastructureListResult` was removed
+
+#### `models.AllConnectionStringType` was modified
+
+* `withHigh(java.lang.String)` was removed
+* `withLow(java.lang.String)` was removed
+* `withMedium(java.lang.String)` was removed
+
+#### `models.CloudVmClusterProperties` was modified
+
+* `java.lang.Float ocpuCount()` -> `java.lang.Double ocpuCount()`
+* `withOcpuCount(java.lang.Float)` was removed
+
+#### `models.ProfileType` was modified
+
+* `withDisplayName(java.lang.String)` was removed
+* `withTlsAuthentication(models.TlsAuthenticationType)` was removed
+* `withSessionMode(models.SessionModeType)` was removed
+* `withSyntaxFormat(models.SyntaxFormatType)` was removed
+* `withIsRegional(java.lang.Boolean)` was removed
+* `withValue(java.lang.String)` was removed
+* `withConsumerGroup(models.ConsumerGroup)` was removed
+* `withProtocol(models.ProtocolType)` was removed
+* `withHostFormat(models.HostFormatType)` was removed
+
+#### `models.DbSystemShapeProperties` was modified
+
+* `java.lang.Integer availableCoreCount()` -> `int availableCoreCount()`
+
+#### `models.ApexDetailsType` was modified
+
+* `withApexVersion(java.lang.String)` was removed
+* `withOrdsVersion(java.lang.String)` was removed
+
+#### `models.DbSystemShapes` was modified
+
+* `listByLocation(java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `models.AutonomousDatabaseCloneProperties` was modified
+
+* `timeMaintenanceEnd()` was removed
+* `timeOfLastRefreshPoint()` was removed
+* `inMemoryAreaInGbs()` was removed
+* `memoryPerOracleComputeUnitInGbs()` was removed
+* `availableUpgradeVersions()` was removed
+* `timeDeletionOfFreeAutonomousDatabase()` was removed
+* `connectionStrings()` was removed
+* `sqlWebDeveloperUrl()` was removed
+* `supportedRegionsToCloneTo()` was removed
+* `timeDataGuardRoleChanged()` was removed
+* `isPreview()` was removed
+* `timeMaintenanceBegin()` was removed
+* `provisionableCpus()` was removed
+* `nextLongTermBackupTimestamp()` was removed
+* `apexDetails()` was removed
+* `timeOfLastSwitchover()` was removed
+* `usedDataStorageSizeInTbs()` was removed
+* `serviceConsoleUrl()` was removed
+* `failedDataRecoveryInSeconds()` was removed
+* `localDisasterRecoveryType()` was removed
+* `actualUsedDataStorageSizeInTbs()` was removed
+* `timeOfLastRefresh()` was removed
+* `lifecycleDetails()` was removed
+* `withComputeCount(java.lang.Float)` was removed
+* `peerDbIds()` was removed
+* `usedDataStorageSizeInGbs()` was removed
+* `ociUrl()` was removed
+* `ocid()` was removed
+* `lifecycleState()` was removed
+* `localStandbyDb()` was removed
+* `dataSafeStatus()` was removed
+* `timeOfLastFailover()` was removed
+* `operationsInsightsStatus()` was removed
+* `timeCreated()` was removed
+* `privateEndpoint()` was removed
+* `isRemoteDataGuardEnabled()` was removed
+* `timeLocalDataGuardEnabled()` was removed
+* `allocatedStorageSizeInTbs()` was removed
+* `timeReclamationOfFreeAutonomousDatabase()` was removed
+* `provisioningState()` was removed
+* `connectionUrls()` was removed
+
+#### `models.ExadataIormConfig` was modified
+
+* `withDbPlans(java.util.List)` was removed
+* `withLifecycleState(models.IormLifecycleState)` was removed
+* `withLifecycleDetails(java.lang.String)` was removed
+* `withObjective(models.Objective)` was removed
+
+#### `models.DnsPrivateZoneProperties` was modified
+
+* `java.lang.Boolean isProtected()` -> `boolean isProtected()`
+* `java.lang.Integer serial()` -> `int serial()`
+
+#### `models.AutonomousDatabaseUpdateProperties` was modified
+
+* `withComputeCount(java.lang.Float)` was removed
+* `java.lang.Float computeCount()` -> `java.lang.Double computeCount()`
+
+#### `models.GiVersions` was modified
+
+* `listByLocation(java.lang.String,com.azure.core.util.Context)` was removed
+
+#### `OracleDatabaseManager` was modified
+
+* `fluent.OracleDatabaseResourceManager serviceClient()` -> `fluent.OracleDatabaseManagementClient serviceClient()`
+
+#### `models.AutonomousDatabaseBaseProperties` was modified
+
+* `withComputeCount(java.lang.Float)` was removed
+* `java.lang.Float computeCount()` -> `java.lang.Double computeCount()`
+
+#### `models.DbIormConfig` was modified
+
+* `withDbName(java.lang.String)` was removed
+* `withShare(java.lang.Integer)` was removed
+* `withFlashCacheLimit(java.lang.String)` was removed
+
+#### `models.ConnectionUrlType` was modified
+
+* `withDatabaseTransformsUrl(java.lang.String)` was removed
+* `withSqlDevWebUrl(java.lang.String)` was removed
+* `withApexUrl(java.lang.String)` was removed
+* `withOrdsUrl(java.lang.String)` was removed
+* `withMongoDbUrl(java.lang.String)` was removed
+* `withMachineLearningNotebookUrl(java.lang.String)` was removed
+* `withGraphStudioUrl(java.lang.String)` was removed
+
+#### `models.AutonomousDatabaseProperties` was modified
+
+* `lifecycleState()` was removed
+* `availableUpgradeVersions()` was removed
+* `usedDataStorageSizeInTbs()` was removed
+* `timeMaintenanceBegin()` was removed
+* `timeOfLastSwitchover()` was removed
+* `timeLocalDataGuardEnabled()` was removed
+* `supportedRegionsToCloneTo()` was removed
+* `inMemoryAreaInGbs()` was removed
+* `timeMaintenanceEnd()` was removed
+* `usedDataStorageSizeInGbs()` was removed
+* `timeDeletionOfFreeAutonomousDatabase()` was removed
+* `nextLongTermBackupTimestamp()` was removed
+* `timeOfLastRefresh()` was removed
+* `provisionableCpus()` was removed
+* `actualUsedDataStorageSizeInTbs()` was removed
+* `operationsInsightsStatus()` was removed
+* `timeReclamationOfFreeAutonomousDatabase()` was removed
+* `localStandbyDb()` was removed
+* `ociUrl()` was removed
+* `timeOfLastFailover()` was removed
+* `ocid()` was removed
+* `serviceConsoleUrl()` was removed
+* `connectionUrls()` was removed
+* `isRemoteDataGuardEnabled()` was removed
+* `timeCreated()` was removed
+* `lifecycleDetails()` was removed
+* `memoryPerOracleComputeUnitInGbs()` was removed
+* `withComputeCount(java.lang.Float)` was removed
+* `localDisasterRecoveryType()` was removed
+* `peerDbIds()` was removed
+* `failedDataRecoveryInSeconds()` was removed
+* `timeOfLastRefreshPoint()` was removed
+* `allocatedStorageSizeInTbs()` was removed
+* `sqlWebDeveloperUrl()` was removed
+* `apexDetails()` was removed
+* `dataSafeStatus()` was removed
+* `connectionStrings()` was removed
+* `timeDataGuardRoleChanged()` was removed
+* `privateEndpoint()` was removed
+* `provisioningState()` was removed
+* `isPreview()` was removed
+
+#### `models.DnsPrivateViewProperties` was modified
+
+* `java.lang.Boolean isProtected()` -> `boolean isProtected()`
+
+#### `models.AutonomousDatabaseStandbySummary` was modified
+
+* `withTimeDataGuardRoleChanged(java.lang.String)` was removed
+* `withLifecycleDetails(java.lang.String)` was removed
+* `withTimeDisasterRecoveryRoleChanged(java.lang.String)` was removed
+* `withLagTimeInSeconds(java.lang.Integer)` was removed
+* `withLifecycleState(models.AutonomousDatabaseLifecycleState)` was removed
+
+#### `models.ConnectionStringType` was modified
+
+* `withDedicated(java.lang.String)` was removed
+* `withLow(java.lang.String)` was removed
+* `withHigh(java.lang.String)` was removed
+* `withMedium(java.lang.String)` was removed
+* `withProfiles(java.util.List)` was removed
+* `withAllConnectionStrings(models.AllConnectionStringType)` was removed
+
+#### `models.CloudVmClusterUpdateProperties` was modified
+
+* `withOcpuCount(java.lang.Float)` was removed
+* `java.lang.Float ocpuCount()` -> `java.lang.Double ocpuCount()`
+
+### Features Added
+
+* `models.DefinedFileSystemConfiguration` was added
+
+* `models.ExadbVmClusterProperties` was added
+
+* `models.GridImageType` was added
+
+* `models.ExascaleDbStorageVault` was added
+
+* `implementation.models.ExascaleDbStorageVaultListResult` was added
+
+* `implementation.models.AutonomousDatabaseBackupListResult` was added
+
+* `models.DbNodeDetails` was added
+
+* `models.ExascaleDbStorageVault$UpdateStages` was added
+
+* `models.FlexComponent` was added
+
+* `models.ExascaleDbStorageVaults` was added
+
+* `implementation.models.ExascaleDbNodeListResult` was added
+
+* `implementation.models.CloudExadataInfrastructureListResult` was added
+
+* `models.ExascaleDbStorageDetails` was added
+
+* `models.ExadbVmClusters` was added
+
+* `implementation.models.GiMinorVersionListResult` was added
+
+* `models.AutonomousDatabaseCrossRegionDisasterRecoveryProperties` was added
+
+* `implementation.models.OracleSubscriptionListResult` was added
+
+* `models.RemoveVirtualMachineFromExadbVmClusterDetails` was added
+
+* `models.FlexComponents` was added
+
+* `models.AutonomousDatabaseFromBackupTimestampProperties` was added
+
+* `models.AzureSubscriptions` was added
+
+* `models.ExadbVmClusterUpdate` was added
+
+* `models.ExascaleDbStorageVaultLifecycleState` was added
+
+* `models.DisasterRecoveryConfigurationDetails` was added
+
+* `models.ShapeFamily` was added
+
+* `implementation.models.AutonomousDatabaseCharacterSetListResult` was added
+
+* `implementation.models.DnsPrivateZoneListResult` was added
+
+* `implementation.models.DbSystemShapeListResult` was added
+
+* `implementation.models.DnsPrivateViewListResult` was added
+
+* `models.ExadbVmClusterUpdateProperties` was added
+
+* `models.ExadbVmCluster` was added
+
+* `models.ExadbVmCluster$UpdateStages` was added
+
+* `models.GiMinorVersions` was added
+
+* `implementation.models.OperationListResult` was added
+
+* `implementation.models.DbServerListResult` was added
+
+* `models.ExascaleDbStorageVault$DefinitionStages` was added
+
+* `models.ExadbVmCluster$Definition` was added
+
+* `implementation.models.GiVersionListResult` was added
+
+* `models.FileSystemConfigurationDetails` was added
+
+* `implementation.models.DbNodeListResult` was added
+
+* `implementation.models.FlexComponentListResult` was added
+
+* `models.ExascaleDbNodeProperties` was added
+
+* `models.SystemShapes` was added
+
+* `models.AddSubscriptionOperationState` was added
+
+* `models.ExadbVmClusterLifecycleState` was added
+
+* `implementation.models.CloudVmClusterListResult` was added
+
+* `models.ExadbVmCluster$DefinitionStages` was added
+
+* `models.FlexComponentProperties` was added
+
+* `models.ExascaleDbNodes` was added
+
+* `models.HardwareType` was added
+
+* `models.ExascaleDbStorageVault$Definition` was added
+
+* `implementation.models.ExadbVmClusterListResult` was added
+
+* `implementation.models.AutonomousDatabaseNationalCharacterSetListResult` was added
+
+* `models.GiMinorVersionProperties` was added
+
+* `models.ExadbVmClusterStorageDetails` was added
+
+* `models.ExascaleDbStorageVaultProperties` was added
+
+* `models.ExascaleDbStorageVaultTagsUpdate` was added
+
+* `models.DbActionResponse` was added
+
+* `implementation.models.AutonomousDbVersionListResult` was added
+
+* `implementation.models.AutonomousDatabaseListResult` was added
+
+* `models.ExascaleDbStorageInputDetails` was added
+
+* `models.GiMinorVersion` was added
+
+* `models.ExascaleDbStorageVault$Update` was added
+
+* `implementation.models.VirtualNetworkAddressListResult` was added
+
+* `models.ExascaleDbNode` was added
+
+* `implementation.models.SystemVersionListResult` was added
+
+* `models.ExadbVmCluster$Update` was added
+
+#### `models.CloudVmClusterProperties` was modified
+
+* `withOcpuCount(java.lang.Double)` was added
+* `fileSystemConfigurationDetails()` was added
+* `withFileSystemConfigurationDetails(java.util.List)` was added
+* `computeModel()` was added
+
+#### `models.DbServerProperties` was modified
+
+* `computeModel()` was added
+
+#### `models.OracleSubscriptions` was modified
+
+* `addAzureSubscriptions(models.AzureSubscriptions)` was added
+* `addAzureSubscriptions(models.AzureSubscriptions,com.azure.core.util.Context)` was added
+
+#### `models.PeerDbDetails` was modified
+
+* `peerDbLocation()` was added
+* `withPeerDbLocation(java.lang.String)` was added
+* `peerDbOcid()` was added
+* `withPeerDbOcid(java.lang.String)` was added
+
+#### `models.DbSystemShapeProperties` was modified
+
+* `computeModel()` was added
+* `areServerTypesSupported()` was added
+* `displayName()` was added
+* `shapeName()` was added
+
+#### `models.AutonomousDatabase` was modified
+
+* `changeDisasterRecoveryConfiguration(models.DisasterRecoveryConfigurationDetails)` was added
+* `changeDisasterRecoveryConfiguration(models.DisasterRecoveryConfigurationDetails,com.azure.core.util.Context)` was added
+
+#### `models.DbSystemShapes` was modified
+
+* `listByLocation(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.AutonomousDatabaseCloneProperties` was modified
+
+* `withComputeCount(java.lang.Double)` was added
+
+#### `models.AutonomousDatabaseUpdateProperties` was modified
+
+* `withComputeCount(java.lang.Double)` was added
+
+#### `models.GiVersions` was modified
+
+* `listByLocation(java.lang.String,models.SystemShapes,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `OracleDatabaseManager` was modified
+
+* `flexComponents()` was added
+* `exascaleDbNodes()` was added
+* `exascaleDbStorageVaults()` was added
+* `giMinorVersions()` was added
+* `exadbVmClusters()` was added
+
+#### `models.OracleSubscriptionProperties` was modified
+
+* `azureSubscriptionIds()` was added
+* `lastOperationStatusDetail()` was added
+* `addSubscriptionOperationState()` was added
+
+#### `models.CloudExadataInfrastructureProperties` was modified
+
+* `storageServerType()` was added
+* `computeModel()` was added
+* `databaseServerType()` was added
+* `withStorageServerType(java.lang.String)` was added
+* `definedFileSystemConfiguration()` was added
+* `withDatabaseServerType(java.lang.String)` was added
+
+#### `models.AutonomousDatabases` was modified
+
+* `changeDisasterRecoveryConfiguration(java.lang.String,java.lang.String,models.DisasterRecoveryConfigurationDetails)` was added
+* `changeDisasterRecoveryConfiguration(java.lang.String,java.lang.String,models.DisasterRecoveryConfigurationDetails,com.azure.core.util.Context)` was added
+
+#### `models.AutonomousDatabaseBaseProperties` was modified
+
+* `withComputeCount(java.lang.Double)` was added
+* `timeDisasterRecoveryRoleChanged()` was added
+* `remoteDisasterRecoveryConfiguration()` was added
+
+#### `models.AutonomousDatabaseProperties` was modified
+
+* `withComputeCount(java.lang.Double)` was added
+
+#### `models.CloudVmClusterUpdateProperties` was modified
-### Other Changes
+* `fileSystemConfigurationDetails()` was added
+* `withFileSystemConfigurationDetails(java.util.List)` was added
+* `withOcpuCount(java.lang.Double)` was added
## 1.0.0 (2024-07-04)
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/README.md b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/README.md
index 6f63d61f0465..5d13be7ec2f6 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/README.md
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/README.md
@@ -1,8 +1,8 @@
-# Azure Resource Manager OracleDatabase client library for Java
+# Azure Resource Manager Oracle Database client library for Java
-Azure Resource Manager OracleDatabase client library for Java.
+Azure Resource Manager Oracle Database client library for Java.
-This package contains Microsoft Azure SDK for OracleDatabase Management SDK. Package tag package-2023-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for Oracle Database Management SDK. Package api-version 2025-03-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-oracledatabase
- 1.1.0-beta.1
+ 1.1.0
```
[//]: # ({x-version-update-end})
@@ -52,7 +52,7 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
```java
-AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
+AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
TokenCredential credential = new DefaultAzureCredentialBuilder()
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
.build();
@@ -60,7 +60,7 @@ OracleDatabaseManager manager = OracleDatabaseManager
.authenticate(credential, profile);
```
-The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
+The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
See [Authentication][authenticate] for more options.
@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
-
-
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/SAMPLE.md b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/SAMPLE.md
index aaab69e3b790..76e0ec166311 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/SAMPLE.md
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/SAMPLE.md
@@ -3,92 +3,72 @@
## AutonomousDatabaseBackups
-- [CreateOrUpdate](#autonomousdatabasebackups_createorupdate)
-- [Delete](#autonomousdatabasebackups_delete)
-- [Get](#autonomousdatabasebackups_get)
- [ListByAutonomousDatabase](#autonomousdatabasebackups_listbyautonomousdatabase)
- [Update](#autonomousdatabasebackups_update)
-## AutonomousDatabaseCharacterSets
-
-- [Get](#autonomousdatabasecharactersets_get)
-- [ListByLocation](#autonomousdatabasecharactersets_listbylocation)
-
-## AutonomousDatabaseNationalCharacterSets
-
-- [Get](#autonomousdatabasenationalcharactersets_get)
-- [ListByLocation](#autonomousdatabasenationalcharactersets_listbylocation)
-
-## AutonomousDatabaseVersions
-
-- [Get](#autonomousdatabaseversions_get)
-- [ListByLocation](#autonomousdatabaseversions_listbylocation)
-
## AutonomousDatabases
-- [CreateOrUpdate](#autonomousdatabases_createorupdate)
-- [Delete](#autonomousdatabases_delete)
+- [ChangeDisasterRecoveryConfiguration](#autonomousdatabases_changedisasterrecoveryconfiguration)
- [Failover](#autonomousdatabases_failover)
- [GenerateWallet](#autonomousdatabases_generatewallet)
-- [GetByResourceGroup](#autonomousdatabases_getbyresourcegroup)
-- [List](#autonomousdatabases_list)
- [ListByResourceGroup](#autonomousdatabases_listbyresourcegroup)
- [Restore](#autonomousdatabases_restore)
-- [Shrink](#autonomousdatabases_shrink)
- [Switchover](#autonomousdatabases_switchover)
- [Update](#autonomousdatabases_update)
## CloudExadataInfrastructures
- [AddStorageCapacity](#cloudexadatainfrastructures_addstoragecapacity)
-- [CreateOrUpdate](#cloudexadatainfrastructures_createorupdate)
-- [Delete](#cloudexadatainfrastructures_delete)
-- [GetByResourceGroup](#cloudexadatainfrastructures_getbyresourcegroup)
-- [List](#cloudexadatainfrastructures_list)
-- [ListByResourceGroup](#cloudexadatainfrastructures_listbyresourcegroup)
-- [Update](#cloudexadatainfrastructures_update)
## CloudVmClusters
- [AddVms](#cloudvmclusters_addvms)
-- [CreateOrUpdate](#cloudvmclusters_createorupdate)
-- [Delete](#cloudvmclusters_delete)
-- [GetByResourceGroup](#cloudvmclusters_getbyresourcegroup)
-- [List](#cloudvmclusters_list)
-- [ListByResourceGroup](#cloudvmclusters_listbyresourcegroup)
- [ListPrivateIpAddresses](#cloudvmclusters_listprivateipaddresses)
- [RemoveVms](#cloudvmclusters_removevms)
-- [Update](#cloudvmclusters_update)
## DbNodes
- [Action](#dbnodes_action)
-- [Get](#dbnodes_get)
- [ListByCloudVmCluster](#dbnodes_listbycloudvmcluster)
## DbServers
-- [Get](#dbservers_get)
- [ListByCloudExadataInfrastructure](#dbservers_listbycloudexadatainfrastructure)
## DbSystemShapes
-- [Get](#dbsystemshapes_get)
- [ListByLocation](#dbsystemshapes_listbylocation)
-## DnsPrivateViews
+## ExadbVmClusters
+
+- [RemoveVms](#exadbvmclusters_removevms)
+
+## ExascaleDbNodes
-- [Get](#dnsprivateviews_get)
-- [ListByLocation](#dnsprivateviews_listbylocation)
+- [Action](#exascaledbnodes_action)
+- [ListByParent](#exascaledbnodes_listbyparent)
-## DnsPrivateZones
+## ExascaleDbStorageVaults
-- [Get](#dnsprivatezones_get)
-- [ListByLocation](#dnsprivatezones_listbylocation)
+- [Create](#exascaledbstoragevaults_create)
+- [Delete](#exascaledbstoragevaults_delete)
+- [GetByResourceGroup](#exascaledbstoragevaults_getbyresourcegroup)
+- [List](#exascaledbstoragevaults_list)
+- [ListByResourceGroup](#exascaledbstoragevaults_listbyresourcegroup)
+- [Update](#exascaledbstoragevaults_update)
+
+## FlexComponents
+
+- [Get](#flexcomponents_get)
+- [ListByParent](#flexcomponents_listbyparent)
+
+## GiMinorVersions
+
+- [Get](#giminorversions_get)
+- [ListByParent](#giminorversions_listbyparent)
## GiVersions
-- [Get](#giversions_get)
- [ListByLocation](#giversions_listbylocation)
## Operations
@@ -97,199 +77,79 @@
## OracleSubscriptions
-- [CreateOrUpdate](#oraclesubscriptions_createorupdate)
-- [Delete](#oraclesubscriptions_delete)
-- [Get](#oraclesubscriptions_get)
-- [List](#oraclesubscriptions_list)
+- [AddAzureSubscriptions](#oraclesubscriptions_addazuresubscriptions)
- [ListActivationLinks](#oraclesubscriptions_listactivationlinks)
- [ListCloudAccountDetails](#oraclesubscriptions_listcloudaccountdetails)
- [ListSaasSubscriptionDetails](#oraclesubscriptions_listsaassubscriptiondetails)
- [Update](#oraclesubscriptions_update)
-## SystemVersions
-
-- [Get](#systemversions_get)
-- [ListByLocation](#systemversions_listbylocation)
-
## VirtualNetworkAddresses
-- [CreateOrUpdate](#virtualnetworkaddresses_createorupdate)
-- [Delete](#virtualnetworkaddresses_delete)
-- [Get](#virtualnetworkaddresses_get)
- [ListByCloudVmCluster](#virtualnetworkaddresses_listbycloudvmcluster)
-### AutonomousDatabaseBackups_CreateOrUpdate
+### AutonomousDatabaseBackups_ListByAutonomousDatabase
```java
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackupProperties;
-
/**
- * Samples for AutonomousDatabaseBackups CreateOrUpdate.
+ * Samples for CloudExadataInfrastructures AddStorageCapacity.
*/
-public final class AutonomousDatabaseBackupsCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.
- * json
- */
- /**
- * Sample code: Create Autonomous Database Backup.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- createAutonomousDatabaseBackup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .define("1711644130")
- .withExistingAutonomousDatabase("rg000", "databasedb1")
- .withProperties(new AutonomousDatabaseBackupProperties().withDisplayName("Nightly Backup")
- .withRetentionPeriodInDays(365))
- .create();
- }
-
+public final class CloudExadataInfrastructuresAddStorageCapacitySamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_create.
- * json
+ * x-ms-original-file: 2025-03-01/exaInfra_addStorageCapacity.json
*/
/**
- * Sample code: AutonomousDatabaseBackups_CreateOrUpdate.
+ * Sample code: CloudExadataInfrastructures_addStorageCapacity.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void autonomousDatabaseBackupsCreateOrUpdate(
+ public static void cloudExadataInfrastructuresAddStorageCapacity(
com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .define("1711644130")
- .withExistingAutonomousDatabase("rg000", "databasedb1")
- .withProperties(new AutonomousDatabaseBackupProperties().withDisplayName("Nightly Backup")
- .withRetentionPeriodInDays(365))
- .create();
- }
-}
-```
-
-### AutonomousDatabaseBackups_Delete
-
-```java
-/**
- * Samples for AutonomousDatabaseBackups Delete.
- */
-public final class AutonomousDatabaseBackupsDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.
- * json
- */
- /**
- * Sample code: Delete Autonomous Database Backup.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- deleteAutonomousDatabaseBackup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .delete("rg000", "databasedb1", "1711644130", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_delete.
- * json
- */
- /**
- * Sample code: AutonomousDatabaseBackups_Delete.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabaseBackupsDelete(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .delete("rg000", "databasedb1", "1711644130", com.azure.core.util.Context.NONE);
+ manager.cloudExadataInfrastructures().addStorageCapacity("rg000", "infra1", com.azure.core.util.Context.NONE);
}
}
```
-### AutonomousDatabaseBackups_Get
+### AutonomousDatabaseBackups_Update
```java
-/**
- * Samples for AutonomousDatabaseBackups Get.
- */
-public final class AutonomousDatabaseBackupsGetSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.
- * json
- */
- /**
- * Sample code: Get Autonomous Database Backup.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- getAutonomousDatabaseBackup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .getWithResponse("rg000", "databasedb1", "1711644130", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_get.
- * json
- */
- /**
- * Sample code: AutonomousDatabaseBackups_Get.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabaseBackupsGet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .getWithResponse("rg000", "databasedb1", "1711644130", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabaseBackups_ListByAutonomousDatabase
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageVault;
+import java.util.HashMap;
+import java.util.Map;
-```java
/**
- * Samples for AutonomousDatabaseBackups ListByAutonomousDatabase.
+ * Samples for ExascaleDbStorageVaults Update.
*/
-public final class AutonomousDatabaseBackupsListByAutonomousDatabaseSamples {
+public final class ExascaleDbStorageVaultsUpdateSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseBackup_listByParent.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_Update_MaximumSet_Gen.json
*/
/**
- * Sample code: List Autonomous Database Backups by Autonomous Database.
+ * Sample code: ExascaleDbStorageVaults_Update_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listAutonomousDatabaseBackupsByAutonomousDatabase(
+ public static void exascaleDbStorageVaultsUpdateMaximumSet(
com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .listByAutonomousDatabase("rg000", "databasedb1", com.azure.core.util.Context.NONE);
+ ExascaleDbStorageVault resource = manager.exascaleDbStorageVaults()
+ .getByResourceGroupWithResponse("rgopenapi", "vmClusterName", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().withTags(mapOf("key6179", "fakeTokenPlaceholder")).apply();
}
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseBackup_listByParent.json
- */
- /**
- * Sample code: AutonomousDatabaseBackups_ListByAutonomousDatabase.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void autonomousDatabaseBackupsListByAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseBackups()
- .listByAutonomousDatabase("rg000", "databasedb1", com.azure.core.util.Context.NONE);
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### AutonomousDatabaseBackups_Update
+### AutonomousDatabases_ChangeDisasterRecoveryConfiguration
```java
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackup;
@@ -299,27 +159,7 @@ import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackup;
*/
public final class AutonomousDatabaseBackupsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.
- * json
- */
- /**
- * Sample code: Patch Autonomous Database Backup.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- patchAutonomousDatabaseBackup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- AutonomousDatabaseBackup resource = manager.autonomousDatabaseBackups()
- .getWithResponse("rg000", "databasedb1", "1711644130", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().apply();
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseBackup_patch.
- * json
+ * x-ms-original-file: 2025-03-01/autonomousDatabaseBackup_patch.json
*/
/**
* Sample code: AutonomousDatabaseBackups_Update.
@@ -336,457 +176,54 @@ public final class AutonomousDatabaseBackupsUpdateSamples {
}
```
-### AutonomousDatabaseCharacterSets_Get
-
-```java
-/**
- * Samples for AutonomousDatabaseCharacterSets Get.
- */
-public final class AutonomousDatabaseCharacterSetsGetSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseCharacterSet_get.json
- */
- /**
- * Sample code: Get autonomous db character set.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- getAutonomousDbCharacterSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseCharacterSets()
- .getWithResponse("eastus", "DATABASE", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabaseCharacterSets_ListByLocation
+### AutonomousDatabases_Failover
```java
-/**
- * Samples for AutonomousDatabaseCharacterSets ListByLocation.
- */
-public final class AutonomousDatabaseCharacterSetsListByLocationSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseCharacterSet_listByLocation.json
- */
- /**
- * Sample code: List autonomous db character sets by location.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void listAutonomousDbCharacterSetsByLocation(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseCharacterSets().listByLocation("eastus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabaseNationalCharacterSets_Get
+import com.azure.resourcemanager.oracledatabase.models.GenerateAutonomousDatabaseWalletDetails;
+import com.azure.resourcemanager.oracledatabase.models.GenerateType;
-```java
/**
- * Samples for AutonomousDatabaseNationalCharacterSets Get.
+ * Samples for AutonomousDatabases GenerateWallet.
*/
-public final class AutonomousDatabaseNationalCharacterSetsGetSamples {
+public final class AutonomousDatabasesGenerateWalletSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseNationalCharacterSet_get.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_generateWallet.json
*/
/**
- * Sample code: Get autonomous db national character set.
+ * Sample code: AutonomousDatabases_generateWallet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- getAutonomousDbNationalCharacterSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseNationalCharacterSets()
- .getWithResponse("eastus", "NATIONAL", com.azure.core.util.Context.NONE);
+ autonomousDatabasesGenerateWallet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases()
+ .generateWalletWithResponse("rg000", "databasedb1",
+ new GenerateAutonomousDatabaseWalletDetails().withGenerateType(GenerateType.SINGLE)
+ .withIsRegional(false)
+ .withPassword("fakeTokenPlaceholder"),
+ com.azure.core.util.Context.NONE);
}
}
```
-### AutonomousDatabaseNationalCharacterSets_ListByLocation
+### AutonomousDatabases_GenerateWallet
```java
/**
- * Samples for AutonomousDatabaseNationalCharacterSets ListByLocation.
+ * Samples for ExascaleDbStorageVaults List.
*/
-public final class AutonomousDatabaseNationalCharacterSetsListByLocationSamples {
+public final class ExascaleDbStorageVaultsListSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseNationalCharacterSet_listByLocation.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_ListBySubscription_MaximumSet_Gen.json
*/
/**
- * Sample code: List autonomous db national character sets by location.
+ * Sample code: ExascaleDbStorageVaults_ListBySubscription_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listAutonomousDbNationalCharacterSetsByLocation(
+ public static void exascaleDbStorageVaultsListBySubscriptionMaximumSet(
com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseNationalCharacterSets().listByLocation("eastus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabaseVersions_Get
-
-```java
-/**
- * Samples for AutonomousDatabaseVersions Get.
- */
-public final class AutonomousDatabaseVersionsGetSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseVersion_get.
- * json
- */
- /**
- * Sample code: Get an autonomous version.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void getAnAutonomousVersion(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseVersions().getWithResponse("eastus", "18.4.0.0", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabaseVersions_ListByLocation
-
-```java
-/**
- * Samples for AutonomousDatabaseVersions ListByLocation.
- */
-public final class AutonomousDatabaseVersionsListByLocationSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabaseVersion_listByLocation.json
- */
- /**
- * Sample code: List an autonomous versions by location.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- listAnAutonomousVersionsByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabaseVersions().listByLocation("eastus", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseCloneProperties;
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseProperties;
-import com.azure.resourcemanager.oracledatabase.models.CloneType;
-import com.azure.resourcemanager.oracledatabase.models.ComputeModel;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for AutonomousDatabases CreateOrUpdate.
- */
-public final class AutonomousDatabasesCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json
- */
- /**
- * Sample code: AutonomousDatabases_CreateOrUpdate.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabasesCreateOrUpdate(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .define("databasedb1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new AutonomousDatabaseProperties().withAdminPassword("fakeTokenPlaceholder")
- .withCharacterSet("AL32UTF8")
- .withComputeCount(2.0F)
- .withComputeModel(ComputeModel.ECPU)
- .withDataStorageSizeInTbs(1)
- .withDbVersion("18.4.0.0")
- .withDisplayName("example_autonomous_databasedb1")
- .withNcharacterSet("AL16UTF16")
- .withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
- .withVnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1"))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_create.json
- */
- /**
- * Sample code: Create Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- createAutonomousDatabase(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .define("databasedb1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new AutonomousDatabaseProperties().withAdminPassword("fakeTokenPlaceholder")
- .withCharacterSet("AL32UTF8")
- .withComputeCount(2.0F)
- .withComputeModel(ComputeModel.ECPU)
- .withDataStorageSizeInTbs(1)
- .withDbVersion("18.4.0.0")
- .withDisplayName("example_autonomous_databasedb1")
- .withNcharacterSet("AL16UTF16")
- .withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
- .withVnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1"))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.
- * json
- */
- /**
- * Sample code: Create clone Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- createCloneAutonomousDatabase(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .define("databasedb1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new AutonomousDatabaseCloneProperties().withAdminPassword("fakeTokenPlaceholder")
- .withCharacterSet("AL32UTF8")
- .withComputeCount(2.0F)
- .withComputeModel(ComputeModel.ECPU)
- .withDataStorageSizeInTbs(1)
- .withDisplayName("example_autonomous_databasedb1_clone")
- .withNcharacterSet("AL16UTF16")
- .withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
- .withVnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1")
- .withSourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1")
- .withCloneType(CloneType.FULL))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabaseClone_create.
- * json
- */
- /**
- * Sample code: AutonomousDatabases_CreateOrUpdate_clone.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabasesCreateOrUpdateClone(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .define("databasedb1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new AutonomousDatabaseCloneProperties().withAdminPassword("fakeTokenPlaceholder")
- .withCharacterSet("AL32UTF8")
- .withComputeCount(2.0F)
- .withComputeModel(ComputeModel.ECPU)
- .withDataStorageSizeInTbs(1)
- .withDisplayName("example_autonomous_databasedb1_clone")
- .withNcharacterSet("AL16UTF16")
- .withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
- .withVnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1")
- .withSourceId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/autonomousDatabases/databasedb1")
- .withCloneType(CloneType.FULL))
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### AutonomousDatabases_Delete
-
-```java
-/**
- * Samples for AutonomousDatabases Delete.
- */
-public final class AutonomousDatabasesDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_delete.json
- */
- /**
- * Sample code: Delete Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- deleteAutonomousDatabase(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases().delete("rg000", "databasedb1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_Failover
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.PeerDbDetails;
-
-/**
- * Samples for AutonomousDatabases Failover.
- */
-public final class AutonomousDatabasesFailoverSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json
- */
- /**
- * Sample code: AutonomousDatabases_Failover.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabasesFailover(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .failover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_failover.json
- */
- /**
- * Sample code: Perform failover action on Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void performFailoverActionOnAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .failover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_GenerateWallet
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.GenerateAutonomousDatabaseWalletDetails;
-import com.azure.resourcemanager.oracledatabase.models.GenerateType;
-
-/**
- * Samples for AutonomousDatabases GenerateWallet.
- */
-public final class AutonomousDatabasesGenerateWalletSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabase_generateWallet.json
- */
- /**
- * Sample code: Generate wallet action on Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void generateWalletActionOnAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .generateWalletWithResponse("rg000", "databasedb1",
- new GenerateAutonomousDatabaseWalletDetails().withGenerateType(GenerateType.SINGLE)
- .withIsRegional(false)
- .withPassword("fakeTokenPlaceholder"),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_GetByResourceGroup
-
-```java
-/**
- * Samples for AutonomousDatabases GetByResourceGroup.
- */
-public final class AutonomousDatabasesGetByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json
- */
- /**
- * Sample code: Get Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void getAutonomousDatabase(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .getByResourceGroupWithResponse("rg000", "databasedb1", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_get.json
- */
- /**
- * Sample code: AutonomousDatabases_Get.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void autonomousDatabasesGet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .getByResourceGroupWithResponse("rg000", "databasedb1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_List
-
-```java
-/**
- * Samples for AutonomousDatabases List.
- */
-public final class AutonomousDatabasesListSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabase_listBySubscription.json
- */
- /**
- * Sample code: List Autonomous Database by subscription.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- listAutonomousDatabaseBySubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases().list(com.azure.core.util.Context.NONE);
+ manager.exascaleDbStorageVaults().list(com.azure.core.util.Context.NONE);
}
}
```
@@ -794,592 +231,76 @@ public final class AutonomousDatabasesListSamples {
### AutonomousDatabases_ListByResourceGroup
```java
+import com.azure.resourcemanager.oracledatabase.models.DbNodeAction;
+import com.azure.resourcemanager.oracledatabase.models.DbNodeActionEnum;
+
/**
- * Samples for AutonomousDatabases ListByResourceGroup.
- */
-public final class AutonomousDatabasesListByResourceGroupSamples {
- /*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * autonomousDatabase_listByResourceGroup.json
- */
- /**
- * Sample code: List Autonomous Database by resource group.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- listAutonomousDatabaseByResourceGroup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases().listByResourceGroup("rg000", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_Restore
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.RestoreAutonomousDatabaseDetails;
-import java.time.OffsetDateTime;
-
-/**
- * Samples for AutonomousDatabases Restore.
- */
-public final class AutonomousDatabasesRestoreSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json
- */
- /**
- * Sample code: AutonomousDatabases_Restore.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabasesRestore(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .restore("rg000", "databasedb1",
- new RestoreAutonomousDatabaseDetails().withTimestamp(OffsetDateTime.parse("2024-04-23T00:00:00.000Z")),
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_restore.json
- */
- /**
- * Sample code: Perform restore action on Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void performRestoreActionOnAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .restore("rg000", "databasedb1",
- new RestoreAutonomousDatabaseDetails().withTimestamp(OffsetDateTime.parse("2024-04-23T00:00:00.000Z")),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_Shrink
-
-```java
-/**
- * Samples for AutonomousDatabases Shrink.
- */
-public final class AutonomousDatabasesShrinkSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_shrink.json
- */
- /**
- * Sample code: Perform shrink action on Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void performShrinkActionOnAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases().shrink("rg000", "databasedb1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_Switchover
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.PeerDbDetails;
-
-/**
- * Samples for AutonomousDatabases Switchover.
- */
-public final class AutonomousDatabasesSwitchoverSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.
- * json
- */
- /**
- * Sample code: Perform switchover action on Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void performSwitchoverActionOnAutonomousDatabase(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .switchover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
- com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_switchover.
- * json
- */
- /**
- * Sample code: AutonomousDatabases_Switchover.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- autonomousDatabasesSwitchover(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.autonomousDatabases()
- .switchover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### AutonomousDatabases_Update
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabase;
-
-/**
- * Samples for AutonomousDatabases Update.
- */
-public final class AutonomousDatabasesUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/autonomousDatabase_patch.json
- */
- /**
- * Sample code: Patch Autonomous Database.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void patchAutonomousDatabase(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- AutonomousDatabase resource = manager.autonomousDatabases()
- .getByResourceGroupWithResponse("rg000", "databasedb1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().apply();
- }
-}
-```
-
-### CloudExadataInfrastructures_AddStorageCapacity
-
-```java
-/**
- * Samples for CloudExadataInfrastructures AddStorageCapacity.
- */
-public final class CloudExadataInfrastructuresAddStorageCapacitySamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_addStorageCapacity.json
- */
- /**
- * Sample code: Perform add storage capacity on exadata infra.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void performAddStorageCapacityOnExadataInfra(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures().addStorageCapacity("rg000", "infra1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudExadataInfrastructures_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.CloudExadataInfrastructureProperties;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for CloudExadataInfrastructures CreateOrUpdate.
- */
-public final class CloudExadataInfrastructuresCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_create.json
- */
- /**
- * Sample code: Create Exadata Infrastructure.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- createExadataInfrastructure(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures()
- .define("infra1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withZones(Arrays.asList("1"))
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new CloudExadataInfrastructureProperties().withComputeCount(100)
- .withStorageCount(10)
- .withShape("EXADATA.X9M")
- .withDisplayName("infra 1"))
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### CloudExadataInfrastructures_Delete
-
-```java
-/**
- * Samples for CloudExadataInfrastructures Delete.
- */
-public final class CloudExadataInfrastructuresDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_delete.json
- */
- /**
- * Sample code: Delete Exadata Infrastructure.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- deleteExadataInfrastructure(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures().delete("rg000", "infra1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudExadataInfrastructures_GetByResourceGroup
-
-```java
-/**
- * Samples for CloudExadataInfrastructures GetByResourceGroup.
- */
-public final class CloudExadataInfrastructuresGetByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_get.json
- */
- /**
- * Sample code: Get Exadata Infrastructure.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- getExadataInfrastructure(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures()
- .getByResourceGroupWithResponse("rg000", "infra1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudExadataInfrastructures_List
-
-```java
-/**
- * Samples for CloudExadataInfrastructures List.
- */
-public final class CloudExadataInfrastructuresListSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listBySubscription.json
- */
- /**
- * Sample code: List Exadata Infrastructure by subscription.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void listExadataInfrastructureBySubscription(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures().list(com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudExadataInfrastructures_ListByResourceGroup
-
-```java
-/**
- * Samples for CloudExadataInfrastructures ListByResourceGroup.
- */
-public final class CloudExadataInfrastructuresListByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_listByResourceGroup.
- * json
- */
- /**
- * Sample code: List Exadata Infrastructure by resource group.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void listExadataInfrastructureByResourceGroup(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudExadataInfrastructures().listByResourceGroup("rg000", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudExadataInfrastructures_Update
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.CloudExadataInfrastructure;
-
-/**
- * Samples for CloudExadataInfrastructures Update.
- */
-public final class CloudExadataInfrastructuresUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/exaInfra_patch.json
- */
- /**
- * Sample code: Patch Exadata Infrastructure.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void
- patchExadataInfrastructure(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- CloudExadataInfrastructure resource = manager.cloudExadataInfrastructures()
- .getByResourceGroupWithResponse("rg000", "infra1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().apply();
- }
-}
-```
-
-### CloudVmClusters_AddVms
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.AddRemoveDbNode;
-import java.util.Arrays;
-
-/**
- * Samples for CloudVmClusters AddVms.
- */
-public final class CloudVmClustersAddVmsSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_addVms.json
- */
- /**
- * Sample code: Add VMs to VM Cluster.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void addVMsToVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters()
- .addVms("rg000", "cluster1",
- new AddRemoveDbNode().withDbServers(Arrays.asList("ocid1..aaaa", "ocid1..aaaaaa")),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudVmClusters_CreateOrUpdate
-
-```java
-import com.azure.resourcemanager.oracledatabase.models.CloudVmClusterProperties;
-import com.azure.resourcemanager.oracledatabase.models.DataCollectionOptions;
-import com.azure.resourcemanager.oracledatabase.models.LicenseModel;
-import com.azure.resourcemanager.oracledatabase.models.NsgCidr;
-import com.azure.resourcemanager.oracledatabase.models.PortRange;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * Samples for CloudVmClusters CreateOrUpdate.
- */
-public final class CloudVmClustersCreateOrUpdateSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_create.json
- */
- /**
- * Sample code: Create VM Cluster.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void createVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters()
- .define("cluster1")
- .withRegion("eastus")
- .withExistingResourceGroup("rg000")
- .withTags(mapOf("tagK1", "tagV1"))
- .withProperties(new CloudVmClusterProperties().withDataStorageSizeInTbs(1000.0D)
- .withDbNodeStorageSizeInGbs(1000)
- .withMemorySizeInGbs(1000)
- .withTimeZone("UTC")
- .withHostname("hostname1")
- .withDomain("domain1")
- .withCpuCoreCount(2)
- .withOcpuCount(3.0F)
- .withClusterName("cluster1")
- .withDataStoragePercentage(100)
- .withIsLocalBackupEnabled(false)
- .withCloudExadataInfrastructureId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Oracle.Database/cloudExadataInfrastructures/infra1")
- .withIsSparseDiskgroupEnabled(false)
- .withSshPublicKeys(Arrays.asList("ssh-key 1"))
- .withLicenseModel(LicenseModel.LICENSE_INCLUDED)
- .withScanListenerPortTcp(1050)
- .withScanListenerPortTcpSsl(1025)
- .withVnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1")
- .withGiVersion("19.0.0.0")
- .withSubnetId(
- "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg000/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1")
- .withBackupSubnetCidr("172.17.5.0/24")
- .withNsgCidrs(Arrays.asList(
- new NsgCidr().withSource("10.0.0.0/16")
- .withDestinationPortRange(new PortRange().withMin(1520).withMax(1522)),
- new NsgCidr().withSource("10.10.0.0/24")))
- .withDataCollectionOptions(new DataCollectionOptions().withIsDiagnosticsEventsEnabled(false)
- .withIsHealthMonitoringEnabled(false)
- .withIsIncidentLogsEnabled(false))
- .withDisplayName("cluster 1")
- .withDbServers(Arrays.asList("ocid1..aaaa")))
- .create();
- }
-
- // Use "Map.of" if available
- @SuppressWarnings("unchecked")
- private static Map mapOf(Object... inputs) {
- Map map = new HashMap<>();
- for (int i = 0; i < inputs.length; i += 2) {
- String key = (String) inputs[i];
- T value = (T) inputs[i + 1];
- map.put(key, value);
- }
- return map;
- }
-}
-```
-
-### CloudVmClusters_Delete
-
-```java
-/**
- * Samples for CloudVmClusters Delete.
- */
-public final class CloudVmClustersDeleteSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_delete.json
- */
- /**
- * Sample code: Delete VM Cluster.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void deleteVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters().delete("rg000", "cluster1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudVmClusters_GetByResourceGroup
-
-```java
-/**
- * Samples for CloudVmClusters GetByResourceGroup.
- */
-public final class CloudVmClustersGetByResourceGroupSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_get.json
- */
- /**
- * Sample code: Get VM Cluster.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void getVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters().getByResourceGroupWithResponse("rg000", "cluster1", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### CloudVmClusters_List
-
-```java
-/**
- * Samples for CloudVmClusters List.
+ * Samples for DbNodes Action.
*/
-public final class CloudVmClustersListSamples {
+public final class DbNodesActionSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listBySubscription.
- * json
+ * x-ms-original-file: 2025-03-01/dbNodes_action.json
*/
/**
- * Sample code: List VM Clusters by subscription.
+ * Sample code: DbNodes_Action.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- listVMClustersBySubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters().list(com.azure.core.util.Context.NONE);
+ public static void dbNodesAction(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.dbNodes()
+ .action("rg000", "cluster1", "ocid1....aaaaaa", new DbNodeAction().withAction(DbNodeActionEnum.START),
+ com.azure.core.util.Context.NONE);
}
}
```
-### CloudVmClusters_ListByResourceGroup
+### AutonomousDatabases_Restore
```java
/**
- * Samples for CloudVmClusters ListByResourceGroup.
+ * Samples for DbSystemShapes ListByLocation.
*/
-public final class CloudVmClustersListByResourceGroupSamples {
+public final class DbSystemShapesListByLocationSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_listByResourceGroup.
- * json
+ * x-ms-original-file: 2025-03-01/dbSystemShapes_listByLocation.json
*/
/**
- * Sample code: List VM Clusters by resource group.
+ * Sample code: DbSystemShapes_listByLocation.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listVMClustersByResourceGroup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters().listByResourceGroup("rg000", com.azure.core.util.Context.NONE);
+ dbSystemShapesListByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.dbSystemShapes().listByLocation("eastus", null, com.azure.core.util.Context.NONE);
}
}
```
-### CloudVmClusters_ListPrivateIpAddresses
+### AutonomousDatabases_Switchover
```java
-import com.azure.resourcemanager.oracledatabase.models.PrivateIpAddressesFilter;
+import com.azure.resourcemanager.oracledatabase.models.OracleSubscriptionUpdate;
/**
- * Samples for CloudVmClusters ListPrivateIpAddresses.
+ * Samples for OracleSubscriptions Update.
*/
-public final class CloudVmClustersListPrivateIpAddressesSamples {
+public final class OracleSubscriptionsUpdateSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * vmClusters_listPrivateIpAddresses.json
+ * x-ms-original-file: 2025-03-01/oracleSubscriptions_patch.json
*/
/**
- * Sample code: List Private IP Addresses for VM Cluster.
+ * Sample code: OracleSubscriptions_update.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listPrivateIPAddressesForVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.cloudVmClusters()
- .listPrivateIpAddressesWithResponse("rg000", "cluster1",
- new PrivateIpAddressesFilter().withSubnetId("ocid1..aaaaaa").withVnicId("ocid1..aaaaa"),
- com.azure.core.util.Context.NONE);
+ oracleSubscriptionsUpdate(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.oracleSubscriptions().update(new OracleSubscriptionUpdate(), com.azure.core.util.Context.NONE);
}
}
```
-### CloudVmClusters_RemoveVms
+### AutonomousDatabases_Update
```java
import com.azure.resourcemanager.oracledatabase.models.AddRemoveDbNode;
@@ -1390,15 +311,15 @@ import java.util.Arrays;
*/
public final class CloudVmClustersRemoveVmsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_removeVms.json
+ * x-ms-original-file: 2025-03-01/vmClusters_removeVms.json
*/
/**
- * Sample code: Remove VMs from VM Cluster.
+ * Sample code: CloudVmClusters_removeVms.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void removeVMsFromVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ public static void
+ cloudVmClustersRemoveVms(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
manager.cloudVmClusters()
.removeVms("rg000", "cluster1", new AddRemoveDbNode().withDbServers(Arrays.asList("ocid1..aaaa")),
com.azure.core.util.Context.NONE);
@@ -1406,183 +327,180 @@ public final class CloudVmClustersRemoveVmsSamples {
}
```
-### CloudVmClusters_Update
+### CloudExadataInfrastructures_AddStorageCapacity
```java
-import com.azure.resourcemanager.oracledatabase.models.CloudVmCluster;
+import com.azure.resourcemanager.oracledatabase.models.DbNodeDetails;
+import com.azure.resourcemanager.oracledatabase.models.RemoveVirtualMachineFromExadbVmClusterDetails;
+import java.util.Arrays;
/**
- * Samples for CloudVmClusters Update.
+ * Samples for ExadbVmClusters RemoveVms.
*/
-public final class CloudVmClustersUpdateSamples {
+public final class ExadbVmClustersRemoveVmsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/vmClusters_patch.json
+ * x-ms-original-file: 2025-03-01/ExadbVmClusters_RemoveVms_MaximumSet_Gen.json
*/
/**
- * Sample code: Patch VM Cluster.
+ * Sample code: ExadbVmClusters_RemoveVms_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void patchVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- CloudVmCluster resource = manager.cloudVmClusters()
- .getByResourceGroupWithResponse("rg000", "cluster1", com.azure.core.util.Context.NONE)
- .getValue();
- resource.update().apply();
+ public static void
+ exadbVmClustersRemoveVmsMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exadbVmClusters()
+ .removeVms("rgopenapi", "vmClusterName", new RemoveVirtualMachineFromExadbVmClusterDetails()
+ .withDbNodes(Arrays.asList(new DbNodeDetails().withDbNodeId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Oracle.Database/exadbVmClusters/vmCluster/dbNodes/dbNodeName"))),
+ com.azure.core.util.Context.NONE);
}
}
```
-### DbNodes_Action
+### CloudVmClusters_AddVms
```java
-import com.azure.resourcemanager.oracledatabase.models.DbNodeAction;
-import com.azure.resourcemanager.oracledatabase.models.DbNodeActionEnum;
+import com.azure.resourcemanager.oracledatabase.models.AddRemoveDbNode;
+import java.util.Arrays;
/**
- * Samples for DbNodes Action.
+ * Samples for CloudVmClusters AddVms.
*/
-public final class DbNodesActionSamples {
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json
- */
- /**
- * Sample code: DbNodes_Action.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void dbNodesAction(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbNodes()
- .action("rg000", "cluster1", "ocid1....aaaaaa", new DbNodeAction().withAction(DbNodeActionEnum.START),
- com.azure.core.util.Context.NONE);
- }
-
+public final class CloudVmClustersAddVmsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_action.json
+ * x-ms-original-file: 2025-03-01/vmClusters_addVms.json
*/
/**
- * Sample code: VM actions on DbNodes of VM Cluster.
+ * Sample code: CloudVmClusters_addVms.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- vmActionsOnDbNodesOfVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbNodes()
- .action("rg000", "cluster1", "ocid1....aaaaaa", new DbNodeAction().withAction(DbNodeActionEnum.START),
+ public static void cloudVmClustersAddVms(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.cloudVmClusters()
+ .addVms("rg000", "cluster1",
+ new AddRemoveDbNode().withDbServers(Arrays.asList("ocid1..aaaa", "ocid1..aaaaaa")),
com.azure.core.util.Context.NONE);
}
}
```
-### DbNodes_Get
+### CloudVmClusters_ListPrivateIpAddresses
```java
+import com.azure.resourcemanager.oracledatabase.models.PrivateIpAddressesFilter;
+
/**
- * Samples for DbNodes Get.
+ * Samples for CloudVmClusters ListPrivateIpAddresses.
*/
-public final class DbNodesGetSamples {
+public final class CloudVmClustersListPrivateIpAddressesSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_get.json
+ * x-ms-original-file: 2025-03-01/vmClusters_listPrivateIpAddresses.json
*/
/**
- * Sample code: Get DbNode.
+ * Sample code: CloudVmClusters_listPrivateIpAddresses.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void getDbNode(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbNodes().getWithResponse("rg000", "cluster1", "ocid1....aaaaaa", com.azure.core.util.Context.NONE);
+ public static void
+ cloudVmClustersListPrivateIpAddresses(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.cloudVmClusters()
+ .listPrivateIpAddressesWithResponse("rg000", "cluster1",
+ new PrivateIpAddressesFilter().withSubnetId("ocid1..aaaaaa").withVnicId("ocid1..aaaaa"),
+ com.azure.core.util.Context.NONE);
}
}
```
-### DbNodes_ListByCloudVmCluster
+### CloudVmClusters_RemoveVms
```java
+import com.azure.resourcemanager.oracledatabase.models.AzureSubscriptions;
+import java.util.Arrays;
+
/**
- * Samples for DbNodes ListByCloudVmCluster.
+ * Samples for OracleSubscriptions AddAzureSubscriptions.
*/
-public final class DbNodesListByCloudVmClusterSamples {
+public final class OracleSubscriptionsAddAzureSubscriptionsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbNodes_listByParent.json
+ * x-ms-original-file: 2025-03-01/oracleSubscriptions_addAzureSubscriptions.json
*/
/**
- * Sample code: List DbNodes by VM Cluster.
+ * Sample code: OracleSubscriptions_addAzureSubscriptions.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listDbNodesByVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbNodes().listByCloudVmCluster("rg000", "cluster1", com.azure.core.util.Context.NONE);
+ public static void oracleSubscriptionsAddAzureSubscriptions(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.oracleSubscriptions()
+ .addAzureSubscriptions(new AzureSubscriptions().withAzureSubscriptionIds(
+ Arrays.asList("00000000-0000-0000-0000-000000000001")), com.azure.core.util.Context.NONE);
}
}
```
-### DbServers_Get
+### DbNodes_Action
```java
/**
- * Samples for DbServers Get.
+ * Samples for ExascaleDbStorageVaults ListByResourceGroup.
*/
-public final class DbServersGetSamples {
+public final class ExascaleDbStorageVaultsListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_get.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_ListByResourceGroup_MaximumSet_Gen.json
*/
/**
- * Sample code: Get DbServer by parent.
+ * Sample code: ExascaleDbStorageVaults_ListByResourceGroup_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void getDbServerByParent(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbServers().getWithResponse("rg000", "infra1", "ocid1....aaaaaa", com.azure.core.util.Context.NONE);
+ public static void exascaleDbStorageVaultsListByResourceGroupMaximumSet(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exascaleDbStorageVaults().listByResourceGroup("rgopenapi", com.azure.core.util.Context.NONE);
}
}
```
-### DbServers_ListByCloudExadataInfrastructure
+### DbNodes_ListByCloudVmCluster
```java
/**
- * Samples for DbServers ListByCloudExadataInfrastructure.
+ * Samples for AutonomousDatabases ListByResourceGroup.
*/
-public final class DbServersListByCloudExadataInfrastructureSamples {
+public final class AutonomousDatabasesListByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbServers_listByParent.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_listByResourceGroup.json
*/
/**
- * Sample code: List DbServers by Exadata Infrastructure.
+ * Sample code: AutonomousDatabases_listByResourceGroup.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listDbServersByExadataInfrastructure(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbServers().listByCloudExadataInfrastructure("rg000", "infra1", com.azure.core.util.Context.NONE);
+ autonomousDatabasesListByResourceGroup(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases().listByResourceGroup("rg000", com.azure.core.util.Context.NONE);
}
}
```
-### DbSystemShapes_Get
+### DbServers_ListByCloudExadataInfrastructure
```java
/**
- * Samples for DbSystemShapes Get.
+ * Samples for AutonomousDatabaseBackups ListByAutonomousDatabase.
*/
-public final class DbSystemShapesGetSamples {
+public final class AutonomousDatabaseBackupsListByAutonomousDatabaseSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_get.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabaseBackup_listByParent.json
*/
/**
- * Sample code: Get a DbSystemShape by name.
+ * Sample code: AutonomousDatabaseBackups_ListByAutonomousDatabase.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void getADbSystemShapeByName(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbSystemShapes().getWithResponse("eastus", "EXADATA.X9M", com.azure.core.util.Context.NONE);
+ public static void autonomousDatabaseBackupsListByAutonomousDatabase(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabaseBackups()
+ .listByAutonomousDatabase("rg000", "databasedb1", com.azure.core.util.Context.NONE);
}
}
```
@@ -1590,534 +508,548 @@ public final class DbSystemShapesGetSamples {
### DbSystemShapes_ListByLocation
```java
+import com.azure.resourcemanager.oracledatabase.models.DbNodeAction;
+import com.azure.resourcemanager.oracledatabase.models.DbNodeActionEnum;
+
/**
- * Samples for DbSystemShapes ListByLocation.
+ * Samples for ExascaleDbNodes Action.
*/
-public final class DbSystemShapesListByLocationSamples {
+public final class ExascaleDbNodesActionSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dbSystemShapes_listByLocation.
- * json
+ * x-ms-original-file: 2025-03-01/ExascaleDbNodes_Action_MaximumSet_Gen.json
*/
/**
- * Sample code: List DbSystemShapes by location.
+ * Sample code: ExascaleDbNodes_Action_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listDbSystemShapesByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dbSystemShapes().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ exascaleDbNodesActionMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exascaleDbNodes()
+ .action("rgopenapi", "vmClusterName", "dbNodeName", new DbNodeAction().withAction(DbNodeActionEnum.START),
+ com.azure.core.util.Context.NONE);
}
}
```
-### DnsPrivateViews_Get
+### ExadbVmClusters_RemoveVms
```java
/**
- * Samples for DnsPrivateViews Get.
+ * Samples for ExascaleDbNodes ListByParent.
*/
-public final class DnsPrivateViewsGetSamples {
+public final class ExascaleDbNodesListByParentSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_get.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbNodes_ListByParent_MaximumSet_Gen.json
*/
/**
- * Sample code: Get a DnsPrivateView by name.
+ * Sample code: ExascaleDbNodes_ListByParent_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- getADnsPrivateViewByName(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dnsPrivateViews().getWithResponse("eastus", "ocid1....aaaaaa", com.azure.core.util.Context.NONE);
+ exascaleDbNodesListByParentMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exascaleDbNodes().listByParent("rgopenapi", "vmClusterName", com.azure.core.util.Context.NONE);
}
}
```
-### DnsPrivateViews_ListByLocation
+### ExascaleDbNodes_Action
```java
/**
- * Samples for DnsPrivateViews ListByLocation.
+ * Samples for OracleSubscriptions ListSaasSubscriptionDetails.
*/
-public final class DnsPrivateViewsListByLocationSamples {
+public final class OracleSubscriptionsListSaasSubscriptionDetailsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateViews_listByLocation.
- * json
+ * x-ms-original-file: 2025-03-01/oracleSubscriptions_listSaasSubscriptionDetails.json
*/
/**
- * Sample code: List DnsPrivateViews by location.
+ * Sample code: OracleSubscriptions_listSaasSubscriptionDetails.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- listDnsPrivateViewsByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dnsPrivateViews().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ public static void oracleSubscriptionsListSaasSubscriptionDetails(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.oracleSubscriptions().listSaasSubscriptionDetails(com.azure.core.util.Context.NONE);
}
}
```
-### DnsPrivateZones_Get
+### ExascaleDbNodes_ListByParent
```java
/**
- * Samples for DnsPrivateZones Get.
+ * Samples for DbNodes ListByCloudVmCluster.
*/
-public final class DnsPrivateZonesGetSamples {
+public final class DbNodesListByCloudVmClusterSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_get.json
+ * x-ms-original-file: 2025-03-01/dbNodes_listByParent.json
*/
/**
- * Sample code: Get a DnsPrivateZone by name.
+ * Sample code: DbNodes_listByCloudVmCluster.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- getADnsPrivateZoneByName(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dnsPrivateZones()
- .getWithResponse("eastus", "example-dns-private-zone", com.azure.core.util.Context.NONE);
+ dbNodesListByCloudVmCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.dbNodes().listByCloudVmCluster("rg000", "cluster1", com.azure.core.util.Context.NONE);
}
}
```
-### DnsPrivateZones_ListByLocation
+### ExascaleDbStorageVaults_Create
```java
/**
- * Samples for DnsPrivateZones ListByLocation.
+ * Samples for ExascaleDbStorageVaults GetByResourceGroup.
*/
-public final class DnsPrivateZonesListByLocationSamples {
+public final class ExascaleDbStorageVaultsGetByResourceGroupSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/dnsPrivateZones_listByLocation.
- * json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: List DnsPrivateZones by location.
+ * Sample code: ExascaleDbStorageVaults_Get_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listDnsPrivateZonesByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.dnsPrivateZones().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ exascaleDbStorageVaultsGetMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exascaleDbStorageVaults()
+ .getByResourceGroupWithResponse("rgopenapi", "vmClusterName", com.azure.core.util.Context.NONE);
}
}
```
-### GiVersions_Get
+### ExascaleDbStorageVaults_Delete
```java
+import com.azure.resourcemanager.oracledatabase.models.SystemShapes;
+
/**
- * Samples for GiVersions Get.
+ * Samples for FlexComponents ListByParent.
*/
-public final class GiVersionsGetSamples {
+public final class FlexComponentsListByParentSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_get.json
+ * x-ms-original-file: 2025-03-01/FlexComponents_ListByParent_MaximumSet_Gen.json
*/
/**
- * Sample code: Get a GiVersion by name.
+ * Sample code: FlexComponents_ListByParent_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void getAGiVersionByName(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.giVersions().getWithResponse("eastus", "19.0.0.0", com.azure.core.util.Context.NONE);
+ public static void
+ flexComponentsListByParentMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.flexComponents().listByParent("eastus", SystemShapes.EXADATA_X11M, com.azure.core.util.Context.NONE);
}
}
```
-### GiVersions_ListByLocation
+### ExascaleDbStorageVaults_GetByResourceGroup
```java
+import com.azure.resourcemanager.oracledatabase.models.SystemShapes;
+
/**
* Samples for GiVersions ListByLocation.
*/
public final class GiVersionsListByLocationSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/giVersions_listByLocation.json
+ * x-ms-original-file: 2025-03-01/GiVersions_ListByLocation_MaximumSet_Gen.json
*/
/**
- * Sample code: List GiVersions by location.
+ * Sample code: List GiVersions by location - generated by [MaximumSet] rule.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- listGiVersionsByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.giVersions().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ public static void listGiVersionsByLocationGeneratedByMaximumSetRule(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.giVersions()
+ .listByLocation("eastus", SystemShapes.fromString(
+ "osixsklyaauhoqnkxvnvsqeqenhzogntqnpubldrrfvqncwetdtwqwjjcvspwhgecbimdlulwcubikebrdzmidrucgtsuqvytkqutmbyrvvyioxpocpmuwiivyanjzucaegihztluuvpznzaoakfsselumhhsvrtrbzwpjhcihsvyouonlxdluwhqfxoqvgthkaxppbydtqjntscgzbivfdcaobbkthrbdjwpejirqmbly"),
+ null, com.azure.core.util.Context.NONE);
}
-}
-```
-### Operations_List
-
-```java
-/**
- * Samples for Operations List.
- */
-public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/operations_list.json
+ * x-ms-original-file: 2025-03-01/GiVersions_ListByLocation_MinimumSet_Gen.json
*/
/**
- * Sample code: List Operations.
+ * Sample code: List GiVersions by location - generated by [MinimumSet] rule.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listOperations(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.operations().list(com.azure.core.util.Context.NONE);
+ public static void listGiVersionsByLocationGeneratedByMinimumSetRule(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.giVersions().listByLocation("eastus", null, null, com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_CreateOrUpdate
+### ExascaleDbStorageVaults_List
```java
-import com.azure.resourcemanager.oracledatabase.fluent.models.OracleSubscriptionInner;
-import com.azure.resourcemanager.oracledatabase.models.OracleSubscriptionProperties;
-import com.azure.resourcemanager.oracledatabase.models.Plan;
+import com.azure.resourcemanager.oracledatabase.models.DisasterRecoveryConfigurationDetails;
+import com.azure.resourcemanager.oracledatabase.models.DisasterRecoveryType;
/**
- * Samples for OracleSubscriptions CreateOrUpdate.
+ * Samples for AutonomousDatabases ChangeDisasterRecoveryConfiguration.
*/
-public final class OracleSubscriptionsCreateOrUpdateSamples {
+public final class AutonomousDatabasesChangeDisasterRecoveryConfigurationSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_create.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_changeDisasterRecoveryConfiguration.json
*/
/**
- * Sample code: Create or Update Oracle Subscription.
+ * Sample code: AutonomousDatabases_ChangeDisasterRecoveryConfiguration.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- createOrUpdateOracleSubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions()
- .createOrUpdate(new OracleSubscriptionInner().withProperties(new OracleSubscriptionProperties())
- .withPlan(new Plan().withName("plan1")
- .withPublisher("publisher1")
- .withProduct("product1")
- .withPromotionCode("fakeTokenPlaceholder")
- .withVersion("alpha")),
+ public static void autonomousDatabasesChangeDisasterRecoveryConfiguration(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases()
+ .changeDisasterRecoveryConfiguration("rg000", "databasedb1",
+ new DisasterRecoveryConfigurationDetails().withDisasterRecoveryType(DisasterRecoveryType.ADG)
+ .withIsReplicateAutomaticBackups(false),
com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_Delete
+### ExascaleDbStorageVaults_ListByResourceGroup
```java
/**
- * Samples for OracleSubscriptions Delete.
+ * Samples for OracleSubscriptions ListActivationLinks.
*/
-public final class OracleSubscriptionsDeleteSamples {
+public final class OracleSubscriptionsListActivationLinksSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_delete.json
+ * x-ms-original-file: 2025-03-01/oracleSubscriptions_listActivationLinks.json
*/
/**
- * Sample code: Delete Oracle Subscription.
+ * Sample code: OracleSubscriptions_listActivationLinks.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- deleteOracleSubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().delete(com.azure.core.util.Context.NONE);
+ oracleSubscriptionsListActivationLinks(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.oracleSubscriptions().listActivationLinks(com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_Get
+### ExascaleDbStorageVaults_Update
```java
/**
- * Samples for OracleSubscriptions Get.
+ * Samples for ExascaleDbStorageVaults Delete.
*/
-public final class OracleSubscriptionsGetSamples {
+public final class ExascaleDbStorageVaultsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_get.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_Delete_MaximumSet_Gen.json
*/
/**
- * Sample code: Get Oracle Subscription.
+ * Sample code: ExascaleDbStorageVaults_Delete_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void getOracleSubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().getWithResponse(com.azure.core.util.Context.NONE);
+ public static void exascaleDbStorageVaultsDeleteMaximumSet(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.exascaleDbStorageVaults().delete("rgopenapi", "vmClusterName", com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_List
+### FlexComponents_Get
```java
+import com.azure.resourcemanager.oracledatabase.models.RestoreAutonomousDatabaseDetails;
+import java.time.OffsetDateTime;
+
/**
- * Samples for OracleSubscriptions List.
+ * Samples for AutonomousDatabases Restore.
*/
-public final class OracleSubscriptionsListSamples {
+public final class AutonomousDatabasesRestoreSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * oracleSubscriptions_listBySubscription.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_restore.json
*/
/**
- * Sample code: List Oracle Subscriptions by subscription.
+ * Sample code: AutonomousDatabases_Restore.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- listOracleSubscriptionsBySubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().list(com.azure.core.util.Context.NONE);
+ autonomousDatabasesRestore(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases()
+ .restore("rg000", "databasedb1",
+ new RestoreAutonomousDatabaseDetails().withTimestamp(OffsetDateTime.parse("2024-04-23T00:00:00.000Z")),
+ com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_ListActivationLinks
+### FlexComponents_ListByParent
```java
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageInputDetails;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageVaultProperties;
+import java.util.Arrays;
+import java.util.HashMap;
+import java.util.Map;
+
/**
- * Samples for OracleSubscriptions ListActivationLinks.
+ * Samples for ExascaleDbStorageVaults Create.
*/
-public final class OracleSubscriptionsListActivationLinksSamples {
+public final class ExascaleDbStorageVaultsCreateSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * oracleSubscriptions_listActivationLinks.json
+ * x-ms-original-file: 2025-03-01/ExascaleDbStorageVaults_Create_MaximumSet_Gen.json
*/
/**
- * Sample code: List Activation Links for the Oracle Subscription.
+ * Sample code: ExascaleDbStorageVaults_Create_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listActivationLinksForTheOracleSubscription(
+ public static void exascaleDbStorageVaultsCreateMaximumSet(
com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().listActivationLinks(com.azure.core.util.Context.NONE);
+ manager.exascaleDbStorageVaults()
+ .define("vmClusterName")
+ .withRegion("ltguhzffucaytqg")
+ .withExistingResourceGroup("rgopenapi")
+ .withTags(mapOf("key7827", "fakeTokenPlaceholder"))
+ .withProperties(new ExascaleDbStorageVaultProperties().withAdditionalFlashCacheInPercent(0)
+ .withDescription("dmnvnnduldfmrmkkvvsdtuvmsmruxzzpsfdydgytlckutfozephjygjetrauvbdfcwmti")
+ .withDisplayName(
+ "hbsybtelyvhpalemszcvartlhwvskrnpiveqfblvkdihoytqaotdgsgauvgivzaftfgeiwlyeqzssicwrrnlxtsmeakbcsxabjlt")
+ .withHighCapacityDatabaseStorageInput(new ExascaleDbStorageInputDetails().withTotalSizeInGbs(21))
+ .withTimeZone(
+ "ltrbozwxjunncicrtzjrpqnqrcjgghohztrdlbfjrbkpenopyldwolslwgrgumjfkyovvkzcuxjujuxtjjzubvqvnhrswnbdgcbslopeofmtepbrrlymqwwszvsglmyuvlcuejshtpokirwklnwpcykhyinjmlqvxtyixlthtdishhmtipbygsayvgqzfrprgppylydlcskbmvwctxifdltippfvsxiughqbojqpqrekxsotnqsk"))
+ .withZones(Arrays.asList("qk"))
+ .create();
+ }
+
+ // Use "Map.of" if available
+ @SuppressWarnings("unchecked")
+ private static Map mapOf(Object... inputs) {
+ Map map = new HashMap<>();
+ for (int i = 0; i < inputs.length; i += 2) {
+ String key = (String) inputs[i];
+ T value = (T) inputs[i + 1];
+ map.put(key, value);
+ }
+ return map;
}
}
```
-### OracleSubscriptions_ListCloudAccountDetails
+### GiMinorVersions_Get
```java
/**
- * Samples for OracleSubscriptions ListCloudAccountDetails.
+ * Samples for Operations List.
*/
-public final class OracleSubscriptionsListCloudAccountDetailsSamples {
+public final class OperationsListSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * oracleSubscriptions_listCloudAccountDetails.json
+ * x-ms-original-file: 2025-03-01/operations_list.json
*/
/**
- * Sample code: List Cloud Account details for the Oracle Subscription.
+ * Sample code: Operations_list.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listCloudAccountDetailsForTheOracleSubscription(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().listCloudAccountDetails(com.azure.core.util.Context.NONE);
+ public static void operationsList(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.operations().list(com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_ListSaasSubscriptionDetails
+### GiMinorVersions_ListByParent
```java
+import com.azure.resourcemanager.oracledatabase.models.ShapeFamily;
+
/**
- * Samples for OracleSubscriptions ListSaasSubscriptionDetails.
+ * Samples for GiMinorVersions ListByParent.
*/
-public final class OracleSubscriptionsListSaasSubscriptionDetailsSamples {
+public final class GiMinorVersionsListByParentSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * oracleSubscriptions_listSaasSubscriptionDetails.json
+ * x-ms-original-file: 2025-03-01/GiMinorVersions_ListByParent_MaximumSet_Gen.json
*/
/**
- * Sample code: List Saas Subscription details for the Oracle Subscription.
+ * Sample code: GiMinorVersions_ListByParent_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listSaasSubscriptionDetailsForTheOracleSubscription(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().listSaasSubscriptionDetails(com.azure.core.util.Context.NONE);
+ public static void
+ giMinorVersionsListByParentMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.giMinorVersions()
+ .listByParent("eastus", "giVersionName", ShapeFamily.fromString("rtfcosvtlpeeqoicsjqggtgc"), null,
+ com.azure.core.util.Context.NONE);
}
}
```
-### OracleSubscriptions_Update
+### GiVersions_ListByLocation
```java
-import com.azure.resourcemanager.oracledatabase.models.OracleSubscriptionUpdate;
+import com.azure.resourcemanager.oracledatabase.models.PeerDbDetails;
/**
- * Samples for OracleSubscriptions Update.
+ * Samples for AutonomousDatabases Switchover.
*/
-public final class OracleSubscriptionsUpdateSamples {
+public final class AutonomousDatabasesSwitchoverSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/oracleSubscriptions_patch.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_switchover.json
*/
/**
- * Sample code: Patch Oracle Subscription.
+ * Sample code: AutonomousDatabases_Switchover.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void patchOracleSubscription(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.oracleSubscriptions().update(new OracleSubscriptionUpdate(), com.azure.core.util.Context.NONE);
+ public static void
+ autonomousDatabasesSwitchover(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases()
+ .switchover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
+ com.azure.core.util.Context.NONE);
}
}
```
-### SystemVersions_Get
+### Operations_List
```java
+import com.azure.resourcemanager.oracledatabase.models.PeerDbDetails;
+
/**
- * Samples for SystemVersions Get.
+ * Samples for AutonomousDatabases Failover.
*/
-public final class SystemVersionsGetSamples {
+public final class AutonomousDatabasesFailoverSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_failover.json
*/
/**
- * Sample code: systemVersions_listSystemVersions.
+ * Sample code: AutonomousDatabases_Failover.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- systemVersionsListSystemVersions(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.systemVersions().getWithResponse("eastus", "22.x", com.azure.core.util.Context.NONE);
- }
-
- /*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_get.json
- */
- /**
- * Sample code: Get Exadata System Version.
- *
- * @param manager Entry point to OracleDatabaseManager.
- */
- public static void getExadataSystemVersion(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.systemVersions().getWithResponse("eastus", "22.x", com.azure.core.util.Context.NONE);
+ autonomousDatabasesFailover(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.autonomousDatabases()
+ .failover("rg000", "databasedb1", new PeerDbDetails().withPeerDbId("peerDbId"),
+ com.azure.core.util.Context.NONE);
}
}
```
-### SystemVersions_ListByLocation
+### OracleSubscriptions_AddAzureSubscriptions
```java
/**
- * Samples for SystemVersions ListByLocation.
+ * Samples for FlexComponents Get.
*/
-public final class SystemVersionsListByLocationSamples {
+public final class FlexComponentsGetSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.
- * json
+ * x-ms-original-file: 2025-03-01/FlexComponents_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: List Exadata System Versions by the provided filter.
+ * Sample code: FlexComponents_Get_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void listExadataSystemVersionsByTheProvidedFilter(
- com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.systemVersions().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ public static void
+ flexComponentsGetMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.flexComponents().getWithResponse("eastus", "flexComponent", com.azure.core.util.Context.NONE);
}
+}
+```
+
+### OracleSubscriptions_ListActivationLinks
+```java
+import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabase;
+
+/**
+ * Samples for AutonomousDatabases Update.
+ */
+public final class AutonomousDatabasesUpdateSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/systemVersions_listByLocation.
- * json
+ * x-ms-original-file: 2025-03-01/autonomousDatabase_patch.json
*/
/**
- * Sample code: systemVersions_listByLocation.
+ * Sample code: AutonomousDatabases_update.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- systemVersionsListByLocation(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.systemVersions().listByLocation("eastus", com.azure.core.util.Context.NONE);
+ autonomousDatabasesUpdate(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ AutonomousDatabase resource = manager.autonomousDatabases()
+ .getByResourceGroupWithResponse("rg000", "databasedb1", com.azure.core.util.Context.NONE)
+ .getValue();
+ resource.update().apply();
}
}
```
-### VirtualNetworkAddresses_CreateOrUpdate
+### OracleSubscriptions_ListCloudAccountDetails
```java
-import com.azure.resourcemanager.oracledatabase.models.VirtualNetworkAddressProperties;
-
/**
- * Samples for VirtualNetworkAddresses CreateOrUpdate.
+ * Samples for DbServers ListByCloudExadataInfrastructure.
*/
-public final class VirtualNetworkAddressesCreateOrUpdateSamples {
+public final class DbServersListByCloudExadataInfrastructureSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_create.
- * json
+ * x-ms-original-file: 2025-03-01/dbServers_listByParent.json
*/
/**
- * Sample code: Create Virtual Network Address.
+ * Sample code: DbServers_listByCloudExadataInfrastructure.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- createVirtualNetworkAddress(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.virtualNetworkAddresses()
- .define("hostname1")
- .withExistingCloudVmCluster("rg000", "cluster1")
- .withProperties(
- new VirtualNetworkAddressProperties().withIpAddress("192.168.0.1").withVmOcid("ocid1..aaaa"))
- .create();
+ public static void dbServersListByCloudExadataInfrastructure(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.dbServers().listByCloudExadataInfrastructure("rg000", "infra1", com.azure.core.util.Context.NONE);
}
}
```
-### VirtualNetworkAddresses_Delete
+### OracleSubscriptions_ListSaasSubscriptionDetails
```java
/**
- * Samples for VirtualNetworkAddresses Delete.
+ * Samples for OracleSubscriptions ListCloudAccountDetails.
*/
-public final class VirtualNetworkAddressesDeleteSamples {
+public final class OracleSubscriptionsListCloudAccountDetailsSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_delete.
- * json
+ * x-ms-original-file: 2025-03-01/oracleSubscriptions_listCloudAccountDetails.json
*/
/**
- * Sample code: Delete Virtual Network Address.
+ * Sample code: OracleSubscriptions_listCloudAccountDetails.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- deleteVirtualNetworkAddress(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.virtualNetworkAddresses().delete("rg000", "cluster1", "hostname1", com.azure.core.util.Context.NONE);
+ public static void oracleSubscriptionsListCloudAccountDetails(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.oracleSubscriptions().listCloudAccountDetails(com.azure.core.util.Context.NONE);
}
}
```
-### VirtualNetworkAddresses_Get
+### OracleSubscriptions_Update
```java
/**
- * Samples for VirtualNetworkAddresses Get.
+ * Samples for GiMinorVersions Get.
*/
-public final class VirtualNetworkAddressesGetSamples {
+public final class GiMinorVersionsGetSamples {
/*
- * x-ms-original-file:
- * specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/virtualNetworkAddresses_get.json
+ * x-ms-original-file: 2025-03-01/GiMinorVersions_Get_MaximumSet_Gen.json
*/
/**
- * Sample code: Get Virtual Network Address.
+ * Sample code: GiMinorVersions_Get_MaximumSet.
*
* @param manager Entry point to OracleDatabaseManager.
*/
public static void
- getVirtualNetworkAddress(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
- manager.virtualNetworkAddresses()
- .getWithResponse("rg000", "cluster1", "hostname1", com.azure.core.util.Context.NONE);
+ giMinorVersionsGetMaximumSet(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ manager.giMinorVersions()
+ .getWithResponse("eastus", "giVersionName", "giMinorVersionName", com.azure.core.util.Context.NONE);
}
}
```
@@ -2130,16 +1062,15 @@ public final class VirtualNetworkAddressesGetSamples {
*/
public final class VirtualNetworkAddressesListByCloudVmClusterSamples {
/*
- * x-ms-original-file: specification/oracle/resource-manager/Oracle.Database/stable/2023-09-01/examples/
- * virtualNetworkAddresses_listByParent.json
+ * x-ms-original-file: 2025-03-01/virtualNetworkAddresses_listByParent.json
*/
/**
- * Sample code: List Virtual Network Addresses by VM Cluster.
+ * Sample code: VirtualNetworkAddresses_listByCloudVmCluster.
*
* @param manager Entry point to OracleDatabaseManager.
*/
- public static void
- listVirtualNetworkAddressesByVMCluster(com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
+ public static void virtualNetworkAddressesListByCloudVmCluster(
+ com.azure.resourcemanager.oracledatabase.OracleDatabaseManager manager) {
manager.virtualNetworkAddresses().listByCloudVmCluster("rg000", "cluster1", com.azure.core.util.Context.NONE);
}
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/pom.xml b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/pom.xml
index 9e28f17338a5..64bec9c050dc 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/pom.xml
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/pom.xml
@@ -1,7 +1,7 @@
4.0.0
@@ -14,11 +14,11 @@
com.azure.resourcemanager
azure-resourcemanager-oracledatabase
- 1.1.0-beta.1
+ 1.1.0
jar
- Microsoft Azure SDK for OracleDatabase Management
- This package contains Microsoft Azure SDK for OracleDatabase Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package tag package-2023-09-01.
+ Microsoft Azure SDK for Oracle Database Management
+ This package contains Microsoft Azure SDK for Oracle Database Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Package api-version 2025-03-01.
https://github.com/Azure/azure-sdk-for-java
@@ -45,13 +45,9 @@
UTF-8
0
0
+ true
-
- com.azure
- azure-json
- 1.5.0
-
com.azure
azure-core
@@ -74,5 +70,10 @@
1.16.1
test
+
+ com.azure
+ azure-json
+ 1.5.0
+
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/OracleDatabaseManager.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/OracleDatabaseManager.java
index 18d1874303e1..0692a8127a2d 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/OracleDatabaseManager.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/OracleDatabaseManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase;
@@ -11,24 +11,25 @@
import com.azure.core.http.HttpPipelinePosition;
import com.azure.core.http.policy.AddDatePolicy;
import com.azure.core.http.policy.AddHeadersFromContextPolicy;
-import com.azure.core.http.policy.HttpLoggingPolicy;
+import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
+import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
import com.azure.core.http.policy.HttpPolicyProviders;
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryOptions;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
-import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
+import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.oracledatabase.fluent.OracleDatabaseResourceManager;
+import com.azure.resourcemanager.oracledatabase.fluent.OracleDatabaseManagementClient;
import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabaseBackupsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabaseCharacterSetsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabaseNationalCharacterSetsImpl;
-import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabasesImpl;
import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabaseVersionsImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.AutonomousDatabasesImpl;
import com.azure.resourcemanager.oracledatabase.implementation.CloudExadataInfrastructuresImpl;
import com.azure.resourcemanager.oracledatabase.implementation.CloudVmClustersImpl;
import com.azure.resourcemanager.oracledatabase.implementation.DbNodesImpl;
@@ -36,17 +37,22 @@
import com.azure.resourcemanager.oracledatabase.implementation.DbSystemShapesImpl;
import com.azure.resourcemanager.oracledatabase.implementation.DnsPrivateViewsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.DnsPrivateZonesImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.ExadbVmClustersImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.ExascaleDbNodesImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.ExascaleDbStorageVaultsImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.FlexComponentsImpl;
+import com.azure.resourcemanager.oracledatabase.implementation.GiMinorVersionsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.GiVersionsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.OperationsImpl;
-import com.azure.resourcemanager.oracledatabase.implementation.OracleDatabaseResourceManagerBuilder;
+import com.azure.resourcemanager.oracledatabase.implementation.OracleDatabaseManagementClientBuilder;
import com.azure.resourcemanager.oracledatabase.implementation.OracleSubscriptionsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.SystemVersionsImpl;
import com.azure.resourcemanager.oracledatabase.implementation.VirtualNetworkAddressesImpl;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackups;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseCharacterSets;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseNationalCharacterSets;
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabases;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseVersions;
+import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabases;
import com.azure.resourcemanager.oracledatabase.models.CloudExadataInfrastructures;
import com.azure.resourcemanager.oracledatabase.models.CloudVmClusters;
import com.azure.resourcemanager.oracledatabase.models.DbNodes;
@@ -54,6 +60,11 @@
import com.azure.resourcemanager.oracledatabase.models.DbSystemShapes;
import com.azure.resourcemanager.oracledatabase.models.DnsPrivateViews;
import com.azure.resourcemanager.oracledatabase.models.DnsPrivateZones;
+import com.azure.resourcemanager.oracledatabase.models.ExadbVmClusters;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbNodes;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageVaults;
+import com.azure.resourcemanager.oracledatabase.models.FlexComponents;
+import com.azure.resourcemanager.oracledatabase.models.GiMinorVersions;
import com.azure.resourcemanager.oracledatabase.models.GiVersions;
import com.azure.resourcemanager.oracledatabase.models.Operations;
import com.azure.resourcemanager.oracledatabase.models.OracleSubscriptions;
@@ -63,6 +74,7 @@
import java.time.temporal.ChronoUnit;
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;
@@ -72,17 +84,23 @@
public final class OracleDatabaseManager {
private Operations operations;
- private AutonomousDatabases autonomousDatabases;
-
private CloudExadataInfrastructures cloudExadataInfrastructures;
+ private DbServers dbServers;
+
private CloudVmClusters cloudVmClusters;
- private AutonomousDatabaseCharacterSets autonomousDatabaseCharacterSets;
+ private VirtualNetworkAddresses virtualNetworkAddresses;
- private AutonomousDatabaseNationalCharacterSets autonomousDatabaseNationalCharacterSets;
+ private SystemVersions systemVersions;
- private AutonomousDatabaseVersions autonomousDatabaseVersions;
+ private OracleSubscriptions oracleSubscriptions;
+
+ private DbNodes dbNodes;
+
+ private GiVersions giVersions;
+
+ private GiMinorVersions giMinorVersions;
private DbSystemShapes dbSystemShapes;
@@ -90,26 +108,30 @@ public final class OracleDatabaseManager {
private DnsPrivateZones dnsPrivateZones;
- private GiVersions giVersions;
-
- private SystemVersions systemVersions;
+ private FlexComponents flexComponents;
- private OracleSubscriptions oracleSubscriptions;
+ private AutonomousDatabases autonomousDatabases;
private AutonomousDatabaseBackups autonomousDatabaseBackups;
- private DbServers dbServers;
+ private AutonomousDatabaseCharacterSets autonomousDatabaseCharacterSets;
- private DbNodes dbNodes;
+ private AutonomousDatabaseNationalCharacterSets autonomousDatabaseNationalCharacterSets;
- private VirtualNetworkAddresses virtualNetworkAddresses;
+ private AutonomousDatabaseVersions autonomousDatabaseVersions;
+
+ private ExadbVmClusters exadbVmClusters;
+
+ private ExascaleDbNodes exascaleDbNodes;
+
+ private ExascaleDbStorageVaults exascaleDbStorageVaults;
- private final OracleDatabaseResourceManager clientObject;
+ private final OracleDatabaseManagementClient clientObject;
private OracleDatabaseManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject = new OracleDatabaseResourceManagerBuilder().pipeline(httpPipeline)
+ this.clientObject = new OracleDatabaseManagementClientBuilder().pipeline(httpPipeline)
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.subscriptionId(profile.getSubscriptionId())
.defaultPollInterval(defaultPollInterval)
@@ -117,11 +139,11 @@ private OracleDatabaseManager(HttpPipeline httpPipeline, AzureProfile profile, D
}
/**
- * Creates an instance of OracleDatabase service API entry point.
+ * Creates an instance of Oracle Database service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
- * @return the OracleDatabase service API instance.
+ * @return the Oracle Database service API instance.
*/
public static OracleDatabaseManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
@@ -130,11 +152,11 @@ public static OracleDatabaseManager authenticate(TokenCredential credential, Azu
}
/**
- * Creates an instance of OracleDatabase service API entry point.
+ * Creates an instance of Oracle Database service API entry point.
*
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
- * @return the OracleDatabase service API instance.
+ * @return the Oracle Database service API instance.
*/
public static OracleDatabaseManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
@@ -156,6 +178,9 @@ public static Configurable configure() {
*/
public static final class Configurable {
private static final ClientLogger LOGGER = new ClientLogger(Configurable.class);
+ private static final String SDK_VERSION = "version";
+ private static final Map PROPERTIES
+ = CoreUtils.getProperties("azure-resourcemanager-oracledatabase.properties");
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
@@ -253,22 +278,24 @@ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
}
/**
- * Creates an instance of OracleDatabase service API entry point.
+ * Creates an instance of Oracle Database service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
- * @return the OracleDatabase service API instance.
+ * @return the Oracle Database service API instance.
*/
public OracleDatabaseManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
+ String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion");
+
StringBuilder userAgentBuilder = new StringBuilder();
userAgentBuilder.append("azsdk-java")
.append("-")
.append("com.azure.resourcemanager.oracledatabase")
.append("/")
- .append("1.0.0");
+ .append(clientVersion);
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder.append(" (")
.append(Configuration.getGlobalConfiguration().get("java.version"))
@@ -301,7 +328,7 @@ public OracleDatabaseManager authenticate(TokenCredential credential, AzureProfi
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
- policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
+ policies.add(new BearerTokenAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies.stream()
.filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY)
.collect(Collectors.toList()));
@@ -326,18 +353,6 @@ public Operations operations() {
return operations;
}
- /**
- * Gets the resource collection API of AutonomousDatabases. It manages AutonomousDatabase.
- *
- * @return Resource collection API of AutonomousDatabases.
- */
- public AutonomousDatabases autonomousDatabases() {
- if (this.autonomousDatabases == null) {
- this.autonomousDatabases = new AutonomousDatabasesImpl(clientObject.getAutonomousDatabases(), this);
- }
- return autonomousDatabases;
- }
-
/**
* Gets the resource collection API of CloudExadataInfrastructures. It manages CloudExadataInfrastructure.
*
@@ -351,6 +366,18 @@ public CloudExadataInfrastructures cloudExadataInfrastructures() {
return cloudExadataInfrastructures;
}
+ /**
+ * Gets the resource collection API of DbServers.
+ *
+ * @return Resource collection API of DbServers.
+ */
+ public DbServers dbServers() {
+ if (this.dbServers == null) {
+ this.dbServers = new DbServersImpl(clientObject.getDbServers(), this);
+ }
+ return dbServers;
+ }
+
/**
* Gets the resource collection API of CloudVmClusters. It manages CloudVmCluster.
*
@@ -364,42 +391,76 @@ public CloudVmClusters cloudVmClusters() {
}
/**
- * Gets the resource collection API of AutonomousDatabaseCharacterSets.
+ * Gets the resource collection API of VirtualNetworkAddresses. It manages VirtualNetworkAddress.
*
- * @return Resource collection API of AutonomousDatabaseCharacterSets.
+ * @return Resource collection API of VirtualNetworkAddresses.
*/
- public AutonomousDatabaseCharacterSets autonomousDatabaseCharacterSets() {
- if (this.autonomousDatabaseCharacterSets == null) {
- this.autonomousDatabaseCharacterSets
- = new AutonomousDatabaseCharacterSetsImpl(clientObject.getAutonomousDatabaseCharacterSets(), this);
+ public VirtualNetworkAddresses virtualNetworkAddresses() {
+ if (this.virtualNetworkAddresses == null) {
+ this.virtualNetworkAddresses
+ = new VirtualNetworkAddressesImpl(clientObject.getVirtualNetworkAddresses(), this);
}
- return autonomousDatabaseCharacterSets;
+ return virtualNetworkAddresses;
}
/**
- * Gets the resource collection API of AutonomousDatabaseNationalCharacterSets.
+ * Gets the resource collection API of SystemVersions.
*
- * @return Resource collection API of AutonomousDatabaseNationalCharacterSets.
+ * @return Resource collection API of SystemVersions.
*/
- public AutonomousDatabaseNationalCharacterSets autonomousDatabaseNationalCharacterSets() {
- if (this.autonomousDatabaseNationalCharacterSets == null) {
- this.autonomousDatabaseNationalCharacterSets = new AutonomousDatabaseNationalCharacterSetsImpl(
- clientObject.getAutonomousDatabaseNationalCharacterSets(), this);
+ public SystemVersions systemVersions() {
+ if (this.systemVersions == null) {
+ this.systemVersions = new SystemVersionsImpl(clientObject.getSystemVersions(), this);
}
- return autonomousDatabaseNationalCharacterSets;
+ return systemVersions;
}
/**
- * Gets the resource collection API of AutonomousDatabaseVersions.
+ * Gets the resource collection API of OracleSubscriptions.
*
- * @return Resource collection API of AutonomousDatabaseVersions.
+ * @return Resource collection API of OracleSubscriptions.
*/
- public AutonomousDatabaseVersions autonomousDatabaseVersions() {
- if (this.autonomousDatabaseVersions == null) {
- this.autonomousDatabaseVersions
- = new AutonomousDatabaseVersionsImpl(clientObject.getAutonomousDatabaseVersions(), this);
+ public OracleSubscriptions oracleSubscriptions() {
+ if (this.oracleSubscriptions == null) {
+ this.oracleSubscriptions = new OracleSubscriptionsImpl(clientObject.getOracleSubscriptions(), this);
}
- return autonomousDatabaseVersions;
+ return oracleSubscriptions;
+ }
+
+ /**
+ * Gets the resource collection API of DbNodes.
+ *
+ * @return Resource collection API of DbNodes.
+ */
+ public DbNodes dbNodes() {
+ if (this.dbNodes == null) {
+ this.dbNodes = new DbNodesImpl(clientObject.getDbNodes(), this);
+ }
+ return dbNodes;
+ }
+
+ /**
+ * Gets the resource collection API of GiVersions.
+ *
+ * @return Resource collection API of GiVersions.
+ */
+ public GiVersions giVersions() {
+ if (this.giVersions == null) {
+ this.giVersions = new GiVersionsImpl(clientObject.getGiVersions(), this);
+ }
+ return giVersions;
+ }
+
+ /**
+ * Gets the resource collection API of GiMinorVersions.
+ *
+ * @return Resource collection API of GiMinorVersions.
+ */
+ public GiMinorVersions giMinorVersions() {
+ if (this.giMinorVersions == null) {
+ this.giMinorVersions = new GiMinorVersionsImpl(clientObject.getGiMinorVersions(), this);
+ }
+ return giMinorVersions;
}
/**
@@ -439,39 +500,27 @@ public DnsPrivateZones dnsPrivateZones() {
}
/**
- * Gets the resource collection API of GiVersions.
+ * Gets the resource collection API of FlexComponents.
*
- * @return Resource collection API of GiVersions.
+ * @return Resource collection API of FlexComponents.
*/
- public GiVersions giVersions() {
- if (this.giVersions == null) {
- this.giVersions = new GiVersionsImpl(clientObject.getGiVersions(), this);
+ public FlexComponents flexComponents() {
+ if (this.flexComponents == null) {
+ this.flexComponents = new FlexComponentsImpl(clientObject.getFlexComponents(), this);
}
- return giVersions;
+ return flexComponents;
}
/**
- * Gets the resource collection API of SystemVersions.
- *
- * @return Resource collection API of SystemVersions.
- */
- public SystemVersions systemVersions() {
- if (this.systemVersions == null) {
- this.systemVersions = new SystemVersionsImpl(clientObject.getSystemVersions(), this);
- }
- return systemVersions;
- }
-
- /**
- * Gets the resource collection API of OracleSubscriptions.
+ * Gets the resource collection API of AutonomousDatabases. It manages AutonomousDatabase.
*
- * @return Resource collection API of OracleSubscriptions.
+ * @return Resource collection API of AutonomousDatabases.
*/
- public OracleSubscriptions oracleSubscriptions() {
- if (this.oracleSubscriptions == null) {
- this.oracleSubscriptions = new OracleSubscriptionsImpl(clientObject.getOracleSubscriptions(), this);
+ public AutonomousDatabases autonomousDatabases() {
+ if (this.autonomousDatabases == null) {
+ this.autonomousDatabases = new AutonomousDatabasesImpl(clientObject.getAutonomousDatabases(), this);
}
- return oracleSubscriptions;
+ return autonomousDatabases;
}
/**
@@ -488,49 +537,88 @@ public AutonomousDatabaseBackups autonomousDatabaseBackups() {
}
/**
- * Gets the resource collection API of DbServers.
+ * Gets the resource collection API of AutonomousDatabaseCharacterSets.
*
- * @return Resource collection API of DbServers.
+ * @return Resource collection API of AutonomousDatabaseCharacterSets.
*/
- public DbServers dbServers() {
- if (this.dbServers == null) {
- this.dbServers = new DbServersImpl(clientObject.getDbServers(), this);
+ public AutonomousDatabaseCharacterSets autonomousDatabaseCharacterSets() {
+ if (this.autonomousDatabaseCharacterSets == null) {
+ this.autonomousDatabaseCharacterSets
+ = new AutonomousDatabaseCharacterSetsImpl(clientObject.getAutonomousDatabaseCharacterSets(), this);
}
- return dbServers;
+ return autonomousDatabaseCharacterSets;
}
/**
- * Gets the resource collection API of DbNodes.
+ * Gets the resource collection API of AutonomousDatabaseNationalCharacterSets.
*
- * @return Resource collection API of DbNodes.
+ * @return Resource collection API of AutonomousDatabaseNationalCharacterSets.
*/
- public DbNodes dbNodes() {
- if (this.dbNodes == null) {
- this.dbNodes = new DbNodesImpl(clientObject.getDbNodes(), this);
+ public AutonomousDatabaseNationalCharacterSets autonomousDatabaseNationalCharacterSets() {
+ if (this.autonomousDatabaseNationalCharacterSets == null) {
+ this.autonomousDatabaseNationalCharacterSets = new AutonomousDatabaseNationalCharacterSetsImpl(
+ clientObject.getAutonomousDatabaseNationalCharacterSets(), this);
}
- return dbNodes;
+ return autonomousDatabaseNationalCharacterSets;
}
/**
- * Gets the resource collection API of VirtualNetworkAddresses. It manages VirtualNetworkAddress.
+ * Gets the resource collection API of AutonomousDatabaseVersions.
*
- * @return Resource collection API of VirtualNetworkAddresses.
+ * @return Resource collection API of AutonomousDatabaseVersions.
*/
- public VirtualNetworkAddresses virtualNetworkAddresses() {
- if (this.virtualNetworkAddresses == null) {
- this.virtualNetworkAddresses
- = new VirtualNetworkAddressesImpl(clientObject.getVirtualNetworkAddresses(), this);
+ public AutonomousDatabaseVersions autonomousDatabaseVersions() {
+ if (this.autonomousDatabaseVersions == null) {
+ this.autonomousDatabaseVersions
+ = new AutonomousDatabaseVersionsImpl(clientObject.getAutonomousDatabaseVersions(), this);
}
- return virtualNetworkAddresses;
+ return autonomousDatabaseVersions;
+ }
+
+ /**
+ * Gets the resource collection API of ExadbVmClusters. It manages ExadbVmCluster.
+ *
+ * @return Resource collection API of ExadbVmClusters.
+ */
+ public ExadbVmClusters exadbVmClusters() {
+ if (this.exadbVmClusters == null) {
+ this.exadbVmClusters = new ExadbVmClustersImpl(clientObject.getExadbVmClusters(), this);
+ }
+ return exadbVmClusters;
+ }
+
+ /**
+ * Gets the resource collection API of ExascaleDbNodes.
+ *
+ * @return Resource collection API of ExascaleDbNodes.
+ */
+ public ExascaleDbNodes exascaleDbNodes() {
+ if (this.exascaleDbNodes == null) {
+ this.exascaleDbNodes = new ExascaleDbNodesImpl(clientObject.getExascaleDbNodes(), this);
+ }
+ return exascaleDbNodes;
+ }
+
+ /**
+ * Gets the resource collection API of ExascaleDbStorageVaults. It manages ExascaleDbStorageVault.
+ *
+ * @return Resource collection API of ExascaleDbStorageVaults.
+ */
+ public ExascaleDbStorageVaults exascaleDbStorageVaults() {
+ if (this.exascaleDbStorageVaults == null) {
+ this.exascaleDbStorageVaults
+ = new ExascaleDbStorageVaultsImpl(clientObject.getExascaleDbStorageVaults(), this);
+ }
+ return exascaleDbStorageVaults;
}
/**
- * Gets wrapped service client OracleDatabaseResourceManager providing direct access to the underlying
+ * Gets wrapped service client OracleDatabaseManagementClient providing direct access to the underlying
* auto-generated API implementation, based on Azure REST API.
*
- * @return Wrapped service client OracleDatabaseResourceManager.
+ * @return Wrapped service client OracleDatabaseManagementClient.
*/
- public OracleDatabaseResourceManager serviceClient() {
+ public OracleDatabaseManagementClient serviceClient() {
return this.clientObject;
}
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseBackupsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseBackupsClient.java
index faa94b35ece4..c9aad645365e 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseBackupsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseBackupsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -19,35 +19,72 @@
*/
public interface AutonomousDatabaseBackupsClient {
/**
- * List AutonomousDatabaseBackup resources by AutonomousDatabase.
+ * Create a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param adbbackupid AutonomousDatabaseBackup id.
+ * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseBackup list operation as paginated response with
- * {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of autonomousDatabaseBackup resource definition.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByAutonomousDatabase(String resourceGroupName,
- String autonomousdatabasename);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AutonomousDatabaseBackupInner> beginCreateOrUpdate(
+ String resourceGroupName, String autonomousdatabasename, String adbbackupid,
+ AutonomousDatabaseBackupInner resource);
/**
- * List AutonomousDatabaseBackup resources by AutonomousDatabase.
+ * Create a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param adbbackupid AutonomousDatabaseBackup id.
+ * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseBackup list operation as paginated response with
- * {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of autonomousDatabaseBackup resource definition.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByAutonomousDatabase(String resourceGroupName,
- String autonomousdatabasename, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AutonomousDatabaseBackupInner> beginCreateOrUpdate(
+ String resourceGroupName, String autonomousdatabasename, String adbbackupid,
+ AutonomousDatabaseBackupInner resource, Context context);
+
+ /**
+ * Create a AutonomousDatabaseBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param adbbackupid AutonomousDatabaseBackup id.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return autonomousDatabaseBackup resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseBackupInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
+ String adbbackupid, AutonomousDatabaseBackupInner resource);
+
+ /**
+ * Create a AutonomousDatabaseBackup.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param adbbackupid AutonomousDatabaseBackup id.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return autonomousDatabaseBackup resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseBackupInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
+ String adbbackupid, AutonomousDatabaseBackupInner resource, Context context);
/**
* Get a AutonomousDatabaseBackup.
@@ -80,72 +117,62 @@ Response getWithResponse(String resourceGroupName
AutonomousDatabaseBackupInner get(String resourceGroupName, String autonomousdatabasename, String adbbackupid);
/**
- * Create a AutonomousDatabaseBackup.
+ * Delete a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
* @param adbbackupid AutonomousDatabaseBackup id.
- * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomousDatabaseBackup resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseBackupInner> beginCreateOrUpdate(
- String resourceGroupName, String autonomousdatabasename, String adbbackupid,
- AutonomousDatabaseBackupInner resource);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
+ String adbbackupid);
/**
- * Create a AutonomousDatabaseBackup.
+ * Delete a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
* @param adbbackupid AutonomousDatabaseBackup id.
- * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomousDatabaseBackup resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseBackupInner> beginCreateOrUpdate(
- String resourceGroupName, String autonomousdatabasename, String adbbackupid,
- AutonomousDatabaseBackupInner resource, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
+ String adbbackupid, Context context);
/**
- * Create a AutonomousDatabaseBackup.
+ * Delete a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
* @param adbbackupid AutonomousDatabaseBackup id.
- * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomousDatabaseBackup resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseBackupInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
- String adbbackupid, AutonomousDatabaseBackupInner resource);
+ void delete(String resourceGroupName, String autonomousdatabasename, String adbbackupid);
/**
- * Create a AutonomousDatabaseBackup.
+ * Delete a AutonomousDatabaseBackup.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
* @param adbbackupid AutonomousDatabaseBackup id.
- * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomousDatabaseBackup resource definition.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseBackupInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
- String adbbackupid, AutonomousDatabaseBackupInner resource, Context context);
+ void delete(String resourceGroupName, String autonomousdatabasename, String adbbackupid, Context context);
/**
* Update a AutonomousDatabaseBackup.
@@ -216,60 +243,33 @@ AutonomousDatabaseBackupInner update(String resourceGroupName, String autonomous
AutonomousDatabaseBackupUpdate properties, Context context);
/**
- * Delete a AutonomousDatabaseBackup.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param autonomousdatabasename The database name.
- * @param adbbackupid AutonomousDatabaseBackup id.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
- String adbbackupid);
-
- /**
- * Delete a AutonomousDatabaseBackup.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param autonomousdatabasename The database name.
- * @param adbbackupid AutonomousDatabaseBackup id.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of long-running operation.
- */
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
- String adbbackupid, Context context);
-
- /**
- * Delete a AutonomousDatabaseBackup.
+ * List AutonomousDatabaseBackup resources by AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param adbbackupid AutonomousDatabaseBackup id.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AutonomousDatabaseBackup list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String autonomousdatabasename, String adbbackupid);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByAutonomousDatabase(String resourceGroupName,
+ String autonomousdatabasename);
/**
- * Delete a AutonomousDatabaseBackup.
+ * List AutonomousDatabaseBackup resources by AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param adbbackupid AutonomousDatabaseBackup id.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AutonomousDatabaseBackup list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String autonomousdatabasename, String adbbackupid, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByAutonomousDatabase(String resourceGroupName,
+ String autonomousdatabasename, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseCharacterSetsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseCharacterSetsClient.java
index dfff81868729..6e90d173e8a9 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseCharacterSetsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseCharacterSetsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,57 +16,57 @@
*/
public interface AutonomousDatabaseCharacterSetsClient {
/**
- * List AutonomousDatabaseCharacterSet resources by Location.
+ * Get a AutonomousDatabaseCharacterSet.
*
* @param location The name of the Azure region.
+ * @param adbscharsetname AutonomousDatabaseCharacterSet name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseCharacterSet list operation as paginated response with
- * {@link PagedIterable}.
+ * @return a AutonomousDatabaseCharacterSet along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String adbscharsetname,
+ Context context);
/**
- * List AutonomousDatabaseCharacterSet resources by Location.
+ * Get a AutonomousDatabaseCharacterSet.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param adbscharsetname AutonomousDatabaseCharacterSet name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseCharacterSet list operation as paginated response with
- * {@link PagedIterable}.
+ * @return a AutonomousDatabaseCharacterSet.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseCharacterSetInner get(String location, String adbscharsetname);
/**
- * Get a AutonomousDatabaseCharacterSet.
+ * List AutonomousDatabaseCharacterSet resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param adbscharsetname AutonomousDatabaseCharacterSet name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDatabaseCharacterSet along with {@link Response}.
+ * @return the response of a AutonomousDatabaseCharacterSet list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String adbscharsetname,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a AutonomousDatabaseCharacterSet.
+ * List AutonomousDatabaseCharacterSet resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param adbscharsetname AutonomousDatabaseCharacterSet name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDatabaseCharacterSet.
+ * @return the response of a AutonomousDatabaseCharacterSet list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseCharacterSetInner get(String location, String adbscharsetname);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseNationalCharacterSetsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseNationalCharacterSetsClient.java
index 8cce386ff1ff..7b6b7dca95b0 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseNationalCharacterSetsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseNationalCharacterSetsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -17,57 +17,57 @@
*/
public interface AutonomousDatabaseNationalCharacterSetsClient {
/**
- * List AutonomousDatabaseNationalCharacterSet resources by Location.
+ * Get a AutonomousDatabaseNationalCharacterSet.
*
* @param location The name of the Azure region.
+ * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseNationalCharacterSet list operation as paginated response with
- * {@link PagedIterable}.
+ * @return a AutonomousDatabaseNationalCharacterSet along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String adbsncharsetname,
+ Context context);
/**
- * List AutonomousDatabaseNationalCharacterSet resources by Location.
+ * Get a AutonomousDatabaseNationalCharacterSet.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabaseNationalCharacterSet list operation as paginated response with
- * {@link PagedIterable}.
+ * @return a AutonomousDatabaseNationalCharacterSet.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseNationalCharacterSetInner get(String location, String adbsncharsetname);
/**
- * Get a AutonomousDatabaseNationalCharacterSet.
+ * List AutonomousDatabaseNationalCharacterSet resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDatabaseNationalCharacterSet along with {@link Response}.
+ * @return the response of a AutonomousDatabaseNationalCharacterSet list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String adbsncharsetname,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a AutonomousDatabaseNationalCharacterSet.
+ * List AutonomousDatabaseNationalCharacterSet resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param adbsncharsetname AutonomousDatabaseNationalCharacterSets name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDatabaseNationalCharacterSet.
+ * @return the response of a AutonomousDatabaseNationalCharacterSet list operation as paginated response with
+ * {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseNationalCharacterSetInner get(String location, String adbsncharsetname);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseVersionsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseVersionsClient.java
index b566726c0582..b4a27dd556d2 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseVersionsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabaseVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,55 +16,55 @@
*/
public interface AutonomousDatabaseVersionsClient {
/**
- * List AutonomousDbVersion resources by Location.
+ * Get a AutonomousDbVersion.
*
* @param location The name of the Azure region.
+ * @param autonomousdbversionsname AutonomousDbVersion name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDbVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a AutonomousDbVersion along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String autonomousdbversionsname,
+ Context context);
/**
- * List AutonomousDbVersion resources by Location.
+ * Get a AutonomousDbVersion.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param autonomousdbversionsname AutonomousDbVersion name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDbVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a AutonomousDbVersion.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDbVersionInner get(String location, String autonomousdbversionsname);
/**
- * Get a AutonomousDbVersion.
+ * List AutonomousDbVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param autonomousdbversionsname AutonomousDbVersion name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDbVersion along with {@link Response}.
+ * @return the response of a AutonomousDbVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String autonomousdbversionsname,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a AutonomousDbVersion.
+ * List AutonomousDbVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param autonomousdbversionsname AutonomousDbVersion name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a AutonomousDbVersion.
+ * @return the response of a AutonomousDbVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDbVersionInner get(String location, String autonomousdbversionsname);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabasesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabasesClient.java
index 291fe709a02d..5d4cafe76309 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabasesClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/AutonomousDatabasesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -14,6 +14,7 @@
import com.azure.resourcemanager.oracledatabase.fluent.models.AutonomousDatabaseInner;
import com.azure.resourcemanager.oracledatabase.fluent.models.AutonomousDatabaseWalletFileInner;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseUpdate;
+import com.azure.resourcemanager.oracledatabase.models.DisasterRecoveryConfigurationDetails;
import com.azure.resourcemanager.oracledatabase.models.GenerateAutonomousDatabaseWalletDetails;
import com.azure.resourcemanager.oracledatabase.models.PeerDbDetails;
import com.azure.resourcemanager.oracledatabase.models.RestoreAutonomousDatabaseDetails;
@@ -45,29 +46,66 @@ public interface AutonomousDatabasesClient {
PagedIterable list(Context context);
/**
- * List AutonomousDatabase resources by resource group.
+ * Create a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabase list operation as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of autonomous Database resource model.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AutonomousDatabaseInner>
+ beginCreateOrUpdate(String resourceGroupName, String autonomousdatabasename, AutonomousDatabaseInner resource);
/**
- * List AutonomousDatabase resources by resource group.
+ * Create a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a AutonomousDatabase list operation as paginated response with {@link PagedIterable}.
+ * @return the {@link SyncPoller} for polling of autonomous Database resource model.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, AutonomousDatabaseInner> beginCreateOrUpdate(
+ String resourceGroupName, String autonomousdatabasename, AutonomousDatabaseInner resource, Context context);
+
+ /**
+ * Create a AutonomousDatabase.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return autonomous Database resource model.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
+ AutonomousDatabaseInner resource);
+
+ /**
+ * Create a AutonomousDatabase.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param autonomousdatabasename The database name.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return autonomous Database resource model.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ AutonomousDatabaseInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
+ AutonomousDatabaseInner resource, Context context);
/**
* Get a AutonomousDatabase.
@@ -98,66 +136,57 @@ Response getByResourceGroupWithResponse(String resource
AutonomousDatabaseInner getByResourceGroup(String resourceGroupName, String autonomousdatabasename);
/**
- * Create a AutonomousDatabase.
+ * Delete a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseInner>
- beginCreateOrUpdate(String resourceGroupName, String autonomousdatabasename, AutonomousDatabaseInner resource);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename);
/**
- * Create a AutonomousDatabase.
+ * Delete a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseInner> beginCreateOrUpdate(
- String resourceGroupName, String autonomousdatabasename, AutonomousDatabaseInner resource, Context context);
+ SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
+ Context context);
/**
- * Create a AutonomousDatabase.
+ * Delete a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param resource Resource create parameters.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
- AutonomousDatabaseInner resource);
+ void delete(String resourceGroupName, String autonomousdatabasename);
/**
- * Create a AutonomousDatabase.
+ * Delete a AutonomousDatabase.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
- * @param resource Resource create parameters.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseInner createOrUpdate(String resourceGroupName, String autonomousdatabasename,
- AutonomousDatabaseInner resource, Context context);
+ void delete(String resourceGroupName, String autonomousdatabasename, Context context);
/**
* Update a AutonomousDatabase.
@@ -222,23 +251,51 @@ AutonomousDatabaseInner update(String resourceGroupName, String autonomousdataba
AutonomousDatabaseUpdate properties, Context context);
/**
- * Delete a AutonomousDatabase.
+ * List AutonomousDatabase resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AutonomousDatabase list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List AutonomousDatabase resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a AutonomousDatabase list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Perform switchover action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param body The content of the action request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename);
+ SyncPoller, AutonomousDatabaseInner> beginSwitchover(String resourceGroupName,
+ String autonomousdatabasename, PeerDbDetails body);
/**
- * Delete a AutonomousDatabase.
+ * Perform switchover action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param body The content of the action request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -246,33 +303,38 @@ AutonomousDatabaseInner update(String resourceGroupName, String autonomousdataba
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginDelete(String resourceGroupName, String autonomousdatabasename,
- Context context);
+ SyncPoller, AutonomousDatabaseInner> beginSwitchover(String resourceGroupName,
+ String autonomousdatabasename, PeerDbDetails body, Context context);
/**
- * Delete a AutonomousDatabase.
+ * Perform switchover action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param body The content of the action request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String autonomousdatabasename);
+ AutonomousDatabaseInner switchover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body);
/**
- * Delete a AutonomousDatabase.
+ * Perform switchover action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
+ * @param body The content of the action request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void delete(String resourceGroupName, String autonomousdatabasename, Context context);
+ AutonomousDatabaseInner switchover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body,
+ Context context);
/**
* Perform failover action on Autonomous Database.
@@ -283,7 +345,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginFailover(String resourceGroupName,
@@ -299,7 +361,7 @@ SyncPoller, AutonomousDatabaseInner> beginFa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginFailover(String resourceGroupName,
@@ -314,7 +376,7 @@ SyncPoller, AutonomousDatabaseInner> beginFa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner failover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body);
@@ -329,7 +391,7 @@ SyncPoller, AutonomousDatabaseInner> beginFa
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner failover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body,
@@ -375,7 +437,7 @@ AutonomousDatabaseWalletFileInner generateWallet(String resourceGroupName, Strin
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginRestore(String resourceGroupName,
@@ -391,7 +453,7 @@ SyncPoller, AutonomousDatabaseInner> beginRe
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginRestore(String resourceGroupName,
@@ -406,7 +468,7 @@ SyncPoller, AutonomousDatabaseInner> beginRe
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner restore(String resourceGroupName, String autonomousdatabasename,
@@ -422,7 +484,7 @@ AutonomousDatabaseInner restore(String resourceGroupName, String autonomousdatab
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner restore(String resourceGroupName, String autonomousdatabasename,
@@ -436,7 +498,7 @@ AutonomousDatabaseInner restore(String resourceGroupName, String autonomousdatab
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginShrink(String resourceGroupName,
@@ -451,7 +513,7 @@ SyncPoller, AutonomousDatabaseInner> beginSh
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, AutonomousDatabaseInner> beginShrink(String resourceGroupName,
@@ -465,7 +527,7 @@ SyncPoller, AutonomousDatabaseInner> beginSh
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner shrink(String resourceGroupName, String autonomousdatabasename);
@@ -479,13 +541,13 @@ SyncPoller, AutonomousDatabaseInner> beginSh
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AutonomousDatabaseInner shrink(String resourceGroupName, String autonomousdatabasename, Context context);
/**
- * Perform switchover action on Autonomous Database.
+ * Perform ChangeDisasterRecoveryConfiguration action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
@@ -493,14 +555,14 @@ SyncPoller, AutonomousDatabaseInner> beginSh
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseInner> beginSwitchover(String resourceGroupName,
- String autonomousdatabasename, PeerDbDetails body);
+ SyncPoller, AutonomousDatabaseInner> beginChangeDisasterRecoveryConfiguration(
+ String resourceGroupName, String autonomousdatabasename, DisasterRecoveryConfigurationDetails body);
/**
- * Perform switchover action on Autonomous Database.
+ * Perform ChangeDisasterRecoveryConfiguration action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
@@ -509,14 +571,15 @@ SyncPoller, AutonomousDatabaseInner> beginSw
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of autonomous Database resource model.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, AutonomousDatabaseInner> beginSwitchover(String resourceGroupName,
- String autonomousdatabasename, PeerDbDetails body, Context context);
+ SyncPoller, AutonomousDatabaseInner> beginChangeDisasterRecoveryConfiguration(
+ String resourceGroupName, String autonomousdatabasename, DisasterRecoveryConfigurationDetails body,
+ Context context);
/**
- * Perform switchover action on Autonomous Database.
+ * Perform ChangeDisasterRecoveryConfiguration action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
@@ -524,13 +587,14 @@ SyncPoller, AutonomousDatabaseInner> beginSw
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseInner switchover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body);
+ AutonomousDatabaseInner changeDisasterRecoveryConfiguration(String resourceGroupName, String autonomousdatabasename,
+ DisasterRecoveryConfigurationDetails body);
/**
- * Perform switchover action on Autonomous Database.
+ * Perform ChangeDisasterRecoveryConfiguration action on Autonomous Database.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param autonomousdatabasename The database name.
@@ -539,9 +603,9 @@ SyncPoller, AutonomousDatabaseInner> beginSw
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return autonomous Database resource model.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- AutonomousDatabaseInner switchover(String resourceGroupName, String autonomousdatabasename, PeerDbDetails body,
- Context context);
+ AutonomousDatabaseInner changeDisasterRecoveryConfiguration(String resourceGroupName, String autonomousdatabasename,
+ DisasterRecoveryConfigurationDetails body, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudExadataInfrastructuresClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudExadataInfrastructuresClient.java
index cec943dd427a..6515bc1882cd 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudExadataInfrastructuresClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudExadataInfrastructuresClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -42,61 +42,6 @@ public interface CloudExadataInfrastructuresClient {
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
- /**
- * List CloudExadataInfrastructure resources by resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a CloudExadataInfrastructure list operation as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List CloudExadataInfrastructure resources by resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a CloudExadataInfrastructure list operation as paginated response with
- * {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Get a CloudExadataInfrastructure.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a CloudExadataInfrastructure along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName,
- String cloudexadatainfrastructurename, Context context);
-
- /**
- * Get a CloudExadataInfrastructure.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a CloudExadataInfrastructure.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CloudExadataInfrastructureInner getByResourceGroup(String resourceGroupName, String cloudexadatainfrastructurename);
-
/**
* Create a CloudExadataInfrastructure.
*
@@ -160,6 +105,34 @@ CloudExadataInfrastructureInner createOrUpdate(String resourceGroupName, String
CloudExadataInfrastructureInner createOrUpdate(String resourceGroupName, String cloudexadatainfrastructurename,
CloudExadataInfrastructureInner resource, Context context);
+ /**
+ * Get a CloudExadataInfrastructure.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a CloudExadataInfrastructure along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String cloudexadatainfrastructurename, Context context);
+
+ /**
+ * Get a CloudExadataInfrastructure.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a CloudExadataInfrastructure.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CloudExadataInfrastructureInner getByResourceGroup(String resourceGroupName, String cloudexadatainfrastructurename);
+
/**
* Update a CloudExadataInfrastructure.
*
@@ -276,6 +249,33 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String cloudexadatainfrastructurename, Context context);
+ /**
+ * List CloudExadataInfrastructure resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a CloudExadataInfrastructure list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List CloudExadataInfrastructure resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a CloudExadataInfrastructure list operation as paginated response with
+ * {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
/**
* Perform add storage capacity on exadata infra.
*
@@ -284,7 +284,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudExadataInfrastructure resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CloudExadataInfrastructureInner>
@@ -299,7 +299,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudExadataInfrastructure resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CloudExadataInfrastructureInner>
@@ -313,7 +313,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudExadataInfrastructure resource definition.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CloudExadataInfrastructureInner addStorageCapacity(String resourceGroupName, String cloudexadatainfrastructurename);
@@ -327,7 +327,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudExadataInfrastructure resource definition.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CloudExadataInfrastructureInner addStorageCapacity(String resourceGroupName, String cloudexadatainfrastructurename,
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudVmClustersClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudVmClustersClient.java
index 96df1fbfc801..394c122b405a 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudVmClustersClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/CloudVmClustersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -44,59 +44,6 @@ public interface CloudVmClustersClient {
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
- /**
- * List CloudVmCluster resources by resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a CloudVmCluster list operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName);
-
- /**
- * List CloudVmCluster resources by resource group.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a CloudVmCluster list operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByResourceGroup(String resourceGroupName, Context context);
-
- /**
- * Get a CloudVmCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a CloudVmCluster along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getByResourceGroupWithResponse(String resourceGroupName, String cloudvmclustername,
- Context context);
-
- /**
- * Get a CloudVmCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a CloudVmCluster.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- CloudVmClusterInner getByResourceGroup(String resourceGroupName, String cloudvmclustername);
-
/**
* Create a CloudVmCluster.
*
@@ -159,6 +106,34 @@ CloudVmClusterInner createOrUpdate(String resourceGroupName, String cloudvmclust
CloudVmClusterInner createOrUpdate(String resourceGroupName, String cloudvmclustername,
CloudVmClusterInner resource, Context context);
+ /**
+ * Get a CloudVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a CloudVmCluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String cloudvmclustername,
+ Context context);
+
+ /**
+ * Get a CloudVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a CloudVmCluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CloudVmClusterInner getByResourceGroup(String resourceGroupName, String cloudvmclustername);
+
/**
* Update a CloudVmCluster.
*
@@ -273,6 +248,31 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String cloudvmclustername, Context context);
+ /**
+ * List CloudVmCluster resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a CloudVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List CloudVmCluster resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a CloudVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
/**
* Add VMs to the VM Cluster.
*
@@ -282,7 +282,7 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudVmCluster resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CloudVmClusterInner> beginAddVms(String resourceGroupName,
@@ -298,7 +298,7 @@ SyncPoller, CloudVmClusterInner> beginAddVms(Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudVmCluster resource definition.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, CloudVmClusterInner> beginAddVms(String resourceGroupName,
@@ -313,7 +313,7 @@ SyncPoller, CloudVmClusterInner> beginAddVms(Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudVmCluster resource definition.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CloudVmClusterInner addVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body);
@@ -328,42 +328,42 @@ SyncPoller, CloudVmClusterInner> beginAddVms(Str
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudVmCluster resource definition.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CloudVmClusterInner addVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body,
Context context);
/**
- * List Private IP Addresses by the provided filter.
+ * Remove VMs from the VM Cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
* @param body The content of the action request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return array of PrivateIpAddressProperties along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response> listPrivateIpAddressesWithResponse(String resourceGroupName,
- String cloudvmclustername, PrivateIpAddressesFilter body, Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CloudVmClusterInner> beginRemoveVms(String resourceGroupName,
+ String cloudvmclustername, AddRemoveDbNode body);
/**
- * List Private IP Addresses by the provided filter.
+ * Remove VMs from the VM Cluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
* @param body The content of the action request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return array of PrivateIpAddressProperties.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- List listPrivateIpAddresses(String resourceGroupName, String cloudvmclustername,
- PrivateIpAddressesFilter body);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, CloudVmClusterInner> beginRemoveVms(String resourceGroupName,
+ String cloudvmclustername, AddRemoveDbNode body, Context context);
/**
* Remove VMs from the VM Cluster.
@@ -374,11 +374,10 @@ List listPrivateIpAddresses(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudVmCluster resource definition.
+ * @return the response.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudVmClusterInner> beginRemoveVms(String resourceGroupName,
- String cloudvmclustername, AddRemoveDbNode body);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CloudVmClusterInner removeVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body);
/**
* Remove VMs from the VM Cluster.
@@ -390,39 +389,40 @@ SyncPoller, CloudVmClusterInner> beginRemoveVms(
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloudVmCluster resource definition.
+ * @return the response.
*/
- @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudVmClusterInner> beginRemoveVms(String resourceGroupName,
- String cloudvmclustername, AddRemoveDbNode body, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ CloudVmClusterInner removeVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body,
+ Context context);
/**
- * Remove VMs from the VM Cluster.
+ * List Private IP Addresses by the provided filter.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
* @param body The content of the action request.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudVmCluster resource definition.
+ * @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudVmClusterInner removeVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body);
+ Response> listPrivateIpAddressesWithResponse(String resourceGroupName,
+ String cloudvmclustername, PrivateIpAddressesFilter body, Context context);
/**
- * Remove VMs from the VM Cluster.
+ * List Private IP Addresses by the provided filter.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
* @param body The content of the action request.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloudVmCluster resource definition.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudVmClusterInner removeVms(String resourceGroupName, String cloudvmclustername, AddRemoveDbNode body,
- Context context);
+ List listPrivateIpAddresses(String resourceGroupName, String cloudvmclustername,
+ PrivateIpAddressesFilter body);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbNodesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbNodesClient.java
index ba9772186d10..0174b669290a 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbNodesClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbNodesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -19,62 +19,62 @@
*/
public interface DbNodesClient {
/**
- * List DbNode resources by CloudVmCluster.
+ * Get a DbNode.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
+ * @param dbnodeocid DbNode OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbNode list operation as paginated response with {@link PagedIterable}.
+ * @return a DbNode along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String cloudvmclustername, String dbnodeocid,
+ Context context);
/**
- * List DbNode resources by CloudVmCluster.
+ * Get a DbNode.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
- * @param context The context to associate with this operation.
+ * @param dbnodeocid DbNode OCID.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbNode list operation as paginated response with {@link PagedIterable}.
+ * @return a DbNode.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername,
- Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DbNodeInner get(String resourceGroupName, String cloudvmclustername, String dbnodeocid);
/**
- * Get a DbNode.
+ * List DbNode resources by CloudVmCluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
- * @param dbnodeocid DbNode OCID.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbNode along with {@link Response}.
+ * @return the response of a DbNode list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String cloudvmclustername, String dbnodeocid,
- Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername);
/**
- * Get a DbNode.
+ * List DbNode resources by CloudVmCluster.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudvmclustername CloudVmCluster name.
- * @param dbnodeocid DbNode OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbNode.
+ * @return the response of a DbNode list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DbNodeInner get(String resourceGroupName, String cloudvmclustername, String dbnodeocid);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername,
+ Context context);
/**
* VM actions on DbNode of VM Cluster by the provided filter.
@@ -86,7 +86,7 @@ Response getWithResponse(String resourceGroupName, String cloudvmcl
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the DbNode resource belonging to vmCluster.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DbNodeInner> beginAction(String resourceGroupName, String cloudvmclustername,
@@ -103,7 +103,7 @@ SyncPoller, DbNodeInner> beginAction(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of the DbNode resource belonging to vmCluster.
+ * @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
SyncPoller, DbNodeInner> beginAction(String resourceGroupName, String cloudvmclustername,
@@ -119,7 +119,7 @@ SyncPoller, DbNodeInner> beginAction(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the DbNode resource belonging to vmCluster.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DbNodeInner action(String resourceGroupName, String cloudvmclustername, String dbnodeocid, DbNodeAction body);
@@ -135,7 +135,7 @@ SyncPoller, DbNodeInner> beginAction(String resourceGrou
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the DbNode resource belonging to vmCluster.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
DbNodeInner action(String resourceGroupName, String cloudvmclustername, String dbnodeocid, DbNodeAction body,
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbServersClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbServersClient.java
index 2f8f51f1f019..74c9b6ecb237 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbServersClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbServersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,61 +16,61 @@
*/
public interface DbServersClient {
/**
- * List DbServer resources by CloudExadataInfrastructure.
+ * Get a DbServer.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
+ * @param dbserverocid DbServer OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbServer list operation as paginated response with {@link PagedIterable}.
+ * @return a DbServer along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudExadataInfrastructure(String resourceGroupName,
- String cloudexadatainfrastructurename);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String cloudexadatainfrastructurename,
+ String dbserverocid, Context context);
/**
- * List DbServer resources by CloudExadataInfrastructure.
+ * Get a DbServer.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
- * @param context The context to associate with this operation.
+ * @param dbserverocid DbServer OCID.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbServer list operation as paginated response with {@link PagedIterable}.
+ * @return a DbServer.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudExadataInfrastructure(String resourceGroupName,
- String cloudexadatainfrastructurename, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DbServerInner get(String resourceGroupName, String cloudexadatainfrastructurename, String dbserverocid);
/**
- * Get a DbServer.
+ * List DbServer resources by CloudExadataInfrastructure.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
- * @param dbserverocid DbServer OCID.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbServer along with {@link Response}.
+ * @return the response of a DbServer list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String cloudexadatainfrastructurename,
- String dbserverocid, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudExadataInfrastructure(String resourceGroupName,
+ String cloudexadatainfrastructurename);
/**
- * Get a DbServer.
+ * List DbServer resources by CloudExadataInfrastructure.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param cloudexadatainfrastructurename CloudExadataInfrastructure name.
- * @param dbserverocid DbServer OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbServer.
+ * @return the response of a DbServer list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DbServerInner get(String resourceGroupName, String cloudexadatainfrastructurename, String dbserverocid);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudExadataInfrastructure(String resourceGroupName,
+ String cloudexadatainfrastructurename, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbSystemShapesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbSystemShapesClient.java
index fb3cc6c33d49..fef679a32b54 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbSystemShapesClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DbSystemShapesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,54 +16,55 @@
*/
public interface DbSystemShapesClient {
/**
- * List DbSystemShape resources by Location.
+ * Get a DbSystemShape.
*
* @param location The name of the Azure region.
+ * @param dbsystemshapename DbSystemShape name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbSystemShape list operation as paginated response with {@link PagedIterable}.
+ * @return a DbSystemShape along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String dbsystemshapename, Context context);
/**
- * List DbSystemShape resources by Location.
+ * Get a DbSystemShape.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param dbsystemshapename DbSystemShape name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DbSystemShape list operation as paginated response with {@link PagedIterable}.
+ * @return a DbSystemShape.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DbSystemShapeInner get(String location, String dbsystemshapename);
/**
- * Get a DbSystemShape.
+ * List DbSystemShape resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dbsystemshapename DbSystemShape name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbSystemShape along with {@link Response}.
+ * @return the response of a DbSystemShape list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String dbsystemshapename, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a DbSystemShape.
+ * List DbSystemShape resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dbsystemshapename DbSystemShape name.
+ * @param zone Filters the result for the given Azure Availability Zone.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DbSystemShape.
+ * @return the response of a DbSystemShape list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DbSystemShapeInner get(String location, String dbsystemshapename);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, String zone, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateViewsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateViewsClient.java
index 5e6b80e6efed..e98edc3aeb3d 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateViewsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateViewsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,54 +16,54 @@
*/
public interface DnsPrivateViewsClient {
/**
- * List DnsPrivateView resources by Location.
+ * Get a DnsPrivateView.
*
* @param location The name of the Azure region.
+ * @param dnsprivateviewocid DnsPrivateView OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DnsPrivateView list operation as paginated response with {@link PagedIterable}.
+ * @return a DnsPrivateView along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String dnsprivateviewocid, Context context);
/**
- * List DnsPrivateView resources by Location.
+ * Get a DnsPrivateView.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param dnsprivateviewocid DnsPrivateView OCID.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DnsPrivateView list operation as paginated response with {@link PagedIterable}.
+ * @return a DnsPrivateView.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DnsPrivateViewInner get(String location, String dnsprivateviewocid);
/**
- * Get a DnsPrivateView.
+ * List DnsPrivateView resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dnsprivateviewocid DnsPrivateView OCID.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DnsPrivateView along with {@link Response}.
+ * @return the response of a DnsPrivateView list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String dnsprivateviewocid, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a DnsPrivateView.
+ * List DnsPrivateView resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dnsprivateviewocid DnsPrivateView OCID.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DnsPrivateView.
+ * @return the response of a DnsPrivateView list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DnsPrivateViewInner get(String location, String dnsprivateviewocid);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateZonesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateZonesClient.java
index 19a9ebcb3e8b..d28b6eea8bd9 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateZonesClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/DnsPrivateZonesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,54 +16,54 @@
*/
public interface DnsPrivateZonesClient {
/**
- * List DnsPrivateZone resources by Location.
+ * Get a DnsPrivateZone.
*
* @param location The name of the Azure region.
+ * @param dnsprivatezonename DnsPrivateZone name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DnsPrivateZone list operation as paginated response with {@link PagedIterable}.
+ * @return a DnsPrivateZone along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String dnsprivatezonename, Context context);
/**
- * List DnsPrivateZone resources by Location.
+ * Get a DnsPrivateZone.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param dnsprivatezonename DnsPrivateZone name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a DnsPrivateZone list operation as paginated response with {@link PagedIterable}.
+ * @return a DnsPrivateZone.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DnsPrivateZoneInner get(String location, String dnsprivatezonename);
/**
- * Get a DnsPrivateZone.
+ * List DnsPrivateZone resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dnsprivatezonename DnsPrivateZone name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DnsPrivateZone along with {@link Response}.
+ * @return the response of a DnsPrivateZone list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String dnsprivatezonename, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a DnsPrivateZone.
+ * List DnsPrivateZone resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param dnsprivatezonename DnsPrivateZone name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a DnsPrivateZone.
+ * @return the response of a DnsPrivateZone list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- DnsPrivateZoneInner get(String location, String dnsprivatezonename);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExadbVmClustersClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExadbVmClustersClient.java
new file mode 100644
index 000000000000..d1fd88967404
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExadbVmClustersClient.java
@@ -0,0 +1,334 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.oracledatabase.fluent.models.ExadbVmClusterInner;
+import com.azure.resourcemanager.oracledatabase.models.ExadbVmClusterUpdate;
+import com.azure.resourcemanager.oracledatabase.models.RemoveVirtualMachineFromExadbVmClusterDetails;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExadbVmClustersClient.
+ */
+public interface ExadbVmClustersClient {
+ /**
+ * List ExadbVmCluster resources by subscription ID.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExadbVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List ExadbVmCluster resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExadbVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+
+ /**
+ * Create a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String exadbVmClusterName, ExadbVmClusterInner resource);
+
+ /**
+ * Create a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginCreateOrUpdate(String resourceGroupName,
+ String exadbVmClusterName, ExadbVmClusterInner resource, Context context);
+
+ /**
+ * Create a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner createOrUpdate(String resourceGroupName, String exadbVmClusterName,
+ ExadbVmClusterInner resource);
+
+ /**
+ * Create a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner createOrUpdate(String resourceGroupName, String exadbVmClusterName,
+ ExadbVmClusterInner resource, Context context);
+
+ /**
+ * Get a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExadbVmCluster along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName, String exadbVmClusterName,
+ Context context);
+
+ /**
+ * Get a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExadbVmCluster.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner getByResourceGroup(String resourceGroupName, String exadbVmClusterName);
+
+ /**
+ * Update a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginUpdate(String resourceGroupName,
+ String exadbVmClusterName, ExadbVmClusterUpdate properties);
+
+ /**
+ * Update a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginUpdate(String resourceGroupName,
+ String exadbVmClusterName, ExadbVmClusterUpdate properties, Context context);
+
+ /**
+ * Update a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner update(String resourceGroupName, String exadbVmClusterName, ExadbVmClusterUpdate properties);
+
+ /**
+ * Update a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exadbVmCluster resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner update(String resourceGroupName, String exadbVmClusterName, ExadbVmClusterUpdate properties,
+ Context context);
+
+ /**
+ * Delete a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String exadbVmClusterName);
+
+ /**
+ * Delete a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String exadbVmClusterName,
+ Context context);
+
+ /**
+ * Delete a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String exadbVmClusterName);
+
+ /**
+ * Delete a ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String exadbVmClusterName, Context context);
+
+ /**
+ * List ExadbVmCluster resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExadbVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List ExadbVmCluster resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExadbVmCluster list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * Remove VMs from the VM Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginRemoveVms(String resourceGroupName,
+ String exadbVmClusterName, RemoveVirtualMachineFromExadbVmClusterDetails body);
+
+ /**
+ * Remove VMs from the VM Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExadbVmClusterInner> beginRemoveVms(String resourceGroupName,
+ String exadbVmClusterName, RemoveVirtualMachineFromExadbVmClusterDetails body, Context context);
+
+ /**
+ * Remove VMs from the VM Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner removeVms(String resourceGroupName, String exadbVmClusterName,
+ RemoveVirtualMachineFromExadbVmClusterDetails body);
+
+ /**
+ * Remove VMs from the VM Cluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExadbVmClusterInner removeVms(String resourceGroupName, String exadbVmClusterName,
+ RemoveVirtualMachineFromExadbVmClusterDetails body, Context context);
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbNodesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbNodesClient.java
new file mode 100644
index 000000000000..de6ad7ff58af
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbNodesClient.java
@@ -0,0 +1,145 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.oracledatabase.fluent.models.DbActionResponseInner;
+import com.azure.resourcemanager.oracledatabase.fluent.models.ExascaleDbNodeInner;
+import com.azure.resourcemanager.oracledatabase.models.DbNodeAction;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExascaleDbNodesClient.
+ */
+public interface ExascaleDbNodesClient {
+ /**
+ * Get a ExascaleDbNode.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExascaleDbNode along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String exadbVmClusterName,
+ String exascaleDbNodeName, Context context);
+
+ /**
+ * Get a ExascaleDbNode.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExascaleDbNode.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbNodeInner get(String resourceGroupName, String exadbVmClusterName, String exascaleDbNodeName);
+
+ /**
+ * List ExascaleDbNode resources by ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbNode list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String exadbVmClusterName);
+
+ /**
+ * List ExascaleDbNode resources by ExadbVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbNode list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String resourceGroupName, String exadbVmClusterName,
+ Context context);
+
+ /**
+ * VM actions on DbNode of ExadbVmCluster by the provided filter.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DbActionResponseInner> beginAction(String resourceGroupName,
+ String exadbVmClusterName, String exascaleDbNodeName, DbNodeAction body);
+
+ /**
+ * VM actions on DbNode of ExadbVmCluster by the provided filter.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, DbActionResponseInner> beginAction(String resourceGroupName,
+ String exadbVmClusterName, String exascaleDbNodeName, DbNodeAction body, Context context);
+
+ /**
+ * VM actions on DbNode of ExadbVmCluster by the provided filter.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DbActionResponseInner action(String resourceGroupName, String exadbVmClusterName, String exascaleDbNodeName,
+ DbNodeAction body);
+
+ /**
+ * VM actions on DbNode of ExadbVmCluster by the provided filter.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exadbVmClusterName The name of the ExadbVmCluster.
+ * @param exascaleDbNodeName The name of the ExascaleDbNode.
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ DbActionResponseInner action(String resourceGroupName, String exadbVmClusterName, String exascaleDbNodeName,
+ DbNodeAction body, Context context);
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbStorageVaultsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbStorageVaultsClient.java
new file mode 100644
index 000000000000..4b3bf87ef537
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/ExascaleDbStorageVaultsClient.java
@@ -0,0 +1,274 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
+import com.azure.resourcemanager.oracledatabase.fluent.models.ExascaleDbStorageVaultInner;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageVaultTagsUpdate;
+
+/**
+ * An instance of this class provides access to all the operations defined in ExascaleDbStorageVaultsClient.
+ */
+public interface ExascaleDbStorageVaultsClient {
+ /**
+ * Get a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExascaleDbStorageVault along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getByResourceGroupWithResponse(String resourceGroupName,
+ String exascaleDbStorageVaultName, Context context);
+
+ /**
+ * Get a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a ExascaleDbStorageVault.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbStorageVaultInner getByResourceGroup(String resourceGroupName, String exascaleDbStorageVaultName);
+
+ /**
+ * Create a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExascaleDbStorageVaultInner>
+ beginCreate(String resourceGroupName, String exascaleDbStorageVaultName, ExascaleDbStorageVaultInner resource);
+
+ /**
+ * Create a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExascaleDbStorageVaultInner> beginCreate(
+ String resourceGroupName, String exascaleDbStorageVaultName, ExascaleDbStorageVaultInner resource,
+ Context context);
+
+ /**
+ * Create a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param resource Resource create parameters.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbStorageVaultInner create(String resourceGroupName, String exascaleDbStorageVaultName,
+ ExascaleDbStorageVaultInner resource);
+
+ /**
+ * Create a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param resource Resource create parameters.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbStorageVaultInner create(String resourceGroupName, String exascaleDbStorageVaultName,
+ ExascaleDbStorageVaultInner resource, Context context);
+
+ /**
+ * Update a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExascaleDbStorageVaultInner> beginUpdate(
+ String resourceGroupName, String exascaleDbStorageVaultName, ExascaleDbStorageVaultTagsUpdate properties);
+
+ /**
+ * Update a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ExascaleDbStorageVaultInner> beginUpdate(
+ String resourceGroupName, String exascaleDbStorageVaultName, ExascaleDbStorageVaultTagsUpdate properties,
+ Context context);
+
+ /**
+ * Update a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param properties The resource properties to be updated.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbStorageVaultInner update(String resourceGroupName, String exascaleDbStorageVaultName,
+ ExascaleDbStorageVaultTagsUpdate properties);
+
+ /**
+ * Update a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param properties The resource properties to be updated.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return exascaleDbStorageVault resource definition.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ExascaleDbStorageVaultInner update(String resourceGroupName, String exascaleDbStorageVaultName,
+ ExascaleDbStorageVaultTagsUpdate properties, Context context);
+
+ /**
+ * Delete a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String exascaleDbStorageVaultName);
+
+ /**
+ * Delete a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginDelete(String resourceGroupName, String exascaleDbStorageVaultName,
+ Context context);
+
+ /**
+ * Delete a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String exascaleDbStorageVaultName);
+
+ /**
+ * Delete a ExascaleDbStorageVault.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param exascaleDbStorageVaultName The name of the ExascaleDbStorageVault.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void delete(String resourceGroupName, String exascaleDbStorageVaultName, Context context);
+
+ /**
+ * List ExascaleDbStorageVault resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbStorageVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName);
+
+ /**
+ * List ExascaleDbStorageVault resources by resource group.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbStorageVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByResourceGroup(String resourceGroupName, Context context);
+
+ /**
+ * List ExascaleDbStorageVault resources by subscription ID.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbStorageVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list();
+
+ /**
+ * List ExascaleDbStorageVault resources by subscription ID.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a ExascaleDbStorageVault list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(Context context);
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/FlexComponentsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/FlexComponentsClient.java
new file mode 100644
index 000000000000..b25f65496f9e
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/FlexComponentsClient.java
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.oracledatabase.fluent.models.FlexComponentInner;
+import com.azure.resourcemanager.oracledatabase.models.SystemShapes;
+
+/**
+ * An instance of this class provides access to all the operations defined in FlexComponentsClient.
+ */
+public interface FlexComponentsClient {
+ /**
+ * Get a FlexComponent.
+ *
+ * @param location The name of the Azure region.
+ * @param flexComponentName The name of the FlexComponent.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a FlexComponent along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String flexComponentName, Context context);
+
+ /**
+ * Get a FlexComponent.
+ *
+ * @param location The name of the Azure region.
+ * @param flexComponentName The name of the FlexComponent.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a FlexComponent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ FlexComponentInner get(String location, String flexComponentName);
+
+ /**
+ * List FlexComponent resources by SubscriptionLocationResource.
+ *
+ * @param location The name of the Azure region.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FlexComponent list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String location);
+
+ /**
+ * List FlexComponent resources by SubscriptionLocationResource.
+ *
+ * @param location The name of the Azure region.
+ * @param shape If provided, filters the results for the given shape.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a FlexComponent list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String location, SystemShapes shape, Context context);
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiMinorVersionsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiMinorVersionsClient.java
new file mode 100644
index 000000000000..ba59abdb514d
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiMinorVersionsClient.java
@@ -0,0 +1,79 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent;
+
+import com.azure.core.annotation.ReturnType;
+import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
+import com.azure.core.http.rest.Response;
+import com.azure.core.util.Context;
+import com.azure.resourcemanager.oracledatabase.fluent.models.GiMinorVersionInner;
+import com.azure.resourcemanager.oracledatabase.models.ShapeFamily;
+
+/**
+ * An instance of this class provides access to all the operations defined in GiMinorVersionsClient.
+ */
+public interface GiMinorVersionsClient {
+ /**
+ * List GiMinorVersion resources by GiVersion.
+ *
+ * @param location The name of the Azure region.
+ * @param giversionname GiVersion name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a GiMinorVersion list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String location, String giversionname);
+
+ /**
+ * List GiMinorVersion resources by GiVersion.
+ *
+ * @param location The name of the Azure region.
+ * @param giversionname GiVersion name.
+ * @param shapeFamily If provided, filters the results to the set of database versions which are supported for the
+ * given shape family.
+ * @param zone Filters the result for the given Azure Availability Zone.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a GiMinorVersion list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByParent(String location, String giversionname, ShapeFamily shapeFamily,
+ String zone, Context context);
+
+ /**
+ * Get a GiMinorVersion.
+ *
+ * @param location The name of the Azure region.
+ * @param giversionname GiVersion name.
+ * @param giMinorVersionName The name of the GiMinorVersion.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a GiMinorVersion along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String giversionname, String giMinorVersionName,
+ Context context);
+
+ /**
+ * Get a GiMinorVersion.
+ *
+ * @param location The name of the Azure region.
+ * @param giversionname GiVersion name.
+ * @param giMinorVersionName The name of the GiMinorVersion.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a GiMinorVersion.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GiMinorVersionInner get(String location, String giversionname, String giMinorVersionName);
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiVersionsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiVersionsClient.java
index fdc722e20fc0..eb1da495c8fa 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiVersionsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/GiVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -10,60 +10,63 @@
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.oracledatabase.fluent.models.GiVersionInner;
+import com.azure.resourcemanager.oracledatabase.models.SystemShapes;
/**
* An instance of this class provides access to all the operations defined in GiVersionsClient.
*/
public interface GiVersionsClient {
/**
- * List GiVersion resources by Location.
+ * Get a GiVersion.
*
* @param location The name of the Azure region.
+ * @param giversionname GiVersion name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a GiVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a GiVersion along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String giversionname, Context context);
/**
- * List GiVersion resources by Location.
+ * Get a GiVersion.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param giversionname GiVersion name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a GiVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a GiVersion.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ GiVersionInner get(String location, String giversionname);
/**
- * Get a GiVersion.
+ * List GiVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param giversionname GiVersion name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a GiVersion along with {@link Response}.
+ * @return the response of a GiVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String giversionname, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a GiVersion.
+ * List GiVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param giversionname GiVersion name.
+ * @param shape If provided, filters the results for the given shape.
+ * @param zone Filters the result for the given Azure Availability Zone.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a GiVersion.
+ * @return the response of a GiVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- GiVersionInner get(String location, String giversionname);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, SystemShapes shape, String zone, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OperationsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OperationsClient.java
index 4eeb2a41bb36..78b023ae49cc 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OperationsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseResourceManager.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseManagementClient.java
similarity index 78%
rename from sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseResourceManager.java
rename to sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseManagementClient.java
index 09cc41dda2cb..a9639a16d442 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseResourceManager.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleDatabaseManagementClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -8,30 +8,30 @@
import java.time.Duration;
/**
- * The interface for OracleDatabaseResourceManager class.
+ * The interface for OracleDatabaseManagementClient class.
*/
-public interface OracleDatabaseResourceManager {
+public interface OracleDatabaseManagementClient {
/**
- * Gets The ID of the target subscription. The value must be an UUID.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
+ * Gets Service host.
*
* @return the endpoint value.
*/
String getEndpoint();
/**
- * Gets Api Version.
+ * Gets Version parameter.
*
* @return the apiVersion value.
*/
String getApiVersion();
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -54,18 +54,18 @@ public interface OracleDatabaseResourceManager {
OperationsClient getOperations();
/**
- * Gets the AutonomousDatabasesClient object to access its operations.
+ * Gets the CloudExadataInfrastructuresClient object to access its operations.
*
- * @return the AutonomousDatabasesClient object.
+ * @return the CloudExadataInfrastructuresClient object.
*/
- AutonomousDatabasesClient getAutonomousDatabases();
+ CloudExadataInfrastructuresClient getCloudExadataInfrastructures();
/**
- * Gets the CloudExadataInfrastructuresClient object to access its operations.
+ * Gets the DbServersClient object to access its operations.
*
- * @return the CloudExadataInfrastructuresClient object.
+ * @return the DbServersClient object.
*/
- CloudExadataInfrastructuresClient getCloudExadataInfrastructures();
+ DbServersClient getDbServers();
/**
* Gets the CloudVmClustersClient object to access its operations.
@@ -75,25 +75,46 @@ public interface OracleDatabaseResourceManager {
CloudVmClustersClient getCloudVmClusters();
/**
- * Gets the AutonomousDatabaseCharacterSetsClient object to access its operations.
+ * Gets the VirtualNetworkAddressesClient object to access its operations.
*
- * @return the AutonomousDatabaseCharacterSetsClient object.
+ * @return the VirtualNetworkAddressesClient object.
*/
- AutonomousDatabaseCharacterSetsClient getAutonomousDatabaseCharacterSets();
+ VirtualNetworkAddressesClient getVirtualNetworkAddresses();
/**
- * Gets the AutonomousDatabaseNationalCharacterSetsClient object to access its operations.
+ * Gets the SystemVersionsClient object to access its operations.
*
- * @return the AutonomousDatabaseNationalCharacterSetsClient object.
+ * @return the SystemVersionsClient object.
*/
- AutonomousDatabaseNationalCharacterSetsClient getAutonomousDatabaseNationalCharacterSets();
+ SystemVersionsClient getSystemVersions();
/**
- * Gets the AutonomousDatabaseVersionsClient object to access its operations.
+ * Gets the OracleSubscriptionsClient object to access its operations.
*
- * @return the AutonomousDatabaseVersionsClient object.
+ * @return the OracleSubscriptionsClient object.
*/
- AutonomousDatabaseVersionsClient getAutonomousDatabaseVersions();
+ OracleSubscriptionsClient getOracleSubscriptions();
+
+ /**
+ * Gets the DbNodesClient object to access its operations.
+ *
+ * @return the DbNodesClient object.
+ */
+ DbNodesClient getDbNodes();
+
+ /**
+ * Gets the GiVersionsClient object to access its operations.
+ *
+ * @return the GiVersionsClient object.
+ */
+ GiVersionsClient getGiVersions();
+
+ /**
+ * Gets the GiMinorVersionsClient object to access its operations.
+ *
+ * @return the GiMinorVersionsClient object.
+ */
+ GiMinorVersionsClient getGiMinorVersions();
/**
* Gets the DbSystemShapesClient object to access its operations.
@@ -117,51 +138,65 @@ public interface OracleDatabaseResourceManager {
DnsPrivateZonesClient getDnsPrivateZones();
/**
- * Gets the GiVersionsClient object to access its operations.
+ * Gets the FlexComponentsClient object to access its operations.
*
- * @return the GiVersionsClient object.
+ * @return the FlexComponentsClient object.
*/
- GiVersionsClient getGiVersions();
+ FlexComponentsClient getFlexComponents();
/**
- * Gets the SystemVersionsClient object to access its operations.
+ * Gets the AutonomousDatabasesClient object to access its operations.
*
- * @return the SystemVersionsClient object.
+ * @return the AutonomousDatabasesClient object.
*/
- SystemVersionsClient getSystemVersions();
+ AutonomousDatabasesClient getAutonomousDatabases();
/**
- * Gets the OracleSubscriptionsClient object to access its operations.
+ * Gets the AutonomousDatabaseBackupsClient object to access its operations.
*
- * @return the OracleSubscriptionsClient object.
+ * @return the AutonomousDatabaseBackupsClient object.
*/
- OracleSubscriptionsClient getOracleSubscriptions();
+ AutonomousDatabaseBackupsClient getAutonomousDatabaseBackups();
/**
- * Gets the AutonomousDatabaseBackupsClient object to access its operations.
+ * Gets the AutonomousDatabaseCharacterSetsClient object to access its operations.
*
- * @return the AutonomousDatabaseBackupsClient object.
+ * @return the AutonomousDatabaseCharacterSetsClient object.
*/
- AutonomousDatabaseBackupsClient getAutonomousDatabaseBackups();
+ AutonomousDatabaseCharacterSetsClient getAutonomousDatabaseCharacterSets();
/**
- * Gets the DbServersClient object to access its operations.
+ * Gets the AutonomousDatabaseNationalCharacterSetsClient object to access its operations.
*
- * @return the DbServersClient object.
+ * @return the AutonomousDatabaseNationalCharacterSetsClient object.
*/
- DbServersClient getDbServers();
+ AutonomousDatabaseNationalCharacterSetsClient getAutonomousDatabaseNationalCharacterSets();
/**
- * Gets the DbNodesClient object to access its operations.
+ * Gets the AutonomousDatabaseVersionsClient object to access its operations.
*
- * @return the DbNodesClient object.
+ * @return the AutonomousDatabaseVersionsClient object.
*/
- DbNodesClient getDbNodes();
+ AutonomousDatabaseVersionsClient getAutonomousDatabaseVersions();
/**
- * Gets the VirtualNetworkAddressesClient object to access its operations.
+ * Gets the ExadbVmClustersClient object to access its operations.
*
- * @return the VirtualNetworkAddressesClient object.
+ * @return the ExadbVmClustersClient object.
*/
- VirtualNetworkAddressesClient getVirtualNetworkAddresses();
+ ExadbVmClustersClient getExadbVmClusters();
+
+ /**
+ * Gets the ExascaleDbNodesClient object to access its operations.
+ *
+ * @return the ExascaleDbNodesClient object.
+ */
+ ExascaleDbNodesClient getExascaleDbNodes();
+
+ /**
+ * Gets the ExascaleDbStorageVaultsClient object to access its operations.
+ *
+ * @return the ExascaleDbStorageVaultsClient object.
+ */
+ ExascaleDbStorageVaultsClient getExascaleDbStorageVaults();
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleSubscriptionsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleSubscriptionsClient.java
index a6802e7fc889..0db8dc9a0096 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleSubscriptionsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/OracleSubscriptionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -15,6 +15,7 @@
import com.azure.resourcemanager.oracledatabase.fluent.models.CloudAccountDetailsInner;
import com.azure.resourcemanager.oracledatabase.fluent.models.OracleSubscriptionInner;
import com.azure.resourcemanager.oracledatabase.fluent.models.SaasSubscriptionDetailsInner;
+import com.azure.resourcemanager.oracledatabase.models.AzureSubscriptions;
import com.azure.resourcemanager.oracledatabase.models.OracleSubscriptionUpdate;
/**
@@ -43,28 +44,6 @@ public interface OracleSubscriptionsClient {
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
- /**
- * Get a OracleSubscription.
- *
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a OracleSubscription along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(Context context);
-
- /**
- * Get a OracleSubscription.
- *
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a OracleSubscription.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OracleSubscriptionInner get();
-
/**
* Create a OracleSubscription.
*
@@ -117,6 +96,28 @@ public interface OracleSubscriptionsClient {
@ServiceMethod(returns = ReturnType.SINGLE)
OracleSubscriptionInner createOrUpdate(OracleSubscriptionInner resource, Context context);
+ /**
+ * Get a OracleSubscription.
+ *
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a OracleSubscription along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(Context context);
+
+ /**
+ * Get a OracleSubscription.
+ *
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a OracleSubscription.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OracleSubscriptionInner get();
+
/**
* Update a OracleSubscription.
*
@@ -212,137 +213,185 @@ public interface OracleSubscriptionsClient {
void delete(Context context);
/**
- * List Activation Links.
+ * List Cloud Account Details.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of activation Links model.
+ * @return the {@link SyncPoller} for polling of cloud Account Details model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ActivationLinksInner> beginListActivationLinks();
+ SyncPoller, CloudAccountDetailsInner> beginListCloudAccountDetails();
/**
- * List Activation Links.
+ * List Cloud Account Details.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of activation Links model.
+ * @return the {@link SyncPoller} for polling of cloud Account Details model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, ActivationLinksInner> beginListActivationLinks(Context context);
+ SyncPoller, CloudAccountDetailsInner>
+ beginListCloudAccountDetails(Context context);
/**
- * List Activation Links.
+ * List Cloud Account Details.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return activation Links model.
+ * @return cloud Account Details model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ActivationLinksInner listActivationLinks();
+ CloudAccountDetailsInner listCloudAccountDetails();
/**
- * List Activation Links.
+ * List Cloud Account Details.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return activation Links model.
+ * @return cloud Account Details model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- ActivationLinksInner listActivationLinks(Context context);
+ CloudAccountDetailsInner listCloudAccountDetails(Context context);
/**
- * List Cloud Account Details.
+ * List Saas Subscription Details.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloud Account Details model.
+ * @return the {@link SyncPoller} for polling of saaS Subscription Details model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudAccountDetailsInner> beginListCloudAccountDetails();
+ SyncPoller, SaasSubscriptionDetailsInner>
+ beginListSaasSubscriptionDetails();
/**
- * List Cloud Account Details.
+ * List Saas Subscription Details.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of cloud Account Details model.
+ * @return the {@link SyncPoller} for polling of saaS Subscription Details model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, CloudAccountDetailsInner>
- beginListCloudAccountDetails(Context context);
+ SyncPoller, SaasSubscriptionDetailsInner>
+ beginListSaasSubscriptionDetails(Context context);
/**
- * List Cloud Account Details.
+ * List Saas Subscription Details.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloud Account Details model.
+ * @return saaS Subscription Details model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudAccountDetailsInner listCloudAccountDetails();
+ SaasSubscriptionDetailsInner listSaasSubscriptionDetails();
/**
- * List Cloud Account Details.
+ * List Saas Subscription Details.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return cloud Account Details model.
+ * @return saaS Subscription Details model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- CloudAccountDetailsInner listCloudAccountDetails(Context context);
+ SaasSubscriptionDetailsInner listSaasSubscriptionDetails(Context context);
/**
- * List Saas Subscription Details.
+ * List Activation Links.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of saaS Subscription Details model.
+ * @return the {@link SyncPoller} for polling of activation Links model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SaasSubscriptionDetailsInner>
- beginListSaasSubscriptionDetails();
+ SyncPoller, ActivationLinksInner> beginListActivationLinks();
/**
- * List Saas Subscription Details.
+ * List Activation Links.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the {@link SyncPoller} for polling of saaS Subscription Details model.
+ * @return the {@link SyncPoller} for polling of activation Links model.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, SaasSubscriptionDetailsInner>
- beginListSaasSubscriptionDetails(Context context);
+ SyncPoller, ActivationLinksInner> beginListActivationLinks(Context context);
/**
- * List Saas Subscription Details.
+ * List Activation Links.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return saaS Subscription Details model.
+ * @return activation Links model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SaasSubscriptionDetailsInner listSaasSubscriptionDetails();
+ ActivationLinksInner listActivationLinks();
/**
- * List Saas Subscription Details.
+ * List Activation Links.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return saaS Subscription Details model.
+ * @return activation Links model.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- SaasSubscriptionDetailsInner listSaasSubscriptionDetails(Context context);
+ ActivationLinksInner listActivationLinks(Context context);
+
+ /**
+ * Add Azure Subscriptions.
+ *
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginAddAzureSubscriptions(AzureSubscriptions body);
+
+ /**
+ * Add Azure Subscriptions.
+ *
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of long-running operation.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, Void> beginAddAzureSubscriptions(AzureSubscriptions body, Context context);
+
+ /**
+ * Add Azure Subscriptions.
+ *
+ * @param body The content of the action request.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void addAzureSubscriptions(AzureSubscriptions body);
+
+ /**
+ * Add Azure Subscriptions.
+ *
+ * @param body The content of the action request.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ void addAzureSubscriptions(AzureSubscriptions body, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/SystemVersionsClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/SystemVersionsClient.java
index 87dfb0fc7314..0d1d7fecdc60 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/SystemVersionsClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/SystemVersionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -16,54 +16,54 @@
*/
public interface SystemVersionsClient {
/**
- * List SystemVersion resources by Location.
+ * Get a SystemVersion.
*
* @param location The name of the Azure region.
+ * @param systemversionname SystemVersion name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a SystemVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a SystemVersion along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String location, String systemversionname, Context context);
/**
- * List SystemVersion resources by Location.
+ * Get a SystemVersion.
*
* @param location The name of the Azure region.
- * @param context The context to associate with this operation.
+ * @param systemversionname SystemVersion name.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a SystemVersion list operation as paginated response with {@link PagedIterable}.
+ * @return a SystemVersion.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByLocation(String location, Context context);
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ SystemVersionInner get(String location, String systemversionname);
/**
- * Get a SystemVersion.
+ * List SystemVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param systemversionname SystemVersion name.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a SystemVersion along with {@link Response}.
+ * @return the response of a SystemVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String location, String systemversionname, Context context);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location);
/**
- * Get a SystemVersion.
+ * List SystemVersion resources by SubscriptionLocationResource.
*
* @param location The name of the Azure region.
- * @param systemversionname SystemVersion name.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a SystemVersion.
+ * @return the response of a SystemVersion list operation as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- SystemVersionInner get(String location, String systemversionname);
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByLocation(String location, Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/VirtualNetworkAddressesClient.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/VirtualNetworkAddressesClient.java
index 81c39d5de245..75c86c9bbc4f 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/VirtualNetworkAddressesClient.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/VirtualNetworkAddressesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent;
@@ -17,65 +17,6 @@
* An instance of this class provides access to all the operations defined in VirtualNetworkAddressesClient.
*/
public interface VirtualNetworkAddressesClient {
- /**
- * List VirtualNetworkAddress resources by CloudVmCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a VirtualNetworkAddress list operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername);
-
- /**
- * List VirtualNetworkAddress resources by CloudVmCluster.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the response of a VirtualNetworkAddress list operation as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername,
- Context context);
-
- /**
- * Get a VirtualNetworkAddress.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @param virtualnetworkaddressname Virtual IP address hostname.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a VirtualNetworkAddress along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String resourceGroupName, String cloudvmclustername,
- String virtualnetworkaddressname, Context context);
-
- /**
- * Get a VirtualNetworkAddress.
- *
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
- * @param cloudvmclustername CloudVmCluster name.
- * @param virtualnetworkaddressname Virtual IP address hostname.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return a VirtualNetworkAddress.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- VirtualNetworkAddressInner get(String resourceGroupName, String cloudvmclustername,
- String virtualnetworkaddressname);
-
/**
* Create a VirtualNetworkAddress.
*
@@ -144,6 +85,37 @@ VirtualNetworkAddressInner createOrUpdate(String resourceGroupName, String cloud
VirtualNetworkAddressInner createOrUpdate(String resourceGroupName, String cloudvmclustername,
String virtualnetworkaddressname, VirtualNetworkAddressInner resource, Context context);
+ /**
+ * Get a VirtualNetworkAddress.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @param virtualnetworkaddressname Virtual IP address hostname.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a VirtualNetworkAddress along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String resourceGroupName, String cloudvmclustername,
+ String virtualnetworkaddressname, Context context);
+
+ /**
+ * Get a VirtualNetworkAddress.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @param virtualnetworkaddressname Virtual IP address hostname.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return a VirtualNetworkAddress.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ VirtualNetworkAddressInner get(String resourceGroupName, String cloudvmclustername,
+ String virtualnetworkaddressname);
+
/**
* Delete a VirtualNetworkAddress.
*
@@ -201,4 +173,32 @@ SyncPoller, Void> beginDelete(String resourceGroupName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String cloudvmclustername, String virtualnetworkaddressname, Context context);
+
+ /**
+ * List VirtualNetworkAddress resources by CloudVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a VirtualNetworkAddress list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername);
+
+ /**
+ * List VirtualNetworkAddress resources by CloudVmCluster.
+ *
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param cloudvmclustername CloudVmCluster name.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response of a VirtualNetworkAddress list operation as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable listByCloudVmCluster(String resourceGroupName, String cloudvmclustername,
+ Context context);
}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ActivationLinksInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ActivationLinksInner.java
index 69b4c463752e..ec527edaa8a8 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ActivationLinksInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ActivationLinksInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseBackupInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseBackupInner.java
index a06276999428..3eaa38af4c12 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseBackupInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseBackupInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -29,9 +29,9 @@ public final class AutonomousDatabaseBackupInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,9 +39,9 @@ public final class AutonomousDatabaseBackupInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of AutonomousDatabaseBackupInner class.
@@ -79,13 +79,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +99,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseCharacterSetInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseCharacterSetInner.java
index e6b6eb9eaf9f..51b9f007b446 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseCharacterSetInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseCharacterSetInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* AutonomousDatabaseCharacterSets resource definition.
*/
-@Fluent
+@Immutable
public final class AutonomousDatabaseCharacterSetInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class AutonomousDatabaseCharacterSetInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class AutonomousDatabaseCharacterSetInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of AutonomousDatabaseCharacterSetInner class.
*/
- public AutonomousDatabaseCharacterSetInner() {
+ private AutonomousDatabaseCharacterSetInner() {
}
/**
@@ -58,17 +58,6 @@ public AutonomousDatabaseCharacterSetProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the AutonomousDatabaseCharacterSetInner object itself.
- */
- public AutonomousDatabaseCharacterSetInner withProperties(AutonomousDatabaseCharacterSetProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseInner.java
index 91f2bdaff8f8..b0eb2a493366 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -30,9 +30,9 @@ public final class AutonomousDatabaseInner extends Resource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -40,9 +40,9 @@ public final class AutonomousDatabaseInner extends Resource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of AutonomousDatabaseInner class.
@@ -80,13 +80,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -100,13 +100,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseNationalCharacterSetInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseNationalCharacterSetInner.java
index c3865dce778b..a40ea37ca841 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseNationalCharacterSetInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseNationalCharacterSetInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* AutonomousDatabaseNationalCharacterSets resource definition.
*/
-@Fluent
+@Immutable
public final class AutonomousDatabaseNationalCharacterSetInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class AutonomousDatabaseNationalCharacterSetInner extends ProxyReso
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class AutonomousDatabaseNationalCharacterSetInner extends ProxyReso
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of AutonomousDatabaseNationalCharacterSetInner class.
*/
- public AutonomousDatabaseNationalCharacterSetInner() {
+ private AutonomousDatabaseNationalCharacterSetInner() {
}
/**
@@ -58,18 +58,6 @@ public AutonomousDatabaseNationalCharacterSetProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the AutonomousDatabaseNationalCharacterSetInner object itself.
- */
- public AutonomousDatabaseNationalCharacterSetInner
- withProperties(AutonomousDatabaseNationalCharacterSetProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -80,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -100,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseWalletFileInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseWalletFileInner.java
index b72e2e369b56..1edb60ea3348 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseWalletFileInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDatabaseWalletFileInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDbVersionInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDbVersionInner.java
index b7a2c1950a65..71601e465f04 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDbVersionInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/AutonomousDbVersionInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* AutonomousDbVersion resource definition.
*/
-@Fluent
+@Immutable
public final class AutonomousDbVersionInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class AutonomousDbVersionInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class AutonomousDbVersionInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of AutonomousDbVersionInner class.
*/
- public AutonomousDbVersionInner() {
+ private AutonomousDbVersionInner() {
}
/**
@@ -58,17 +58,6 @@ public AutonomousDbVersionProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the AutonomousDbVersionInner object itself.
- */
- public AutonomousDbVersionInner withProperties(AutonomousDbVersionProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudAccountDetailsInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudAccountDetailsInner.java
index 371aa0783264..870960ede696 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudAccountDetailsInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudAccountDetailsInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudExadataInfrastructureInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudExadataInfrastructureInner.java
index c421e958d139..93799846fa91 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudExadataInfrastructureInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudExadataInfrastructureInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -37,9 +37,9 @@ public final class CloudExadataInfrastructureInner extends Resource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -47,9 +47,9 @@ public final class CloudExadataInfrastructureInner extends Resource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of CloudExadataInfrastructureInner class.
@@ -107,13 +107,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -127,13 +127,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudVmClusterInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudVmClusterInner.java
index c78d2e797251..18651b65ce49 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudVmClusterInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/CloudVmClusterInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -30,9 +30,9 @@ public final class CloudVmClusterInner extends Resource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -40,9 +40,9 @@ public final class CloudVmClusterInner extends Resource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of CloudVmClusterInner class.
@@ -80,13 +80,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -100,13 +100,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbActionResponseInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbActionResponseInner.java
new file mode 100644
index 000000000000..30fb6c1ca15d
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbActionResponseInner.java
@@ -0,0 +1,85 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonSerializable;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.AzureResourceProvisioningState;
+import java.io.IOException;
+
+/**
+ * ExascaleDbNode action response.
+ */
+@Immutable
+public final class DbActionResponseInner implements JsonSerializable {
+ /*
+ * ExascaleDbNode provisioning state
+ */
+ private AzureResourceProvisioningState provisioningState;
+
+ /**
+ * Creates an instance of DbActionResponseInner class.
+ */
+ private DbActionResponseInner() {
+ }
+
+ /**
+ * Get the provisioningState property: ExascaleDbNode provisioning state.
+ *
+ * @return the provisioningState value.
+ */
+ public AzureResourceProvisioningState provisioningState() {
+ return this.provisioningState;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("provisioningState",
+ this.provisioningState == null ? null : this.provisioningState.toString());
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of DbActionResponseInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of DbActionResponseInner if the JsonReader was pointing to an instance of it, or null if it
+ * was pointing to JSON null.
+ * @throws IOException If an error occurs while reading the DbActionResponseInner.
+ */
+ public static DbActionResponseInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ DbActionResponseInner deserializedDbActionResponseInner = new DbActionResponseInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("provisioningState".equals(fieldName)) {
+ deserializedDbActionResponseInner.provisioningState
+ = AzureResourceProvisioningState.fromString(reader.getString());
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedDbActionResponseInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbNodeInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbNodeInner.java
index 703e6f7d5371..9135b63c1469 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbNodeInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbNodeInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* The DbNode resource belonging to vmCluster.
*/
-@Fluent
+@Immutable
public final class DbNodeInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class DbNodeInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class DbNodeInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of DbNodeInner class.
*/
- public DbNodeInner() {
+ private DbNodeInner() {
}
/**
@@ -58,17 +58,6 @@ public DbNodeProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the DbNodeInner object itself.
- */
- public DbNodeInner withProperties(DbNodeProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbServerInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbServerInner.java
index 598033963610..3fde2eea6613 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbServerInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbServerInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* DbServer resource model.
*/
-@Fluent
+@Immutable
public final class DbServerInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class DbServerInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class DbServerInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of DbServerInner class.
*/
- public DbServerInner() {
+ private DbServerInner() {
}
/**
@@ -58,17 +58,6 @@ public DbServerProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the DbServerInner object itself.
- */
- public DbServerInner withProperties(DbServerProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbSystemShapeInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbSystemShapeInner.java
index d4e2485e6359..f291559c10a3 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbSystemShapeInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DbSystemShapeInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* DbSystemShape resource definition.
*/
-@Fluent
+@Immutable
public final class DbSystemShapeInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class DbSystemShapeInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class DbSystemShapeInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of DbSystemShapeInner class.
*/
- public DbSystemShapeInner() {
+ private DbSystemShapeInner() {
}
/**
@@ -58,17 +58,6 @@ public DbSystemShapeProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the DbSystemShapeInner object itself.
- */
- public DbSystemShapeInner withProperties(DbSystemShapeProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateViewInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateViewInner.java
index 1c91ac38a9f5..2b51d246b32e 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateViewInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateViewInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* DnsPrivateView resource definition.
*/
-@Fluent
+@Immutable
public final class DnsPrivateViewInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class DnsPrivateViewInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class DnsPrivateViewInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of DnsPrivateViewInner class.
*/
- public DnsPrivateViewInner() {
+ private DnsPrivateViewInner() {
}
/**
@@ -58,17 +58,6 @@ public DnsPrivateViewProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the DnsPrivateViewInner object itself.
- */
- public DnsPrivateViewInner withProperties(DnsPrivateViewProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateZoneInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateZoneInner.java
index 9ebf6d9d21cb..2efe9c7eeac1 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateZoneInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/DnsPrivateZoneInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* DnsPrivateZone resource definition.
*/
-@Fluent
+@Immutable
public final class DnsPrivateZoneInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class DnsPrivateZoneInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class DnsPrivateZoneInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of DnsPrivateZoneInner class.
*/
- public DnsPrivateZoneInner() {
+ private DnsPrivateZoneInner() {
}
/**
@@ -58,17 +58,6 @@ public DnsPrivateZoneProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the DnsPrivateZoneInner object itself.
- */
- public DnsPrivateZoneInner withProperties(DnsPrivateZoneProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExadbVmClusterInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExadbVmClusterInner.java
new file mode 100644
index 000000000000..1754f738d1cb
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExadbVmClusterInner.java
@@ -0,0 +1,222 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.ExadbVmClusterProperties;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * ExadbVmCluster resource definition.
+ */
+@Fluent
+public final class ExadbVmClusterInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExadbVmClusterProperties properties;
+
+ /*
+ * The availability zones.
+ */
+ private List zones;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExadbVmClusterInner class.
+ */
+ public ExadbVmClusterInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExadbVmClusterProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ExadbVmClusterInner object itself.
+ */
+ public ExadbVmClusterInner withProperties(ExadbVmClusterProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the zones property: The availability zones.
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: The availability zones.
+ *
+ * @param zones the zones value to set.
+ * @return the ExadbVmClusterInner object itself.
+ */
+ public ExadbVmClusterInner withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExadbVmClusterInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExadbVmClusterInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExadbVmClusterInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExadbVmClusterInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExadbVmClusterInner.
+ */
+ public static ExadbVmClusterInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExadbVmClusterInner deserializedExadbVmClusterInner = new ExadbVmClusterInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExadbVmClusterInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExadbVmClusterInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExadbVmClusterInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedExadbVmClusterInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedExadbVmClusterInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedExadbVmClusterInner.properties = ExadbVmClusterProperties.fromJson(reader);
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedExadbVmClusterInner.zones = zones;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExadbVmClusterInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExadbVmClusterInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbNodeInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbNodeInner.java
new file mode 100644
index 000000000000..63b953c4d54d
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbNodeInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbNodeProperties;
+import java.io.IOException;
+
+/**
+ * The DbNode resource belonging to ExadbVmCluster.
+ */
+@Immutable
+public final class ExascaleDbNodeInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExascaleDbNodeProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExascaleDbNodeInner class.
+ */
+ private ExascaleDbNodeInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExascaleDbNodeProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExascaleDbNodeInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExascaleDbNodeInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExascaleDbNodeInner.
+ */
+ public static ExascaleDbNodeInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExascaleDbNodeInner deserializedExascaleDbNodeInner = new ExascaleDbNodeInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExascaleDbNodeInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExascaleDbNodeInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExascaleDbNodeInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedExascaleDbNodeInner.properties = ExascaleDbNodeProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExascaleDbNodeInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExascaleDbNodeInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbStorageVaultInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbStorageVaultInner.java
new file mode 100644
index 000000000000..8608e3e59a76
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/ExascaleDbStorageVaultInner.java
@@ -0,0 +1,223 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Fluent;
+import com.azure.core.management.Resource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.ExascaleDbStorageVaultProperties;
+import java.io.IOException;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * ExascaleDbStorageVault resource definition.
+ */
+@Fluent
+public final class ExascaleDbStorageVaultInner extends Resource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private ExascaleDbStorageVaultProperties properties;
+
+ /*
+ * The availability zones.
+ */
+ private List zones;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of ExascaleDbStorageVaultInner class.
+ */
+ public ExascaleDbStorageVaultInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public ExascaleDbStorageVaultProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Set the properties property: The resource-specific properties for this resource.
+ *
+ * @param properties the properties value to set.
+ * @return the ExascaleDbStorageVaultInner object itself.
+ */
+ public ExascaleDbStorageVaultInner withProperties(ExascaleDbStorageVaultProperties properties) {
+ this.properties = properties;
+ return this;
+ }
+
+ /**
+ * Get the zones property: The availability zones.
+ *
+ * @return the zones value.
+ */
+ public List zones() {
+ return this.zones;
+ }
+
+ /**
+ * Set the zones property: The availability zones.
+ *
+ * @param zones the zones value to set.
+ * @return the ExascaleDbStorageVaultInner object itself.
+ */
+ public ExascaleDbStorageVaultInner withZones(List zones) {
+ this.zones = zones;
+ return this;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExascaleDbStorageVaultInner withLocation(String location) {
+ super.withLocation(location);
+ return this;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public ExascaleDbStorageVaultInner withTags(Map tags) {
+ super.withTags(tags);
+ return this;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeStringField("location", location());
+ jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeArrayField("zones", this.zones, (writer, element) -> writer.writeString(element));
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of ExascaleDbStorageVaultInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of ExascaleDbStorageVaultInner if the JsonReader was pointing to an instance of it, or null
+ * if it was pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the ExascaleDbStorageVaultInner.
+ */
+ public static ExascaleDbStorageVaultInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ ExascaleDbStorageVaultInner deserializedExascaleDbStorageVaultInner = new ExascaleDbStorageVaultInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.type = reader.getString();
+ } else if ("location".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.withLocation(reader.getString());
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedExascaleDbStorageVaultInner.withTags(tags);
+ } else if ("properties".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.properties
+ = ExascaleDbStorageVaultProperties.fromJson(reader);
+ } else if ("zones".equals(fieldName)) {
+ List zones = reader.readArray(reader1 -> reader1.getString());
+ deserializedExascaleDbStorageVaultInner.zones = zones;
+ } else if ("systemData".equals(fieldName)) {
+ deserializedExascaleDbStorageVaultInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedExascaleDbStorageVaultInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/FlexComponentInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/FlexComponentInner.java
new file mode 100644
index 000000000000..ff13c05995f9
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/FlexComponentInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.FlexComponentProperties;
+import java.io.IOException;
+
+/**
+ * FlexComponent Resource Definition.
+ */
+@Immutable
+public final class FlexComponentInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private FlexComponentProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of FlexComponentInner class.
+ */
+ private FlexComponentInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public FlexComponentProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of FlexComponentInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of FlexComponentInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the FlexComponentInner.
+ */
+ public static FlexComponentInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ FlexComponentInner deserializedFlexComponentInner = new FlexComponentInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedFlexComponentInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedFlexComponentInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedFlexComponentInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedFlexComponentInner.properties = FlexComponentProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedFlexComponentInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedFlexComponentInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiMinorVersionInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiMinorVersionInner.java
new file mode 100644
index 000000000000..17b9fb240ebc
--- /dev/null
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiMinorVersionInner.java
@@ -0,0 +1,155 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
+
+package com.azure.resourcemanager.oracledatabase.fluent.models;
+
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
+import com.azure.json.JsonReader;
+import com.azure.json.JsonToken;
+import com.azure.json.JsonWriter;
+import com.azure.resourcemanager.oracledatabase.models.GiMinorVersionProperties;
+import java.io.IOException;
+
+/**
+ * The Oracle Grid Infrastructure (GI) minor version resource definition.
+ */
+@Immutable
+public final class GiMinorVersionInner extends ProxyResource {
+ /*
+ * The resource-specific properties for this resource.
+ */
+ private GiMinorVersionProperties properties;
+
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
+ /*
+ * The type of the resource.
+ */
+ private String type;
+
+ /*
+ * The name of the resource.
+ */
+ private String name;
+
+ /*
+ * Fully qualified resource Id for the resource.
+ */
+ private String id;
+
+ /**
+ * Creates an instance of GiMinorVersionInner class.
+ */
+ private GiMinorVersionInner() {
+ }
+
+ /**
+ * Get the properties property: The resource-specific properties for this resource.
+ *
+ * @return the properties value.
+ */
+ public GiMinorVersionProperties properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
+ /**
+ * Get the type property: The type of the resource.
+ *
+ * @return the type value.
+ */
+ @Override
+ public String type() {
+ return this.type;
+ }
+
+ /**
+ * Get the name property: The name of the resource.
+ *
+ * @return the name value.
+ */
+ @Override
+ public String name() {
+ return this.name;
+ }
+
+ /**
+ * Get the id property: Fully qualified resource Id for the resource.
+ *
+ * @return the id value.
+ */
+ @Override
+ public String id() {
+ return this.id;
+ }
+
+ /**
+ * Validates the instance.
+ *
+ * @throws IllegalArgumentException thrown if the instance is not valid.
+ */
+ public void validate() {
+ if (properties() != null) {
+ properties().validate();
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
+ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
+ jsonWriter.writeStartObject();
+ jsonWriter.writeJsonField("properties", this.properties);
+ return jsonWriter.writeEndObject();
+ }
+
+ /**
+ * Reads an instance of GiMinorVersionInner from the JsonReader.
+ *
+ * @param jsonReader The JsonReader being read.
+ * @return An instance of GiMinorVersionInner if the JsonReader was pointing to an instance of it, or null if it was
+ * pointing to JSON null.
+ * @throws IllegalStateException If the deserialized JSON object was missing any required properties.
+ * @throws IOException If an error occurs while reading the GiMinorVersionInner.
+ */
+ public static GiMinorVersionInner fromJson(JsonReader jsonReader) throws IOException {
+ return jsonReader.readObject(reader -> {
+ GiMinorVersionInner deserializedGiMinorVersionInner = new GiMinorVersionInner();
+ while (reader.nextToken() != JsonToken.END_OBJECT) {
+ String fieldName = reader.getFieldName();
+ reader.nextToken();
+
+ if ("id".equals(fieldName)) {
+ deserializedGiMinorVersionInner.id = reader.getString();
+ } else if ("name".equals(fieldName)) {
+ deserializedGiMinorVersionInner.name = reader.getString();
+ } else if ("type".equals(fieldName)) {
+ deserializedGiMinorVersionInner.type = reader.getString();
+ } else if ("properties".equals(fieldName)) {
+ deserializedGiMinorVersionInner.properties = GiMinorVersionProperties.fromJson(reader);
+ } else if ("systemData".equals(fieldName)) {
+ deserializedGiMinorVersionInner.systemData = SystemData.fromJson(reader);
+ } else {
+ reader.skipChildren();
+ }
+ }
+
+ return deserializedGiMinorVersionInner;
+ });
+ }
+}
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiVersionInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiVersionInner.java
index 13a0c6dd2a23..8e9e4491c5eb 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiVersionInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/GiVersionInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* GiVersion resource definition.
*/
-@Fluent
+@Immutable
public final class GiVersionInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class GiVersionInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class GiVersionInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of GiVersionInner class.
*/
- public GiVersionInner() {
+ private GiVersionInner() {
}
/**
@@ -58,17 +58,6 @@ public GiVersionProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the GiVersionInner object itself.
- */
- public GiVersionInner withProperties(GiVersionProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OperationInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OperationInner.java
index ef0b84fba681..8372f78e852f 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OperationInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OperationInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -28,8 +28,8 @@ public final class OperationInner implements JsonSerializable {
private String name;
/*
- * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for
- * ARM/control-plane operations.
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure
+ * Resource Manager/control-plane operations.
*/
private Boolean isDataAction;
@@ -45,7 +45,7 @@ public final class OperationInner implements JsonSerializable {
private Origin origin;
/*
- * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
+ * Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
*/
private ActionType actionType;
@@ -67,7 +67,7 @@ public String name() {
/**
* Get the isDataAction property: Whether the operation applies to data-plane. This is "true" for data-plane
- * operations and "false" for ARM/control-plane operations.
+ * operations and "false" for Azure Resource Manager/control-plane operations.
*
* @return the isDataAction value.
*/
@@ -95,8 +95,8 @@ public Origin origin() {
}
/**
- * Get the actionType property: Enum. Indicates the action type. "Internal" refers to actions that are for internal
- * only APIs.
+ * Get the actionType property: Extensible enum. Indicates the action type. "Internal" refers to actions that are
+ * for internal only APIs.
*
* @return the actionType value.
*/
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OracleSubscriptionInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OracleSubscriptionInner.java
index ea3ee86cbb68..b3e1e1768beb 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OracleSubscriptionInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/OracleSubscriptionInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -35,9 +35,9 @@ public final class OracleSubscriptionInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -45,9 +45,9 @@ public final class OracleSubscriptionInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of OracleSubscriptionInner class.
@@ -105,13 +105,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -125,13 +125,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/PrivateIpAddressPropertiesInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/PrivateIpAddressPropertiesInner.java
index 604b3c7b4e2e..b85bd8006ca6 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/PrivateIpAddressPropertiesInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/PrivateIpAddressPropertiesInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SaasSubscriptionDetailsInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SaasSubscriptionDetailsInner.java
index 9cc331333445..b7ca44223de0 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SaasSubscriptionDetailsInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SaasSubscriptionDetailsInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SystemVersionInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SystemVersionInner.java
index d1512c1175f9..c790b60552ee 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SystemVersionInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/SystemVersionInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.management.ProxyResource;
import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
@@ -16,7 +16,7 @@
/**
* SystemVersion resource Definition.
*/
-@Fluent
+@Immutable
public final class SystemVersionInner extends ProxyResource {
/*
* The resource-specific properties for this resource.
@@ -29,9 +29,9 @@ public final class SystemVersionInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,14 +39,14 @@ public final class SystemVersionInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of SystemVersionInner class.
*/
- public SystemVersionInner() {
+ private SystemVersionInner() {
}
/**
@@ -58,17 +58,6 @@ public SystemVersionProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: The resource-specific properties for this resource.
- *
- * @param properties the properties value to set.
- * @return the SystemVersionInner object itself.
- */
- public SystemVersionInner withProperties(SystemVersionProperties properties) {
- this.properties = properties;
- return this;
- }
-
/**
* Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
@@ -79,13 +68,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +88,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/VirtualNetworkAddressInner.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/VirtualNetworkAddressInner.java
index 3ea0390a0fde..d4bcee17d65f 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/VirtualNetworkAddressInner.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/VirtualNetworkAddressInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.fluent.models;
@@ -29,9 +29,9 @@ public final class VirtualNetworkAddressInner extends ProxyResource {
private SystemData systemData;
/*
- * Fully qualified resource Id for the resource.
+ * The type of the resource.
*/
- private String id;
+ private String type;
/*
* The name of the resource.
@@ -39,9 +39,9 @@ public final class VirtualNetworkAddressInner extends ProxyResource {
private String name;
/*
- * The type of the resource.
+ * Fully qualified resource Id for the resource.
*/
- private String type;
+ private String id;
/**
* Creates an instance of VirtualNetworkAddressInner class.
@@ -79,13 +79,13 @@ public SystemData systemData() {
}
/**
- * Get the id property: Fully qualified resource Id for the resource.
+ * Get the type property: The type of the resource.
*
- * @return the id value.
+ * @return the type value.
*/
@Override
- public String id() {
- return this.id;
+ public String type() {
+ return this.type;
}
/**
@@ -99,13 +99,13 @@ public String name() {
}
/**
- * Get the type property: The type of the resource.
+ * Get the id property: Fully qualified resource Id for the resource.
*
- * @return the type value.
+ * @return the id value.
*/
@Override
- public String type() {
- return this.type;
+ public String id() {
+ return this.id;
}
/**
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/package-info.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/package-info.java
index 369217dc3970..396b6f1af510 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/package-info.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/models/package-info.java
@@ -1,9 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
/**
- * Package containing the inner data models for OracleDatabaseResourceManager.
- * null.
+ * Package containing the inner data models for OracleDatabase.
*/
package com.azure.resourcemanager.oracledatabase.fluent.models;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/package-info.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/package-info.java
index 4b2933553e23..ea3b4fe452ec 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/package-info.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/fluent/package-info.java
@@ -1,9 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
/**
- * Package containing the service clients for OracleDatabaseResourceManager.
- * null.
+ * Package containing the service clients for OracleDatabase.
*/
package com.azure.resourcemanager.oracledatabase.fluent;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/ActivationLinksImpl.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/ActivationLinksImpl.java
index 2fe1eaa983f0..85c4697978ee 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/ActivationLinksImpl.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/ActivationLinksImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.implementation;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupImpl.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupImpl.java
index 0513f6082494..282c871cee06 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupImpl.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.implementation;
diff --git a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupsClientImpl.java b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupsClientImpl.java
index 78cea68fe887..882f7dd801e3 100644
--- a/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupsClientImpl.java
+++ b/sdk/oracledatabase/azure-resourcemanager-oracledatabase/src/main/java/com/azure/resourcemanager/oracledatabase/implementation/AutonomousDatabaseBackupsClientImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.oracledatabase.implementation;
@@ -28,13 +28,15 @@
import com.azure.core.http.rest.RestProxy;
import com.azure.core.management.exception.ManagementException;
import com.azure.core.management.polling.PollResult;
+import com.azure.core.util.BinaryData;
import com.azure.core.util.Context;
import com.azure.core.util.FluxUtil;
+import com.azure.core.util.logging.ClientLogger;
import com.azure.core.util.polling.PollerFlux;
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.oracledatabase.fluent.AutonomousDatabaseBackupsClient;
import com.azure.resourcemanager.oracledatabase.fluent.models.AutonomousDatabaseBackupInner;
-import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackupListResult;
+import com.azure.resourcemanager.oracledatabase.implementation.models.AutonomousDatabaseBackupListResult;
import com.azure.resourcemanager.oracledatabase.models.AutonomousDatabaseBackupUpdate;
import java.nio.ByteBuffer;
import reactor.core.publisher.Flux;
@@ -52,103 +54,165 @@ public final class AutonomousDatabaseBackupsClientImpl implements AutonomousData
/**
* The service client containing this operation class.
*/
- private final OracleDatabaseResourceManagerImpl client;
+ private final OracleDatabaseManagementClientImpl client;
/**
* Initializes an instance of AutonomousDatabaseBackupsClientImpl.
*
* @param client the instance of the service client containing this operation class.
*/
- AutonomousDatabaseBackupsClientImpl(OracleDatabaseResourceManagerImpl client) {
+ AutonomousDatabaseBackupsClientImpl(OracleDatabaseManagementClientImpl client) {
this.service = RestProxy.create(AutonomousDatabaseBackupsService.class, client.getHttpPipeline(),
client.getSerializerAdapter());
this.client = client;
}
/**
- * The interface defining all the services for OracleDatabaseResourceManagerAutonomousDatabaseBackups to be used by
+ * The interface defining all the services for OracleDatabaseManagementClientAutonomousDatabaseBackups to be used by
* the proxy service to perform REST calls.
*/
- @Host("{$host}")
- @ServiceInterface(name = "OracleDatabaseResour")
+ @Host("{endpoint}")
+ @ServiceInterface(name = "OracleDatabaseManage")
public interface AutonomousDatabaseBackupsService {
- @Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups")
- @ExpectedResponses({ 200 })
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
+ @ExpectedResponses({ 200, 201 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listByAutonomousDatabase(@HostParam("$host") String endpoint,
+ Mono>> createOrUpdate(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("autonomousdatabasename") String autonomousdatabasename, @HeaderParam("Accept") String accept,
+ @PathParam("autonomousdatabasename") String autonomousdatabasename,
+ @PathParam("adbbackupid") String adbbackupid, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") AutonomousDatabaseBackupInner resource,
+ Context context);
+
+ @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
+ @ExpectedResponses({ 200, 201 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Response createOrUpdateSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName,
+ @PathParam("autonomousdatabasename") String autonomousdatabasename,
+ @PathParam("adbbackupid") String adbbackupid, @HeaderParam("Content-Type") String contentType,
+ @HeaderParam("Accept") String accept, @BodyParam("application/json") AutonomousDatabaseBackupInner resource,
Context context);
@Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
@ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(@HostParam("$host") String endpoint,
+ Mono> get(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("autonomousdatabasename") String autonomousdatabasename,
@PathParam("adbbackupid") String adbbackupid, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
- @Put("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
- @ExpectedResponses({ 200, 201 })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
+ @ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> createOrUpdate(@HostParam("$host") String endpoint,
+ Response getSync(@HostParam("endpoint") String endpoint,
@QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
@PathParam("resourceGroupName") String resourceGroupName,
@PathParam("autonomousdatabasename") String autonomousdatabasename,
- @PathParam("adbbackupid") String adbbackupid,
- @BodyParam("application/json") AutonomousDatabaseBackupInner resource, @HeaderParam("Accept") String accept,
- Context context);
+ @PathParam("adbbackupid") String adbbackupid, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
- @Patch("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
- @ExpectedResponses({ 200, 202 })
+ @Delete("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/autonomousDatabases/{autonomousdatabasename}/autonomousDatabaseBackups/{adbbackupid}")
+ @ExpectedResponses({ 202, 204 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono>> update(@HostParam("$host") String endpoint,
+ Mono