diff --git a/CHANGELOG.md b/CHANGELOG.md index a88a595a33..681d140aee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Common/Src/Version.cs b/Common/Src/Version.cs index c01a07e567..5a4a954f89 100644 --- a/Common/Src/Version.cs +++ b/Common/Src/Version.cs @@ -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 = ""; diff --git a/Database/models/AutonomousDatabase.cs b/Database/models/AutonomousDatabase.cs index a5481b9be0..eb7f8c8fae 100644 --- a/Database/models/AutonomousDatabase.cs +++ b/Database/models/AutonomousDatabase.cs @@ -777,6 +777,12 @@ public enum DatabaseManagementStatusEnum { [JsonProperty(PropertyName = "timeMaintenanceEnd")] public System.Nullable TimeMaintenanceEnd { get; set; } + /// + /// The component chosen for maintenance. + /// + [JsonProperty(PropertyName = "maintenanceTargetComponent")] + public string MaintenanceTargetComponent { get; set; } + /// /// Indicates if the Autonomous Database is a refreshable clone. ///
diff --git a/Database/models/AutonomousDatabaseStandbySummary.cs b/Database/models/AutonomousDatabaseStandbySummary.cs index 1e20ca6d13..607d3502c5 100644 --- a/Database/models/AutonomousDatabaseStandbySummary.cs +++ b/Database/models/AutonomousDatabaseStandbySummary.cs @@ -105,6 +105,24 @@ public enum LifecycleStateEnum { [JsonProperty(PropertyName = "timeDisasterRecoveryRoleChanged")] public System.Nullable TimeDisasterRecoveryRoleChanged { get; set; } + /// + /// The date and time when maintenance will begin. + /// + [JsonProperty(PropertyName = "timeMaintenanceBegin")] + public System.Nullable TimeMaintenanceBegin { get; set; } + + /// + /// The date and time when maintenance will end. + /// + [JsonProperty(PropertyName = "timeMaintenanceEnd")] + public System.Nullable TimeMaintenanceEnd { get; set; } + + /// + /// The component chosen for maintenance. + /// + [JsonProperty(PropertyName = "maintenanceTargetComponent")] + public string MaintenanceTargetComponent { get; set; } + /// /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. /// diff --git a/Database/models/AutonomousDatabaseSummary.cs b/Database/models/AutonomousDatabaseSummary.cs index a9df6d39b5..98f4f8431e 100644 --- a/Database/models/AutonomousDatabaseSummary.cs +++ b/Database/models/AutonomousDatabaseSummary.cs @@ -779,6 +779,12 @@ public enum DatabaseManagementStatusEnum { [JsonProperty(PropertyName = "timeMaintenanceEnd")] public System.Nullable TimeMaintenanceEnd { get; set; } + /// + /// The component chosen for maintenance. + /// + [JsonProperty(PropertyName = "maintenanceTargetComponent")] + public string MaintenanceTargetComponent { get; set; } + /// /// Indicates if the Autonomous Database is a refreshable clone. ///
diff --git a/Database/models/AutonomousDwDatabase.cs b/Database/models/AutonomousDwDatabase.cs index 8491605390..4af2b622f8 100644 --- a/Database/models/AutonomousDwDatabase.cs +++ b/Database/models/AutonomousDwDatabase.cs @@ -753,6 +753,12 @@ public enum DatabaseManagementStatusEnum { [JsonProperty(PropertyName = "timeMaintenanceEnd")] public System.Nullable TimeMaintenanceEnd { get; set; } + /// + /// The component chosen for maintenance. + /// + [JsonProperty(PropertyName = "maintenanceTargetComponent")] + public string MaintenanceTargetComponent { get; set; } + /// /// Indicates if the Autonomous Database is a refreshable clone. ///
diff --git a/Database/requests/ListMaintenanceRunsRequest.cs b/Database/requests/ListMaintenanceRunsRequest.cs index 4f8ce5fe9d..7f2182a40b 100644 --- a/Database/requests/ListMaintenanceRunsRequest.cs +++ b/Database/requests/ListMaintenanceRunsRequest.cs @@ -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; } + /// + /// A filter to return the maintenance history results for the local standby Autonomous Database Serverless only. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "isLocalAdg")] + public System.Nullable IsLocalAdg { get; set; } + /// /// /// 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. diff --git a/Jms/JavaManagementServiceClient.cs b/Jms/JavaManagementServiceClient.cs index 4793ae9da5..9c05dfaa57 100644 --- a/Jms/JavaManagementServiceClient.cs +++ b/Jms/JavaManagementServiceClient.cs @@ -2226,6 +2226,62 @@ public async Task ListFleetDiagnoses(ListFleetDiagno } } + /// + /// Returns a list of fleet errors that describe all detected errors. + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// The completion option for this operation. Optional. + /// A response object containing details about the completed operation + /// Click here to see an example of how to use ListFleetErrors API. + public async Task 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(responseMessage); + } + catch (OciException e) + { + logger.Error(e); + throw; + } + catch (Exception e) + { + logger.Error($"ListFleetErrors failed with error: {e.Message}"); + throw; + } + } + /// /// Returns a list of all the Fleets contained by a compartment. The query parameter `compartmentId` /// is required unless the query parameter `id` is specified. @@ -2679,6 +2735,62 @@ public async Task ListPerformanceT } } + /// + /// Returns a list of plugin errors that describe all detected errors. + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// The completion option for this operation. Optional. + /// A response object containing details about the completed operation + /// Click here to see an example of how to use ListPluginErrors API. + public async Task 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(responseMessage); + } + catch (OciException e) + { + logger.Error(e); + throw; + } + catch (Exception e) + { + logger.Error($"ListPluginErrors failed with error: {e.Message}"); + throw; + } + } + /// /// Retrieve a paginated list of work items for a specified work request. /// @@ -3590,6 +3702,62 @@ public async Task SummarizeDeployedAp } } + /// + /// Returns a high level summary of FleetErrors. + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// The completion option for this operation. Optional. + /// A response object containing details about the completed operation + /// Click here to see an example of how to use SummarizeFleetErrors API. + public async Task 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(responseMessage); + } + catch (OciException e) + { + logger.Error(e); + throw; + } + catch (Exception e) + { + logger.Error($"SummarizeFleetErrors failed with error: {e.Message}"); + throw; + } + } + /// /// List Java installation usage in a Fleet filtered by query parameters. /// @@ -3929,6 +4097,62 @@ public async Task SummarizeManagedInstanc } } + /// + /// Returns a high level summary of PluginErrors. + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// The completion option for this operation. Optional. + /// A response object containing details about the completed operation + /// Click here to see an example of how to use SummarizePluginErrors API. + public async Task 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(responseMessage); + } + catch (OciException e) + { + logger.Error(e); + throw; + } + catch (Exception e) + { + logger.Error($"SummarizePluginErrors failed with error: {e.Message}"); + throw; + } + } + /// /// 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. /// diff --git a/Jms/JavaManagementServicePaginators.cs b/Jms/JavaManagementServicePaginators.cs index c81ae3d4db..9c232bc818 100644 --- a/Jms/JavaManagementServicePaginators.cs +++ b/Jms/JavaManagementServicePaginators.cs @@ -343,6 +343,55 @@ public IEnumerable ListFleetDiagnosesRecordEnumerator(Lis ); } + /// + /// Creates a new enumerable which will iterate over the responses received from the ListFleetErrors operation. This enumerable + /// will fetch more data from the server as needed. + /// + /// The request object containing the details to send + /// The configuration for retrying, may be null + /// The cancellation token object + /// The enumerator, which supports a simple iteration over a collection of a specified type + public IEnumerable ListFleetErrorsResponseEnumerator(ListFleetErrorsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default) + { + return new Common.Utils.ResponseEnumerable( + response => response.OpcNextPage, + input => + { + if (!string.IsNullOrEmpty(input)) + { + request.Page = input; + } + return request; + }, + request => client.ListFleetErrors(request, retryConfiguration, cancellationToken) + ); + } + + /// + /// Creates a new enumerable which will iterate over the FleetErrorSummary objects + /// contained in responses from the ListFleetErrors operation. This enumerable will fetch more data from the server as needed. + /// + /// The request object containing the details to send + /// The configuration for retrying, may be null + /// The cancellation token object + /// The enumerator, which supports a simple iteration over a collection of a specified type + public IEnumerable ListFleetErrorsRecordEnumerator(ListFleetErrorsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default) + { + return new Common.Utils.ResponseRecordEnumerable( + response => response.OpcNextPage, + input => + { + if (!string.IsNullOrEmpty(input)) + { + request.Page = input; + } + return request; + }, + request => client.ListFleetErrors(request, retryConfiguration, cancellationToken), + response => response.FleetErrorCollection.Items + ); + } + /// /// Creates a new enumerable which will iterate over the responses received from the ListFleets operation. This enumerable /// will fetch more data from the server as needed. @@ -735,6 +784,55 @@ public IEnumerable ListPerformanceTuning ); } + /// + /// Creates a new enumerable which will iterate over the responses received from the ListPluginErrors operation. This enumerable + /// will fetch more data from the server as needed. + /// + /// The request object containing the details to send + /// The configuration for retrying, may be null + /// The cancellation token object + /// The enumerator, which supports a simple iteration over a collection of a specified type + public IEnumerable ListPluginErrorsResponseEnumerator(ListPluginErrorsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default) + { + return new Common.Utils.ResponseEnumerable( + response => response.OpcNextPage, + input => + { + if (!string.IsNullOrEmpty(input)) + { + request.Page = input; + } + return request; + }, + request => client.ListPluginErrors(request, retryConfiguration, cancellationToken) + ); + } + + /// + /// Creates a new enumerable which will iterate over the PluginErrorSummary objects + /// contained in responses from the ListPluginErrors operation. This enumerable will fetch more data from the server as needed. + /// + /// The request object containing the details to send + /// The configuration for retrying, may be null + /// The cancellation token object + /// The enumerator, which supports a simple iteration over a collection of a specified type + public IEnumerable ListPluginErrorsRecordEnumerator(ListPluginErrorsRequest request, Common.Retry.RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default) + { + return new Common.Utils.ResponseRecordEnumerable( + response => response.OpcNextPage, + input => + { + if (!string.IsNullOrEmpty(input)) + { + request.Page = input; + } + return request; + }, + request => client.ListPluginErrors(request, retryConfiguration, cancellationToken), + response => response.PluginErrorCollection.Items + ); + } + /// /// Creates a new enumerable which will iterate over the responses received from the ListWorkItems operation. This enumerable /// will fetch more data from the server as needed. diff --git a/Jms/models/FleetErrorAggregation.cs b/Jms/models/FleetErrorAggregation.cs new file mode 100644 index 0000000000..c907052ff0 --- /dev/null +++ b/Jms/models/FleetErrorAggregation.cs @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Aggregation of FleetErrors + /// + public class FleetErrorAggregation + { + + /// + /// Enum that uniquely identifies the fleet error. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Reason is required.")] + [JsonProperty(PropertyName = "reason")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable Reason { get; set; } + + /// + /// Number of FleetErrors encountered for the specific reason. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Count is required.")] + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + + } +} diff --git a/Jms/models/FleetErrorAggregationCollection.cs b/Jms/models/FleetErrorAggregationCollection.cs new file mode 100644 index 0000000000..27a0acc3c3 --- /dev/null +++ b/Jms/models/FleetErrorAggregationCollection.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Collection of FleetErrorAggregationSummary. + /// + public class FleetErrorAggregationCollection + { + + /// + /// A list of FleetErrorAggregationSummary. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Items is required.")] + [JsonProperty(PropertyName = "items")] + public System.Collections.Generic.List Items { get; set; } + + } +} diff --git a/Jms/models/FleetErrorAggregationSummary.cs b/Jms/models/FleetErrorAggregationSummary.cs new file mode 100644 index 0000000000..4e1540acf2 --- /dev/null +++ b/Jms/models/FleetErrorAggregationSummary.cs @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// High level view of fleet error aggregations. + /// + public class FleetErrorAggregationSummary + { + + /// + /// Count of fleets with no problems. + /// + /// + /// Required + /// + [Required(ErrorMessage = "HealthyFleetCount is required.")] + [JsonProperty(PropertyName = "healthyFleetCount")] + public System.Nullable HealthyFleetCount { get; set; } + + /// + /// List of fleet error aggregations. + /// + /// + /// Required + /// + [Required(ErrorMessage = "FleetErrorAggregations is required.")] + [JsonProperty(PropertyName = "fleetErrorAggregations")] + public System.Collections.Generic.List FleetErrorAggregations { get; set; } + + } +} diff --git a/Jms/models/FleetErrorCollection.cs b/Jms/models/FleetErrorCollection.cs new file mode 100644 index 0000000000..08c8809cca --- /dev/null +++ b/Jms/models/FleetErrorCollection.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Results of a Fleet Error search. + /// + public class FleetErrorCollection + { + + /// + /// A list of FleetErrorSummary. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Items is required.")] + [JsonProperty(PropertyName = "items")] + public System.Collections.Generic.List Items { get; set; } + + } +} diff --git a/Jms/models/FleetErrorDetails.cs b/Jms/models/FleetErrorDetails.cs new file mode 100644 index 0000000000..249ca02818 --- /dev/null +++ b/Jms/models/FleetErrorDetails.cs @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Details of a fleet error. + /// + public class FleetErrorDetails + { + + /// + /// The fleet error reason. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Reason is required.")] + [JsonProperty(PropertyName = "reason")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable Reason { get; set; } + + /// + /// Optional string containing additional details. + /// + [JsonProperty(PropertyName = "details")] + public string Details { get; set; } + + /// + /// The date and time the resource was _last_ reported to JMS. + /// This is potentially _after_ the specified time period provided by the filters. + /// For example, a resource can be last reported to JMS before the start of a specified time period, + /// if it is also reported during the time period. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeLastSeen is required.")] + [JsonProperty(PropertyName = "timeLastSeen")] + public System.Nullable TimeLastSeen { get; set; } + + } +} diff --git a/Jms/models/FleetErrorReason.cs b/Jms/models/FleetErrorReason.cs new file mode 100644 index 0000000000..dcd2f02708 --- /dev/null +++ b/Jms/models/FleetErrorReason.cs @@ -0,0 +1,27 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; + +namespace Oci.JmsService.Models +{ + /// + /// The fleet error reason. + /// + public enum FleetErrorReason { + /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK. + [EnumMember(Value = null)] + UnknownEnumValue, + [EnumMember(Value = "NO_MANAGED_INSTANCES")] + NoManagedInstances, + [EnumMember(Value = "INVENTORY_LOG")] + InventoryLog + } +} diff --git a/Jms/models/FleetErrorSortBy.cs b/Jms/models/FleetErrorSortBy.cs new file mode 100644 index 0000000000..f1cce0a683 --- /dev/null +++ b/Jms/models/FleetErrorSortBy.cs @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; + +namespace Oci.JmsService.Models +{ + /// + /// The field used to sort fleet errors. + /// + public enum FleetErrorSortBy { + [EnumMember(Value = "TIME_FIRST_SEEN")] + TimeFirstSeen, + [EnumMember(Value = "TIME_LAST_SEEN")] + TimeLastSeen + } +} diff --git a/Jms/models/FleetErrorSummary.cs b/Jms/models/FleetErrorSummary.cs new file mode 100644 index 0000000000..1ca69d5758 --- /dev/null +++ b/Jms/models/FleetErrorSummary.cs @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// The summary of a fleet error. + /// + public class FleetErrorSummary + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + /// + /// Required + /// + [Required(ErrorMessage = "FleetId is required.")] + [JsonProperty(PropertyName = "fleetId")] + public string FleetId { get; set; } + + /// + /// The display name of the Fleet. + /// + /// + /// Required + /// + [Required(ErrorMessage = "FleetName is required.")] + [JsonProperty(PropertyName = "fleetName")] + public string FleetName { get; set; } + + /// + /// The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "CompartmentId is required.")] + [JsonProperty(PropertyName = "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// List of fleet error details. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Errors is required.")] + [JsonProperty(PropertyName = "errors")] + public System.Collections.Generic.List Errors { get; set; } + + /// + /// The timestamp of the first time an error was detected. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeFirstSeen is required.")] + [JsonProperty(PropertyName = "timeFirstSeen")] + public System.Nullable TimeFirstSeen { get; set; } + + /// + /// The timestamp of the last time an error was detected. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeLastSeen is required.")] + [JsonProperty(PropertyName = "timeLastSeen")] + public System.Nullable TimeLastSeen { get; set; } + + } +} diff --git a/Jms/models/GenerateAgentInstallerConfigurationDetails.cs b/Jms/models/GenerateAgentInstallerConfigurationDetails.cs index daf760e0f8..e1a21054be 100644 --- a/Jms/models/GenerateAgentInstallerConfigurationDetails.cs +++ b/Jms/models/GenerateAgentInstallerConfigurationDetails.cs @@ -22,7 +22,7 @@ public class GenerateAgentInstallerConfigurationDetails { /// - /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the install key for which to generate the configuration file. + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the management agent install key for which to generate the configuration file. /// /// /// Required diff --git a/Jms/models/OperatingSystem.cs b/Jms/models/OperatingSystem.cs index 87d5ac48f5..d8c850569a 100644 --- a/Jms/models/OperatingSystem.cs +++ b/Jms/models/OperatingSystem.cs @@ -43,6 +43,12 @@ public class OperatingSystem [JsonProperty(PropertyName = "name")] public string Name { get; set; } + /// + /// The name of the Operating System distribution, such as Oracle Linux 9, Windows 10, or macOS X. + /// + [JsonProperty(PropertyName = "distribution")] + public string Distribution { get; set; } + /// /// The version of the operating system as provided by the Java system property os.version. /// diff --git a/Jms/models/PluginErrorAggregation.cs b/Jms/models/PluginErrorAggregation.cs new file mode 100644 index 0000000000..d76c4d592c --- /dev/null +++ b/Jms/models/PluginErrorAggregation.cs @@ -0,0 +1,46 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Aggregation of PluginErrors + /// + public class PluginErrorAggregation + { + + /// + /// Enum that uniquely identifies the plugin error. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Reason is required.")] + [JsonProperty(PropertyName = "reason")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable Reason { get; set; } + + /// + /// Number of FleetErrors encountered for the specific reason. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Count is required.")] + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + + } +} diff --git a/Jms/models/PluginErrorAggregationCollection.cs b/Jms/models/PluginErrorAggregationCollection.cs new file mode 100644 index 0000000000..982a4ef49a --- /dev/null +++ b/Jms/models/PluginErrorAggregationCollection.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Collection of PluginErrorAggregation. + /// + public class PluginErrorAggregationCollection + { + + /// + /// A list of PluginErrorAggregationSummary. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Items is required.")] + [JsonProperty(PropertyName = "items")] + public System.Collections.Generic.List Items { get; set; } + + } +} diff --git a/Jms/models/PluginErrorAggregationSummary.cs b/Jms/models/PluginErrorAggregationSummary.cs new file mode 100644 index 0000000000..419d968a20 --- /dev/null +++ b/Jms/models/PluginErrorAggregationSummary.cs @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// High level view of plugin error aggregations. + /// + public class PluginErrorAggregationSummary + { + + /// + /// Count of plugins with no problems. + /// + /// + /// Required + /// + [Required(ErrorMessage = "HealthyPluginCount is required.")] + [JsonProperty(PropertyName = "healthyPluginCount")] + public System.Nullable HealthyPluginCount { get; set; } + + /// + /// List of plugin aggregation errors. + /// + /// + /// Required + /// + [Required(ErrorMessage = "PluginErrorAggregations is required.")] + [JsonProperty(PropertyName = "pluginErrorAggregations")] + public System.Collections.Generic.List PluginErrorAggregations { get; set; } + + } +} diff --git a/Jms/models/PluginErrorCollection.cs b/Jms/models/PluginErrorCollection.cs new file mode 100644 index 0000000000..52c8e21d59 --- /dev/null +++ b/Jms/models/PluginErrorCollection.cs @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Collection of PluginErrors. + /// + public class PluginErrorCollection + { + + /// + /// A list of PluginErrorSummary. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Items is required.")] + [JsonProperty(PropertyName = "items")] + public System.Collections.Generic.List Items { get; set; } + + } +} diff --git a/Jms/models/PluginErrorDetails.cs b/Jms/models/PluginErrorDetails.cs new file mode 100644 index 0000000000..83a9ed348a --- /dev/null +++ b/Jms/models/PluginErrorDetails.cs @@ -0,0 +1,56 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Details of a plugin error. + /// + public class PluginErrorDetails + { + + /// + /// The plugin error reason. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Reason is required.")] + [JsonProperty(PropertyName = "reason")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable Reason { get; set; } + + /// + /// Optional string containing additional details. + /// + [JsonProperty(PropertyName = "details")] + public string Details { get; set; } + + /// + /// The date and time the resource was _last_ reported to JMS. + /// This is potentially _after_ the specified time period provided by the filters. + /// For example, a resource can be last reported to JMS before the start of a specified time period, + /// if it is also reported during the time period. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeLastSeen is required.")] + [JsonProperty(PropertyName = "timeLastSeen")] + public System.Nullable TimeLastSeen { get; set; } + + } +} diff --git a/Jms/models/PluginErrorReason.cs b/Jms/models/PluginErrorReason.cs new file mode 100644 index 0000000000..fb50d552ed --- /dev/null +++ b/Jms/models/PluginErrorReason.cs @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; + +namespace Oci.JmsService.Models +{ + /// + /// The plugin error reason. + /// + public enum PluginErrorReason { + /// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK. + [EnumMember(Value = null)] + UnknownEnumValue, + [EnumMember(Value = "REGISTRATION_POLICY")] + RegistrationPolicy, + [EnumMember(Value = "LOG_RESOURCE_POLICY")] + LogResourcePolicy, + [EnumMember(Value = "NO_FLEET")] + NoFleet + } +} diff --git a/Jms/models/PluginErrorSortBy.cs b/Jms/models/PluginErrorSortBy.cs new file mode 100644 index 0000000000..3c0216914f --- /dev/null +++ b/Jms/models/PluginErrorSortBy.cs @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; + +namespace Oci.JmsService.Models +{ + /// + /// The field used to sort plugin errors. + /// + public enum PluginErrorSortBy { + [EnumMember(Value = "TIME_FIRST_SEEN")] + TimeFirstSeen, + [EnumMember(Value = "TIME_LAST_SEEN")] + TimeLastSeen + } +} diff --git a/Jms/models/PluginErrorSummary.cs b/Jms/models/PluginErrorSummary.cs new file mode 100644 index 0000000000..242f760b9a --- /dev/null +++ b/Jms/models/PluginErrorSummary.cs @@ -0,0 +1,91 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.JmsService.Models +{ + /// + /// Entity that represents an error identified in a plugin. + /// + public class PluginErrorSummary + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin. + /// + /// + /// Required + /// + [Required(ErrorMessage = "ManagedInstanceId is required.")] + [JsonProperty(PropertyName = "managedInstanceId")] + public string ManagedInstanceId { get; set; } + + /// + /// The agent type. + /// + [JsonProperty(PropertyName = "agentType")] + [JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] + public System.Nullable AgentType { get; set; } + + /// + /// The HostName or Compute Instance name of the Managed Instance running the plugin. + /// + [JsonProperty(PropertyName = "hostName")] + public string HostName { get; set; } + + /// + /// The compartment [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the Fleet. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "CompartmentId is required.")] + [JsonProperty(PropertyName = "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// List of plugin error details. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Errors is required.")] + [JsonProperty(PropertyName = "errors")] + public System.Collections.Generic.List Errors { get; set; } + + /// + /// The timestamp of the last time an error was detected. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeLastSeen is required.")] + [JsonProperty(PropertyName = "timeLastSeen")] + public System.Nullable TimeLastSeen { get; set; } + + /// + /// The timestamp of the first time an error was detected. + /// + /// + /// + /// Required + /// + [Required(ErrorMessage = "TimeFirstSeen is required.")] + [JsonProperty(PropertyName = "timeFirstSeen")] + public System.Nullable TimeFirstSeen { get; set; } + + } +} diff --git a/Jms/requests/ListFleetErrorsRequest.cs b/Jms/requests/ListFleetErrorsRequest.cs new file mode 100644 index 0000000000..a3790a6c5e --- /dev/null +++ b/Jms/requests/ListFleetErrorsRequest.cs @@ -0,0 +1,99 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Requests +{ + /// + /// Click here to see an example of how to use ListFleetErrors request. + /// + public class ListFleetErrorsRequest : Oci.Common.IOciRequest + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentIdInSubtree")] + public System.Nullable CompartmentIdInSubtree { get; set; } + + /// + /// The ID of the Fleet. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "fleetId")] + public string FleetId { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeFirstSeenLessThanOrEqualTo")] + public System.Nullable TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeFirstSeenGreaterThanOrEqualTo")] + public System.Nullable TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeLastSeenLessThanOrEqualTo")] + public System.Nullable TimeLastSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeLastSeenGreaterThanOrEqualTo")] + public System.Nullable TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// The maximum number of items to return. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] + public System.Nullable Limit { get; set; } + + /// + /// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] + public string Page { get; set; } + + /// + /// The field to sort FleetError. Only one sort order may be provided. + /// Default order is **descending**. + /// If no value is specified _timeLastSeen_ is default. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortBy")] + public System.Nullable SortBy { get; set; } + + /// + /// The sort order, either 'asc' or 'desc'. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortOrder")] + public System.Nullable SortOrder { get; set; } + + /// + /// The client request ID for tracing. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + } +} diff --git a/Jms/requests/ListJmsPluginsRequest.cs b/Jms/requests/ListJmsPluginsRequest.cs index 85026460ae..2f1b628df5 100644 --- a/Jms/requests/ListJmsPluginsRequest.cs +++ b/Jms/requests/ListJmsPluginsRequest.cs @@ -63,6 +63,12 @@ public class ListJmsPluginsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "availabilityStatus")] public System.Nullable AvailabilityStatus { get; set; } + /// + /// Filter JmsPlugin with agent type. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "agentType")] + public System.Nullable AgentType { get; set; } + /// /// If present, only plugins with a registration time before this parameter are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). /// diff --git a/Jms/requests/ListPerformanceTuningAnalysisResultsRequest.cs b/Jms/requests/ListPerformanceTuningAnalysisResultsRequest.cs index d1e9251191..53c2e748ab 100644 --- a/Jms/requests/ListPerformanceTuningAnalysisResultsRequest.cs +++ b/Jms/requests/ListPerformanceTuningAnalysisResultsRequest.cs @@ -41,6 +41,12 @@ public class ListPerformanceTuningAnalysisResultsRequest : Oci.Common.IOciReques [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "applicationId")] public string ApplicationId { get; set; } + /// + /// The name of the application. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "applicationName")] + public string ApplicationName { get; set; } + /// /// The host [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the managed instance. /// diff --git a/Jms/requests/ListPluginErrorsRequest.cs b/Jms/requests/ListPluginErrorsRequest.cs new file mode 100644 index 0000000000..6f9bc6482f --- /dev/null +++ b/Jms/requests/ListPluginErrorsRequest.cs @@ -0,0 +1,99 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Requests +{ + /// + /// Click here to see an example of how to use ListPluginErrors request. + /// + public class ListPluginErrorsRequest : Oci.Common.IOciRequest + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentIdInSubtree")] + public System.Nullable CompartmentIdInSubtree { get; set; } + + /// + /// The Fleet-unique identifier of the managed instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "managedInstanceId")] + public string ManagedInstanceId { get; set; } + + /// + /// If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeFirstSeenLessThanOrEqualTo")] + public System.Nullable TimeFirstSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeFirstSeenGreaterThanOrEqualTo")] + public System.Nullable TimeFirstSeenGreaterThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeLastSeenLessThanOrEqualTo")] + public System.Nullable TimeLastSeenLessThanOrEqualTo { get; set; } + + /// + /// If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339). + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "timeLastSeenGreaterThanOrEqualTo")] + public System.Nullable TimeLastSeenGreaterThanOrEqualTo { get; set; } + + /// + /// The maximum number of items to return. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] + public System.Nullable Limit { get; set; } + + /// + /// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] + public string Page { get; set; } + + /// + /// The field to sort PluginError. Only one sort order may be provided. + /// Default order is **descending**. + /// If no value is specified _timeLastSeen_ is default. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortBy")] + public System.Nullable SortBy { get; set; } + + /// + /// The sort order, either 'asc' or 'desc'. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortOrder")] + public System.Nullable SortOrder { get; set; } + + /// + /// The client request ID for tracing. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + } +} diff --git a/Jms/requests/SummarizeFleetErrorsRequest.cs b/Jms/requests/SummarizeFleetErrorsRequest.cs new file mode 100644 index 0000000000..f42abcef43 --- /dev/null +++ b/Jms/requests/SummarizeFleetErrorsRequest.cs @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Requests +{ + /// + /// Click here to see an example of how to use SummarizeFleetErrors request. + /// + public class SummarizeFleetErrorsRequest : Oci.Common.IOciRequest + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentIdInSubtree")] + public System.Nullable CompartmentIdInSubtree { get; set; } + + /// + /// The maximum number of items to return. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] + public System.Nullable Limit { get; set; } + + /// + /// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] + public string Page { get; set; } + + /// + /// The client request ID for tracing. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + } +} diff --git a/Jms/requests/SummarizePluginErrorsRequest.cs b/Jms/requests/SummarizePluginErrorsRequest.cs new file mode 100644 index 0000000000..ac0d66a84b --- /dev/null +++ b/Jms/requests/SummarizePluginErrorsRequest.cs @@ -0,0 +1,54 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Requests +{ + /// + /// Click here to see an example of how to use SummarizePluginErrors request. + /// + public class SummarizePluginErrorsRequest : Oci.Common.IOciRequest + { + + /// + /// The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentIdInSubtree")] + public System.Nullable CompartmentIdInSubtree { get; set; } + + /// + /// The maximum number of items to return. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] + public System.Nullable Limit { get; set; } + + /// + /// The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] + public string Page { get; set; } + + /// + /// The client request ID for tracing. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + } +} diff --git a/Jms/requests/SummarizeResourceInventoryRequest.cs b/Jms/requests/SummarizeResourceInventoryRequest.cs index 21d8477f30..5861c08941 100644 --- a/Jms/requests/SummarizeResourceInventoryRequest.cs +++ b/Jms/requests/SummarizeResourceInventoryRequest.cs @@ -26,6 +26,13 @@ public class SummarizeResourceInventoryRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentId")] public string CompartmentId { get; set; } + /// + /// Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "compartmentIdInSubtree")] + public System.Nullable CompartmentIdInSubtree { get; set; } + /// /// The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). /// diff --git a/Jms/responses/ListFleetErrorsResponse.cs b/Jms/responses/ListFleetErrorsResponse.cs new file mode 100644 index 0000000000..f6fcb0b5bc --- /dev/null +++ b/Jms/responses/ListFleetErrorsResponse.cs @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Responses +{ + public class ListFleetErrorsResponse : Oci.Common.OciResponse + { + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact + /// Oracle about a particular request, provide the request ID. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + + /// + /// For list pagination, when this header appears in the response, additional pages of results remain. + /// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. + /// For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] + public string OpcNextPage { get; set; } + + /// + /// The returned FleetErrorCollection instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public FleetErrorCollection FleetErrorCollection { get; set; } + + } +} diff --git a/Jms/responses/ListPluginErrorsResponse.cs b/Jms/responses/ListPluginErrorsResponse.cs new file mode 100644 index 0000000000..af96cb75f0 --- /dev/null +++ b/Jms/responses/ListPluginErrorsResponse.cs @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Responses +{ + public class ListPluginErrorsResponse : Oci.Common.OciResponse + { + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact + /// Oracle about a particular request, provide the request ID. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + + /// + /// For list pagination, when this header appears in the response, additional pages of results remain. + /// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. + /// For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] + public string OpcNextPage { get; set; } + + /// + /// The returned PluginErrorCollection instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public PluginErrorCollection PluginErrorCollection { get; set; } + + } +} diff --git a/Jms/responses/SummarizeFleetErrorsResponse.cs b/Jms/responses/SummarizeFleetErrorsResponse.cs new file mode 100644 index 0000000000..81f042b474 --- /dev/null +++ b/Jms/responses/SummarizeFleetErrorsResponse.cs @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Responses +{ + public class SummarizeFleetErrorsResponse : Oci.Common.OciResponse + { + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact + /// Oracle about a particular request, provide the request ID. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + + /// + /// For list pagination, when this header appears in the response, additional pages of results remain. + /// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. + /// For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] + public string OpcNextPage { get; set; } + + /// + /// The returned FleetErrorAggregationCollection instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public FleetErrorAggregationCollection FleetErrorAggregationCollection { get; set; } + + } +} diff --git a/Jms/responses/SummarizePluginErrorsResponse.cs b/Jms/responses/SummarizePluginErrorsResponse.cs new file mode 100644 index 0000000000..9761f3cc8b --- /dev/null +++ b/Jms/responses/SummarizePluginErrorsResponse.cs @@ -0,0 +1,43 @@ +/* + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.Runtime.Serialization; +using Oci.JmsService.Models; + +namespace Oci.JmsService.Responses +{ + public class SummarizePluginErrorsResponse : Oci.Common.OciResponse + { + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact + /// Oracle about a particular request, provide the request ID. + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + + /// + /// For list pagination, when this header appears in the response, additional pages of results remain. + /// Include this value as the `page` parameter for the subsequent GET request to get the next batch of items. + /// For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] + public string OpcNextPage { get; set; } + + /// + /// The returned PluginErrorAggregationCollection instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public PluginErrorAggregationCollection PluginErrorAggregationCollection { get; set; } + + } +}