Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ com.azure.resourcemanager:azure-resourcemanager-deviceregistry;1.1.0;1.2.0-beta.
com.azure.resourcemanager:azure-resourcemanager-standbypool;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-edgezones;1.0.0-beta.3;1.0.0
com.azure.resourcemanager:azure-resourcemanager-devopsinfrastructure;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-oracledatabase;1.2.0;1.3.0
com.azure.resourcemanager:azure-resourcemanager-informaticadatamanagement;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-mongocluster;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-computefleet;1.0.0;1.1.0-beta.5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Release History

## 1.3.0-beta.1 (Unreleased)
## 1.3.0 (2026-08-27)

- Azure Resource Manager Oracle Database client library for Java. This package contains Microsoft Azure SDK for Oracle Database Management SDK. Package api-version 2025-11-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

Comment on lines +3 to 6
### Features Added

### Breaking Changes
#### `models.DbSystemBaseProperties` was modified

* `dataCollectionOptions()` was added
* `withDataCollectionOptions(models.DataCollectionOptions)` was added

### Bugs Fixed
#### `models.DbSystemProperties` was modified

### Other Changes
* `withDataCollectionOptions(models.DataCollectionOptions)` was added

## 1.2.0 (2025-09-24)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager Oracle Database client library for Java.

This package contains Microsoft Azure SDK for Oracle Database Management SDK. Package api-version 2025-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-11-01-preview. 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

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-oracledatabase</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down
576 changes: 314 additions & 262 deletions sdk/oracledatabase/azure-resourcemanager-oracledatabase/SAMPLE.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
~ Licensed under the MIT License.
~ Code generated by Microsoft (R) TypeSpec Code Generator.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.azure</groupId>
Expand All @@ -14,11 +14,11 @@

<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-oracledatabase</artifactId>
<version>1.3.0-beta.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-oracledatabase;current} -->
<version>1.3.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-oracledatabase;current} -->
<packaging>jar</packaging>

<name>Microsoft Azure SDK for Oracle Database Management</name>
<description>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-09-01.</description>
<description>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-11-01-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand All @@ -45,7 +45,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
<revapi.skip>true</revapi.skip>
<revapi.skip>false</revapi.skip>
</properties>
<dependencies>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ public DbVersionsClient getDbVersions() {
this.defaultPollInterval = defaultPollInterval;
this.endpoint = endpoint;
this.subscriptionId = subscriptionId;
this.apiVersion = "2025-09-01";
this.apiVersion = "2025-11-01-preview";
this.operations = new OperationsClientImpl(this);
this.cloudExadataInfrastructures = new CloudExadataInfrastructuresClientImpl(this);
this.dbServers = new DbServersClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public final class CloudVmClusterProperties implements JsonSerializable<CloudVmC
private String zoneId;

/*
* The hostname for the cloud VM cluster.
* The hostname for the cloud VM cluster. Hostname and domain combined length cannot exceed 112 characters.
*/
private String hostname;

Expand Down Expand Up @@ -490,7 +490,8 @@ public CloudVmClusterProperties withZoneId(String zoneId) {
}

/**
* Get the hostname property: The hostname for the cloud VM cluster.
* Get the hostname property: The hostname for the cloud VM cluster. Hostname and domain combined length cannot
* exceed 112 characters.
*
* @return the hostname value.
*/
Expand All @@ -499,7 +500,8 @@ public String hostname() {
}

/**
* Set the hostname property: The hostname for the cloud VM cluster.
* Set the hostname property: The hostname for the cloud VM cluster. Hostname and domain combined length cannot
* exceed 112 characters.
*
* @param hostname the hostname value to set.
* @return the CloudVmClusterProperties object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ public class DbSystemBaseProperties implements JsonSerializable<DbSystemBaseProp
*/
private Integer computeCount;

/*
* Indicates user preferences for the various diagnostic collection options for the Base DB.
*/
private DataCollectionOptions dataCollectionOptions;

/**
* Creates an instance of DbSystemBaseProperties class.
*/
Expand Down Expand Up @@ -818,6 +823,28 @@ public DbSystemBaseProperties withComputeCount(Integer computeCount) {
return this;
}

/**
* Get the dataCollectionOptions property: Indicates user preferences for the various diagnostic collection options
* for the Base DB.
*
* @return the dataCollectionOptions value.
*/
public DataCollectionOptions dataCollectionOptions() {
return this.dataCollectionOptions;
}

/**
* Set the dataCollectionOptions property: Indicates user preferences for the various diagnostic collection options
* for the Base DB.
*
* @param dataCollectionOptions the dataCollectionOptions value to set.
* @return the DbSystemBaseProperties object itself.
*/
public DbSystemBaseProperties withDataCollectionOptions(DataCollectionOptions dataCollectionOptions) {
this.dataCollectionOptions = dataCollectionOptions;
return this;
}

/**
* {@inheritDoc}
*/
Expand Down Expand Up @@ -846,6 +873,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("timeZone", this.timeZone);
jsonWriter.writeStringField("computeModel", this.computeModel == null ? null : this.computeModel.toString());
jsonWriter.writeNumberField("computeCount", this.computeCount);
jsonWriter.writeJsonField("dataCollectionOptions", this.dataCollectionOptions);
return jsonWriter.writeEndObject();
}

Expand Down Expand Up @@ -957,6 +985,8 @@ static DbSystemBaseProperties fromJsonKnownDiscriminator(JsonReader jsonReader)
deserializedDbSystemBaseProperties.computeModel = ComputeModel.fromString(reader.getString());
} else if ("computeCount".equals(fieldName)) {
deserializedDbSystemBaseProperties.computeCount = reader.getNullable(JsonReader::getInt);
} else if ("dataCollectionOptions".equals(fieldName)) {
deserializedDbSystemBaseProperties.dataCollectionOptions = DataCollectionOptions.fromJson(reader);
} else {
reader.skipChildren();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,15 @@ public DbSystemProperties withComputeCount(Integer computeCount) {
return this;
}

/**
* {@inheritDoc}
*/
@Override
public DbSystemProperties withDataCollectionOptions(DataCollectionOptions dataCollectionOptions) {
super.withDataCollectionOptions(dataCollectionOptions);
return this;
}

/**
* {@inheritDoc}
*/
Expand All @@ -333,6 +342,7 @@ public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStringField("timeZone", timeZone());
jsonWriter.writeStringField("computeModel", computeModel() == null ? null : computeModel().toString());
jsonWriter.writeNumberField("computeCount", computeCount());
jsonWriter.writeJsonField("dataCollectionOptions", dataCollectionOptions());
jsonWriter.writeStringField("databaseEdition",
this.databaseEdition == null ? null : this.databaseEdition.toString());
jsonWriter.writeStringField("dbVersion", this.dbVersion);
Expand Down Expand Up @@ -423,6 +433,8 @@ public static DbSystemProperties fromJson(JsonReader jsonReader) throws IOExcept
deserializedDbSystemProperties.withComputeModel(ComputeModel.fromString(reader.getString()));
} else if ("computeCount".equals(fieldName)) {
deserializedDbSystemProperties.withComputeCount(reader.getNullable(JsonReader::getInt));
} else if ("dataCollectionOptions".equals(fieldName)) {
deserializedDbSystemProperties.withDataCollectionOptions(DataCollectionOptions.fromJson(reader));
} else if ("databaseEdition".equals(fieldName)) {
deserializedDbSystemProperties.databaseEdition
= DbSystemDatabaseEditionType.fromString(reader.getString());
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
public final class AutonomousDatabaseBackupsCreateOrUpdateSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseBackups_CreateOrUpdate_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseBackups_CreateOrUpdate_MaximumSet_Gen.json
*/
/**
* Sample code: Create Autonomous Database Backup. - generated by [MaximumSet] rule.
Expand All @@ -29,7 +29,7 @@ public static void createAutonomousDatabaseBackupGeneratedByMaximumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseBackup_create.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseBackup_create.json
*/
/**
* Sample code: AutonomousDatabaseBackups_CreateOrUpdate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseBackupsDeleteSamples {
/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseBackup_delete.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseBackup_delete.json
*/
/**
* Sample code: AutonomousDatabaseBackups_Delete.
Expand All @@ -23,7 +23,7 @@ public final class AutonomousDatabaseBackupsDeleteSamples {
}

/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseBackups_Delete_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseBackups_Delete_MaximumSet_Gen.json
*/
/**
* Sample code: Delete Autonomous Database Backup. - generated by [MaximumSet] rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseBackupsGetSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseBackups_Get_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseBackups_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Get Autonomous Database Backup. - generated by [MaximumSet] rule.
Expand All @@ -23,7 +23,7 @@ public static void getAutonomousDatabaseBackupGeneratedByMaximumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseBackup_get.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseBackup_get.json
*/
/**
* Sample code: AutonomousDatabaseBackups_Get.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseBackupsListByAutonomousDatabaseSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseBackups_ListByParent_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseBackups_ListByParent_MaximumSet_Gen.json
*/
/**
* Sample code: List Autonomous Database Backups by Autonomous Database. - generated by [MaximumSet] rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
public final class AutonomousDatabaseBackupsUpdateSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseBackups_Update_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseBackups_Update_MaximumSet_Gen.json
*/
/**
* Sample code: Patch Autonomous Database Backup. - generated by [MaximumSet] rule.
Expand All @@ -30,7 +30,7 @@ public static void patchAutonomousDatabaseBackupGeneratedByMaximumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseBackup_patch.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseBackup_patch.json
*/
/**
* Sample code: AutonomousDatabaseBackups_Update.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseCharacterSetsGetSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseCharacterSets_Get_MinimumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseCharacterSets_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Get autonomous db character set - generated by [MinimumSet] rule.
Expand All @@ -24,7 +24,7 @@ public static void getAutonomousDbCharacterSetGeneratedByMinimumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseCharacterSet_get.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseCharacterSet_get.json
*/
/**
* Sample code: AutonomousDatabaseCharacterSets_get.
Expand All @@ -38,7 +38,7 @@ public static void getAutonomousDbCharacterSetGeneratedByMinimumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseCharacterSets_Get_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseCharacterSets_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Get autonomous db character set - generated by [MaximumSet] rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseCharacterSetsListByLocationSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseCharacterSets_ListByLocation_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseCharacterSets_ListByLocation_MaximumSet_Gen.json
*/
/**
* Sample code: List autonomous db character sets by location - generated by [MaximumSet] rule.
Expand All @@ -22,7 +22,7 @@ public static void listAutonomousDbCharacterSetsByLocationGeneratedByMaximumSetR
}

/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseCharacterSets_ListByLocation_MinimumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseCharacterSets_ListByLocation_MinimumSet_Gen.json
*/
/**
* Sample code: List autonomous db character sets by location - generated by [MinimumSet] rule.
Expand All @@ -35,7 +35,7 @@ public static void listAutonomousDbCharacterSetsByLocationGeneratedByMinimumSetR
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseCharacterSet_listByLocation.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseCharacterSet_listByLocation.json
*/
/**
* Sample code: AutonomousDatabaseCharacterSets_listByLocation.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
public final class AutonomousDatabaseNationalCharacterSetsGetSamples {
/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseNationalCharacterSets_Get_MinimumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseNationalCharacterSets_Get_MinimumSet_Gen.json
*/
/**
* Sample code: Get autonomous db national character set - generated by [MinimumSet] rule.
Expand All @@ -24,7 +24,7 @@ public static void getAutonomousDbNationalCharacterSetGeneratedByMinimumSetRule(
}

/*
* x-ms-original-file: 2025-09-01/autonomousDatabaseNationalCharacterSet_get.json
* x-ms-original-file: 2025-11-01-preview/autonomousDatabaseNationalCharacterSet_get.json
*/
/**
* Sample code: AutonomousDatabaseNationalCharacterSets_get.
Expand All @@ -38,7 +38,7 @@ public static void autonomousDatabaseNationalCharacterSetsGet(
}

/*
* x-ms-original-file: 2025-09-01/AutonomousDatabaseNationalCharacterSets_Get_MaximumSet_Gen.json
* x-ms-original-file: 2025-11-01-preview/AutonomousDatabaseNationalCharacterSets_Get_MaximumSet_Gen.json
*/
/**
* Sample code: Get autonomous db national character set - generated by [MaximumSet] rule.
Expand Down
Loading
Loading