Skip to content

Commit

Permalink
Releasing version 103.2.0
Browse files Browse the repository at this point in the history
Releasing version 103.2.0
  • Loading branch information
oci-dex-release-bot authored Feb 18, 2025
2 parents 6987b37 + cdf6247 commit cd646ba
Show file tree
Hide file tree
Showing 38 changed files with 1,593 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ The format is based on Keep a [Changelog](http://keepachangelog.com/).
### Breaking Changes
- The property `Credentials` was made required in the model `CreateDbSystemDetails` in the PostgreSQL service

## 103.2.0 - 2025-02-18
### Added
- Support for Customer Onboarding Success(COS) in the Java Management service
- Support for filtering performance tuning analysis results in the Java Management service
- Support for improved plugin filtering in the Java Management service
- Support for operating system distribution information in the Java Management service

## 103.1.0 - 2025-02-11
### Added
- Support for backups and recovery enhancements in autonomous databases in the Database service
Expand Down
2 changes: 1 addition & 1 deletion Common/Src/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Oci.Common
public class Version
{
public static string MAJOR = "103";
public static string MINOR = "1";
public static string MINOR = "2";
public static string PATCH = "0";
public static string TAG = "";

Expand Down
6 changes: 6 additions & 0 deletions Database/models/AutonomousDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,12 @@ public enum DatabaseManagementStatusEnum {
[JsonProperty(PropertyName = "timeMaintenanceEnd")]
public System.Nullable<System.DateTime> TimeMaintenanceEnd { get; set; }

/// <value>
/// The component chosen for maintenance.
/// </value>
[JsonProperty(PropertyName = "maintenanceTargetComponent")]
public string MaintenanceTargetComponent { get; set; }

/// <value>
/// Indicates if the Autonomous Database is a refreshable clone.
/// <br/>
Expand Down
18 changes: 18 additions & 0 deletions Database/models/AutonomousDatabaseStandbySummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,24 @@ public enum LifecycleStateEnum {
[JsonProperty(PropertyName = "timeDisasterRecoveryRoleChanged")]
public System.Nullable<System.DateTime> TimeDisasterRecoveryRoleChanged { get; set; }

/// <value>
/// The date and time when maintenance will begin.
/// </value>
[JsonProperty(PropertyName = "timeMaintenanceBegin")]
public System.Nullable<System.DateTime> TimeMaintenanceBegin { get; set; }

/// <value>
/// The date and time when maintenance will end.
/// </value>
[JsonProperty(PropertyName = "timeMaintenanceEnd")]
public System.Nullable<System.DateTime> TimeMaintenanceEnd { get; set; }

/// <value>
/// The component chosen for maintenance.
/// </value>
[JsonProperty(PropertyName = "maintenanceTargetComponent")]
public string MaintenanceTargetComponent { get; set; }

/// <value>
/// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.
/// </value>
Expand Down
6 changes: 6 additions & 0 deletions Database/models/AutonomousDatabaseSummary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,12 @@ public enum DatabaseManagementStatusEnum {
[JsonProperty(PropertyName = "timeMaintenanceEnd")]
public System.Nullable<System.DateTime> TimeMaintenanceEnd { get; set; }

/// <value>
/// The component chosen for maintenance.
/// </value>
[JsonProperty(PropertyName = "maintenanceTargetComponent")]
public string MaintenanceTargetComponent { get; set; }

/// <value>
/// Indicates if the Autonomous Database is a refreshable clone.
/// <br/>
Expand Down
6 changes: 6 additions & 0 deletions Database/models/AutonomousDwDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,12 @@ public enum DatabaseManagementStatusEnum {
[JsonProperty(PropertyName = "timeMaintenanceEnd")]
public System.Nullable<System.DateTime> TimeMaintenanceEnd { get; set; }

/// <value>
/// The component chosen for maintenance.
/// </value>
[JsonProperty(PropertyName = "maintenanceTargetComponent")]
public string MaintenanceTargetComponent { get; set; }

/// <value>
/// Indicates if the Autonomous Database is a refreshable clone.
/// <br/>
Expand Down
6 changes: 6 additions & 0 deletions Database/requests/ListMaintenanceRunsRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public class ListMaintenanceRunsRequest : Oci.Common.IOciRequest
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")]
public string Page { get; set; }

/// <value>
/// A filter to return the maintenance history results for the local standby Autonomous Database Serverless only.
/// </value>
[Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "isLocalAdg")]
public System.Nullable<bool> IsLocalAdg { get; set; }

///
/// <value>
/// The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIME_SCHEDULED and TIME_ENDED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
Expand Down
224 changes: 224 additions & 0 deletions Jms/JavaManagementServiceClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2226,6 +2226,62 @@ public async Task<ListFleetDiagnosesResponse> ListFleetDiagnoses(ListFleetDiagno
}
}

/// <summary>
/// Returns a list of fleet errors that describe all detected errors.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/jms/ListFleetErrors.cs.html">here</a> to see an example of how to use ListFleetErrors API.</example>
public async Task<ListFleetErrorsResponse> ListFleetErrors(ListFleetErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called listFleetErrors");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/fleetErrors".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "JavaManagementService",
OperationName = "ListFleetErrors",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/FleetErrorSummary/ListFleetErrors",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<ListFleetErrorsResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"ListFleetErrors failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// Returns a list of all the Fleets contained by a compartment. The query parameter &#x60;compartmentId&#x60;
/// is required unless the query parameter &#x60;id&#x60; is specified.
Expand Down Expand Up @@ -2679,6 +2735,62 @@ public async Task<ListPerformanceTuningAnalysisResultsResponse> ListPerformanceT
}
}

/// <summary>
/// Returns a list of plugin errors that describe all detected errors.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/jms/ListPluginErrors.cs.html">here</a> to see an example of how to use ListPluginErrors API.</example>
public async Task<ListPluginErrorsResponse> ListPluginErrors(ListPluginErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called listPluginErrors");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/pluginErrors".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "JavaManagementService",
OperationName = "ListPluginErrors",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/PluginErrorSummary/ListPluginErrors",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<ListPluginErrorsResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"ListPluginErrors failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// Retrieve a paginated list of work items for a specified work request.
///
Expand Down Expand Up @@ -3590,6 +3702,62 @@ public async Task<SummarizeDeployedApplicationUsageResponse> SummarizeDeployedAp
}
}

/// <summary>
/// Returns a high level summary of FleetErrors.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/jms/SummarizeFleetErrors.cs.html">here</a> to see an example of how to use SummarizeFleetErrors API.</example>
public async Task<SummarizeFleetErrorsResponse> SummarizeFleetErrors(SummarizeFleetErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called summarizeFleetErrors");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/fleetErrorAnalytics".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "JavaManagementService",
OperationName = "SummarizeFleetErrors",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/FleetErrorAggregation/SummarizeFleetErrors",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<SummarizeFleetErrorsResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"SummarizeFleetErrors failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// List Java installation usage in a Fleet filtered by query parameters.
/// </summary>
Expand Down Expand Up @@ -3929,6 +4097,62 @@ public async Task<SummarizeManagedInstanceUsageResponse> SummarizeManagedInstanc
}
}

/// <summary>
/// Returns a high level summary of PluginErrors.
/// </summary>
/// <param name="request">The request object containing the details to send. Required.</param>
/// <param name="retryConfiguration">The retry configuration that will be used by to send this request. Optional.</param>
/// <param name="cancellationToken">The cancellation token to cancel this operation. Optional.</param>
/// <param name="completionOption">The completion option for this operation. Optional.</param>
/// <returns>A response object containing details about the completed operation</returns>
/// <example>Click <a href="https://docs.cloud.oracle.com/en-us/iaas/tools/dot-net-examples/latest/jms/SummarizePluginErrors.cs.html">here</a> to see an example of how to use SummarizePluginErrors API.</example>
public async Task<SummarizePluginErrorsResponse> SummarizePluginErrors(SummarizePluginErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
{
logger.Trace("Called summarizePluginErrors");
Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/pluginErrorAnalytics".Trim('/')));
HttpMethod method = new HttpMethod("GET");
HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request);
requestMessage.Headers.Add("Accept", "application/json");
GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration);
HttpResponseMessage responseMessage;

try
{
Stopwatch stopWatch = new Stopwatch();
stopWatch.Start();
if (retryingClient != null)
{
responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, completionOption, cancellationToken).ConfigureAwait(false);
}
else
{
responseMessage = await this.restClient.HttpSend(requestMessage, completionOption: completionOption).ConfigureAwait(false);
}
stopWatch.Stop();
ApiDetails apiDetails = new ApiDetails
{
ServiceName = "JavaManagementService",
OperationName = "SummarizePluginErrors",
RequestEndpoint = $"{method.Method} {requestMessage.RequestUri}",
ApiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/jms/20210610/PluginErrorAggregation/SummarizePluginErrors",
UserAgent = this.GetUserAgent()
};
this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage, apiDetails);
logger.Debug($"Total Latency for this API call is: {stopWatch.ElapsedMilliseconds} ms");
return Converter.FromHttpResponseMessage<SummarizePluginErrorsResponse>(responseMessage);
}
catch (OciException e)
{
logger.Error(e);
throw;
}
catch (Exception e)
{
logger.Error($"SummarizePluginErrors failed with error: {e.Message}");
throw;
}
}

/// <summary>
/// Retrieve the inventory of JMS resources in the specified compartment: a list of the number of _active_ fleets, managed instances, Java Runtimes, Java installations, and applications.
///
Expand Down
Loading

0 comments on commit cd646ba

Please sign in to comment.