diff --git a/CHANGELOG.md b/CHANGELOG.md index e6d360e689..fade204a11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,32 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.118.0 - 2025-09-23 +### Added +- Support for calling Oracle Cloud Infrastructure services in the me-ibri-1 region +- Support for Resource Analytics service +- Support for Oracle MultiCloud service +- Support for standalone Java Development Kit (JDK) scanning and usage tracking using shared external volumes in the Java Management service +- Support for enhanced Java library detection and Software Bill of Materials (SBOM) generation in the Java Management Service +- Support for dynamic Java library scanning in the Java Management service +- Support for vulnerability scanning using Application Dependency Management (ADM) and confidence level scoring in the Java Management service +- Support for Java runtime discovery and tracking in Kubernetes environments in the Java Management service +- Support for detecting, installing, and reporting Oracle Enterprise Performance Pack releases in the Java Management service +- Support for task scheduling for scans and lifecycle operations in the Java Management service +- Support for capturing and displaying managed instance IP addresses and hostnames in the Java Management service +- Support for selecting multiple applications and target Java Development Kits (JDKs) during Java migration analysis in the Java Management service +- Support for subscription acknowledgment in the Java Management service +- Support for analyzing application artifacts in the Java Management service +- Support for querying work requests independently from fleets in applications in the Java Management service +- Support for custom report generation with advanced filters in the Java Management service +- Support for configuring exascale storage on dedicated infrastructure (Exacs) in the Database service +- Support for listing marketplace metadata public keys in the Marketplace service +- Support for external attested metadata creation in the Marketplace service +- Support for discovery endpoint for shared clusters in the OCI Cache service + +### Breaking Changes +- The type of `pricingTypes` has been changed from `Array` to `Array` in the model `ListingSummary` in the Marketplace service + ## 2.117.1 - 2025-09-16 ### Added - Support for AI Data Platform service diff --git a/index.ts b/index.ts index 3556e5ee38..c3cd76abd5 100755 --- a/index.ts +++ b/index.ts @@ -232,6 +232,8 @@ export import apiaccesscontrol = require("oci-apiaccesscontrol"); export import wlms = require("oci-wlms"); export import dbmulticloud = require("oci-dbmulticloud"); export import apiplatform = require("oci-apiplatform"); -export import multicloud = require("oci-multicloud"); export import managedkafka = require("oci-managedkafka"); export import aidataplatform = require("oci-aidataplatform"); +export import jmsutils = require("oci-jmsutils"); +export import multicloud = require("oci-multicloud"); +export import resourceanalytics = require("oci-resourceanalytics"); diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index a5a6fc55ff..9ed552319e 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Access Governance Cp Service", "repository": { "type": "git", diff --git a/lib/adm/package.json b/lib/adm/package.json index 8c8a92fefa..46639358a4 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidataplatform/package.json b/lib/aidataplatform/package.json index dd8c805476..95fad7b518 100644 --- a/lib/aidataplatform/package.json +++ b/lib/aidataplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidataplatform", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ai Data Platform Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 1c532741af..a04be9d6f2 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ai Document Service", "repository": { "type": "git", diff --git a/lib/ailanguage/package.json b/lib/ailanguage/package.json index 3d5198704e..84e28eb0ac 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ai Language Service", "repository": { "type": "git", diff --git a/lib/aispeech/package.json b/lib/aispeech/package.json index 9fa35078b3..ba18f217a8 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ai Speech Service", "repository": { "type": "git", diff --git a/lib/aivision/package.json b/lib/aivision/package.json index 93c5f100b9..a0d32c5768 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ai Vision Service", "repository": { "type": "git", diff --git a/lib/analytics/package.json b/lib/analytics/package.json index 6af58d5ed6..c6d888615e 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 6c265a8170..13d16c726c 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 23603c8df3..7aaad64eb8 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 5d012160d2..88ee208b44 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apiplatform/package.json b/lib/apiplatform/package.json index 62f292c77a..7b6362aada 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Api Platform Service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 10cff0b60d..87236fd987 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Apm Config Service", "repository": { "type": "git", diff --git a/lib/apmcontrolplane/package.json b/lib/apmcontrolplane/package.json index 74c96d23f1..52c357481b 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Apm Control Plane Service", "repository": { "type": "git", diff --git a/lib/apmsynthetics/package.json b/lib/apmsynthetics/package.json index 3f56b4d7ee..120204cbc9 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Apm Synthetics Service", "repository": { "type": "git", diff --git a/lib/apmtraces/package.json b/lib/apmtraces/package.json index 87c2eaf48d..e6176da8a9 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index 901113c9b4..15e6c4d8d5 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Appmgmt Control Service", "repository": { "type": "git", diff --git a/lib/artifacts/package.json b/lib/artifacts/package.json index c3bc8256b2..e337add175 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 729da4a8ee..6a50f20cac 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 970913d006..676741baf8 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 58a1ebe997..e173a2330d 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index e5ce01e73b..e001bb08e0 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index f6162c1c22..4885f5d667 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 705625359f..a0a86fb677 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 95f91d6645..2a78fc0811 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Capacity Management Service", "repository": { "type": "git", diff --git a/lib/certificates/package.json b/lib/certificates/package.json index 021333b9bf..0ca08b3cd7 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index a41fa99744..af0201e4ff 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Certificates Management Service", "repository": { "type": "git", diff --git a/lib/cims/package.json b/lib/cims/package.json index 3f4fd8dad7..2b1196605d 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 25b38c4f30..00fadee553 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Cloud Bridge Service", "repository": { "type": "git", diff --git a/lib/cloudguard/package.json b/lib/cloudguard/package.json index 0b379081d0..89608270aa 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Cloud Guard Service", "repository": { "type": "git", diff --git a/lib/cloudmigrations/package.json b/lib/cloudmigrations/package.json index 84cb2fee6d..4c88117f09 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 04b1d8f7a9..155082656d 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/lib/region.ts b/lib/common/lib/region.ts index 71d07ed605..1162cc26cb 100644 --- a/lib/common/lib/region.ts +++ b/lib/common/lib/region.ts @@ -134,6 +134,7 @@ export class Region { // OC9 public static ME_DCC_MUSCAT_1: Region = Region.register("me-dcc-muscat-1", Realm.OC9, "mct"); + public static ME_IBRI_1: Region = Region.register("me-ibri-1", Realm.OC9, "ibr"); // OC10 public static AP_DCC_CANBERRA_1: Region = Region.register("ap-dcc-canberra-1", Realm.OC10, "wga"); diff --git a/lib/common/package.json b/lib/common/package.json index 891f5d428f..164966620d 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/common/tests/resources/developer-tool-configuration.json b/lib/common/tests/resources/developer-tool-configuration.json index 6c697ce365..4a5793611d 100644 --- a/lib/common/tests/resources/developer-tool-configuration.json +++ b/lib/common/tests/resources/developer-tool-configuration.json @@ -466,5 +466,11 @@ "realmKey": "oc51", "regionIdentifier": "eu-budapest-1", "realmDomainComponent": "oraclecloud51.com" + }, + { + "regionKey": "ibr", + "realmKey": "oc9", + "regionIdentifier": "me-ibri-1", + "realmDomainComponent": "oraclecloud9.com" } ] \ No newline at end of file diff --git a/lib/common/tests/resources/regions.json b/lib/common/tests/resources/regions.json index a62f3ca05d..b9736704f1 100644 --- a/lib/common/tests/resources/regions.json +++ b/lib/common/tests/resources/regions.json @@ -466,5 +466,11 @@ "realmKey": "oc51", "regionIdentifier": "eu-budapest-1", "realmDomainComponent": "oraclecloud51.com" + }, + { + "regionKey": "ibr", + "realmKey": "oc9", + "regionIdentifier": "me-ibri-1", + "realmDomainComponent": "oraclecloud9.com" } ] \ No newline at end of file diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index d1ab4e5d22..b3d2700360 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Compute Cloud At Customer Service", "repository": { "type": "git", diff --git a/lib/computeinstanceagent/package.json b/lib/computeinstanceagent/package.json index a401700699..d99e21d103 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Compute Instance Agent Service", "repository": { "type": "git", diff --git a/lib/containerengine/package.json b/lib/containerengine/package.json index f0824a7b7b..bf4221b2d5 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index 7f871d4fb9..1dc48789aa 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Container Instances Service", "repository": { "type": "git", diff --git a/lib/core/package.json b/lib/core/package.json index db0b4c4472..c831f9316d 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index acc5c3d2ee..871a8f5670 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index 8f871478bb..114fcdeb0c 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -4180,6 +4180,99 @@ export class DatabaseClient { } } + /** + * Configures Exascale on Cloud exadata infrastructure resource. Applies to Exadata Cloud Service instances only. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ConfigureExascaleCloudExadataInfrastructureRequest + * @return ConfigureExascaleCloudExadataInfrastructureResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleCloudExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleCloudExadataInfrastructure API. + */ + public async configureExascaleCloudExadataInfrastructure( + configureExascaleCloudExadataInfrastructureRequest: requests.ConfigureExascaleCloudExadataInfrastructureRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation DatabaseClient#configureExascaleCloudExadataInfrastructure." + ); + const operationName = "configureExascaleCloudExadataInfrastructure"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ConfigureExascaleCloudExadataInfrastructure"; + const pathParams = { + "{cloudExadataInfrastructureId}": + configureExascaleCloudExadataInfrastructureRequest.cloudExadataInfrastructureId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": configureExascaleCloudExadataInfrastructureRequest.ifMatch, + "opc-request-id": configureExascaleCloudExadataInfrastructureRequest.opcRequestId, + "opc-retry-token": configureExascaleCloudExadataInfrastructureRequest.opcRetryToken + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + configureExascaleCloudExadataInfrastructureRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/actions/configureExascale", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + configureExascaleCloudExadataInfrastructureRequest.configureExascaleCloudExadataInfrastructureDetails, + "ConfigureExascaleCloudExadataInfrastructureDetails", + model.ConfigureExascaleCloudExadataInfrastructureDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "cloudExadataInfrastructure", + bodyModel: model.CloudExadataInfrastructure, + type: "model.CloudExadataInfrastructure", + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Configures Exascale on Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only. * diff --git a/lib/database/lib/database-waiter.ts b/lib/database/lib/database-waiter.ts index 9bff798828..a4ff618e57 100644 --- a/lib/database/lib/database-waiter.ts +++ b/lib/database/lib/database-waiter.ts @@ -1405,6 +1405,37 @@ export class DatabaseWaiter { }; } + /** + * Waits forConfigureExascaleCloudExadataInfrastructure + * + * @param request the request to send + * @return response returns ConfigureExascaleCloudExadataInfrastructureResponse, GetWorkRequestResponse tuple + */ + public async forConfigureExascaleCloudExadataInfrastructure( + request: serviceRequests.ConfigureExascaleCloudExadataInfrastructureRequest + ): Promise<{ + response: serviceResponses.ConfigureExascaleCloudExadataInfrastructureResponse; + workRequestResponse: responses.GetWorkRequestResponse; + }> { + const configureExascaleCloudExadataInfrastructureResponse = await this.client.configureExascaleCloudExadataInfrastructure( + request + ); + if (configureExascaleCloudExadataInfrastructureResponse.opcWorkRequestId === undefined) + return { + response: configureExascaleCloudExadataInfrastructureResponse, + workRequestResponse: undefined as any + }; + const getWorkRequestResponse = await waitForWorkRequest( + this.config, + this.workRequestClient, + configureExascaleCloudExadataInfrastructureResponse.opcWorkRequestId + ); + return { + response: configureExascaleCloudExadataInfrastructureResponse, + workRequestResponse: getWorkRequestResponse + }; + } + /** * Waits forConfigureExascaleExadataInfrastructure * diff --git a/lib/database/lib/model/cloud-exadata-infrastructure-summary.ts b/lib/database/lib/model/cloud-exadata-infrastructure-summary.ts index 3d513fe540..6e29acb8ca 100644 --- a/lib/database/lib/model/cloud-exadata-infrastructure-summary.ts +++ b/lib/database/lib/model/cloud-exadata-infrastructure-summary.ts @@ -186,6 +186,7 @@ Example: {@code {\"Department\": \"Finance\"}} * If true, the infrastructure is using granular maintenance scheduling preference. */ "isSchedulingPolicyAssociated"?: boolean; + "exascaleConfig"?: model.ExascaleConfigDetails; /** * The database server type of the Exadata infrastructure. */ @@ -244,6 +245,10 @@ export namespace CloudExadataInfrastructureSummary { ? obj.definedFileSystemConfigurations.map(item => { return model.DefinedFileSystemConfiguration.getJsonObj(item); }) + : undefined, + + "exascaleConfig": obj.exascaleConfig + ? model.ExascaleConfigDetails.getJsonObj(obj.exascaleConfig) : undefined } }; @@ -268,6 +273,10 @@ export namespace CloudExadataInfrastructureSummary { ? obj.definedFileSystemConfigurations.map(item => { return model.DefinedFileSystemConfiguration.getDeserializedJsonObj(item); }) + : undefined, + + "exascaleConfig": obj.exascaleConfig + ? model.ExascaleConfigDetails.getDeserializedJsonObj(obj.exascaleConfig) : undefined } }; diff --git a/lib/database/lib/model/cloud-exadata-infrastructure.ts b/lib/database/lib/model/cloud-exadata-infrastructure.ts index 8e172ffaed..34055931e4 100644 --- a/lib/database/lib/model/cloud-exadata-infrastructure.ts +++ b/lib/database/lib/model/cloud-exadata-infrastructure.ts @@ -186,6 +186,7 @@ Example: {@code {\"Department\": \"Finance\"}} * If true, the infrastructure is using granular maintenance scheduling preference. */ "isSchedulingPolicyAssociated"?: boolean; + "exascaleConfig"?: model.ExascaleConfigDetails; /** * The database server type of the Exadata infrastructure. */ @@ -244,6 +245,10 @@ export namespace CloudExadataInfrastructure { ? obj.definedFileSystemConfigurations.map(item => { return model.DefinedFileSystemConfiguration.getJsonObj(item); }) + : undefined, + + "exascaleConfig": obj.exascaleConfig + ? model.ExascaleConfigDetails.getJsonObj(obj.exascaleConfig) : undefined } }; @@ -268,6 +273,10 @@ export namespace CloudExadataInfrastructure { ? obj.definedFileSystemConfigurations.map(item => { return model.DefinedFileSystemConfiguration.getDeserializedJsonObj(item); }) + : undefined, + + "exascaleConfig": obj.exascaleConfig + ? model.ExascaleConfigDetails.getDeserializedJsonObj(obj.exascaleConfig) : undefined } }; diff --git a/lib/database/lib/model/cloud-vm-cluster-summary.ts b/lib/database/lib/model/cloud-vm-cluster-summary.ts index f3025f2e17..8049120e0f 100644 --- a/lib/database/lib/model/cloud-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-vm-cluster-summary.ts @@ -286,6 +286,14 @@ Example: {@code {\"Department\": \"Finance\"}} */ "fileSystemConfigurationDetails"?: Array; "cloudAutomationUpdateDetails"?: model.CloudAutomationUpdateDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + */ + "exascaleDbStorageVaultId"?: string; + /** + * Specifies the type of storage management for the Cloud VM Cluster if its ASM or Exascale. + */ + "storageManagementType"?: CloudVmClusterSummary.StorageManagementType; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ @@ -340,6 +348,16 @@ export namespace CloudVmClusterSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum StorageManagementType { + Asm = "ASM", + Exascale = "EXASCALE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export enum VmClusterType { Regular = "REGULAR", Developer = "DEVELOPER", diff --git a/lib/database/lib/model/cloud-vm-cluster.ts b/lib/database/lib/model/cloud-vm-cluster.ts index eaba34df5e..a4ea23b21d 100644 --- a/lib/database/lib/model/cloud-vm-cluster.ts +++ b/lib/database/lib/model/cloud-vm-cluster.ts @@ -287,6 +287,14 @@ Example: {@code {\"Department\": \"Finance\"}} */ "fileSystemConfigurationDetails"?: Array; "cloudAutomationUpdateDetails"?: model.CloudAutomationUpdateDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + */ + "exascaleDbStorageVaultId"?: string; + /** + * Specifies the type of storage management for the Cloud VM Cluster if its ASM or Exascale. + */ + "storageManagementType"?: CloudVmCluster.StorageManagementType; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ @@ -341,6 +349,16 @@ export namespace CloudVmCluster { UnknownValue = "UNKNOWN_VALUE" } + export enum StorageManagementType { + Asm = "ASM", + Exascale = "EXASCALE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + export enum VmClusterType { Regular = "REGULAR", Developer = "DEVELOPER", diff --git a/lib/database/lib/model/configure-exascale-cloud-exadata-infrastructure-details.ts b/lib/database/lib/model/configure-exascale-cloud-exadata-infrastructure-details.ts new file mode 100644 index 0000000000..6e9347d4f8 --- /dev/null +++ b/lib/database/lib/model/configure-exascale-cloud-exadata-infrastructure-details.ts @@ -0,0 +1,42 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The exascale config request details for the Cloud Exadata infrastructure. + * + */ +export interface ConfigureExascaleCloudExadataInfrastructureDetails { + /** + * Storage size needed for Exascale in GBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalStorageInGBs": number; +} + +export namespace ConfigureExascaleCloudExadataInfrastructureDetails { + export function getJsonObj(obj: ConfigureExascaleCloudExadataInfrastructureDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ConfigureExascaleCloudExadataInfrastructureDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/create-cloud-vm-cluster-details.ts b/lib/database/lib/model/create-cloud-vm-cluster-details.ts index 90648929b3..ab3ec5682b 100644 --- a/lib/database/lib/model/create-cloud-vm-cluster-details.ts +++ b/lib/database/lib/model/create-cloud-vm-cluster-details.ts @@ -192,6 +192,10 @@ Example: {@code {\"Department\": \"Finance\"}} */ "fileSystemConfigurationDetails"?: Array; "cloudAutomationUpdateDetails"?: model.CloudAutomationUpdateDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Database Storage Vault. + */ + "exascaleDbStorageVaultId"?: string; /** * The vmcluster type for the VM cluster/Cloud VM cluster. */ diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index 611c00af4f..75ed529b0e 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -244,6 +244,8 @@ import * as ComputePerformanceSummary from "./compute-performance-summary"; export import ComputePerformanceSummary = ComputePerformanceSummary.ComputePerformanceSummary; import * as ConfigureAutonomousDatabaseVaultKeyDetails from "./configure-autonomous-database-vault-key-details"; export import ConfigureAutonomousDatabaseVaultKeyDetails = ConfigureAutonomousDatabaseVaultKeyDetails.ConfigureAutonomousDatabaseVaultKeyDetails; +import * as ConfigureExascaleCloudExadataInfrastructureDetails from "./configure-exascale-cloud-exadata-infrastructure-details"; +export import ConfigureExascaleCloudExadataInfrastructureDetails = ConfigureExascaleCloudExadataInfrastructureDetails.ConfigureExascaleCloudExadataInfrastructureDetails; import * as ConfigureExascaleExadataInfrastructureDetails from "./configure-exascale-exadata-infrastructure-details"; export import ConfigureExascaleExadataInfrastructureDetails = ConfigureExascaleExadataInfrastructureDetails.ConfigureExascaleExadataInfrastructureDetails; import * as ConfigureSaasAdminUserDetails from "./configure-saas-admin-user-details"; diff --git a/lib/database/lib/request/configure-exascale-cloud-exadata-infrastructure-request.ts b/lib/database/lib/request/configure-exascale-cloud-exadata-infrastructure-request.ts new file mode 100644 index 0000000000..e9ea0b39ea --- /dev/null +++ b/lib/database/lib/request/configure-exascale-cloud-exadata-infrastructure-request.ts @@ -0,0 +1,50 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConfigureExascaleCloudExadataInfrastructure.ts.html |here} to see how to use ConfigureExascaleCloudExadataInfrastructureRequest. + */ +export interface ConfigureExascaleCloudExadataInfrastructureRequest extends common.BaseRequest { + /** + * The cloud Exadata infrastructure [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + "cloudExadataInfrastructureId": string; + /** + * The exascale config details for the Exadata infrastructure with the total storage needed. + */ + "configureExascaleCloudExadataInfrastructureDetails": model.ConfigureExascaleCloudExadataInfrastructureDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous GET or POST response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique identifier for the request. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations (for example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * may be rejected). + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/database/lib/request/index.ts b/lib/database/lib/request/index.ts index 8f0326796f..6684742604 100644 --- a/lib/database/lib/request/index.ts +++ b/lib/database/lib/request/index.ts @@ -104,6 +104,8 @@ import * as CompleteExternalBackupJobRequest from "./complete-external-backup-jo export import CompleteExternalBackupJobRequest = CompleteExternalBackupJobRequest.CompleteExternalBackupJobRequest; import * as ConfigureAutonomousDatabaseVaultKeyRequest from "./configure-autonomous-database-vault-key-request"; export import ConfigureAutonomousDatabaseVaultKeyRequest = ConfigureAutonomousDatabaseVaultKeyRequest.ConfigureAutonomousDatabaseVaultKeyRequest; +import * as ConfigureExascaleCloudExadataInfrastructureRequest from "./configure-exascale-cloud-exadata-infrastructure-request"; +export import ConfigureExascaleCloudExadataInfrastructureRequest = ConfigureExascaleCloudExadataInfrastructureRequest.ConfigureExascaleCloudExadataInfrastructureRequest; import * as ConfigureExascaleExadataInfrastructureRequest from "./configure-exascale-exadata-infrastructure-request"; export import ConfigureExascaleExadataInfrastructureRequest = ConfigureExascaleExadataInfrastructureRequest.ConfigureExascaleExadataInfrastructureRequest; import * as ConfigureSaasAdminUserRequest from "./configure-saas-admin-user-request"; diff --git a/lib/database/lib/response/configure-exascale-cloud-exadata-infrastructure-response.ts b/lib/database/lib/response/configure-exascale-cloud-exadata-infrastructure-response.ts new file mode 100644 index 0000000000..b2a595df1b --- /dev/null +++ b/lib/database/lib/response/configure-exascale-cloud-exadata-infrastructure-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20160918 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ConfigureExascaleCloudExadataInfrastructureResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Multiple OCID values are returned in a comma-separated list. Use {@link #getWorkRequest(GetWorkRequestRequest) getWorkRequest} with a work request OCID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about + * a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.CloudExadataInfrastructure instance. + */ + "cloudExadataInfrastructure": model.CloudExadataInfrastructure; +} diff --git a/lib/database/lib/response/index.ts b/lib/database/lib/response/index.ts index 0850eb2b9a..fe0b8fcce1 100644 --- a/lib/database/lib/response/index.ts +++ b/lib/database/lib/response/index.ts @@ -104,6 +104,8 @@ import * as CompleteExternalBackupJobResponse from "./complete-external-backup-j export import CompleteExternalBackupJobResponse = CompleteExternalBackupJobResponse.CompleteExternalBackupJobResponse; import * as ConfigureAutonomousDatabaseVaultKeyResponse from "./configure-autonomous-database-vault-key-response"; export import ConfigureAutonomousDatabaseVaultKeyResponse = ConfigureAutonomousDatabaseVaultKeyResponse.ConfigureAutonomousDatabaseVaultKeyResponse; +import * as ConfigureExascaleCloudExadataInfrastructureResponse from "./configure-exascale-cloud-exadata-infrastructure-response"; +export import ConfigureExascaleCloudExadataInfrastructureResponse = ConfigureExascaleCloudExadataInfrastructureResponse.ConfigureExascaleCloudExadataInfrastructureResponse; import * as ConfigureExascaleExadataInfrastructureResponse from "./configure-exascale-exadata-infrastructure-response"; export import ConfigureExascaleExadataInfrastructureResponse = ConfigureExascaleExadataInfrastructureResponse.ConfigureExascaleExadataInfrastructureResponse; import * as ConfigureSaasAdminUserResponse from "./configure-saas-admin-user-response"; diff --git a/lib/database/package.json b/lib/database/package.json index 1a3cf629d7..6536b3a1f2 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 15ab06f406..771a650f2a 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Database Management Service", "repository": { "type": "git", diff --git a/lib/databasemigration/package.json b/lib/databasemigration/package.json index c101f8be45..57df29cd46 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Database Migration Service", "repository": { "type": "git", diff --git a/lib/databasetools/package.json b/lib/databasetools/package.json index f392cfe93a..3db00491b9 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Database Tools Service", "repository": { "type": "git", diff --git a/lib/datacatalog/package.json b/lib/datacatalog/package.json index 8a2615cc0a..74a1e2a88e 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data catalogue Service", "repository": { "type": "git", diff --git a/lib/dataflow/package.json b/lib/dataflow/package.json index 7129845aaa..e6350510a9 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 8cf2f07303..fa3e641dbd 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data Integration Service", "repository": { "type": "git", diff --git a/lib/datalabelingservice/package.json b/lib/datalabelingservice/package.json index fb80f5e41f..f2fbe6ae40 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data Labeling Service Service", "repository": { "type": "git", diff --git a/lib/datalabelingservicedataplane/package.json b/lib/datalabelingservicedataplane/package.json index 371d05d5d5..e46a929c49 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data Labeling Service Dataplane Service", "repository": { "type": "git", diff --git a/lib/datasafe/lib/client.ts b/lib/datasafe/lib/client.ts index c59abf2485..21e07fa78a 100644 --- a/lib/datasafe/lib/client.ts +++ b/lib/datasafe/lib/client.ts @@ -18492,6 +18492,7 @@ The ListDatabaseViewAccessEntries operation returns only the database view acces "objectName": listDiscoveryJobResultsRequest.objectName, "columnName": listDiscoveryJobResultsRequest.columnName, "sortOrder": listDiscoveryJobResultsRequest.sortOrder, + "confidenceLevel": listDiscoveryJobResultsRequest.confidenceLevel, "sortBy": listDiscoveryJobResultsRequest.sortBy, "limit": listDiscoveryJobResultsRequest.limit, "page": listDiscoveryJobResultsRequest.page @@ -18785,6 +18786,7 @@ When you perform the ListFindingAnalytics operation, if the parameter compartmen "containsReferences": listFindingsRequest.containsReferences, "limit": listFindingsRequest.limit, "page": listFindingsRequest.page, + "compartmentId": listFindingsRequest.compartmentId, "compartmentIdInSubtree": listFindingsRequest.compartmentIdInSubtree, "accessLevel": listFindingsRequest.accessLevel, "targetId": listFindingsRequest.targetId, @@ -20203,6 +20205,7 @@ When you perform the ListFindingAnalytics operation, if the parameter compartmen "page": listMaskingReportsRequest.page, "maskingPolicyId": listMaskingReportsRequest.maskingPolicyId, "targetId": listMaskingReportsRequest.targetId, + "targetDatabaseGroupId": listMaskingReportsRequest.targetDatabaseGroupId, "sortOrder": listMaskingReportsRequest.sortOrder, "sortBy": listMaskingReportsRequest.sortBy, "compartmentId": listMaskingReportsRequest.compartmentId, @@ -22761,6 +22764,8 @@ To use ListSensitiveColumnAnalytics to get a full list of all compartments and s listSensitiveColumnsRequest.timeUpdatedGreaterThanOrEqualTo, "timeUpdatedLessThan": listSensitiveColumnsRequest.timeUpdatedLessThan, "sensitiveColumnLifecycleState": listSensitiveColumnsRequest.sensitiveColumnLifecycleState, + "columnDataCountFilter": listSensitiveColumnsRequest.columnDataCountFilter, + "confidenceLevel": listSensitiveColumnsRequest.confidenceLevel, "schemaName": listSensitiveColumnsRequest.schemaName, "objectName": listSensitiveColumnsRequest.objectName, "columnName": listSensitiveColumnsRequest.columnName, diff --git a/lib/datasafe/lib/model/confidence-level-enum.ts b/lib/datasafe/lib/model/confidence-level-enum.ts new file mode 100644 index 0000000000..0317b628c7 --- /dev/null +++ b/lib/datasafe/lib/model/confidence-level-enum.ts @@ -0,0 +1,40 @@ +/** + * Data Safe API + * APIs for using Oracle Data Safe. + * OpenAPI spec version: 20181201 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The confidence level of a sensitive column or a discovery job result + **/ +export enum ConfidenceLevelEnum { + None = "NONE", + High = "HIGH", + Medium = "MEDIUM", + Low = "LOW", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ConfidenceLevelEnum { + export function getJsonObj(obj: ConfidenceLevelEnum): ConfidenceLevelEnum { + return obj; + } + export function getDeserializedJsonObj(obj: ConfidenceLevelEnum): ConfidenceLevelEnum { + return obj; + } +} diff --git a/lib/datasafe/lib/model/discovery-job-result-summary.ts b/lib/datasafe/lib/model/discovery-job-result-summary.ts index b36396e75d..0618d9de6a 100644 --- a/lib/datasafe/lib/model/discovery-job-result-summary.ts +++ b/lib/datasafe/lib/model/discovery-job-result-summary.ts @@ -100,6 +100,12 @@ export interface DiscoveryJobResultSummary { * The OCID of the discovery job. */ "discoveryJobId": string; + /** + * The confidence level of the discovery job result associated with the sensitive type. + * The confidence level for discovery job results can be either HIGH, MEDIUM or LOW. + * + */ + "confidenceLevel"?: model.ConfidenceLevelEnum; } export namespace DiscoveryJobResultSummary { diff --git a/lib/datasafe/lib/model/discovery-job-result.ts b/lib/datasafe/lib/model/discovery-job-result.ts index fe8b15f833..54edda8606 100644 --- a/lib/datasafe/lib/model/discovery-job-result.ts +++ b/lib/datasafe/lib/model/discovery-job-result.ts @@ -117,6 +117,18 @@ export interface DiscoveryJobResult { */ "discoveryJobId": string; "modifiedAttributes"?: model.ModifiedAttributes; + /** + * The confidence level of the discovery job result associated with the sensitive type. + * The confidence level for discovery job results can be either HIGH, MEDIUM or LOW. + * + */ + "confidenceLevel"?: model.ConfidenceLevelEnum; + /** + * List containing maps as values. + * Example: {@code {\"Operations\": [ {\"CostCenter\": \"42\"} ] }} + * + */ + "confidenceLevelDetails"?: Array; } export namespace DiscoveryJobResult { diff --git a/lib/datasafe/lib/model/index.ts b/lib/datasafe/lib/model/index.ts index 9c498ab51d..3dc260fd94 100644 --- a/lib/datasafe/lib/model/index.ts +++ b/lib/datasafe/lib/model/index.ts @@ -253,6 +253,8 @@ import * as CompatibleFormatsForDataTypes from "./compatible-formats-for-data-ty export import CompatibleFormatsForDataTypes = CompatibleFormatsForDataTypes.CompatibleFormatsForDataTypes; import * as CompatibleFormatsForSensitiveTypes from "./compatible-formats-for-sensitive-types"; export import CompatibleFormatsForSensitiveTypes = CompatibleFormatsForSensitiveTypes.CompatibleFormatsForSensitiveTypes; +import * as ConfidenceLevelEnum from "./confidence-level-enum"; +export import ConfidenceLevelEnum = ConfidenceLevelEnum.ConfidenceLevelEnum; import * as ConnectionOption from "./connection-option"; export import ConnectionOption = ConnectionOption.ConnectionOption; import * as CreateAlertPolicyDetails from "./create-alert-policy-details"; diff --git a/lib/datasafe/lib/model/mask-data-details.ts b/lib/datasafe/lib/model/mask-data-details.ts index dede75bf8d..2c20fdf742 100644 --- a/lib/datasafe/lib/model/mask-data-details.ts +++ b/lib/datasafe/lib/model/mask-data-details.ts @@ -65,6 +65,10 @@ export interface MaskDataDetails { * The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats. */ "seed"?: string; + /** + * The seed value to be used in case of User Defined Function masking format. This is an optional parameter and needs to be passed only if any User Defined Function uses seed. + */ + "userDefinedFunctionSeed"?: string; /** * Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size, * set it to false if moving them causes performance overhead during masking. diff --git a/lib/datasafe/lib/model/masking-error-summary.ts b/lib/datasafe/lib/model/masking-error-summary.ts index 6f66925e86..d45519c6f1 100644 --- a/lib/datasafe/lib/model/masking-error-summary.ts +++ b/lib/datasafe/lib/model/masking-error-summary.ts @@ -39,6 +39,8 @@ export interface MaskingErrorSummary { export namespace MaskingErrorSummary { export enum StepName { + Validate = "VALIDATE", + GenerateScript = "GENERATE_SCRIPT", ExecuteMasking = "EXECUTE_MASKING", PreMasking = "PRE_MASKING", PostMasking = "POST_MASKING", diff --git a/lib/datasafe/lib/model/masking-policy-health-report-log-summary.ts b/lib/datasafe/lib/model/masking-policy-health-report-log-summary.ts index c8d3793996..f3e31297c6 100644 --- a/lib/datasafe/lib/model/masking-policy-health-report-log-summary.ts +++ b/lib/datasafe/lib/model/masking-policy-health-report-log-summary.ts @@ -43,9 +43,10 @@ export interface MaskingPolicyHealthReportLogSummary { * An enum type entry for each health check in the masking policy. Each enum describes a type of health check. * INVALID_OBJECT_CHECK checks if there exist any invalid objects in the masking tables. * PRIVILEGE_CHECK checks if the masking user has sufficient privilege to run masking. - * TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. + * TABLESPACE_CHECK checks if the user has sufficient default and TEMP tablespace. Also verifies that the specified tablespace by the user is valid, if user has provided one * DATABASE_OR_SYSTEM_TRIGGERS_CHECK checks if there exist any database/system triggers available. - * UNDO_TABLESPACE_CHECK checks if the AUTOEXTEND feature is enabled for the undo tablespace. If it's not enabled, it further checks if the undo tablespace has any space remaining + * UNDO_TABLESPACE_CHECK checks if for all the instances of undo tablespace the AUTOEXTEND feature is enabled. + * If it's not enabled, it further checks if the undo tablespace has any space remaining. * STATE_STATS_CHECK checks if all the statistics of the masking table is upto date or not. * OLS_POLICY_CHECK , VPD_POLICY_CHECK and REDACTION_POLICY_CHECK checks if the masking tables has Oracle Label Security (OLS) or Virtual Private Database (VPD) or Redaction policies enabled. * DV_ENABLE_CHECK checks if database has Database Vault(DV) enabled @@ -54,6 +55,7 @@ export interface MaskingPolicyHealthReportLogSummary { * DETERMINISTIC_ENCRYPTION_FORMAT_CHECK checks if any masking column has deterministic encryption masking format. * COLUMN_EXIST_CHECK checks if the masking columns are available in the target database. * TIME_TRAVEL_CHECK checks if the masking tables have Time Travel enabled. + * INVALID_PACKAGE_CHECK checks if any of the required packages are in invalid state. * */ "healthCheckType"?: MaskingPolicyHealthReportLogSummary.HealthCheckType; @@ -88,6 +90,7 @@ export namespace MaskingPolicyHealthReportLogSummary { DeterministicEncryptionFormatCheck = "DETERMINISTIC_ENCRYPTION_FORMAT_CHECK", ColumnExistCheck = "COLUMN_EXIST_CHECK", TimeTravelCheck = "TIME_TRAVEL_CHECK", + InvalidPackageCheck = "INVALID_PACKAGE_CHECK", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/datasafe/lib/model/sensitive-column-summary.ts b/lib/datasafe/lib/model/sensitive-column-summary.ts index bdb64b2938..bcef99ec3f 100644 --- a/lib/datasafe/lib/model/sensitive-column-summary.ts +++ b/lib/datasafe/lib/model/sensitive-column-summary.ts @@ -104,6 +104,13 @@ export interface SensitiveColumnSummary { * The estimated number of data values the column has in the associated database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "estimatedDataValueCount": number; + /** + * The confidence level of the sensitive column associated with the sensitive type. + * The confidence level of the discovered sensitive columns can be either HIGH, MEDIUM or LOW. + * The confidence level will be NONE for manually added sensitive columns. + * + */ + "confidenceLevel"?: model.ConfidenceLevelEnum; /** * Original data values collected for the sensitive column from the associated database. Sample data helps review * the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data diff --git a/lib/datasafe/lib/model/sensitive-column.ts b/lib/datasafe/lib/model/sensitive-column.ts index e132ccdb2a..23f160dc32 100644 --- a/lib/datasafe/lib/model/sensitive-column.ts +++ b/lib/datasafe/lib/model/sensitive-column.ts @@ -107,6 +107,19 @@ export interface SensitiveColumn { * The estimated number of data values the column has in the associated database. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "estimatedDataValueCount": number; + /** + * The confidence level of the sensitive column associated with the sensitive type. + * The confidence level of the discovered sensitive columns can be either HIGH, MEDIUM or LOW. + * The confidence level will be NONE for manually added sensitive columns. + * + */ + "confidenceLevel"?: model.ConfidenceLevelEnum; + /** + * List containing maps as values. + * Example: {@code {\"Operations\": [ {\"CostCenter\": \"42\"} ] }} + * + */ + "confidenceLevelDetails"?: Array; /** * Original data values collected for the sensitive column from the associated database. Sample data helps review * the column and ensure that it actually contains sensitive data. Note that sample data is retrieved by a data diff --git a/lib/datasafe/lib/request/get-data-safe-configuration-request.ts b/lib/datasafe/lib/request/get-data-safe-configuration-request.ts index 60e2042832..2edf2b5f95 100644 --- a/lib/datasafe/lib/request/get-data-safe-configuration-request.ts +++ b/lib/datasafe/lib/request/get-data-safe-configuration-request.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface GetDataSafeConfigurationRequest extends common.BaseRequest { /** - * A filter to return only resources that match the specified compartment OCID. + * A filter to return the Data Safe configuration for the specified tenancy OCID. */ "compartmentId"?: string; /** diff --git a/lib/datasafe/lib/request/list-discovery-job-results-request.ts b/lib/datasafe/lib/request/list-discovery-job-results-request.ts index a5cf7c8d10..3c0f62bd0a 100644 --- a/lib/datasafe/lib/request/list-discovery-job-results-request.ts +++ b/lib/datasafe/lib/request/list-discovery-job-results-request.ts @@ -50,6 +50,13 @@ export interface ListDiscoveryJobResultsRequest extends common.BaseRequest { * The sort order to use, either ascending (ASC) or descending (DESC). */ "sortOrder"?: ListDiscoveryJobResultsRequest.SortOrder; + /** + * A filter to return the discovery job results with the specified confidence level. + * Confidence level of discovery job result associated with a seeded sensitive type can either be HIGH or LOW. + * While the confidence level of discovery job result associated with a user defined sensitive will be NONE. + * + */ + "confidenceLevel"?: Array; /** * The field to sort by. You can specify only one sorting parameter (sortOrder). The default order for timeFinished is descending. * The default order for discoveryType, schemaName, objectName, columnName and plannedAction is ascending. @@ -82,6 +89,7 @@ export namespace ListDiscoveryJobResultsRequest { SchemaName = "schemaName", ObjectName = "objectName", ColumnName = "columnName", - PlannedAction = "plannedAction" + PlannedAction = "plannedAction", + ConfidenceLevel = "confidenceLevel" } } diff --git a/lib/datasafe/lib/request/list-findings-request.ts b/lib/datasafe/lib/request/list-findings-request.ts index e84e3386ee..5c1e6b07d4 100644 --- a/lib/datasafe/lib/request/list-findings-request.ts +++ b/lib/datasafe/lib/request/list-findings-request.ts @@ -62,6 +62,10 @@ export interface ListFindingsRequest extends common.BaseRequest { * For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/en-us/iaas/Content/API/Concepts/usingapi.htm#nine). */ "page"?: string; + /** + * A filter to return only resources that match the specified compartment OCID. + */ + "compartmentId"?: string; /** * Default is false. * When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting. diff --git a/lib/datasafe/lib/request/list-masking-errors-request.ts b/lib/datasafe/lib/request/list-masking-errors-request.ts index 803a973c61..2bcde178cd 100644 --- a/lib/datasafe/lib/request/list-masking-errors-request.ts +++ b/lib/datasafe/lib/request/list-masking-errors-request.ts @@ -50,6 +50,8 @@ export interface ListMaskingErrorsRequest extends common.BaseRequest { export namespace ListMaskingErrorsRequest { export enum StepName { + Validate = "VALIDATE", + GenerateScript = "GENERATE_SCRIPT", ExecuteMasking = "EXECUTE_MASKING", PreMasking = "PRE_MASKING", PostMasking = "POST_MASKING" diff --git a/lib/datasafe/lib/request/list-masking-reports-request.ts b/lib/datasafe/lib/request/list-masking-reports-request.ts index 3be80bb0d3..faba3855a5 100644 --- a/lib/datasafe/lib/request/list-masking-reports-request.ts +++ b/lib/datasafe/lib/request/list-masking-reports-request.ts @@ -38,6 +38,10 @@ export interface ListMaskingReportsRequest extends common.BaseRequest { * A filter to return only items related to a specific target OCID. */ "targetId"?: string; + /** + * A filter to return the target database group that matches the specified OCID. + */ + "targetDatabaseGroupId"?: string; /** * The sort order to use, either ascending (ASC) or descending (DESC). */ diff --git a/lib/datasafe/lib/request/list-sensitive-columns-request.ts b/lib/datasafe/lib/request/list-sensitive-columns-request.ts index 559a01f037..be62699b3f 100644 --- a/lib/datasafe/lib/request/list-sensitive-columns-request.ts +++ b/lib/datasafe/lib/request/list-sensitive-columns-request.ts @@ -63,6 +63,19 @@ export interface ListSensitiveColumnsRequest extends common.BaseRequest { * Filters the sensitive column resources with the given lifecycle state values. */ "sensitiveColumnLifecycleState"?: model.SensitiveColumnLifecycleState; + /** + * Filters the sensitive columns with respect to the estimated row count. + * + */ + "columnDataCountFilter"?: ListSensitiveColumnsRequest.ColumnDataCountFilter; + /** + * A filter to return the sensitive columns with the specified confidence level. + * Confidence level of sensitive column associated with a seeded sensitive type can either be HIGH or LOW. + * While the confidence level of sensitive column associated with a user defined sensitive will be NONE. + * For sensitive columns added manually the confidence level will also be NONE. + * + */ + "confidenceLevel"?: Array; /** * A filter to return only items related to specific schema name. */ @@ -139,6 +152,12 @@ export interface ListSensitiveColumnsRequest extends common.BaseRequest { } export namespace ListSensitiveColumnsRequest { + export enum ColumnDataCountFilter { + ShowAllColumns = "SHOW_ALL_COLUMNS", + ShowColumnsWithData = "SHOW_COLUMNS_WITH_DATA", + ShowColumnsWithoutData = "SHOW_COLUMNS_WITHOUT_DATA" + } + export enum ObjectType { All = "ALL", Table = "TABLE", @@ -166,6 +185,7 @@ export namespace ListSensitiveColumnsRequest { SchemaName = "schemaName", ObjectName = "objectName", ColumnName = "columnName", - DataType = "dataType" + DataType = "dataType", + ConfidenceLevel = "confidenceLevel" } } diff --git a/lib/datasafe/package.json b/lib/datasafe/package.json index 8da8aca4d2..8ad5f06e03 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 8275fddc93..dc0d3bf95f 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index eb5604d3f4..47dcd39429 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index 2577ebde1c..89b9524202 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index 617e312ee1..03f9bdfd55 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Delegate Access Control Service", "repository": { "type": "git", diff --git a/lib/demandsignal/package.json b/lib/demandsignal/package.json index 57903600e7..8ac3dd462b 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index bb79acaf3f..5a65d73fa9 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index 437f8dfbb1..8b83037c6b 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 36979a6dde..9c34f8099f 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index 55499c36c5..c4765cfb17 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Distributed Database Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index 8bc92d7a7d..c329168c03 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index cce6a4f72a..0f4452e566 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index fcfa71ea0d..f3f60d1d5f 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Email Data Plane Service", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index c9480e1168..3277e4ddba 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Em Warehouse Service", "repository": { "type": "git", diff --git a/lib/events/package.json b/lib/events/package.json index b2add5ad95..b745cee6bb 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 49c902f2c1..9a56e1cfc6 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 6edba616f3..b713a52a26 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index a3180a9cff..b5f739d38b 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Fleet Software Update Service", "repository": { "type": "git", diff --git a/lib/functions/package.json b/lib/functions/package.json index 9fd94fb426..aa2ceed065 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index f085ad9aeb..95971202c9 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Fusion Apps Service", "repository": { "type": "git", diff --git a/lib/generativeai/package.json b/lib/generativeai/package.json index 1be670177b..50958321b5 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index 530ce06123..00cc8dec52 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Generative Ai Agent Service", "repository": { "type": "git", diff --git a/lib/generativeaiagentruntime/package.json b/lib/generativeaiagentruntime/package.json index 380bd2a5ca..a6320f3f6a 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index a5453858e0..af505d9cd6 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Generative Ai Inference Service", "repository": { "type": "git", diff --git a/lib/genericartifactscontent/package.json b/lib/genericartifactscontent/package.json index d668746287..bbed0d065d 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Generic Artifacts Content Service", "repository": { "type": "git", diff --git a/lib/globallydistributeddatabase/package.json b/lib/globallydistributeddatabase/package.json index ded8294353..1adb420157 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Globally Distributed Database Service", "repository": { "type": "git", diff --git a/lib/goldengate/package.json b/lib/goldengate/package.json index 6b1b2fc3bb..da4be3f353 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Golden Gate Service", "repository": { "type": "git", diff --git a/lib/governancerulescontrolplane/package.json b/lib/governancerulescontrolplane/package.json index 9c85a103d8..235712b1d4 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Governance Rules Control Plane Service", "repository": { "type": "git", diff --git a/lib/healthchecks/package.json b/lib/healthchecks/package.json index f9f2caffeb..09c3ffa05a 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 8afd5776cd..85accf8163 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 3991aa0f1e..64e08d1697 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Identity Data Plane Service", "repository": { "type": "git", diff --git a/lib/identitydomains/package.json b/lib/identitydomains/package.json index 1ee8ca47e3..5318edd2c6 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Identity Domains Service", "repository": { "type": "git", diff --git a/lib/integration/package.json b/lib/integration/package.json index fb52a26a28..a45d1110c9 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/lib/client.ts b/lib/jms/lib/client.ts index e3ed285475..7d52dd17dc 100644 --- a/lib/jms/lib/client.ts +++ b/lib/jms/lib/client.ts @@ -794,6 +794,86 @@ export class JavaManagementServiceClient { } } + /** + * Create a task schedule using the information provided. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateTaskScheduleRequest + * @return CreateTaskScheduleResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/CreateTaskSchedule.ts.html |here} to see how to use CreateTaskSchedule API. + */ + public async createTaskSchedule( + createTaskScheduleRequest: requests.CreateTaskScheduleRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#createTaskSchedule."); + const operationName = "createTaskSchedule"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": createTaskScheduleRequest.opcRequestId, + "opc-retry-token": createTaskScheduleRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createTaskScheduleRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskSchedules", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createTaskScheduleRequest.createTaskScheduleDetails, + "CreateTaskScheduleDetails", + model.CreateTaskScheduleDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "taskSchedule", + bodyModel: model.TaskSchedule, + type: "model.TaskSchedule", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Deletes the blocklist record specified by an identifier. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -1312,6 +1392,76 @@ export class JavaManagementServiceClient { } } + /** + * Deletes the task schedule record specified by an identifier. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteTaskScheduleRequest + * @return DeleteTaskScheduleResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/DeleteTaskSchedule.ts.html |here} to see how to use DeleteTaskSchedule API. + */ + public async deleteTaskSchedule( + deleteTaskScheduleRequest: requests.DeleteTaskScheduleRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#deleteTaskSchedule."); + const operationName = "deleteTaskSchedule"; + const apiReferenceLink = ""; + const pathParams = { + "{taskScheduleId}": deleteTaskScheduleRequest.taskScheduleId + }; + + const queryParams = { + "fleetId": deleteTaskScheduleRequest.fleetId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteTaskScheduleRequest.ifMatch, + "opc-request-id": deleteTaskScheduleRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteTaskScheduleRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskSchedules/{taskScheduleId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Request to disable the DRS in the selected target in the Fleet. * @@ -2658,6 +2808,85 @@ export class JavaManagementServiceClient { } } + /** + * Returns a task schedule. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetTaskScheduleRequest + * @return GetTaskScheduleResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/GetTaskSchedule.ts.html |here} to see how to use GetTaskSchedule API. + */ + public async getTaskSchedule( + getTaskScheduleRequest: requests.GetTaskScheduleRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#getTaskSchedule."); + const operationName = "getTaskSchedule"; + const apiReferenceLink = ""; + const pathParams = { + "{taskScheduleId}": getTaskScheduleRequest.taskScheduleId + }; + + const queryParams = { + "fleetId": getTaskScheduleRequest.fleetId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getTaskScheduleRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getTaskScheduleRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskSchedules/{taskScheduleId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "taskSchedule", + bodyModel: model.TaskSchedule, + type: "model.TaskSchedule", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Retrieve the details of a work request with the specified ID. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -2989,6 +3218,94 @@ export class JavaManagementServiceClient { } } + /** + * List containers in a fleet filtered by query parameters. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListContainersRequest + * @return ListContainersResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListContainers.ts.html |here} to see how to use ListContainers API. + */ + public async listContainers( + listContainersRequest: requests.ListContainersRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#listContainers."); + const operationName = "listContainers"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": listContainersRequest.fleetId + }; + + const queryParams = { + "managedInstanceId": listContainersRequest.managedInstanceId, + "displayName": listContainersRequest.displayName, + "applicationName": listContainersRequest.applicationName, + "jreVersion": listContainersRequest.jreVersion, + "jreSecurityStatus": listContainersRequest.jreSecurityStatus, + "timeStartedGreaterThanOrEqualTo": listContainersRequest.timeStartedGreaterThanOrEqualTo, + "timeStartedLessThanOrEqualTo": listContainersRequest.timeStartedLessThanOrEqualTo, + "limit": listContainersRequest.limit, + "page": listContainersRequest.page, + "sortOrder": listContainersRequest.sortOrder, + "sortBy": listContainersRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listContainersRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listContainersRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/containers", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "containerCollection", + bodyModel: model.ContainerCollection, + type: "model.ContainerCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Lists the results of a Crypto event analysis. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -3937,37 +4254,219 @@ export class JavaManagementServiceClient { } /** - * List Performance Tuning Analysis results. + * List applications where a library has been detected filtered by query parameters. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListPerformanceTuningAnalysisResultsRequest - * @return ListPerformanceTuningAnalysisResultsResponse + * @param ListLibraryApplicationUsageRequest + * @return ListLibraryApplicationUsageResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPerformanceTuningAnalysisResults.ts.html |here} to see how to use ListPerformanceTuningAnalysisResults API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryApplicationUsage.ts.html |here} to see how to use ListLibraryApplicationUsage API. */ - public async listPerformanceTuningAnalysisResults( - listPerformanceTuningAnalysisResultsRequest: requests.ListPerformanceTuningAnalysisResultsRequest - ): Promise { + public async listLibraryApplicationUsage( + listLibraryApplicationUsageRequest: requests.ListLibraryApplicationUsageRequest + ): Promise { if (this.logger) this.logger.debug( - "Calling operation JavaManagementServiceClient#listPerformanceTuningAnalysisResults." + "Calling operation JavaManagementServiceClient#listLibraryApplicationUsage." ); - const operationName = "listPerformanceTuningAnalysisResults"; + const operationName = "listLibraryApplicationUsage"; const apiReferenceLink = ""; const pathParams = { - "{fleetId}": listPerformanceTuningAnalysisResultsRequest.fleetId + "{fleetId}": listLibraryApplicationUsageRequest.fleetId, + "{libraryKey}": listLibraryApplicationUsageRequest.libraryKey }; const queryParams = { - "managedInstanceId": listPerformanceTuningAnalysisResultsRequest.managedInstanceId, - "applicationId": listPerformanceTuningAnalysisResultsRequest.applicationId, - "applicationName": listPerformanceTuningAnalysisResultsRequest.applicationName, - "hostName": listPerformanceTuningAnalysisResultsRequest.hostName, - "timeStart": listPerformanceTuningAnalysisResultsRequest.timeStart, - "timeEnd": listPerformanceTuningAnalysisResultsRequest.timeEnd, - "limit": listPerformanceTuningAnalysisResultsRequest.limit, - "page": listPerformanceTuningAnalysisResultsRequest.page, - "sortOrder": listPerformanceTuningAnalysisResultsRequest.sortOrder, - "sortBy": listPerformanceTuningAnalysisResultsRequest.sortBy + "applicationId": listLibraryApplicationUsageRequest.applicationId, + "managedInstanceId": listLibraryApplicationUsageRequest.managedInstanceId, + "applicationName": listLibraryApplicationUsageRequest.applicationName, + "applicationNameContains": listLibraryApplicationUsageRequest.applicationNameContains, + "timeStart": listLibraryApplicationUsageRequest.timeStart, + "timeEnd": listLibraryApplicationUsageRequest.timeEnd, + "limit": listLibraryApplicationUsageRequest.limit, + "page": listLibraryApplicationUsageRequest.page, + "sortBy": listLibraryApplicationUsageRequest.sortBy, + "sortOrder": listLibraryApplicationUsageRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listLibraryApplicationUsageRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listLibraryApplicationUsageRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/libraries/{libraryKey}/applications", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "libraryApplicationUsageCollection", + bodyModel: model.LibraryApplicationUsageCollection, + type: "model.LibraryApplicationUsageCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List managed instances where a library has been detected, filtered by query parameters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListLibraryManagedInstanceUsageRequest + * @return ListLibraryManagedInstanceUsageResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryManagedInstanceUsage.ts.html |here} to see how to use ListLibraryManagedInstanceUsage API. + */ + public async listLibraryManagedInstanceUsage( + listLibraryManagedInstanceUsageRequest: requests.ListLibraryManagedInstanceUsageRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JavaManagementServiceClient#listLibraryManagedInstanceUsage." + ); + const operationName = "listLibraryManagedInstanceUsage"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": listLibraryManagedInstanceUsageRequest.fleetId, + "{libraryKey}": listLibraryManagedInstanceUsageRequest.libraryKey + }; + + const queryParams = { + "applicationId": listLibraryManagedInstanceUsageRequest.applicationId, + "managedInstanceId": listLibraryManagedInstanceUsageRequest.managedInstanceId, + "hostName": listLibraryManagedInstanceUsageRequest.hostName, + "hostnameContains": listLibraryManagedInstanceUsageRequest.hostnameContains, + "timeStart": listLibraryManagedInstanceUsageRequest.timeStart, + "timeEnd": listLibraryManagedInstanceUsageRequest.timeEnd, + "limit": listLibraryManagedInstanceUsageRequest.limit, + "page": listLibraryManagedInstanceUsageRequest.page, + "sortBy": listLibraryManagedInstanceUsageRequest.sortBy, + "sortOrder": listLibraryManagedInstanceUsageRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listLibraryManagedInstanceUsageRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listLibraryManagedInstanceUsageRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/libraries/{libraryKey}/managedInstances", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "libraryManagedInstanceUsageCollection", + bodyModel: model.LibraryManagedInstanceUsageCollection, + type: "model.LibraryManagedInstanceUsageCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List Performance Tuning Analysis results. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPerformanceTuningAnalysisResultsRequest + * @return ListPerformanceTuningAnalysisResultsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPerformanceTuningAnalysisResults.ts.html |here} to see how to use ListPerformanceTuningAnalysisResults API. + */ + public async listPerformanceTuningAnalysisResults( + listPerformanceTuningAnalysisResultsRequest: requests.ListPerformanceTuningAnalysisResultsRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JavaManagementServiceClient#listPerformanceTuningAnalysisResults." + ); + const operationName = "listPerformanceTuningAnalysisResults"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": listPerformanceTuningAnalysisResultsRequest.fleetId + }; + + const queryParams = { + "managedInstanceId": listPerformanceTuningAnalysisResultsRequest.managedInstanceId, + "applicationId": listPerformanceTuningAnalysisResultsRequest.applicationId, + "applicationName": listPerformanceTuningAnalysisResultsRequest.applicationName, + "hostName": listPerformanceTuningAnalysisResultsRequest.hostName, + "timeStart": listPerformanceTuningAnalysisResultsRequest.timeStart, + "timeEnd": listPerformanceTuningAnalysisResultsRequest.timeEnd, + "limit": listPerformanceTuningAnalysisResultsRequest.limit, + "page": listPerformanceTuningAnalysisResultsRequest.page, + "sortOrder": listPerformanceTuningAnalysisResultsRequest.sortOrder, + "sortBy": listPerformanceTuningAnalysisResultsRequest.sortBy }; let headerParams = { @@ -3978,14 +4477,275 @@ export class JavaManagementServiceClient { const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listPerformanceTuningAnalysisResultsRequest.retryConfiguration, + listPerformanceTuningAnalysisResultsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/performanceTuningAnalysisResults", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "performanceTuningAnalysisResultCollection", + bodyModel: model.PerformanceTuningAnalysisResultCollection, + type: "model.PerformanceTuningAnalysisResultCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of plugin errors that describe all detected errors. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPluginErrorsRequest + * @return ListPluginErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPluginErrors.ts.html |here} to see how to use ListPluginErrors API. + */ + public async listPluginErrors( + listPluginErrorsRequest: requests.ListPluginErrorsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#listPluginErrors."); + const operationName = "listPluginErrors"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPluginErrorsRequest.compartmentId, + "compartmentIdInSubtree": listPluginErrorsRequest.compartmentIdInSubtree, + "managedInstanceId": listPluginErrorsRequest.managedInstanceId, + "timeFirstSeenLessThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenLessThanOrEqualTo, + "timeFirstSeenGreaterThanOrEqualTo": + listPluginErrorsRequest.timeFirstSeenGreaterThanOrEqualTo, + "timeLastSeenLessThanOrEqualTo": listPluginErrorsRequest.timeLastSeenLessThanOrEqualTo, + "timeLastSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeLastSeenGreaterThanOrEqualTo, + "limit": listPluginErrorsRequest.limit, + "page": listPluginErrorsRequest.page, + "sortBy": listPluginErrorsRequest.sortBy, + "sortOrder": listPluginErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPluginErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPluginErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/pluginErrors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "pluginErrorCollection", + bodyModel: model.PluginErrorCollection, + type: "model.PluginErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns a list of task schedules. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListTaskSchedulesRequest + * @return ListTaskSchedulesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListTaskSchedules.ts.html |here} to see how to use ListTaskSchedules API. + */ + public async listTaskSchedules( + listTaskSchedulesRequest: requests.ListTaskSchedulesRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#listTaskSchedules."); + const operationName = "listTaskSchedules"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "fleetId": listTaskSchedulesRequest.fleetId, + "id": listTaskSchedulesRequest.id, + "managedInstanceId": listTaskSchedulesRequest.managedInstanceId, + "name": listTaskSchedulesRequest.name, + "taskScheduleNameContains": listTaskSchedulesRequest.taskScheduleNameContains, + "limit": listTaskSchedulesRequest.limit, + "page": listTaskSchedulesRequest.page, + "sortOrder": listTaskSchedulesRequest.sortOrder, + "sortBy": listTaskSchedulesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listTaskSchedulesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listTaskSchedulesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskSchedules", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "taskScheduleCollection", + bodyModel: model.TaskScheduleCollection, + type: "model.TaskScheduleCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List applications where an uncorrelated package has been detected, filtered by query parameters. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListUncorrelatedPackageApplicationUsageRequest + * @return ListUncorrelatedPackageApplicationUsageResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageApplicationUsage.ts.html |here} to see how to use ListUncorrelatedPackageApplicationUsage API. + */ + public async listUncorrelatedPackageApplicationUsage( + listUncorrelatedPackageApplicationUsageRequest: requests.ListUncorrelatedPackageApplicationUsageRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JavaManagementServiceClient#listUncorrelatedPackageApplicationUsage." + ); + const operationName = "listUncorrelatedPackageApplicationUsage"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": listUncorrelatedPackageApplicationUsageRequest.fleetId, + "{packageName}": listUncorrelatedPackageApplicationUsageRequest.packageName + }; + + const queryParams = { + "applicationId": listUncorrelatedPackageApplicationUsageRequest.applicationId, + "managedInstanceId": listUncorrelatedPackageApplicationUsageRequest.managedInstanceId, + "timeStart": listUncorrelatedPackageApplicationUsageRequest.timeStart, + "timeEnd": listUncorrelatedPackageApplicationUsageRequest.timeEnd, + "limit": listUncorrelatedPackageApplicationUsageRequest.limit, + "page": listUncorrelatedPackageApplicationUsageRequest.page, + "sortBy": listUncorrelatedPackageApplicationUsageRequest.sortBy, + "sortOrder": listUncorrelatedPackageApplicationUsageRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listUncorrelatedPackageApplicationUsageRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listUncorrelatedPackageApplicationUsageRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/fleets/{fleetId}/performanceTuningAnalysisResults", + path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/applications", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -4000,11 +4760,11 @@ export class JavaManagementServiceClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "performanceTuningAnalysisResultCollection", - bodyModel: model.PerformanceTuningAnalysisResultCollection, - type: "model.PerformanceTuningAnalysisResultCollection", + bodyKey: "uncorrelatedPackageApplicationUsageCollection", + bodyModel: model.UncorrelatedPackageApplicationUsageCollection, + type: "model.UncorrelatedPackageApplicationUsageCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -4026,53 +4786,55 @@ export class JavaManagementServiceClient { } /** - * Returns a list of plugin errors that describe all detected errors. + * List managed instances where an uncorrelated package has been detected, filtered by query parameters. + * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. - * @param ListPluginErrorsRequest - * @return ListPluginErrorsResponse + * @param ListUncorrelatedPackageManagedInstanceUsageRequest + * @return ListUncorrelatedPackageManagedInstanceUsageResponse * @throws OciError when an error occurs - * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListPluginErrors.ts.html |here} to see how to use ListPluginErrors API. + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageManagedInstanceUsage.ts.html |here} to see how to use ListUncorrelatedPackageManagedInstanceUsage API. */ - public async listPluginErrors( - listPluginErrorsRequest: requests.ListPluginErrorsRequest - ): Promise { + public async listUncorrelatedPackageManagedInstanceUsage( + listUncorrelatedPackageManagedInstanceUsageRequest: requests.ListUncorrelatedPackageManagedInstanceUsageRequest + ): Promise { if (this.logger) - this.logger.debug("Calling operation JavaManagementServiceClient#listPluginErrors."); - const operationName = "listPluginErrors"; + this.logger.debug( + "Calling operation JavaManagementServiceClient#listUncorrelatedPackageManagedInstanceUsage." + ); + const operationName = "listUncorrelatedPackageManagedInstanceUsage"; const apiReferenceLink = ""; - const pathParams = {}; + const pathParams = { + "{fleetId}": listUncorrelatedPackageManagedInstanceUsageRequest.fleetId, + "{packageName}": listUncorrelatedPackageManagedInstanceUsageRequest.packageName + }; const queryParams = { - "compartmentId": listPluginErrorsRequest.compartmentId, - "compartmentIdInSubtree": listPluginErrorsRequest.compartmentIdInSubtree, - "managedInstanceId": listPluginErrorsRequest.managedInstanceId, - "timeFirstSeenLessThanOrEqualTo": listPluginErrorsRequest.timeFirstSeenLessThanOrEqualTo, - "timeFirstSeenGreaterThanOrEqualTo": - listPluginErrorsRequest.timeFirstSeenGreaterThanOrEqualTo, - "timeLastSeenLessThanOrEqualTo": listPluginErrorsRequest.timeLastSeenLessThanOrEqualTo, - "timeLastSeenGreaterThanOrEqualTo": listPluginErrorsRequest.timeLastSeenGreaterThanOrEqualTo, - "limit": listPluginErrorsRequest.limit, - "page": listPluginErrorsRequest.page, - "sortBy": listPluginErrorsRequest.sortBy, - "sortOrder": listPluginErrorsRequest.sortOrder + "applicationId": listUncorrelatedPackageManagedInstanceUsageRequest.applicationId, + "managedInstanceId": listUncorrelatedPackageManagedInstanceUsageRequest.managedInstanceId, + "timeStart": listUncorrelatedPackageManagedInstanceUsageRequest.timeStart, + "timeEnd": listUncorrelatedPackageManagedInstanceUsageRequest.timeEnd, + "limit": listUncorrelatedPackageManagedInstanceUsageRequest.limit, + "page": listUncorrelatedPackageManagedInstanceUsageRequest.page, + "sortBy": listUncorrelatedPackageManagedInstanceUsageRequest.sortBy, + "sortOrder": listUncorrelatedPackageManagedInstanceUsageRequest.sortOrder }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, - "opc-request-id": listPluginErrorsRequest.opcRequestId + "opc-request-id": listUncorrelatedPackageManagedInstanceUsageRequest.opcRequestId }; const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, - listPluginErrorsRequest.retryConfiguration, + listUncorrelatedPackageManagedInstanceUsageRequest.retryConfiguration, specRetryConfiguration ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ baseEndpoint: this._endpoint, defaultHeaders: this._defaultHeaders, - path: "/pluginErrors", + path: "/fleets/{fleetId}/uncorrelatedPackages/{packageName}/managedInstances", method: "GET", pathParams: pathParams, headerParams: headerParams, @@ -4087,11 +4849,100 @@ export class JavaManagementServiceClient { apiReferenceLink ); const sdkResponse = composeResponse({ - responseObject: {}, + responseObject: {}, body: await response.json(), - bodyKey: "pluginErrorCollection", - bodyModel: model.PluginErrorCollection, - type: "model.PluginErrorCollection", + bodyKey: "uncorrelatedPackageManagedInstanceUsageCollection", + bodyModel: model.UncorrelatedPackageManagedInstanceUsageCollection, + type: "model.UncorrelatedPackageManagedInstanceUsageCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * List uncorrelated package summaries in a fleet, filtered by query parameters. Uncorrelated packages are Java packages which can't be accurately correlated to a library during a library scan. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListUncorrelatedPackageUsageRequest + * @return ListUncorrelatedPackageUsageResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageUsage.ts.html |here} to see how to use ListUncorrelatedPackageUsage API. + */ + public async listUncorrelatedPackageUsage( + listUncorrelatedPackageUsageRequest: requests.ListUncorrelatedPackageUsageRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JavaManagementServiceClient#listUncorrelatedPackageUsage." + ); + const operationName = "listUncorrelatedPackageUsage"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": listUncorrelatedPackageUsageRequest.fleetId + }; + + const queryParams = { + "packageName": listUncorrelatedPackageUsageRequest.packageName, + "managedInstanceId": listUncorrelatedPackageUsageRequest.managedInstanceId, + "applicationId": listUncorrelatedPackageUsageRequest.applicationId, + "timeStart": listUncorrelatedPackageUsageRequest.timeStart, + "timeEnd": listUncorrelatedPackageUsageRequest.timeEnd, + "limit": listUncorrelatedPackageUsageRequest.limit, + "page": listUncorrelatedPackageUsageRequest.page, + "sortOrder": listUncorrelatedPackageUsageRequest.sortOrder, + "sortBy": listUncorrelatedPackageUsageRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listUncorrelatedPackageUsageRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listUncorrelatedPackageUsageRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/uncorrelatedPackages", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "uncorrelatedPackageUsageCollection", + bodyModel: model.UncorrelatedPackageUsageCollection, + type: "model.UncorrelatedPackageUsageCollection", responseHeaders: [ { value: response.headers.get("opc-request-id"), @@ -5908,6 +6759,88 @@ export class JavaManagementServiceClient { } } + /** + * Retrieve the inventory of libraries in the specified fleet: Statically detected library count, Dynamically detected library count, Uncorrelated package count, High, Medium and Low severity library count. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param SummarizeLibraryInventoryRequest + * @return SummarizeLibraryInventoryResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeLibraryInventory.ts.html |here} to see how to use SummarizeLibraryInventory API. + */ + public async summarizeLibraryInventory( + summarizeLibraryInventoryRequest: requests.SummarizeLibraryInventoryRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#summarizeLibraryInventory."); + const operationName = "summarizeLibraryInventory"; + const apiReferenceLink = ""; + const pathParams = { + "{fleetId}": summarizeLibraryInventoryRequest.fleetId + }; + + const queryParams = { + "managedInstanceId": summarizeLibraryInventoryRequest.managedInstanceId, + "applicationId": summarizeLibraryInventoryRequest.applicationId, + "timeStart": summarizeLibraryInventoryRequest.timeStart, + "timeEnd": summarizeLibraryInventoryRequest.timeEnd + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": summarizeLibraryInventoryRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + summarizeLibraryInventoryRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/fleets/{fleetId}/summarizeLibraryInventory", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "libraryInventory", + bodyModel: model.LibraryInventory, + type: "model.LibraryInventory", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * List libraries in a fleet filtered by query parameters. * @@ -6741,4 +7674,88 @@ export class JavaManagementServiceClient { throw err; } } + + /** + * Update the task schedule for the given task type. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateTaskScheduleRequest + * @return UpdateTaskScheduleResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/UpdateTaskSchedule.ts.html |here} to see how to use UpdateTaskSchedule API. + */ + public async updateTaskSchedule( + updateTaskScheduleRequest: requests.UpdateTaskScheduleRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JavaManagementServiceClient#updateTaskSchedule."); + const operationName = "updateTaskSchedule"; + const apiReferenceLink = ""; + const pathParams = { + "{taskScheduleId}": updateTaskScheduleRequest.taskScheduleId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateTaskScheduleRequest.ifMatch, + "opc-request-id": updateTaskScheduleRequest.opcRequestId, + "opc-retry-token": updateTaskScheduleRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateTaskScheduleRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/taskSchedules/{taskScheduleId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateTaskScheduleRequest.updateTaskScheduleDetails, + "UpdateTaskScheduleDetails", + model.UpdateTaskScheduleDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "taskSchedule", + bodyModel: model.TaskSchedule, + type: "model.TaskSchedule", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } } diff --git a/lib/jms/lib/javamanagementservice-waiter.ts b/lib/jms/lib/javamanagementservice-waiter.ts index 1e601bd9ac..b9be8dcc1a 100644 --- a/lib/jms/lib/javamanagementservice-waiter.ts +++ b/lib/jms/lib/javamanagementservice-waiter.ts @@ -61,6 +61,24 @@ export class JavaManagementServiceWaiter { ); } + /** + * Waits forTaskSchedule till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetTaskScheduleResponse + */ + public async forTaskSchedule( + request: serviceRequests.GetTaskScheduleRequest, + ...targetStates: models.TaskSchedule.LifecycleState[] + ): Promise { + return genericWaiter( + this.config, + () => this.client.getTaskSchedule(request), + response => targetStates.includes(response.taskSchedule.lifecycleState!) + ); + } + /** * Waits forWorkRequest * diff --git a/lib/jms/lib/model/add-installation-site-task-details.ts b/lib/jms/lib/model/add-installation-site-task-details.ts new file mode 100644 index 0000000000..eaf2b29d82 --- /dev/null +++ b/lib/jms/lib/model/add-installation-site-task-details.ts @@ -0,0 +1,64 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with adding installation site related information. + */ +export interface AddInstallationSiteTaskDetails extends model.TaskDetails { + "addInstallationSiteTaskRequest"?: model.AddFleetInstallationSitesDetails; + + "taskType": string; +} + +export namespace AddInstallationSiteTaskDetails { + export function getJsonObj( + obj: AddInstallationSiteTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getJsonObj(obj) as AddInstallationSiteTaskDetails)), + ...{ + "addInstallationSiteTaskRequest": obj.addInstallationSiteTaskRequest + ? model.AddFleetInstallationSitesDetails.getJsonObj(obj.addInstallationSiteTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "ADD_INSTALLATION_SITE"; + export function getDeserializedJsonObj( + obj: AddInstallationSiteTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as AddInstallationSiteTaskDetails)), + ...{ + "addInstallationSiteTaskRequest": obj.addInstallationSiteTaskRequest + ? model.AddFleetInstallationSitesDetails.getDeserializedJsonObj( + obj.addInstallationSiteTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/agent-type.ts b/lib/jms/lib/model/agent-type.ts index baec230d1b..8735803407 100644 --- a/lib/jms/lib/model/agent-type.ts +++ b/lib/jms/lib/model/agent-type.ts @@ -15,11 +15,13 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The agent can be of two type, either Oracle Management Agent(OMA) or Oracle Cloud Agent(OCA). + * The agent can be of three types, Oracle Management Agent (OMA), Oracle Cloud Agent (OCA), or Oracle Container Management Agent (OCMA). + * **/ export enum AgentType { Oma = "OMA", Oca = "OCA", + Ocma = "OCMA", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/jms/lib/model/application-work-item-details.ts b/lib/jms/lib/model/application-work-item-details.ts index 20b5a3c172..a095ede5c2 100644 --- a/lib/jms/lib/model/application-work-item-details.ts +++ b/lib/jms/lib/model/application-work-item-details.ts @@ -34,6 +34,19 @@ export interface ApplicationWorkItemDetails extends model.WorkItemDetails { * The full path on which application installation was detected. */ "applicationInstallationPath"?: string; + /** + * The Object Storage namespace of the JFR upload result. + */ + "namespace"?: string; + /** + * The Object Storage bucket name of the JFR upload result. + */ + "bucketName"?: string; + /** + * The Object Storage object name of the JFR upload result. + */ + "objectName"?: string; + "containerInfo"?: model.ContainerSummary; "kind": string; } @@ -44,7 +57,11 @@ export namespace ApplicationWorkItemDetails { ...(isParentJsonObj ? obj : (model.WorkItemDetails.getJsonObj(obj) as ApplicationWorkItemDetails)), - ...{} + ...{ + "containerInfo": obj.containerInfo + ? model.ContainerSummary.getJsonObj(obj.containerInfo) + : undefined + } }; return jsonObj; @@ -58,7 +75,11 @@ export namespace ApplicationWorkItemDetails { ...(isParentJsonObj ? obj : (model.WorkItemDetails.getDeserializedJsonObj(obj) as ApplicationWorkItemDetails)), - ...{} + ...{ + "containerInfo": obj.containerInfo + ? model.ContainerSummary.getDeserializedJsonObj(obj.containerInfo) + : undefined + } }; return jsonObj; diff --git a/lib/jms/lib/model/cluster-details.ts b/lib/jms/lib/model/cluster-details.ts new file mode 100644 index 0000000000..a0a861ad95 --- /dev/null +++ b/lib/jms/lib/model/cluster-details.ts @@ -0,0 +1,60 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The state of the cluster during a specified time period. + */ +export interface ClusterDetails { + /** + * The type of the cluster. + */ + "clusterType"?: ClusterDetails.ClusterType; + /** + * Number of nodes as reported in the last cluster scan Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "nodeCount"?: number; + /** + * Number of pods as reported in the last cluster scan Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "podCount"?: number; + /** + * Number of containers as reported in the last cluster scan Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "containerCount"?: number; +} + +export namespace ClusterDetails { + export enum ClusterType { + Oke = "OKE", + Other = "OTHER", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ClusterDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ClusterDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/confidence-level.ts b/lib/jms/lib/model/confidence-level.ts new file mode 100644 index 0000000000..34de1f4568 --- /dev/null +++ b/lib/jms/lib/model/confidence-level.ts @@ -0,0 +1,40 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Confidence level of the of the assessed library's vulnerabilities. + * + **/ +export enum ConfidenceLevel { + High = "HIGH", + Medium = "MEDIUM", + Low = "LOW", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ConfidenceLevel { + export function getJsonObj(obj: ConfidenceLevel): ConfidenceLevel { + return obj; + } + export function getDeserializedJsonObj(obj: ConfidenceLevel): ConfidenceLevel { + return obj; + } +} diff --git a/lib/jms/lib/model/container-collection.ts b/lib/jms/lib/model/container-collection.ts new file mode 100644 index 0000000000..dee4cfb839 --- /dev/null +++ b/lib/jms/lib/model/container-collection.ts @@ -0,0 +1,57 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Collection of the container summary. + * + */ +export interface ContainerCollection { + /** + * A list of the container summaries. + */ + "items": Array; +} + +export namespace ContainerCollection { + export function getJsonObj(obj: ContainerCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ContainerSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ContainerCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ContainerSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/container-sort-by.ts b/lib/jms/lib/model/container-sort-by.ts new file mode 100644 index 0000000000..ede1b4b752 --- /dev/null +++ b/lib/jms/lib/model/container-sort-by.ts @@ -0,0 +1,37 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field used to sort the container summary. + **/ +export enum ContainerSortBy { + DisplayName = "displayName", + Namespace = "namespace", + PodName = "podName", + ApplicationName = "applicationName", + JreVersion = "jreVersion", + JreSecurityStatus = "jreSecurityStatus", + TimeStarted = "timeStarted" +} + +export namespace ContainerSortBy { + export function getJsonObj(obj: ContainerSortBy): ContainerSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: ContainerSortBy): ContainerSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/container-summary.ts b/lib/jms/lib/model/container-summary.ts new file mode 100644 index 0000000000..7c58b9c3eb --- /dev/null +++ b/lib/jms/lib/model/container-summary.ts @@ -0,0 +1,87 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Information about a container in the cluster. + * + */ +export interface ContainerSummary { + /** + * Unique identifier for the container. + */ + "containerKey": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated managed instance of type OCMA. + */ + "managedInstanceId": string; + /** + * The name of the container. + */ + "displayName": string; + /** + * The container image name. + */ + "imageName": string; + /** + * The namespace of the container. + */ + "namespace": string; + /** + * The name of the node associated with the pod running this container. + */ + "nodeName": string; + /** + * The name of the pod running this container. + */ + "podName": string; + /** + * Unique key that identifies the application running in the container. + */ + "applicationKey"?: string; + /** + * The name of the application running in the container. + */ + "applicationName"?: string; + /** + * Unique key that identifies the Java runtime used to run the application in the container. + */ + "jreKey"?: string; + /** + * The Java runtime used to run the application in the container. + */ + "javaVersion"?: string; + /** + * The security status of the Java runtime used to run the application in the container. + */ + "jreSecurityStatus"?: model.JreSecurityStatus; + /** + * The start time of the container. + */ + "timeStarted"?: Date; +} + +export namespace ContainerSummary { + export function getJsonObj(obj: ContainerSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ContainerSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/create-jms-plugin-details.ts b/lib/jms/lib/model/create-jms-plugin-details.ts index 746df120e1..41ffb25c22 100644 --- a/lib/jms/lib/model/create-jms-plugin-details.ts +++ b/lib/jms/lib/model/create-jms-plugin-details.ts @@ -19,13 +19,19 @@ import common = require("oci-common"); */ export interface CreateJmsPluginDetails { /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA), the Oracle Cloud Agent (OCA), + * or the Oracle Container Management Agent (OCMA) instance where the JMS plugin is deployed. + * */ "agentId": string; /** - * The OMA/OCA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ "compartmentId": string; + /** + * The agent type. + */ + "agentType"?: model.AgentType; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet. * diff --git a/lib/jms/lib/model/create-task-schedule-details.ts b/lib/jms/lib/model/create-task-schedule-details.ts new file mode 100644 index 0000000000..dce5737c59 --- /dev/null +++ b/lib/jms/lib/model/create-task-schedule-details.ts @@ -0,0 +1,66 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Attributes to create a task schedule. + */ +export interface CreateTaskScheduleDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 + * RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. + * + */ + "executionRecurrences": string; + "taskDetails": + | model.DeployedApplicationMigrationTaskDetails + | model.RemoveInstallationSiteTaskDetails + | model.CryptoTaskDetails + | model.JavaMigrationTaskDetails + | model.ScanLibraryTaskDetails + | model.PerformanceTuningTaskDetails + | model.ScanJavaServerTaskDetails + | model.JfrTaskDetails + | model.AddInstallationSiteTaskDetails; +} + +export namespace CreateTaskScheduleDetails { + export function getJsonObj(obj: CreateTaskScheduleDetails): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails ? model.TaskDetails.getJsonObj(obj.taskDetails) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateTaskScheduleDetails): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails + ? model.TaskDetails.getDeserializedJsonObj(obj.taskDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/crypto-task-details.ts b/lib/jms/lib/model/crypto-task-details.ts new file mode 100644 index 0000000000..70673fbccb --- /dev/null +++ b/lib/jms/lib/model/crypto-task-details.ts @@ -0,0 +1,57 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with JFR crypto event analysis related information. + */ +export interface CryptoTaskDetails extends model.TaskDetails { + "cryptoTaskRequest"?: model.RequestCryptoAnalysesDetails; + + "taskType": string; +} + +export namespace CryptoTaskDetails { + export function getJsonObj(obj: CryptoTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskDetails.getJsonObj(obj) as CryptoTaskDetails)), + ...{ + "cryptoTaskRequest": obj.cryptoTaskRequest + ? model.RequestCryptoAnalysesDetails.getJsonObj(obj.cryptoTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "CRYPTO"; + export function getDeserializedJsonObj( + obj: CryptoTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as CryptoTaskDetails)), + ...{ + "cryptoTaskRequest": obj.cryptoTaskRequest + ? model.RequestCryptoAnalysesDetails.getDeserializedJsonObj(obj.cryptoTaskRequest) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/deployed-application-migration-analyses-target.ts b/lib/jms/lib/model/deployed-application-migration-analyses-target.ts index 8bf5d97f0b..d37347cd65 100644 --- a/lib/jms/lib/model/deployed-application-migration-analyses-target.ts +++ b/lib/jms/lib/model/deployed-application-migration-analyses-target.ts @@ -16,7 +16,8 @@ import common = require("oci-common"); /** * The target describes the input data for deployed Java migration analyses. - * A target contains a managed instance, deployed application installation Key, sourceJdkVersion, targetJdkVersion and optional excludePackagePrefixes. + * A target contains a managed instance, deployed application installation Key, sourceJdkVersion, targetJdkVersion, optional excludePackagePrefixes + * and optional includePackagePrefixes. * */ export interface DeployedApplicationMigrationAnalysesTarget { @@ -37,9 +38,13 @@ export interface DeployedApplicationMigrationAnalysesTarget { */ "targetJdkVersion": string; /** - * Excludes the packages that starts with the prefix from the migration analyses result. + * Excludes the packages that starts with the prefix from the migration analyses result. Either this or includePackagePrefixes can be specified. */ "excludePackagePrefixes"?: Array; + /** + * Includes the packages that starts with the prefix from the migration analyses result. Either this or excludePackagePrefixes can be specified. + */ + "includePackagePrefixes"?: Array; } export namespace DeployedApplicationMigrationAnalysesTarget { diff --git a/lib/jms/lib/model/deployed-application-migration-task-details.ts b/lib/jms/lib/model/deployed-application-migration-task-details.ts new file mode 100644 index 0000000000..b220ecccaa --- /dev/null +++ b/lib/jms/lib/model/deployed-application-migration-task-details.ts @@ -0,0 +1,68 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with deployed application migration related information. + */ +export interface DeployedApplicationMigrationTaskDetails extends model.TaskDetails { + "deployedApplicationMigrationTaskRequest"?: model.RequestDeployedApplicationMigrationAnalysesDetails; + + "taskType": string; +} + +export namespace DeployedApplicationMigrationTaskDetails { + export function getJsonObj( + obj: DeployedApplicationMigrationTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getJsonObj(obj) as DeployedApplicationMigrationTaskDetails)), + ...{ + "deployedApplicationMigrationTaskRequest": obj.deployedApplicationMigrationTaskRequest + ? model.RequestDeployedApplicationMigrationAnalysesDetails.getJsonObj( + obj.deployedApplicationMigrationTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "DEPLOYED_APPLICATION_MIGRATION"; + export function getDeserializedJsonObj( + obj: DeployedApplicationMigrationTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj( + obj + ) as DeployedApplicationMigrationTaskDetails)), + ...{ + "deployedApplicationMigrationTaskRequest": obj.deployedApplicationMigrationTaskRequest + ? model.RequestDeployedApplicationMigrationAnalysesDetails.getDeserializedJsonObj( + obj.deployedApplicationMigrationTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/export-data-filters.ts b/lib/jms/lib/model/export-data-filters.ts new file mode 100644 index 0000000000..e1e4dfaa46 --- /dev/null +++ b/lib/jms/lib/model/export-data-filters.ts @@ -0,0 +1,77 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Filters applied when exporting data + * + */ +export interface ExportDataFilters { + /** + * List of Java versions to filter by + * + */ + "javaVersions"?: Array; + /** + * List of Java major versions to filter by + * + */ + "javaMajorVersions"?: Array; + /** + * List of Java vendors to filter by + * + */ + "javaVendors"?: Array; + /** + * List of application names to filter by exact match + * + */ + "applicationNameEqualTo"?: Array; + /** + * List of application names to filter by partial match + * + */ + "applicationNameContains"?: Array; + /** + * The security statuses of the Java Runtime + */ + "securityStatuses"?: Array; +} + +export namespace ExportDataFilters { + export enum SecurityStatuses { + EarlyAccess = "EARLY_ACCESS", + Unknown = "UNKNOWN", + UpToDate = "UP_TO_DATE", + UpdateRequired = "UPDATE_REQUIRED", + UpgradeRequired = "UPGRADE_REQUIRED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ExportDataFilters): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ExportDataFilters): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/export-setting.ts b/lib/jms/lib/model/export-setting.ts index 898b398a74..e51eaa937b 100644 --- a/lib/jms/lib/model/export-setting.ts +++ b/lib/jms/lib/model/export-setting.ts @@ -78,16 +78,31 @@ export interface ExportSetting { * */ "timeLastModified"?: Date; + "exportDataFilters"?: model.ExportDataFilters; } export namespace ExportSetting { export function getJsonObj(obj: ExportSetting): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "exportDataFilters": obj.exportDataFilters + ? model.ExportDataFilters.getJsonObj(obj.exportDataFilters) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ExportSetting): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "exportDataFilters": obj.exportDataFilters + ? model.ExportDataFilters.getDeserializedJsonObj(obj.exportDataFilters) + : undefined + } + }; return jsonObj; } diff --git a/lib/jms/lib/model/fleet-agent-configuration.ts b/lib/jms/lib/model/fleet-agent-configuration.ts index 29adac9dcf..b9c49d9426 100644 --- a/lib/jms/lib/model/fleet-agent-configuration.ts +++ b/lib/jms/lib/model/fleet-agent-configuration.ts @@ -49,6 +49,16 @@ export interface FleetAgentConfiguration { * */ "isCollectingUsernamesEnabled"?: boolean; + /** + * Collect network addresses of managed instances in the fleet. + * + */ + "isCapturingIpAddressAndFqdnEnabled"?: boolean; + /** + * Enable libraries scan on all managed instances in the fleet. + * + */ + "isLibrariesScanEnabled"?: boolean; "linuxConfiguration": model.FleetAgentOsConfiguration; "windowsConfiguration": model.FleetAgentOsConfiguration; "macOsConfiguration": model.FleetAgentOsConfiguration; diff --git a/lib/jms/lib/model/fleet-summary.ts b/lib/jms/lib/model/fleet-summary.ts index dfd1f0e5b9..7a6979e8e9 100644 --- a/lib/jms/lib/model/fleet-summary.ts +++ b/lib/jms/lib/model/fleet-summary.ts @@ -67,6 +67,18 @@ export interface FleetSummary { * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "approximateJavaServerCount": number; + /** + * The approximate count of all unique libraries in the Fleet in the past seven days. + * This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "approximateLibraryCount": number; + /** + * The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. + * This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "approximateLibraryVulnerabilityCount": number; "inventoryLog"?: model.CustomLog; "operationLog"?: model.CustomLog; /** diff --git a/lib/jms/lib/model/fleet.ts b/lib/jms/lib/model/fleet.ts index 1ce2a13803..2061baae39 100644 --- a/lib/jms/lib/model/fleet.ts +++ b/lib/jms/lib/model/fleet.ts @@ -66,6 +66,18 @@ export interface Fleet { * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "approximateJavaServerCount": number; + /** + * The approximate count of all unique libraries in the Fleet in the past seven days. + * This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "approximateLibraryCount": number; + /** + * The approximate count of all unique library vulnerabilities in the Fleet in the past seven days. + * This metric is provided on a best-effort manner, and isn't taken into account when computing the resource ETag. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "approximateLibraryVulnerabilityCount": number; "inventoryLog"?: model.CustomLog; "operationLog"?: model.CustomLog; /** diff --git a/lib/jms/lib/model/generate-agent-installer-configuration-details.ts b/lib/jms/lib/model/generate-agent-installer-configuration-details.ts index c74a30c135..1796e9c649 100644 --- a/lib/jms/lib/model/generate-agent-installer-configuration-details.ts +++ b/lib/jms/lib/model/generate-agent-installer-configuration-details.ts @@ -26,6 +26,10 @@ export interface GenerateAgentInstallerConfigurationDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the fleet for which to generate the configuration file. */ "fleetId": string; + /** + * The JMS plugin type. + */ + "agentType"?: model.AgentType; } export namespace GenerateAgentInstallerConfigurationDetails { diff --git a/lib/jms/lib/model/index.ts b/lib/jms/lib/model/index.ts index 42fedf38d0..935637be81 100644 --- a/lib/jms/lib/model/index.ts +++ b/lib/jms/lib/model/index.ts @@ -63,6 +63,16 @@ import * as BlocklistTarget from "./blocklist-target"; export import BlocklistTarget = BlocklistTarget.BlocklistTarget; import * as ChangeFleetCompartmentDetails from "./change-fleet-compartment-details"; export import ChangeFleetCompartmentDetails = ChangeFleetCompartmentDetails.ChangeFleetCompartmentDetails; +import * as ClusterDetails from "./cluster-details"; +export import ClusterDetails = ClusterDetails.ClusterDetails; +import * as ConfidenceLevel from "./confidence-level"; +export import ConfidenceLevel = ConfidenceLevel.ConfidenceLevel; +import * as ContainerCollection from "./container-collection"; +export import ContainerCollection = ContainerCollection.ContainerCollection; +import * as ContainerSortBy from "./container-sort-by"; +export import ContainerSortBy = ContainerSortBy.ContainerSortBy; +import * as ContainerSummary from "./container-summary"; +export import ContainerSummary = ContainerSummary.ContainerSummary; import * as CreateBlocklistDetails from "./create-blocklist-details"; export import CreateBlocklistDetails = CreateBlocklistDetails.CreateBlocklistDetails; import * as CreateDrsFileDetails from "./create-drs-file-details"; @@ -71,6 +81,8 @@ import * as CreateFleetDetails from "./create-fleet-details"; export import CreateFleetDetails = CreateFleetDetails.CreateFleetDetails; import * as CreateJmsPluginDetails from "./create-jms-plugin-details"; export import CreateJmsPluginDetails = CreateJmsPluginDetails.CreateJmsPluginDetails; +import * as CreateTaskScheduleDetails from "./create-task-schedule-details"; +export import CreateTaskScheduleDetails = CreateTaskScheduleDetails.CreateTaskScheduleDetails; import * as CryptoAnalysisResult from "./crypto-analysis-result"; export import CryptoAnalysisResult = CryptoAnalysisResult.CryptoAnalysisResult; import * as CryptoAnalysisResultCollection from "./crypto-analysis-result-collection"; @@ -117,6 +129,8 @@ import * as EnableDrsDetails from "./enable-drs-details"; export import EnableDrsDetails = EnableDrsDetails.EnableDrsDetails; import * as ExistingInstallationSiteId from "./existing-installation-site-id"; export import ExistingInstallationSiteId = ExistingInstallationSiteId.ExistingInstallationSiteId; +import * as ExportDataFilters from "./export-data-filters"; +export import ExportDataFilters = ExportDataFilters.ExportDataFilters; import * as ExportDuration from "./export-duration"; export import ExportDuration = ExportDuration.ExportDuration; import * as ExportFrequency from "./export-frequency"; @@ -257,12 +271,28 @@ import * as KeySizeAlgorithm from "./key-size-algorithm"; export import KeySizeAlgorithm = KeySizeAlgorithm.KeySizeAlgorithm; import * as Lcm from "./lcm"; export import Lcm = Lcm.Lcm; +import * as LibraryApplicationSortBy from "./library-application-sort-by"; +export import LibraryApplicationSortBy = LibraryApplicationSortBy.LibraryApplicationSortBy; +import * as LibraryApplicationUsageCollection from "./library-application-usage-collection"; +export import LibraryApplicationUsageCollection = LibraryApplicationUsageCollection.LibraryApplicationUsageCollection; +import * as LibraryApplicationUsageSummary from "./library-application-usage-summary"; +export import LibraryApplicationUsageSummary = LibraryApplicationUsageSummary.LibraryApplicationUsageSummary; +import * as LibraryInventory from "./library-inventory"; +export import LibraryInventory = LibraryInventory.LibraryInventory; +import * as LibraryManagedInstanceSortBy from "./library-managed-instance-sort-by"; +export import LibraryManagedInstanceSortBy = LibraryManagedInstanceSortBy.LibraryManagedInstanceSortBy; +import * as LibraryManagedInstanceUsageCollection from "./library-managed-instance-usage-collection"; +export import LibraryManagedInstanceUsageCollection = LibraryManagedInstanceUsageCollection.LibraryManagedInstanceUsageCollection; +import * as LibraryManagedInstanceUsageSummary from "./library-managed-instance-usage-summary"; +export import LibraryManagedInstanceUsageSummary = LibraryManagedInstanceUsageSummary.LibraryManagedInstanceUsageSummary; import * as LibrarySortBy from "./library-sort-by"; export import LibrarySortBy = LibrarySortBy.LibrarySortBy; import * as LibraryUsage from "./library-usage"; export import LibraryUsage = LibraryUsage.LibraryUsage; import * as LibraryUsageCollection from "./library-usage-collection"; export import LibraryUsageCollection = LibraryUsageCollection.LibraryUsageCollection; +import * as LibraryVulnerability from "./library-vulnerability"; +export import LibraryVulnerability = LibraryVulnerability.LibraryVulnerability; import * as LicenseType from "./license-type"; export import LicenseType = LicenseType.LicenseType; import * as LifecycleState from "./lifecycle-state"; @@ -289,6 +319,8 @@ import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; import * as OsFamily from "./os-family"; export import OsFamily = OsFamily.OsFamily; +import * as PackageSortBy from "./package-sort-by"; +export import PackageSortBy = PackageSortBy.PackageSortBy; import * as PackageType from "./package-type"; export import PackageType = PackageType.PackageType; import * as PatchDetail from "./patch-detail"; @@ -369,8 +401,34 @@ import * as SummarizedEventsLog from "./summarized-events-log"; export import SummarizedEventsLog = SummarizedEventsLog.SummarizedEventsLog; import * as SupportType from "./support-type"; export import SupportType = SupportType.SupportType; +import * as TaskDetails from "./task-details"; +export import TaskDetails = TaskDetails.TaskDetails; +import * as TaskSchedule from "./task-schedule"; +export import TaskSchedule = TaskSchedule.TaskSchedule; +import * as TaskScheduleCollection from "./task-schedule-collection"; +export import TaskScheduleCollection = TaskScheduleCollection.TaskScheduleCollection; +import * as TaskScheduleSortBy from "./task-schedule-sort-by"; +export import TaskScheduleSortBy = TaskScheduleSortBy.TaskScheduleSortBy; +import * as TaskScheduleSummary from "./task-schedule-summary"; +export import TaskScheduleSummary = TaskScheduleSummary.TaskScheduleSummary; import * as TlsVersions from "./tls-versions"; export import TlsVersions = TlsVersions.TlsVersions; +import * as UncorrelatedPackageApplicationSortBy from "./uncorrelated-package-application-sort-by"; +export import UncorrelatedPackageApplicationSortBy = UncorrelatedPackageApplicationSortBy.UncorrelatedPackageApplicationSortBy; +import * as UncorrelatedPackageApplicationUsageCollection from "./uncorrelated-package-application-usage-collection"; +export import UncorrelatedPackageApplicationUsageCollection = UncorrelatedPackageApplicationUsageCollection.UncorrelatedPackageApplicationUsageCollection; +import * as UncorrelatedPackageApplicationUsageSummary from "./uncorrelated-package-application-usage-summary"; +export import UncorrelatedPackageApplicationUsageSummary = UncorrelatedPackageApplicationUsageSummary.UncorrelatedPackageApplicationUsageSummary; +import * as UncorrelatedPackageManagedInstanceSortBy from "./uncorrelated-package-managed-instance-sort-by"; +export import UncorrelatedPackageManagedInstanceSortBy = UncorrelatedPackageManagedInstanceSortBy.UncorrelatedPackageManagedInstanceSortBy; +import * as UncorrelatedPackageManagedInstanceUsageCollection from "./uncorrelated-package-managed-instance-usage-collection"; +export import UncorrelatedPackageManagedInstanceUsageCollection = UncorrelatedPackageManagedInstanceUsageCollection.UncorrelatedPackageManagedInstanceUsageCollection; +import * as UncorrelatedPackageManagedInstanceUsageSummary from "./uncorrelated-package-managed-instance-usage-summary"; +export import UncorrelatedPackageManagedInstanceUsageSummary = UncorrelatedPackageManagedInstanceUsageSummary.UncorrelatedPackageManagedInstanceUsageSummary; +import * as UncorrelatedPackageUsageCollection from "./uncorrelated-package-usage-collection"; +export import UncorrelatedPackageUsageCollection = UncorrelatedPackageUsageCollection.UncorrelatedPackageUsageCollection; +import * as UncorrelatedPackageUsageSummary from "./uncorrelated-package-usage-summary"; +export import UncorrelatedPackageUsageSummary = UncorrelatedPackageUsageSummary.UncorrelatedPackageUsageSummary; import * as UpdateDrsFileDetails from "./update-drs-file-details"; export import UpdateDrsFileDetails = UpdateDrsFileDetails.UpdateDrsFileDetails; import * as UpdateExportSettingDetails from "./update-export-setting-details"; @@ -383,6 +441,8 @@ import * as UpdateFleetDetails from "./update-fleet-details"; export import UpdateFleetDetails = UpdateFleetDetails.UpdateFleetDetails; import * as UpdateJmsPluginDetails from "./update-jms-plugin-details"; export import UpdateJmsPluginDetails = UpdateJmsPluginDetails.UpdateJmsPluginDetails; +import * as UpdateTaskScheduleDetails from "./update-task-schedule-details"; +export import UpdateTaskScheduleDetails = UpdateTaskScheduleDetails.UpdateTaskScheduleDetails; import * as WorkItemCollection from "./work-item-collection"; export import WorkItemCollection = WorkItemCollection.WorkItemCollection; import * as WorkItemDetails from "./work-item-details"; @@ -408,11 +468,33 @@ export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.Work import * as WorkRequestResource from "./work-request-resource"; export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as AddInstallationSiteTaskDetails from "./add-installation-site-task-details"; +export import AddInstallationSiteTaskDetails = AddInstallationSiteTaskDetails.AddInstallationSiteTaskDetails; import * as ApplicationWorkItemDetails from "./application-work-item-details"; export import ApplicationWorkItemDetails = ApplicationWorkItemDetails.ApplicationWorkItemDetails; import * as BasicWorkItemDetails from "./basic-work-item-details"; export import BasicWorkItemDetails = BasicWorkItemDetails.BasicWorkItemDetails; +import * as CryptoTaskDetails from "./crypto-task-details"; +export import CryptoTaskDetails = CryptoTaskDetails.CryptoTaskDetails; +import * as DeployedApplicationMigrationTaskDetails from "./deployed-application-migration-task-details"; +export import DeployedApplicationMigrationTaskDetails = DeployedApplicationMigrationTaskDetails.DeployedApplicationMigrationTaskDetails; import * as DeployedApplicationWorkItemDetails from "./deployed-application-work-item-details"; export import DeployedApplicationWorkItemDetails = DeployedApplicationWorkItemDetails.DeployedApplicationWorkItemDetails; +import * as JavaMigrationApplicationWorkItemDetails from "./java-migration-application-work-item-details"; +export import JavaMigrationApplicationWorkItemDetails = JavaMigrationApplicationWorkItemDetails.JavaMigrationApplicationWorkItemDetails; +import * as JavaMigrationDeployedApplicationWorkItemDetails from "./java-migration-deployed-application-work-item-details"; +export import JavaMigrationDeployedApplicationWorkItemDetails = JavaMigrationDeployedApplicationWorkItemDetails.JavaMigrationDeployedApplicationWorkItemDetails; +import * as JavaMigrationTaskDetails from "./java-migration-task-details"; +export import JavaMigrationTaskDetails = JavaMigrationTaskDetails.JavaMigrationTaskDetails; +import * as JfrTaskDetails from "./jfr-task-details"; +export import JfrTaskDetails = JfrTaskDetails.JfrTaskDetails; import * as LcmWorkItemDetails from "./lcm-work-item-details"; export import LcmWorkItemDetails = LcmWorkItemDetails.LcmWorkItemDetails; +import * as PerformanceTuningTaskDetails from "./performance-tuning-task-details"; +export import PerformanceTuningTaskDetails = PerformanceTuningTaskDetails.PerformanceTuningTaskDetails; +import * as RemoveInstallationSiteTaskDetails from "./remove-installation-site-task-details"; +export import RemoveInstallationSiteTaskDetails = RemoveInstallationSiteTaskDetails.RemoveInstallationSiteTaskDetails; +import * as ScanJavaServerTaskDetails from "./scan-java-server-task-details"; +export import ScanJavaServerTaskDetails = ScanJavaServerTaskDetails.ScanJavaServerTaskDetails; +import * as ScanLibraryTaskDetails from "./scan-library-task-details"; +export import ScanLibraryTaskDetails = ScanLibraryTaskDetails.ScanLibraryTaskDetails; diff --git a/lib/jms/lib/model/installation-sort-by.ts b/lib/jms/lib/model/installation-sort-by.ts index 251d7f745f..dd3d7d1105 100644 --- a/lib/jms/lib/model/installation-sort-by.ts +++ b/lib/jms/lib/model/installation-sort-by.ts @@ -26,7 +26,8 @@ export enum InstallationSortBy { TimeLastSeen = "timeLastSeen", ApproximateApplicationCount = "approximateApplicationCount", ApproximateManagedInstanceCount = "approximateManagedInstanceCount", - OsName = "osName" + OsName = "osName", + SecurityStatus = "securityStatus" } export namespace InstallationSortBy { diff --git a/lib/jms/lib/model/installation-usage.ts b/lib/jms/lib/model/installation-usage.ts index 8cd0654c06..7de0a23b82 100644 --- a/lib/jms/lib/model/installation-usage.ts +++ b/lib/jms/lib/model/installation-usage.ts @@ -36,6 +36,10 @@ export interface InstallationUsage { * The version of the Java Runtime that is deployed with the installation. */ "jreVersion": string; + /** + * The security status of the Java Runtime. + */ + "securityStatus"?: model.JreSecurityStatus; /** * The file system path of the Java installation. */ diff --git a/lib/jms/lib/model/java-family-summary.ts b/lib/jms/lib/model/java-family-summary.ts index 78c6d8c3ce..7c7d86c721 100644 --- a/lib/jms/lib/model/java-family-summary.ts +++ b/lib/jms/lib/model/java-family-summary.ts @@ -56,16 +56,38 @@ export interface JavaFamilySummary { * */ "releaseDate"?: Date; + /** + * The license type(s) associated with the Java family. + */ + "licenseTypes"?: Array; } export namespace JavaFamilySummary { export function getJsonObj(obj: JavaFamilySummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "licenseTypes": obj.licenseTypes + ? obj.licenseTypes.map(item => { + return model.LicenseType.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: JavaFamilySummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "licenseTypes": obj.licenseTypes + ? obj.licenseTypes.map(item => { + return model.LicenseType.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/jms/lib/model/java-family.ts b/lib/jms/lib/model/java-family.ts index 13935e5e28..62e2d3f184 100644 --- a/lib/jms/lib/model/java-family.ts +++ b/lib/jms/lib/model/java-family.ts @@ -62,6 +62,10 @@ export interface JavaFamily { * */ "releaseDate"?: Date; + /** + * The license type(s) associated with the Java family. + */ + "licenseTypes"?: Array; } export namespace JavaFamily { @@ -73,6 +77,12 @@ export namespace JavaFamily { ? obj.latestReleaseArtifacts.map(item => { return model.JavaArtifact.getJsonObj(item); }) + : undefined, + + "licenseTypes": obj.licenseTypes + ? obj.licenseTypes.map(item => { + return model.LicenseType.getJsonObj(item); + }) : undefined } }; @@ -87,6 +97,12 @@ export namespace JavaFamily { ? obj.latestReleaseArtifacts.map(item => { return model.JavaArtifact.getDeserializedJsonObj(item); }) + : undefined, + + "licenseTypes": obj.licenseTypes + ? obj.licenseTypes.map(item => { + return model.LicenseType.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/jms/lib/model/java-migration-analysis-target.ts b/lib/jms/lib/model/java-migration-analysis-target.ts index d2ec59bbeb..ac06e02fa1 100644 --- a/lib/jms/lib/model/java-migration-analysis-target.ts +++ b/lib/jms/lib/model/java-migration-analysis-target.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The target describes the input data for Java migration analysis. - * A target contains a managed instance, application Installation Key, sourceJdkVersion, targetJdkVersion and optional excludePackagePrefixes. + * A target contains a managed instance, application Installation Key, sourceJdkVersion, targetJdkVersion, optional excludePackagePrefixes and optional includePackagePrefixes. * */ export interface JavaMigrationAnalysisTarget { @@ -37,9 +37,13 @@ export interface JavaMigrationAnalysisTarget { */ "targetJdkVersion": string; /** - * Excludes the packages that starts with the prefix from the migration analysis result. + * Excludes the packages that starts with the prefix from the migration analysis result. Either this or includePackagePrefixes can be specified. */ "excludePackagePrefixes"?: Array; + /** + * includes the packages that starts with the prefix from the migration analysis result. Either this or excludePackagePrefixes can be specified. + */ + "includePackagePrefixes"?: Array; } export namespace JavaMigrationAnalysisTarget { diff --git a/lib/jms/lib/model/java-migration-application-work-item-details.ts b/lib/jms/lib/model/java-migration-application-work-item-details.ts new file mode 100644 index 0000000000..4c57dd5c77 --- /dev/null +++ b/lib/jms/lib/model/java-migration-application-work-item-details.ts @@ -0,0 +1,75 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The java migration work item details for application analysis related information. + */ +export interface JavaMigrationApplicationWorkItemDetails extends model.WorkItemDetails { + /** + * The unique key of the application of the java migration analysis. + */ + "applicationKey": string; + /** + * The unique key of the application installation of the java migration analysis. + */ + "applicationInstallationKey"?: string; + /** + * The application name. + */ + "applicationName": string; + /** + * The full path on which application installation was detected. + */ + "applicationInstallationPath"?: string; + /** + * The JDK version against which the migration analysis was performed to identify effort required to move from source JDK. + */ + "targetJdkVersion"?: string; + + "kind": string; +} + +export namespace JavaMigrationApplicationWorkItemDetails { + export function getJsonObj( + obj: JavaMigrationApplicationWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getJsonObj(obj) as JavaMigrationApplicationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "JAVA_MIGRATION_APPLICATION"; + export function getDeserializedJsonObj( + obj: JavaMigrationApplicationWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getDeserializedJsonObj( + obj + ) as JavaMigrationApplicationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/java-migration-deployed-application-work-item-details.ts b/lib/jms/lib/model/java-migration-deployed-application-work-item-details.ts new file mode 100644 index 0000000000..082bb3ddc4 --- /dev/null +++ b/lib/jms/lib/model/java-migration-deployed-application-work-item-details.ts @@ -0,0 +1,77 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The java migration work item details for deployed application analysis related information. + */ +export interface JavaMigrationDeployedApplicationWorkItemDetails extends model.WorkItemDetails { + /** + * The unique key of the deployed application of the java migration analysis. + */ + "deployedApplicationKey": string; + /** + * The unique key of the deployed application installation of the java migration analysis. + */ + "deployedApplicationInstallationKey"?: string; + /** + * The deployed application name. + */ + "deployedApplicationName": string; + /** + * The full path on which deployed application installation was detected. + */ + "deployedApplicationInstallationPath"?: string; + /** + * The JDK version against which the migration analysis was performed to identify effort required to move from source JDK. + */ + "targetJdkVersion"?: string; + + "kind": string; +} + +export namespace JavaMigrationDeployedApplicationWorkItemDetails { + export function getJsonObj( + obj: JavaMigrationDeployedApplicationWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getJsonObj( + obj + ) as JavaMigrationDeployedApplicationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "JAVA_MIGRATION_DEPLOYED_APPLICATION"; + export function getDeserializedJsonObj( + obj: JavaMigrationDeployedApplicationWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getDeserializedJsonObj( + obj + ) as JavaMigrationDeployedApplicationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/java-migration-task-details.ts b/lib/jms/lib/model/java-migration-task-details.ts new file mode 100644 index 0000000000..2b800a4638 --- /dev/null +++ b/lib/jms/lib/model/java-migration-task-details.ts @@ -0,0 +1,59 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with Java migration related information. + */ +export interface JavaMigrationTaskDetails extends model.TaskDetails { + "javaMigrationTaskRequest"?: model.RequestJavaMigrationAnalysesDetails; + + "taskType": string; +} + +export namespace JavaMigrationTaskDetails { + export function getJsonObj(obj: JavaMigrationTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskDetails.getJsonObj(obj) as JavaMigrationTaskDetails)), + ...{ + "javaMigrationTaskRequest": obj.javaMigrationTaskRequest + ? model.RequestJavaMigrationAnalysesDetails.getJsonObj(obj.javaMigrationTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "JAVA_MIGRATION"; + export function getDeserializedJsonObj( + obj: JavaMigrationTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as JavaMigrationTaskDetails)), + ...{ + "javaMigrationTaskRequest": obj.javaMigrationTaskRequest + ? model.RequestJavaMigrationAnalysesDetails.getDeserializedJsonObj( + obj.javaMigrationTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/jfr-attachment-target.ts b/lib/jms/lib/model/jfr-attachment-target.ts index 6b2d1b10df..faebf4f933 100644 --- a/lib/jms/lib/model/jfr-attachment-target.ts +++ b/lib/jms/lib/model/jfr-attachment-target.ts @@ -15,10 +15,11 @@ import * as model from "../model"; import common = require("oci-common"); /** - * The target to collect JFR data. A target is a managed instance, with options to further limit to specific application and/or Java Runtime. + * The target to collect JFR data. A target is a managed instance, with options to further limit to specific container and/or application and/or Java Runtime. * When the applicationKey isn't specified, then all applications are selected. * When the jreKey isn't specified, then all supported Java Runtime versions are selected. * When the applicationInstallationKey isn't specified, then all application installations are selected. + * When the containerKey isn't specified, then all containers are selected. * Keys applicationKey and applicationInstallationKey are mutually exclusive. * */ @@ -39,6 +40,10 @@ export interface JfrAttachmentTarget { * Unique key that identify the JVM for JFR data collection. */ "jreKey"?: string; + /** + * Unique key that identifies the container for JFR data collection. + */ + "containerKey"?: string; } export namespace JfrAttachmentTarget { diff --git a/lib/jms/lib/model/jfr-task-details.ts b/lib/jms/lib/model/jfr-task-details.ts new file mode 100644 index 0000000000..dfd394d276 --- /dev/null +++ b/lib/jms/lib/model/jfr-task-details.ts @@ -0,0 +1,54 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with JFR recording related information. + */ +export interface JfrTaskDetails extends model.TaskDetails { + "jfrTaskRequest"?: model.RequestJfrRecordingsDetails; + + "taskType": string; +} + +export namespace JfrTaskDetails { + export function getJsonObj(obj: JfrTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskDetails.getJsonObj(obj) as JfrTaskDetails)), + ...{ + "jfrTaskRequest": obj.jfrTaskRequest + ? model.RequestJfrRecordingsDetails.getJsonObj(obj.jfrTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "JFR"; + export function getDeserializedJsonObj(obj: JfrTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as JfrTaskDetails)), + ...{ + "jfrTaskRequest": obj.jfrTaskRequest + ? model.RequestJfrRecordingsDetails.getDeserializedJsonObj(obj.jfrTaskRequest) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/jms-plugin-summary.ts b/lib/jms/lib/model/jms-plugin-summary.ts index 6972141f7b..68aba32659 100644 --- a/lib/jms/lib/model/jms-plugin-summary.ts +++ b/lib/jms/lib/model/jms-plugin-summary.ts @@ -23,7 +23,9 @@ export interface JmsPluginSummary { */ "id": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA), the Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) + * instance where the JMS plugin is deployed. + * */ "agentId": string; /** @@ -44,7 +46,7 @@ export interface JmsPluginSummary { */ "fleetId"?: string; /** - * The OMA/OCA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ "compartmentId"?: string; diff --git a/lib/jms/lib/model/jms-plugin.ts b/lib/jms/lib/model/jms-plugin.ts index 3faab2d67a..95352f256c 100644 --- a/lib/jms/lib/model/jms-plugin.ts +++ b/lib/jms/lib/model/jms-plugin.ts @@ -24,7 +24,9 @@ export interface JmsPlugin { */ "id": string; /** - * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA) or the Oracle Cloud Agent (OCA) instance where the JMS plugin is deployed. + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent (OMA), the Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) + * instance where the JMS plugin is deployed. + * */ "agentId": string; /** @@ -45,7 +47,7 @@ export interface JmsPlugin { */ "fleetId"?: string; /** - * The OMA/OCA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The OMA/OCA/OCMA agent's compartment [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ "compartmentId"?: string; diff --git a/lib/jms/lib/model/library-application-sort-by.ts b/lib/jms/lib/model/library-application-sort-by.ts new file mode 100644 index 0000000000..9efa71386f --- /dev/null +++ b/lib/jms/lib/model/library-application-sort-by.ts @@ -0,0 +1,36 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort library detection details. + * + **/ +export enum LibraryApplicationSortBy { + ApplicationName = "applicationName", + ManagedInstanceCount = "managedInstanceCount", + LastDetectedDynamically = "lastDetectedDynamically", + FirstSeenInClasspath = "firstSeenInClasspath", + LastSeenInClasspath = "lastSeenInClasspath" +} + +export namespace LibraryApplicationSortBy { + export function getJsonObj(obj: LibraryApplicationSortBy): LibraryApplicationSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: LibraryApplicationSortBy): LibraryApplicationSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/library-application-usage-collection.ts b/lib/jms/lib/model/library-application-usage-collection.ts new file mode 100644 index 0000000000..1cfd82c369 --- /dev/null +++ b/lib/jms/lib/model/library-application-usage-collection.ts @@ -0,0 +1,58 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Contains a list of LibraryApplicationUsageSummaries. + * + */ +export interface LibraryApplicationUsageCollection { + /** + * A list of LibraryApplicationUsageSummaries. + * + */ + "items": Array; +} + +export namespace LibraryApplicationUsageCollection { + export function getJsonObj(obj: LibraryApplicationUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LibraryApplicationUsageSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryApplicationUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LibraryApplicationUsageSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/library-application-usage-summary.ts b/lib/jms/lib/model/library-application-usage-summary.ts new file mode 100644 index 0000000000..a9ca3fb44b --- /dev/null +++ b/lib/jms/lib/model/library-application-usage-summary.ts @@ -0,0 +1,65 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of an application where a given library was detected statically and/or dynamically. Contains the count of managed instances where the library was detected with this application. + * + */ +export interface LibraryApplicationUsageSummary { + /** + * The internal identifier of a Java application. + * + */ + "applicationKey": string; + /** + * The displayed name of the Java application. + * + */ + "applicationName": string; + /** + * The count of managed instances wherein the specified library was detected. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "managedInstanceCount": number; + /** + * The date and time a library or Java package was _last_ detected in a dynamic library scan. + * + */ + "lastDetectedDynamically": Date; + /** + * The timestamp of the first time the specified library was detected in classpath. + * + */ + "firstSeenInClasspath": Date; + /** + * The timestamp of the last time the specified library was detected in classpath. + * + */ + "lastSeenInClasspath": Date; +} + +export namespace LibraryApplicationUsageSummary { + export function getJsonObj(obj: LibraryApplicationUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryApplicationUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/library-inventory.ts b/lib/jms/lib/model/library-inventory.ts new file mode 100644 index 0000000000..b91a634d53 --- /dev/null +++ b/lib/jms/lib/model/library-inventory.ts @@ -0,0 +1,58 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Inventory of libraries in a fleet during a specified time period. + */ +export interface LibraryInventory { + /** + * The count of libraries which are detected statically. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "staticallyDetectedLibraryCount": number; + /** + * The count of libraries which are detected dynamically. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dynamicallyDetectedLibraryCount": number; + /** + * The count of packages which are detected but not correlated to any libraries. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "uncorrelatedPackageCount": number; + /** + * The count of libraries with high severity vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "highSeverityLibraryCount": number; + /** + * The count of libraries with medium severity vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "mediumSeverityLibraryCount": number; + /** + * The count of libraries with low severity vulnerabilities. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "lowSeverityLibraryCount": number; +} + +export namespace LibraryInventory { + export function getJsonObj(obj: LibraryInventory): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryInventory): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/library-managed-instance-sort-by.ts b/lib/jms/lib/model/library-managed-instance-sort-by.ts new file mode 100644 index 0000000000..d68b136af8 --- /dev/null +++ b/lib/jms/lib/model/library-managed-instance-sort-by.ts @@ -0,0 +1,38 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort library detection details. + * + **/ +export enum LibraryManagedInstanceSortBy { + Hostname = "hostname", + ApplicationCount = "applicationCount", + LastDetectedDynamically = "lastDetectedDynamically", + FirstSeenInClasspath = "firstSeenInClasspath", + LastSeenInClasspath = "lastSeenInClasspath" +} + +export namespace LibraryManagedInstanceSortBy { + export function getJsonObj(obj: LibraryManagedInstanceSortBy): LibraryManagedInstanceSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: LibraryManagedInstanceSortBy + ): LibraryManagedInstanceSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/library-managed-instance-usage-collection.ts b/lib/jms/lib/model/library-managed-instance-usage-collection.ts new file mode 100644 index 0000000000..ea2e00dcc6 --- /dev/null +++ b/lib/jms/lib/model/library-managed-instance-usage-collection.ts @@ -0,0 +1,58 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Contains a list of LibraryManagedInstanceUsageSummaries. + * + */ +export interface LibraryManagedInstanceUsageCollection { + /** + * A list of LibraryManagedInstanceUsageSummaries. + * + */ + "items": Array; +} + +export namespace LibraryManagedInstanceUsageCollection { + export function getJsonObj(obj: LibraryManagedInstanceUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LibraryManagedInstanceUsageSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryManagedInstanceUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.LibraryManagedInstanceUsageSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/library-managed-instance-usage-summary.ts b/lib/jms/lib/model/library-managed-instance-usage-summary.ts new file mode 100644 index 0000000000..273fa36d75 --- /dev/null +++ b/lib/jms/lib/model/library-managed-instance-usage-summary.ts @@ -0,0 +1,64 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of a managed instance where a given library was detected statically and/or dynamically. Contains the count of applications where the library was detected. + * + */ +export interface LibraryManagedInstanceUsageSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. + * + */ + "managedInstanceId": string; + /** + * The hostname of the managed instance. + */ + "hostname": string; + /** + * The count of applications where the specified library was detected. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "applicationCount": number; + /** + * The date and time a library or Java package was _last_ detected in a dynamic library scan. + * + */ + "lastDetectedDynamically": Date; + /** + * The timestamp of the first time the specified library was detected in classpath. + * + */ + "firstSeenInClasspath": Date; + /** + * The timestamp of the last time the specified library was detected in classpath. + * + */ + "lastSeenInClasspath": Date; +} + +export namespace LibraryManagedInstanceUsageSummary { + export function getJsonObj(obj: LibraryManagedInstanceUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryManagedInstanceUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/library-sort-by.ts b/lib/jms/lib/model/library-sort-by.ts index ed44438af0..27ea61c3ab 100644 --- a/lib/jms/lib/model/library-sort-by.ts +++ b/lib/jms/lib/model/library-sort-by.ts @@ -27,7 +27,9 @@ export enum LibrarySortBy { LibraryVersion = "libraryVersion", ManagedInstanceCount = "managedInstanceCount", TimeFirstSeen = "timeFirstSeen", - TimeLastSeen = "timeLastSeen" + TimeLastSeen = "timeLastSeen", + HighestVulnerabilityScore = "highestVulnerabilityScore", + ConfidenceLevel = "confidenceLevel" } export namespace LibrarySortBy { diff --git a/lib/jms/lib/model/library-usage.ts b/lib/jms/lib/model/library-usage.ts index 1abd62bd84..22f459425b 100644 --- a/lib/jms/lib/model/library-usage.ts +++ b/lib/jms/lib/model/library-usage.ts @@ -40,15 +40,35 @@ export interface LibraryUsage { */ "libraryVersion"?: string; /** + * Deprecated, use {@code vulnerabilities} instead. * The Common Vulnerabilities and Exposures (CVE) ID. * */ "cveId"?: string; /** - * The Common Vulnerability Scoring System (CVSS) score. + * Deprecated, use {@code highestVulnerabilityScore} instead. + * The Common Vulnerability Scoring System (CVSS) score. If {@code cvssScore} is not available, it will be set to -1.0. It is set to 0.0 when {@code cveId} is null. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "cvssScore"?: number; + /** + * Indicates whether the library was dynamically detected. + * + */ + "isDynamicallyDetected": boolean; + /** + * Highest CVSS score among the all vulnerabilities. If highest CVSS score is not available, it will be set to -1.0. It is set to 0.0 when there is no associated vulnerabilities. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "highestVulnerabilityScore"?: number; + /** + * The list of library vulnerabilities. + */ + "vulnerabilities"?: Array; + /** + * Confidence level of the assessed library's vulnerabilities. + */ + "confidenceLevel"?: model.ConfidenceLevel; /** * The approximate count of applications using the library. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. @@ -94,6 +114,7 @@ export interface LibraryUsage { */ "timeLastSeen"?: Date; /** + * Deprecated. * The date and time of the last CVEs refresh was completed. * */ @@ -102,12 +123,30 @@ export interface LibraryUsage { export namespace LibraryUsage { export function getJsonObj(obj: LibraryUsage): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "vulnerabilities": obj.vulnerabilities + ? obj.vulnerabilities.map(item => { + return model.LibraryVulnerability.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: LibraryUsage): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "vulnerabilities": obj.vulnerabilities + ? obj.vulnerabilities.map(item => { + return model.LibraryVulnerability.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/jms/lib/model/library-vulnerability.ts b/lib/jms/lib/model/library-vulnerability.ts new file mode 100644 index 0000000000..f66cafa482 --- /dev/null +++ b/lib/jms/lib/model/library-vulnerability.ts @@ -0,0 +1,42 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A library vulnerability. + */ +export interface LibraryVulnerability { + /** + * The Vulnerability Key, could be CVE or GitHub Security Advisory or others e.g. GHSA-1234-abcd-5678 or CVE-2019-1234 + */ + "vulnerabilityKey": string; + /** + * The Common Vulnerability Scoring System (CVSS) score. If {@code cvssScore} is not available, it will be set to -1. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "cvssScore": number; +} + +export namespace LibraryVulnerability { + export function getJsonObj(obj: LibraryVulnerability): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: LibraryVulnerability): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/managed-instance-type.ts b/lib/jms/lib/model/managed-instance-type.ts index 6df1e626ce..78a40c7d55 100644 --- a/lib/jms/lib/model/managed-instance-type.ts +++ b/lib/jms/lib/model/managed-instance-type.ts @@ -20,6 +20,7 @@ import common = require("oci-common"); export enum ManagedInstanceType { OracleManagementAgent = "ORACLE_MANAGEMENT_AGENT", OracleCloudAgent = "ORACLE_CLOUD_AGENT", + OracleContainerManagementAgent = "ORACLE_CONTAINER_MANAGEMENT_AGENT", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/jms/lib/model/managed-instance-usage.ts b/lib/jms/lib/model/managed-instance-usage.ts index 9072df3558..faf5bd3b5c 100644 --- a/lib/jms/lib/model/managed-instance-usage.ts +++ b/lib/jms/lib/model/managed-instance-usage.ts @@ -40,8 +40,21 @@ export interface ManagedInstanceUsage { * */ "hostId"?: string; + /** + * Captured IP addresses of the managed instance. + */ + "ipAddresses"?: Array; + /** + * Captured hostnames of the managed instance. + */ + "hostnames"?: Array; + /** + * Captured fully qualify domain names of the managed instance. + */ + "fqdns"?: Array; "operatingSystem"?: model.OperatingSystem; "agent"?: model.Agent; + "clusterDetails"?: model.ClusterDetails; /** * The approximate count of applications reported by this managed instance. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ @@ -96,7 +109,10 @@ export namespace ManagedInstanceUsage { "operatingSystem": obj.operatingSystem ? model.OperatingSystem.getJsonObj(obj.operatingSystem) : undefined, - "agent": obj.agent ? model.Agent.getJsonObj(obj.agent) : undefined + "agent": obj.agent ? model.Agent.getJsonObj(obj.agent) : undefined, + "clusterDetails": obj.clusterDetails + ? model.ClusterDetails.getJsonObj(obj.clusterDetails) + : undefined } }; @@ -109,7 +125,10 @@ export namespace ManagedInstanceUsage { "operatingSystem": obj.operatingSystem ? model.OperatingSystem.getDeserializedJsonObj(obj.operatingSystem) : undefined, - "agent": obj.agent ? model.Agent.getDeserializedJsonObj(obj.agent) : undefined + "agent": obj.agent ? model.Agent.getDeserializedJsonObj(obj.agent) : undefined, + "clusterDetails": obj.clusterDetails + ? model.ClusterDetails.getDeserializedJsonObj(obj.clusterDetails) + : undefined } }; diff --git a/lib/jms/lib/model/operating-system.ts b/lib/jms/lib/model/operating-system.ts index 4b063384d7..6ed347cef1 100644 --- a/lib/jms/lib/model/operating-system.ts +++ b/lib/jms/lib/model/operating-system.ts @@ -43,6 +43,10 @@ export interface OperatingSystem { * Number of instances running the operating system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "managedInstanceCount"?: number; + /** + * Number of containers running the operating system. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "containerCount"?: number; } export namespace OperatingSystem { diff --git a/lib/jms/lib/model/operation-type.ts b/lib/jms/lib/model/operation-type.ts index 1270f70394..d5ed0461b3 100644 --- a/lib/jms/lib/model/operation-type.ts +++ b/lib/jms/lib/model/operation-type.ts @@ -32,6 +32,7 @@ export enum OperationType { DeleteJmsReport = "DELETE_JMS_REPORT", ScanJavaServerUsage = "SCAN_JAVA_SERVER_USAGE", ScanLibraryUsage = "SCAN_LIBRARY_USAGE", + ScanLibraryDynamicUsage = "SCAN_LIBRARY_DYNAMIC_USAGE", ExportDataCsv = "EXPORT_DATA_CSV", CreateDrsFile = "CREATE_DRS_FILE", UpdateDrsFile = "UPDATE_DRS_FILE", diff --git a/lib/jms/lib/model/package-sort-by.ts b/lib/jms/lib/model/package-sort-by.ts new file mode 100644 index 0000000000..9d4705cc38 --- /dev/null +++ b/lib/jms/lib/model/package-sort-by.ts @@ -0,0 +1,35 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort Java packages. + * + **/ +export enum PackageSortBy { + PackageName = "packageName", + ManagedInstanceCount = "managedInstanceCount", + ApplicationCount = "applicationCount", + LastDetectedDynamically = "lastDetectedDynamically" +} + +export namespace PackageSortBy { + export function getJsonObj(obj: PackageSortBy): PackageSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: PackageSortBy): PackageSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/performance-tuning-task-details.ts b/lib/jms/lib/model/performance-tuning-task-details.ts new file mode 100644 index 0000000000..0548a81458 --- /dev/null +++ b/lib/jms/lib/model/performance-tuning-task-details.ts @@ -0,0 +1,63 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with performance tuning related information. + */ +export interface PerformanceTuningTaskDetails extends model.TaskDetails { + "performanceTuningTaskRequest"?: model.RequestPerformanceTuningAnalysesDetails; + + "taskType": string; +} + +export namespace PerformanceTuningTaskDetails { + export function getJsonObj(obj: PerformanceTuningTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getJsonObj(obj) as PerformanceTuningTaskDetails)), + ...{ + "performanceTuningTaskRequest": obj.performanceTuningTaskRequest + ? model.RequestPerformanceTuningAnalysesDetails.getJsonObj( + obj.performanceTuningTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "PERFORMANCE_TUNING"; + export function getDeserializedJsonObj( + obj: PerformanceTuningTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as PerformanceTuningTaskDetails)), + ...{ + "performanceTuningTaskRequest": obj.performanceTuningTaskRequest + ? model.RequestPerformanceTuningAnalysesDetails.getDeserializedJsonObj( + obj.performanceTuningTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/post-installation-actions.ts b/lib/jms/lib/model/post-installation-actions.ts index 9d3492cd54..d3ef2a0cc7 100644 --- a/lib/jms/lib/model/post-installation-actions.ts +++ b/lib/jms/lib/model/post-installation-actions.ts @@ -30,7 +30,13 @@ export enum PostInstallationActions { SetupFtpProxy = "SETUP_FTP_PROXY", SetupSocksProxy = "SETUP_SOCKS_PROXY", AddFileHandler = "ADD_FILE_HANDLER", - LoggingLevel = "LOGGING_LEVEL" + LoggingLevel = "LOGGING_LEVEL", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" } export namespace PostInstallationActions { diff --git a/lib/jms/lib/model/remove-installation-site-task-details.ts b/lib/jms/lib/model/remove-installation-site-task-details.ts new file mode 100644 index 0000000000..01fa67fb60 --- /dev/null +++ b/lib/jms/lib/model/remove-installation-site-task-details.ts @@ -0,0 +1,66 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with removing installation site related information. + */ +export interface RemoveInstallationSiteTaskDetails extends model.TaskDetails { + "removeInstallationSiteTaskRequest"?: model.RemoveFleetInstallationSitesDetails; + + "taskType": string; +} + +export namespace RemoveInstallationSiteTaskDetails { + export function getJsonObj( + obj: RemoveInstallationSiteTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getJsonObj(obj) as RemoveInstallationSiteTaskDetails)), + ...{ + "removeInstallationSiteTaskRequest": obj.removeInstallationSiteTaskRequest + ? model.RemoveFleetInstallationSitesDetails.getJsonObj( + obj.removeInstallationSiteTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "REMOVE_INSTALLATION_SITE"; + export function getDeserializedJsonObj( + obj: RemoveInstallationSiteTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as RemoveInstallationSiteTaskDetails)), + ...{ + "removeInstallationSiteTaskRequest": obj.removeInstallationSiteTaskRequest + ? model.RemoveFleetInstallationSitesDetails.getDeserializedJsonObj( + obj.removeInstallationSiteTaskRequest + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/scan-java-server-task-details.ts b/lib/jms/lib/model/scan-java-server-task-details.ts new file mode 100644 index 0000000000..1cc20038f1 --- /dev/null +++ b/lib/jms/lib/model/scan-java-server-task-details.ts @@ -0,0 +1,57 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with Java server scan related information. + */ +export interface ScanJavaServerTaskDetails extends model.TaskDetails { + "scanJavaServerTaskRequest"?: model.ScanJavaServerUsageDetails; + + "taskType": string; +} + +export namespace ScanJavaServerTaskDetails { + export function getJsonObj(obj: ScanJavaServerTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskDetails.getJsonObj(obj) as ScanJavaServerTaskDetails)), + ...{ + "scanJavaServerTaskRequest": obj.scanJavaServerTaskRequest + ? model.ScanJavaServerUsageDetails.getJsonObj(obj.scanJavaServerTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "SCAN_JAVA_SERVER"; + export function getDeserializedJsonObj( + obj: ScanJavaServerTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as ScanJavaServerTaskDetails)), + ...{ + "scanJavaServerTaskRequest": obj.scanJavaServerTaskRequest + ? model.ScanJavaServerUsageDetails.getDeserializedJsonObj(obj.scanJavaServerTaskRequest) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/scan-library-task-details.ts b/lib/jms/lib/model/scan-library-task-details.ts new file mode 100644 index 0000000000..ba50dfb9e8 --- /dev/null +++ b/lib/jms/lib/model/scan-library-task-details.ts @@ -0,0 +1,57 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The task details with library scan related information. + */ +export interface ScanLibraryTaskDetails extends model.TaskDetails { + "scanLibraryTaskRequest"?: model.ScanLibraryUsageDetails; + + "taskType": string; +} + +export namespace ScanLibraryTaskDetails { + export function getJsonObj(obj: ScanLibraryTaskDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.TaskDetails.getJsonObj(obj) as ScanLibraryTaskDetails)), + ...{ + "scanLibraryTaskRequest": obj.scanLibraryTaskRequest + ? model.ScanLibraryUsageDetails.getJsonObj(obj.scanLibraryTaskRequest) + : undefined + } + }; + + return jsonObj; + } + export const taskType = "SCAN_LIBRARY"; + export function getDeserializedJsonObj( + obj: ScanLibraryTaskDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.TaskDetails.getDeserializedJsonObj(obj) as ScanLibraryTaskDetails)), + ...{ + "scanLibraryTaskRequest": obj.scanLibraryTaskRequest + ? model.ScanLibraryUsageDetails.getDeserializedJsonObj(obj.scanLibraryTaskRequest) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/scan-library-usage-details.ts b/lib/jms/lib/model/scan-library-usage-details.ts index 52a1687431..723e27cff2 100644 --- a/lib/jms/lib/model/scan-library-usage-details.ts +++ b/lib/jms/lib/model/scan-library-usage-details.ts @@ -24,6 +24,16 @@ export interface ScanLibraryUsageDetails { * */ "managedInstanceIds"?: Array; + /** + * Indicates whether the scan is dynamic or static. + * + */ + "isDynamicScan"?: boolean; + /** + * The duration of the dynamic scan in minutes. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "dynamicScanDurationInMinutes"?: number; } export namespace ScanLibraryUsageDetails { diff --git a/lib/jms/lib/model/task-details.ts b/lib/jms/lib/model/task-details.ts new file mode 100644 index 0000000000..6348a0aab1 --- /dev/null +++ b/lib/jms/lib/model/task-details.ts @@ -0,0 +1,134 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The minimum details of a task. + */ +export interface TaskDetails { + "taskType": string; +} + +export namespace TaskDetails { + export function getJsonObj(obj: TaskDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "taskType" in obj && obj.taskType) { + switch (obj.taskType) { + case "DEPLOYED_APPLICATION_MIGRATION": + return model.DeployedApplicationMigrationTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "REMOVE_INSTALLATION_SITE": + return model.RemoveInstallationSiteTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "CRYPTO": + return model.CryptoTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "JAVA_MIGRATION": + return model.JavaMigrationTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "SCAN_LIBRARY": + return model.ScanLibraryTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "PERFORMANCE_TUNING": + return model.PerformanceTuningTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "SCAN_JAVA_SERVER": + return model.ScanJavaServerTaskDetails.getJsonObj( + (jsonObj), + true + ); + case "JFR": + return model.JfrTaskDetails.getJsonObj((jsonObj), true); + case "ADD_INSTALLATION_SITE": + return model.AddInstallationSiteTaskDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.taskType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: TaskDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "taskType" in obj && obj.taskType) { + switch (obj.taskType) { + case "DEPLOYED_APPLICATION_MIGRATION": + return model.DeployedApplicationMigrationTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "REMOVE_INSTALLATION_SITE": + return model.RemoveInstallationSiteTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "CRYPTO": + return model.CryptoTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "JAVA_MIGRATION": + return model.JavaMigrationTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "SCAN_LIBRARY": + return model.ScanLibraryTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PERFORMANCE_TUNING": + return model.PerformanceTuningTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "SCAN_JAVA_SERVER": + return model.ScanJavaServerTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "JFR": + return model.JfrTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "ADD_INSTALLATION_SITE": + return model.AddInstallationSiteTaskDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.taskType}`); + } + } + return jsonObj; + } +} diff --git a/lib/jms/lib/model/task-schedule-collection.ts b/lib/jms/lib/model/task-schedule-collection.ts new file mode 100644 index 0000000000..f4b7a46f30 --- /dev/null +++ b/lib/jms/lib/model/task-schedule-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a task schedule search that contain task schedule records. + */ +export interface TaskScheduleCollection { + /** + * A list of task schedules. + */ + "items": Array; +} + +export namespace TaskScheduleCollection { + export function getJsonObj(obj: TaskScheduleCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TaskScheduleSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TaskScheduleCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TaskScheduleSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/task-schedule-sort-by.ts b/lib/jms/lib/model/task-schedule-sort-by.ts new file mode 100644 index 0000000000..45ff01f634 --- /dev/null +++ b/lib/jms/lib/model/task-schedule-sort-by.ts @@ -0,0 +1,35 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort task schedule records. + **/ +export enum TaskScheduleSortBy { + Name = "name", + LifecycleState = "lifecycleState", + TimeCreated = "timeCreated", + TimeNextRun = "timeNextRun", + TimeLastRun = "timeLastRun" +} + +export namespace TaskScheduleSortBy { + export function getJsonObj(obj: TaskScheduleSortBy): TaskScheduleSortBy { + return obj; + } + export function getDeserializedJsonObj(obj: TaskScheduleSortBy): TaskScheduleSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/task-schedule-summary.ts b/lib/jms/lib/model/task-schedule-summary.ts new file mode 100644 index 0000000000..9ae414d379 --- /dev/null +++ b/lib/jms/lib/model/task-schedule-summary.ts @@ -0,0 +1,98 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A summary of the task schedule properties. + */ +export interface TaskScheduleSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The name of the task schedule. + */ + "name": string; + /** + * The current state of the task schedule. + */ + "lifecycleState": string; + /** + * The name of the task creator. + */ + "createdBy": string; + /** + * Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 + * RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. + * + */ + "executionRecurrences": string; + "taskDetails": + | model.DeployedApplicationMigrationTaskDetails + | model.RemoveInstallationSiteTaskDetails + | model.CryptoTaskDetails + | model.JavaMigrationTaskDetails + | model.ScanLibraryTaskDetails + | model.PerformanceTuningTaskDetails + | model.ScanJavaServerTaskDetails + | model.JfrTaskDetails + | model.AddInstallationSiteTaskDetails; + /** + * The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeCreated": Date; + /** + * The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeLastRun"?: Date; + /** + * The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeNextRun"?: Date; + /** + * The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeLastUpdated": Date; +} + +export namespace TaskScheduleSummary { + export function getJsonObj(obj: TaskScheduleSummary): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails ? model.TaskDetails.getJsonObj(obj.taskDetails) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TaskScheduleSummary): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails + ? model.TaskDetails.getDeserializedJsonObj(obj.taskDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/task-schedule.ts b/lib/jms/lib/model/task-schedule.ts new file mode 100644 index 0000000000..560745352e --- /dev/null +++ b/lib/jms/lib/model/task-schedule.ts @@ -0,0 +1,108 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The properties of a task schedule. + */ +export interface TaskSchedule { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The name of the task schedule. + */ + "name": string; + /** + * All possible status of task schedule. + */ + "lifecycleState": TaskSchedule.LifecycleState; + /** + * Name of the task creator. + */ + "createdBy": string; + /** + * Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 + * RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. + * + */ + "executionRecurrences": string; + "taskDetails": + | model.DeployedApplicationMigrationTaskDetails + | model.RemoveInstallationSiteTaskDetails + | model.CryptoTaskDetails + | model.JavaMigrationTaskDetails + | model.ScanLibraryTaskDetails + | model.PerformanceTuningTaskDetails + | model.ScanJavaServerTaskDetails + | model.JfrTaskDetails + | model.AddInstallationSiteTaskDetails; + /** + * The date and time the task schedule was created (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeCreated": Date; + /** + * The date and time the task schedule ran last (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeLastRun"?: Date; + /** + * The date and time the task schedule will run next (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeNextRun"?: Date; + /** + * The date and time the task schedule was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeLastUpdated": Date; +} + +export namespace TaskSchedule { + export enum LifecycleState { + Active = "ACTIVE", + Inactive = "INACTIVE", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: TaskSchedule): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails ? model.TaskDetails.getJsonObj(obj.taskDetails) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TaskSchedule): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails + ? model.TaskDetails.getDeserializedJsonObj(obj.taskDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-application-sort-by.ts b/lib/jms/lib/model/uncorrelated-package-application-sort-by.ts new file mode 100644 index 0000000000..f7caee84fa --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-application-sort-by.ts @@ -0,0 +1,38 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort package application usage. + * + **/ +export enum UncorrelatedPackageApplicationSortBy { + ApplicationName = "applicationName", + ManagedInstanceCount = "managedInstanceCount", + LastDetectedDynamically = "lastDetectedDynamically" +} + +export namespace UncorrelatedPackageApplicationSortBy { + export function getJsonObj( + obj: UncorrelatedPackageApplicationSortBy + ): UncorrelatedPackageApplicationSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: UncorrelatedPackageApplicationSortBy + ): UncorrelatedPackageApplicationSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-application-usage-collection.ts b/lib/jms/lib/model/uncorrelated-package-application-usage-collection.ts new file mode 100644 index 0000000000..a75aa5949d --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-application-usage-collection.ts @@ -0,0 +1,58 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Collection of UncorrelatedPackageApplicationUsageSummaries. + */ +export interface UncorrelatedPackageApplicationUsageCollection { + /** + * A list of UncorrelatedPackageApplicationUsageSummaries. + */ + "items": Array; +} + +export namespace UncorrelatedPackageApplicationUsageCollection { + export function getJsonObj(obj: UncorrelatedPackageApplicationUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageApplicationUsageSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UncorrelatedPackageApplicationUsageCollection + ): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageApplicationUsageSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-application-usage-summary.ts b/lib/jms/lib/model/uncorrelated-package-application-usage-summary.ts new file mode 100644 index 0000000000..dd9645640d --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-application-usage-summary.ts @@ -0,0 +1,55 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of an application where a given libary was detected. Contains the count of managed instances where the package was detected with this application. + * + */ +export interface UncorrelatedPackageApplicationUsageSummary { + /** + * The internal identifier of a Java application. + * + */ + "applicationKey": string; + /** + * The displayed name of the Java application. + * + */ + "applicationName": string; + /** + * The count of managed instances wherein the specified library was detected. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "managedInstanceCount": number; + /** + * The date and time a library or Java package was _last_ detected in a dynamic library scan. + * + */ + "lastDetectedDynamically": Date; +} + +export namespace UncorrelatedPackageApplicationUsageSummary { + export function getJsonObj(obj: UncorrelatedPackageApplicationUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UncorrelatedPackageApplicationUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-managed-instance-sort-by.ts b/lib/jms/lib/model/uncorrelated-package-managed-instance-sort-by.ts new file mode 100644 index 0000000000..02961d02b4 --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-managed-instance-sort-by.ts @@ -0,0 +1,38 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort package managed instance usage. + * + **/ +export enum UncorrelatedPackageManagedInstanceSortBy { + Hostname = "hostname", + ApplicationCount = "applicationCount", + LastDetectedDynamically = "lastDetectedDynamically" +} + +export namespace UncorrelatedPackageManagedInstanceSortBy { + export function getJsonObj( + obj: UncorrelatedPackageManagedInstanceSortBy + ): UncorrelatedPackageManagedInstanceSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: UncorrelatedPackageManagedInstanceSortBy + ): UncorrelatedPackageManagedInstanceSortBy { + return obj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-collection.ts b/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-collection.ts new file mode 100644 index 0000000000..f18ca0444a --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-collection.ts @@ -0,0 +1,60 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Collection of UncorrelatedPackageManagedInstanceUsageSummaries. + */ +export interface UncorrelatedPackageManagedInstanceUsageCollection { + /** + * A list of UncorrelatedPackageManagedInstanceUsageSummaries. + */ + "items": Array; +} + +export namespace UncorrelatedPackageManagedInstanceUsageCollection { + export function getJsonObj(obj: UncorrelatedPackageManagedInstanceUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageManagedInstanceUsageSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UncorrelatedPackageManagedInstanceUsageCollection + ): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageManagedInstanceUsageSummary.getDeserializedJsonObj( + item + ); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-summary.ts b/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-summary.ts new file mode 100644 index 0000000000..9674e6d060 --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-managed-instance-usage-summary.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of a managed instance where a given uncorrelated package was detected. Contains the count of application where the package was detected with this application. + * + */ +export interface UncorrelatedPackageManagedInstanceUsageSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related managed instance. + * + */ + "managedInstanceId": string; + /** + * The hostname of the managed instance. + */ + "hostname": string; + /** + * The count of applications wherein the specified library was detected. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "applicationCount": number; + /** + * The date and time a library or Java package was _last_ detected in a dynamic library scan. + * + */ + "lastDetectedDynamically": Date; +} + +export namespace UncorrelatedPackageManagedInstanceUsageSummary { + export function getJsonObj(obj: UncorrelatedPackageManagedInstanceUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UncorrelatedPackageManagedInstanceUsageSummary + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-usage-collection.ts b/lib/jms/lib/model/uncorrelated-package-usage-collection.ts new file mode 100644 index 0000000000..534a05c371 --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-usage-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Collection of uncorrelated package summaries. + */ +export interface UncorrelatedPackageUsageCollection { + /** + * A list of uncorrelated package summaries. + */ + "items": Array; +} + +export namespace UncorrelatedPackageUsageCollection { + export function getJsonObj(obj: UncorrelatedPackageUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageUsageSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UncorrelatedPackageUsageCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.UncorrelatedPackageUsageSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/uncorrelated-package-usage-summary.ts b/lib/jms/lib/model/uncorrelated-package-usage-summary.ts new file mode 100644 index 0000000000..697f7b5d4d --- /dev/null +++ b/lib/jms/lib/model/uncorrelated-package-usage-summary.ts @@ -0,0 +1,51 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary of an uncorrelated package. + */ +export interface UncorrelatedPackageUsageSummary { + /** + * The name of the package. + */ + "packageName": string; + /** + * The count of managed instances wherein the specified package was detected. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "managedInstanceCount": number; + /** + * The count of applications wherein the specified package was detected. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "applicationCount": number; + /** + * The date and time a library or Java package was _last_ detected in a dynamic library scan. + * + */ + "lastDetectedDynamically": Date; +} + +export namespace UncorrelatedPackageUsageSummary { + export function getJsonObj(obj: UncorrelatedPackageUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UncorrelatedPackageUsageSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/update-export-setting-details.ts b/lib/jms/lib/model/update-export-setting-details.ts index 320168d130..d4ab24d298 100644 --- a/lib/jms/lib/model/update-export-setting-details.ts +++ b/lib/jms/lib/model/update-export-setting-details.ts @@ -57,16 +57,31 @@ export interface UpdateExportSettingDetails { * ExportSetting flag to store enabled or disabled status. */ "isEnabled": boolean; + "exportDataFilters"?: model.ExportDataFilters; } export namespace UpdateExportSettingDetails { export function getJsonObj(obj: UpdateExportSettingDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "exportDataFilters": obj.exportDataFilters + ? model.ExportDataFilters.getJsonObj(obj.exportDataFilters) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: UpdateExportSettingDetails): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "exportDataFilters": obj.exportDataFilters + ? model.ExportDataFilters.getDeserializedJsonObj(obj.exportDataFilters) + : undefined + } + }; return jsonObj; } diff --git a/lib/jms/lib/model/update-fleet-agent-configuration-details.ts b/lib/jms/lib/model/update-fleet-agent-configuration-details.ts index 75dfba4099..d7682e83b7 100644 --- a/lib/jms/lib/model/update-fleet-agent-configuration-details.ts +++ b/lib/jms/lib/model/update-fleet-agent-configuration-details.ts @@ -48,6 +48,16 @@ export interface UpdateFleetAgentConfigurationDetails { * */ "isCollectingUsernamesEnabled"?: boolean; + /** + * Collect network addresses of managed instances in the fleet. + * + */ + "isCapturingIpAddressAndFqdnEnabled"?: boolean; + /** + * Enable libraries scan on all managed instances in the fleet. + * + */ + "isLibrariesScanEnabled"?: boolean; "linuxConfiguration"?: model.FleetAgentOsConfiguration; "windowsConfiguration"?: model.FleetAgentOsConfiguration; "macOsConfiguration"?: model.FleetAgentOsConfiguration; diff --git a/lib/jms/lib/model/update-task-schedule-details.ts b/lib/jms/lib/model/update-task-schedule-details.ts new file mode 100644 index 0000000000..e7a6fc36fc --- /dev/null +++ b/lib/jms/lib/model/update-task-schedule-details.ts @@ -0,0 +1,66 @@ +/** + * Java Management Service Fleets API + * The APIs for the [Fleet Management](https://docs.oracle.com/en-us/iaas/jms/doc/fleet-management.html) feature of Java Management Service to monitor and manage the usage of Java in your enterprise. Use these APIs to manage fleets, configure managed instances to report to fleets, and gain insights into the Java workloads running on these instances by carrying out basic and advanced features. + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Attributes to update a task schedule. + */ +export interface UpdateTaskScheduleDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * Recurrence specification for the task schedule execution (formatted according to [RFC-5545](https://icalendar.org/RFC-Specifications/iCalendar-RFC-5545/)). To run daily for 10 occurrences starts on September 2, 2024 09:00 EDT, it should be 'DTSTART;TZID=America/New_York:20240902T090000 + * RRULE:FREQ=DAILY;COUNT=10'. To run every 3 hours from 9:00 AM to 5:00 PM on August 5, 2024 EDT, it should be 'DTSTART;TZID=America/New_York:20240805T090000 RRULE:FREQ=HOURLY;INTERVAL=3;UNTIL=20240805T170000Z'. + * + */ + "executionRecurrences": string; + "taskDetails": + | model.DeployedApplicationMigrationTaskDetails + | model.RemoveInstallationSiteTaskDetails + | model.CryptoTaskDetails + | model.JavaMigrationTaskDetails + | model.ScanLibraryTaskDetails + | model.PerformanceTuningTaskDetails + | model.ScanJavaServerTaskDetails + | model.JfrTaskDetails + | model.AddInstallationSiteTaskDetails; +} + +export namespace UpdateTaskScheduleDetails { + export function getJsonObj(obj: UpdateTaskScheduleDetails): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails ? model.TaskDetails.getJsonObj(obj.taskDetails) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateTaskScheduleDetails): object { + const jsonObj = { + ...obj, + ...{ + "taskDetails": obj.taskDetails + ? model.TaskDetails.getDeserializedJsonObj(obj.taskDetails) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jms/lib/model/work-item-details.ts b/lib/jms/lib/model/work-item-details.ts index 55c03851cc..f10f914f61 100644 --- a/lib/jms/lib/model/work-item-details.ts +++ b/lib/jms/lib/model/work-item-details.ts @@ -32,6 +32,11 @@ export namespace WorkItemDetails { if (obj && "kind" in obj && obj.kind) { switch (obj.kind) { + case "JAVA_MIGRATION_DEPLOYED_APPLICATION": + return model.JavaMigrationDeployedApplicationWorkItemDetails.getJsonObj( + (jsonObj), + true + ); case "DEPLOYED_APPLICATION": return model.DeployedApplicationWorkItemDetails.getJsonObj( (jsonObj), @@ -52,6 +57,11 @@ export namespace WorkItemDetails { (jsonObj), true ); + case "JAVA_MIGRATION_APPLICATION": + return model.JavaMigrationApplicationWorkItemDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); } @@ -63,6 +73,11 @@ export namespace WorkItemDetails { if (obj && "kind" in obj && obj.kind) { switch (obj.kind) { + case "JAVA_MIGRATION_DEPLOYED_APPLICATION": + return model.JavaMigrationDeployedApplicationWorkItemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); case "DEPLOYED_APPLICATION": return model.DeployedApplicationWorkItemDetails.getDeserializedJsonObj( (jsonObj), @@ -83,6 +98,11 @@ export namespace WorkItemDetails { (jsonObj), true ); + case "JAVA_MIGRATION_APPLICATION": + return model.JavaMigrationApplicationWorkItemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); } diff --git a/lib/jms/lib/model/work-item-summary.ts b/lib/jms/lib/model/work-item-summary.ts index d433a9451a..33933c53cf 100644 --- a/lib/jms/lib/model/work-item-summary.ts +++ b/lib/jms/lib/model/work-item-summary.ts @@ -28,10 +28,12 @@ export interface WorkItemSummary { "workRequestId": string; "installationSite": model.InstallationSite; "details": + | model.JavaMigrationDeployedApplicationWorkItemDetails | model.DeployedApplicationWorkItemDetails | model.LcmWorkItemDetails | model.BasicWorkItemDetails - | model.ApplicationWorkItemDetails; + | model.ApplicationWorkItemDetails + | model.JavaMigrationApplicationWorkItemDetails; /** * The status of the work item. */ diff --git a/lib/jms/lib/model/work-item-type.ts b/lib/jms/lib/model/work-item-type.ts index e349128e95..1b903444b4 100644 --- a/lib/jms/lib/model/work-item-type.ts +++ b/lib/jms/lib/model/work-item-type.ts @@ -27,6 +27,7 @@ export enum WorkItemType { AdvUsageServerMetadata = "ADV_USAGE_SERVER_METADATA", AdvUsageServerLibraries = "ADV_USAGE_SERVER_LIBRARIES", AdvUsageJavaLibraries = "ADV_USAGE_JAVA_LIBRARIES", + AdvUsageJavaLibrariesDynamic = "ADV_USAGE_JAVA_LIBRARIES_DYNAMIC", PerformanceTuning = "PERFORMANCE_TUNING", JmigrateAnalysis = "JMIGRATE_ANALYSIS", JmigrateCreateReport = "JMIGRATE_CREATE_REPORT", diff --git a/lib/jms/lib/request/create-task-schedule-request.ts b/lib/jms/lib/request/create-task-schedule-request.ts new file mode 100644 index 0000000000..55f3331d37 --- /dev/null +++ b/lib/jms/lib/request/create-task-schedule-request.ts @@ -0,0 +1,38 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/CreateTaskSchedule.ts.html |here} to see how to use CreateTaskScheduleRequest. + */ +export interface CreateTaskScheduleRequest extends common.BaseRequest { + /** + * Details for the new task schedule. + */ + "createTaskScheduleDetails": model.CreateTaskScheduleDetails; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/jms/lib/request/delete-task-schedule-request.ts b/lib/jms/lib/request/delete-task-schedule-request.ts new file mode 100644 index 0000000000..af60e95ec5 --- /dev/null +++ b/lib/jms/lib/request/delete-task-schedule-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/DeleteTaskSchedule.ts.html |here} to see how to use DeleteTaskScheduleRequest. + */ +export interface DeleteTaskScheduleRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "taskScheduleId": string; + /** + * The ID of the Fleet. + */ + "fleetId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * ETag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the ETag you + * provide matches the resource's current ETag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/get-task-schedule-request.ts b/lib/jms/lib/request/get-task-schedule-request.ts new file mode 100644 index 0000000000..46dca71003 --- /dev/null +++ b/lib/jms/lib/request/get-task-schedule-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/GetTaskSchedule.ts.html |here} to see how to use GetTaskScheduleRequest. + */ +export interface GetTaskScheduleRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "taskScheduleId": string; + /** + * The ID of the Fleet. + */ + "fleetId"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/index.ts b/lib/jms/lib/request/index.ts index 76b7425781..16bfde90c6 100644 --- a/lib/jms/lib/request/index.ts +++ b/lib/jms/lib/request/index.ts @@ -25,6 +25,8 @@ import * as CreateFleetRequest from "./create-fleet-request"; export import CreateFleetRequest = CreateFleetRequest.CreateFleetRequest; import * as CreateJmsPluginRequest from "./create-jms-plugin-request"; export import CreateJmsPluginRequest = CreateJmsPluginRequest.CreateJmsPluginRequest; +import * as CreateTaskScheduleRequest from "./create-task-schedule-request"; +export import CreateTaskScheduleRequest = CreateTaskScheduleRequest.CreateTaskScheduleRequest; import * as DeleteBlocklistRequest from "./delete-blocklist-request"; export import DeleteBlocklistRequest = DeleteBlocklistRequest.DeleteBlocklistRequest; import * as DeleteCryptoAnalysisResultRequest from "./delete-crypto-analysis-result-request"; @@ -39,6 +41,8 @@ import * as DeleteJmsPluginRequest from "./delete-jms-plugin-request"; export import DeleteJmsPluginRequest = DeleteJmsPluginRequest.DeleteJmsPluginRequest; import * as DeletePerformanceTuningAnalysisResultRequest from "./delete-performance-tuning-analysis-result-request"; export import DeletePerformanceTuningAnalysisResultRequest = DeletePerformanceTuningAnalysisResultRequest.DeletePerformanceTuningAnalysisResultRequest; +import * as DeleteTaskScheduleRequest from "./delete-task-schedule-request"; +export import DeleteTaskScheduleRequest = DeleteTaskScheduleRequest.DeleteTaskScheduleRequest; import * as DisableDrsRequest from "./disable-drs-request"; export import DisableDrsRequest = DisableDrsRequest.DisableDrsRequest; import * as EnableDrsRequest from "./enable-drs-request"; @@ -73,6 +77,8 @@ import * as GetJmsPluginRequest from "./get-jms-plugin-request"; export import GetJmsPluginRequest = GetJmsPluginRequest.GetJmsPluginRequest; import * as GetPerformanceTuningAnalysisResultRequest from "./get-performance-tuning-analysis-result-request"; export import GetPerformanceTuningAnalysisResultRequest = GetPerformanceTuningAnalysisResultRequest.GetPerformanceTuningAnalysisResultRequest; +import * as GetTaskScheduleRequest from "./get-task-schedule-request"; +export import GetTaskScheduleRequest = GetTaskScheduleRequest.GetTaskScheduleRequest; import * as GetWorkRequestRequest from "./get-work-request-request"; export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; import * as ListAgentInstallersRequest from "./list-agent-installers-request"; @@ -81,6 +87,8 @@ import * as ListAnnouncementsRequest from "./list-announcements-request"; export import ListAnnouncementsRequest = ListAnnouncementsRequest.ListAnnouncementsRequest; import * as ListBlocklistsRequest from "./list-blocklists-request"; export import ListBlocklistsRequest = ListBlocklistsRequest.ListBlocklistsRequest; +import * as ListContainersRequest from "./list-containers-request"; +export import ListContainersRequest = ListContainersRequest.ListContainersRequest; import * as ListCryptoAnalysisResultsRequest from "./list-crypto-analysis-results-request"; export import ListCryptoAnalysisResultsRequest = ListCryptoAnalysisResultsRequest.ListCryptoAnalysisResultsRequest; import * as ListDrsFilesRequest from "./list-drs-files-request"; @@ -103,10 +111,22 @@ import * as ListJmsPluginsRequest from "./list-jms-plugins-request"; export import ListJmsPluginsRequest = ListJmsPluginsRequest.ListJmsPluginsRequest; import * as ListJreUsageRequest from "./list-jre-usage-request"; export import ListJreUsageRequest = ListJreUsageRequest.ListJreUsageRequest; +import * as ListLibraryApplicationUsageRequest from "./list-library-application-usage-request"; +export import ListLibraryApplicationUsageRequest = ListLibraryApplicationUsageRequest.ListLibraryApplicationUsageRequest; +import * as ListLibraryManagedInstanceUsageRequest from "./list-library-managed-instance-usage-request"; +export import ListLibraryManagedInstanceUsageRequest = ListLibraryManagedInstanceUsageRequest.ListLibraryManagedInstanceUsageRequest; import * as ListPerformanceTuningAnalysisResultsRequest from "./list-performance-tuning-analysis-results-request"; export import ListPerformanceTuningAnalysisResultsRequest = ListPerformanceTuningAnalysisResultsRequest.ListPerformanceTuningAnalysisResultsRequest; import * as ListPluginErrorsRequest from "./list-plugin-errors-request"; export import ListPluginErrorsRequest = ListPluginErrorsRequest.ListPluginErrorsRequest; +import * as ListTaskSchedulesRequest from "./list-task-schedules-request"; +export import ListTaskSchedulesRequest = ListTaskSchedulesRequest.ListTaskSchedulesRequest; +import * as ListUncorrelatedPackageApplicationUsageRequest from "./list-uncorrelated-package-application-usage-request"; +export import ListUncorrelatedPackageApplicationUsageRequest = ListUncorrelatedPackageApplicationUsageRequest.ListUncorrelatedPackageApplicationUsageRequest; +import * as ListUncorrelatedPackageManagedInstanceUsageRequest from "./list-uncorrelated-package-managed-instance-usage-request"; +export import ListUncorrelatedPackageManagedInstanceUsageRequest = ListUncorrelatedPackageManagedInstanceUsageRequest.ListUncorrelatedPackageManagedInstanceUsageRequest; +import * as ListUncorrelatedPackageUsageRequest from "./list-uncorrelated-package-usage-request"; +export import ListUncorrelatedPackageUsageRequest = ListUncorrelatedPackageUsageRequest.ListUncorrelatedPackageUsageRequest; import * as ListWorkItemsRequest from "./list-work-items-request"; export import ListWorkItemsRequest = ListWorkItemsRequest.ListWorkItemsRequest; import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; @@ -149,6 +169,8 @@ import * as SummarizeJavaServerUsageRequest from "./summarize-java-server-usage- export import SummarizeJavaServerUsageRequest = SummarizeJavaServerUsageRequest.SummarizeJavaServerUsageRequest; import * as SummarizeJreUsageRequest from "./summarize-jre-usage-request"; export import SummarizeJreUsageRequest = SummarizeJreUsageRequest.SummarizeJreUsageRequest; +import * as SummarizeLibraryInventoryRequest from "./summarize-library-inventory-request"; +export import SummarizeLibraryInventoryRequest = SummarizeLibraryInventoryRequest.SummarizeLibraryInventoryRequest; import * as SummarizeLibraryUsageRequest from "./summarize-library-usage-request"; export import SummarizeLibraryUsageRequest = SummarizeLibraryUsageRequest.SummarizeLibraryUsageRequest; import * as SummarizeManagedInstanceUsageRequest from "./summarize-managed-instance-usage-request"; @@ -169,3 +191,5 @@ import * as UpdateFleetAgentConfigurationRequest from "./update-fleet-agent-conf export import UpdateFleetAgentConfigurationRequest = UpdateFleetAgentConfigurationRequest.UpdateFleetAgentConfigurationRequest; import * as UpdateJmsPluginRequest from "./update-jms-plugin-request"; export import UpdateJmsPluginRequest = UpdateJmsPluginRequest.UpdateJmsPluginRequest; +import * as UpdateTaskScheduleRequest from "./update-task-schedule-request"; +export import UpdateTaskScheduleRequest = UpdateTaskScheduleRequest.UpdateTaskScheduleRequest; diff --git a/lib/jms/lib/request/list-containers-request.ts b/lib/jms/lib/request/list-containers-request.ts new file mode 100644 index 0000000000..bf25867c46 --- /dev/null +++ b/lib/jms/lib/request/list-containers-request.ts @@ -0,0 +1,77 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListContainers.ts.html |here} to see how to use ListContainersRequest. + */ +export interface ListContainersRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The display name. + */ + "displayName"?: string; + /** + * The name of the application. + */ + "applicationName"?: string; + /** + * The version of the related Java Runtime. + */ + "jreVersion"?: string; + /** + * The security status of the Java Runtime. + */ + "jreSecurityStatus"?: model.JreSecurityStatus; + /** + * If specified, only containers with a start time later than or equal to this parameter will be included in the response (formatted according to RFC3339). + */ + "timeStartedGreaterThanOrEqualTo"?: Date; + /** + * If specified, only containers with a start time earlier than or equal to this parameter will be included in the response (formatted according to RFC3339). + */ + "timeStartedLessThanOrEqualTo"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort the containers. Only one sort order can be provided. + * Default order for _displayName_, _namespace_, _podName_, _applicationName_, or _jreVersion_ is **ascending**. + * Default order for _timeStarted_ is **descending**. + * If no value is specified _timeStarted_ is default. + * + */ + "sortBy"?: model.ContainerSortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-jms-plugins-request.ts b/lib/jms/lib/request/list-jms-plugins-request.ts index bea7a44169..edc8ff4955 100644 --- a/lib/jms/lib/request/list-jms-plugins-request.ts +++ b/lib/jms/lib/request/list-jms-plugins-request.ts @@ -37,7 +37,9 @@ export interface ListJmsPluginsRequest extends common.BaseRequest { */ "fleetId"?: string; /** - * The ManagementAgent (OMA) or Instance (OCA) [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that identifies the Agent. + * The ManagementAgent (OMA), Oracle Cloud Agent (OCA), or the Oracle Container Management Agent (OCMA) [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) + * that identifies the Agent. + * */ "agentId"?: string; /** diff --git a/lib/jms/lib/request/list-library-application-usage-request.ts b/lib/jms/lib/request/list-library-application-usage-request.ts new file mode 100644 index 0000000000..8ffe51d568 --- /dev/null +++ b/lib/jms/lib/request/list-library-application-usage-request.ts @@ -0,0 +1,76 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryApplicationUsage.ts.html |here} to see how to use ListLibraryApplicationUsageRequest. + */ +export interface ListLibraryApplicationUsageRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The unique identifier of a Java library. + */ + "libraryKey": string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The name of the application. + */ + "applicationName"?: string; + /** + * Filter the list with application name contains the given value. + * + */ + "applicationNameContains"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The field to sort library application usage summaries. Only one sort order may be provided. + * If no value is specified _lastSeenInClasspath_ is default. + * + */ + "sortBy"?: model.LibraryApplicationSortBy; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-library-managed-instance-usage-request.ts b/lib/jms/lib/request/list-library-managed-instance-usage-request.ts new file mode 100644 index 0000000000..16feeac8bf --- /dev/null +++ b/lib/jms/lib/request/list-library-managed-instance-usage-request.ts @@ -0,0 +1,76 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListLibraryManagedInstanceUsage.ts.html |here} to see how to use ListLibraryManagedInstanceUsageRequest. + */ +export interface ListLibraryManagedInstanceUsageRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The unique identifier of a Java library. + */ + "libraryKey": string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The host [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. + */ + "hostName"?: string; + /** + * Filter the list with hostname contains the given value. + * + */ + "hostnameContains"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The field to sort library application usage summaries. Only one sort order may be provided. + * If no value is specified _lastSeenInClasspath_ is default. + * + */ + "sortBy"?: model.LibraryManagedInstanceSortBy; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-task-schedules-request.ts b/lib/jms/lib/request/list-task-schedules-request.ts new file mode 100644 index 0000000000..90831e479e --- /dev/null +++ b/lib/jms/lib/request/list-task-schedules-request.ts @@ -0,0 +1,65 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListTaskSchedules.ts.html |here} to see how to use ListTaskSchedulesRequest. + */ +export interface ListTaskSchedulesRequest extends common.BaseRequest { + /** + * The ID of the Fleet. + */ + "fleetId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "id"?: string; + /** + * The Fleet-unique identifier of the related managed instance. + */ + "managedInstanceId"?: string; + /** + * The task name. + */ + "name"?: string; + /** + * Filter the list with task schedule name contains the given value. + * + */ + "taskScheduleNameContains"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field used to sort task schedule records. Only one sort order may be provided. + * Default order for _timeCreated_ is **ascending**. + * If no value is specified, _timeCreated_ is default. + * + */ + "sortBy"?: model.TaskScheduleSortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-uncorrelated-package-application-usage-request.ts b/lib/jms/lib/request/list-uncorrelated-package-application-usage-request.ts new file mode 100644 index 0000000000..1b825d3734 --- /dev/null +++ b/lib/jms/lib/request/list-uncorrelated-package-application-usage-request.ts @@ -0,0 +1,67 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageApplicationUsage.ts.html |here} to see how to use ListUncorrelatedPackageApplicationUsageRequest. + */ +export interface ListUncorrelatedPackageApplicationUsageRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The unique identifier of a Java package. + */ + "packageName": string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The field to sort detection events. Only one sort order may be provided. + * If no value is specified _dynamicallyLastDetected_ is default. + * + */ + "sortBy"?: model.UncorrelatedPackageApplicationSortBy; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-uncorrelated-package-managed-instance-usage-request.ts b/lib/jms/lib/request/list-uncorrelated-package-managed-instance-usage-request.ts new file mode 100644 index 0000000000..94e138144a --- /dev/null +++ b/lib/jms/lib/request/list-uncorrelated-package-managed-instance-usage-request.ts @@ -0,0 +1,67 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageManagedInstanceUsage.ts.html |here} to see how to use ListUncorrelatedPackageManagedInstanceUsageRequest. + */ +export interface ListUncorrelatedPackageManagedInstanceUsageRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The unique identifier of a Java package. + */ + "packageName": string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The field to sort detection events. Only one sort order may be provided. + * If no value is specified _dynamicallyLastDetected_ is default. + * + */ + "sortBy"?: model.UncorrelatedPackageManagedInstanceSortBy; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/list-uncorrelated-package-usage-request.ts b/lib/jms/lib/request/list-uncorrelated-package-usage-request.ts new file mode 100644 index 0000000000..4150c4c55e --- /dev/null +++ b/lib/jms/lib/request/list-uncorrelated-package-usage-request.ts @@ -0,0 +1,67 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/ListUncorrelatedPackageUsage.ts.html |here} to see how to use ListUncorrelatedPackageUsageRequest. + */ +export interface ListUncorrelatedPackageUsageRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The unique identifier of a Java package. + */ + "packageName"?: string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order, either 'asc' or 'desc'. + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort Java packages. Only one sort order may be provided. + * If no value is specified _timeLastSeen_ is default. + * + */ + "sortBy"?: model.PackageSortBy; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/summarize-library-inventory-request.ts b/lib/jms/lib/request/summarize-library-inventory-request.ts new file mode 100644 index 0000000000..c518036c40 --- /dev/null +++ b/lib/jms/lib/request/summarize-library-inventory-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/SummarizeLibraryInventory.ts.html |here} to see how to use SummarizeLibraryInventoryRequest. + */ +export interface SummarizeLibraryInventoryRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet. + */ + "fleetId": string; + /** + * The Fleet-unique identifier of the managed instance. + */ + "managedInstanceId"?: string; + /** + * The Fleet-unique identifier of the application. + */ + "applicationId"?: string; + /** + * The start of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeStart"?: Date; + /** + * The end of the time period during which resources are searched (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + */ + "timeEnd"?: Date; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; +} diff --git a/lib/jms/lib/request/update-task-schedule-request.ts b/lib/jms/lib/request/update-task-schedule-request.ts new file mode 100644 index 0000000000..fd05b3b1d3 --- /dev/null +++ b/lib/jms/lib/request/update-task-schedule-request.ts @@ -0,0 +1,51 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jms/UpdateTaskSchedule.ts.html |here} to see how to use UpdateTaskScheduleRequest. + */ +export interface UpdateTaskScheduleRequest extends common.BaseRequest { + /** + * Update task schedule details for a given task. + */ + "updateTaskScheduleDetails": model.UpdateTaskScheduleDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to identify this task schedule. + */ + "taskScheduleId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call + * for a resource, set the {@code if-match} parameter to the value of the + * ETag from a previous GET or POST response for that resource. + * The resource will be updated or deleted only if the ETag you + * provide matches the resource's current ETag value. + * + */ + "ifMatch"?: string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of executing that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and purged from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/jms/lib/response/create-task-schedule-response.ts b/lib/jms/lib/response/create-task-schedule-response.ts new file mode 100644 index 0000000000..f3d7534ff6 --- /dev/null +++ b/lib/jms/lib/response/create-task-schedule-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateTaskScheduleResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.TaskSchedule instance. + */ + "taskSchedule": model.TaskSchedule; +} diff --git a/lib/jms/lib/response/delete-task-schedule-response.ts b/lib/jms/lib/response/delete-task-schedule-response.ts new file mode 100644 index 0000000000..9fd6d9a67b --- /dev/null +++ b/lib/jms/lib/response/delete-task-schedule-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteTaskScheduleResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jms/lib/response/get-task-schedule-response.ts b/lib/jms/lib/response/get-task-schedule-response.ts new file mode 100644 index 0000000000..52342f3638 --- /dev/null +++ b/lib/jms/lib/response/get-task-schedule-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetTaskScheduleResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.TaskSchedule instance. + */ + "taskSchedule": model.TaskSchedule; +} diff --git a/lib/jms/lib/response/index.ts b/lib/jms/lib/response/index.ts index d4f2f7abc8..7b38439452 100644 --- a/lib/jms/lib/response/index.ts +++ b/lib/jms/lib/response/index.ts @@ -25,6 +25,8 @@ import * as CreateFleetResponse from "./create-fleet-response"; export import CreateFleetResponse = CreateFleetResponse.CreateFleetResponse; import * as CreateJmsPluginResponse from "./create-jms-plugin-response"; export import CreateJmsPluginResponse = CreateJmsPluginResponse.CreateJmsPluginResponse; +import * as CreateTaskScheduleResponse from "./create-task-schedule-response"; +export import CreateTaskScheduleResponse = CreateTaskScheduleResponse.CreateTaskScheduleResponse; import * as DeleteBlocklistResponse from "./delete-blocklist-response"; export import DeleteBlocklistResponse = DeleteBlocklistResponse.DeleteBlocklistResponse; import * as DeleteCryptoAnalysisResultResponse from "./delete-crypto-analysis-result-response"; @@ -39,6 +41,8 @@ import * as DeleteJmsPluginResponse from "./delete-jms-plugin-response"; export import DeleteJmsPluginResponse = DeleteJmsPluginResponse.DeleteJmsPluginResponse; import * as DeletePerformanceTuningAnalysisResultResponse from "./delete-performance-tuning-analysis-result-response"; export import DeletePerformanceTuningAnalysisResultResponse = DeletePerformanceTuningAnalysisResultResponse.DeletePerformanceTuningAnalysisResultResponse; +import * as DeleteTaskScheduleResponse from "./delete-task-schedule-response"; +export import DeleteTaskScheduleResponse = DeleteTaskScheduleResponse.DeleteTaskScheduleResponse; import * as DisableDrsResponse from "./disable-drs-response"; export import DisableDrsResponse = DisableDrsResponse.DisableDrsResponse; import * as EnableDrsResponse from "./enable-drs-response"; @@ -73,6 +77,8 @@ import * as GetJmsPluginResponse from "./get-jms-plugin-response"; export import GetJmsPluginResponse = GetJmsPluginResponse.GetJmsPluginResponse; import * as GetPerformanceTuningAnalysisResultResponse from "./get-performance-tuning-analysis-result-response"; export import GetPerformanceTuningAnalysisResultResponse = GetPerformanceTuningAnalysisResultResponse.GetPerformanceTuningAnalysisResultResponse; +import * as GetTaskScheduleResponse from "./get-task-schedule-response"; +export import GetTaskScheduleResponse = GetTaskScheduleResponse.GetTaskScheduleResponse; import * as GetWorkRequestResponse from "./get-work-request-response"; export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; import * as ListAgentInstallersResponse from "./list-agent-installers-response"; @@ -81,6 +87,8 @@ import * as ListAnnouncementsResponse from "./list-announcements-response"; export import ListAnnouncementsResponse = ListAnnouncementsResponse.ListAnnouncementsResponse; import * as ListBlocklistsResponse from "./list-blocklists-response"; export import ListBlocklistsResponse = ListBlocklistsResponse.ListBlocklistsResponse; +import * as ListContainersResponse from "./list-containers-response"; +export import ListContainersResponse = ListContainersResponse.ListContainersResponse; import * as ListCryptoAnalysisResultsResponse from "./list-crypto-analysis-results-response"; export import ListCryptoAnalysisResultsResponse = ListCryptoAnalysisResultsResponse.ListCryptoAnalysisResultsResponse; import * as ListDrsFilesResponse from "./list-drs-files-response"; @@ -103,10 +111,22 @@ import * as ListJmsPluginsResponse from "./list-jms-plugins-response"; export import ListJmsPluginsResponse = ListJmsPluginsResponse.ListJmsPluginsResponse; import * as ListJreUsageResponse from "./list-jre-usage-response"; export import ListJreUsageResponse = ListJreUsageResponse.ListJreUsageResponse; +import * as ListLibraryApplicationUsageResponse from "./list-library-application-usage-response"; +export import ListLibraryApplicationUsageResponse = ListLibraryApplicationUsageResponse.ListLibraryApplicationUsageResponse; +import * as ListLibraryManagedInstanceUsageResponse from "./list-library-managed-instance-usage-response"; +export import ListLibraryManagedInstanceUsageResponse = ListLibraryManagedInstanceUsageResponse.ListLibraryManagedInstanceUsageResponse; import * as ListPerformanceTuningAnalysisResultsResponse from "./list-performance-tuning-analysis-results-response"; export import ListPerformanceTuningAnalysisResultsResponse = ListPerformanceTuningAnalysisResultsResponse.ListPerformanceTuningAnalysisResultsResponse; import * as ListPluginErrorsResponse from "./list-plugin-errors-response"; export import ListPluginErrorsResponse = ListPluginErrorsResponse.ListPluginErrorsResponse; +import * as ListTaskSchedulesResponse from "./list-task-schedules-response"; +export import ListTaskSchedulesResponse = ListTaskSchedulesResponse.ListTaskSchedulesResponse; +import * as ListUncorrelatedPackageApplicationUsageResponse from "./list-uncorrelated-package-application-usage-response"; +export import ListUncorrelatedPackageApplicationUsageResponse = ListUncorrelatedPackageApplicationUsageResponse.ListUncorrelatedPackageApplicationUsageResponse; +import * as ListUncorrelatedPackageManagedInstanceUsageResponse from "./list-uncorrelated-package-managed-instance-usage-response"; +export import ListUncorrelatedPackageManagedInstanceUsageResponse = ListUncorrelatedPackageManagedInstanceUsageResponse.ListUncorrelatedPackageManagedInstanceUsageResponse; +import * as ListUncorrelatedPackageUsageResponse from "./list-uncorrelated-package-usage-response"; +export import ListUncorrelatedPackageUsageResponse = ListUncorrelatedPackageUsageResponse.ListUncorrelatedPackageUsageResponse; import * as ListWorkItemsResponse from "./list-work-items-response"; export import ListWorkItemsResponse = ListWorkItemsResponse.ListWorkItemsResponse; import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; @@ -149,6 +169,8 @@ import * as SummarizeJavaServerUsageResponse from "./summarize-java-server-usage export import SummarizeJavaServerUsageResponse = SummarizeJavaServerUsageResponse.SummarizeJavaServerUsageResponse; import * as SummarizeJreUsageResponse from "./summarize-jre-usage-response"; export import SummarizeJreUsageResponse = SummarizeJreUsageResponse.SummarizeJreUsageResponse; +import * as SummarizeLibraryInventoryResponse from "./summarize-library-inventory-response"; +export import SummarizeLibraryInventoryResponse = SummarizeLibraryInventoryResponse.SummarizeLibraryInventoryResponse; import * as SummarizeLibraryUsageResponse from "./summarize-library-usage-response"; export import SummarizeLibraryUsageResponse = SummarizeLibraryUsageResponse.SummarizeLibraryUsageResponse; import * as SummarizeManagedInstanceUsageResponse from "./summarize-managed-instance-usage-response"; @@ -169,3 +191,5 @@ import * as UpdateFleetAgentConfigurationResponse from "./update-fleet-agent-con export import UpdateFleetAgentConfigurationResponse = UpdateFleetAgentConfigurationResponse.UpdateFleetAgentConfigurationResponse; import * as UpdateJmsPluginResponse from "./update-jms-plugin-response"; export import UpdateJmsPluginResponse = UpdateJmsPluginResponse.UpdateJmsPluginResponse; +import * as UpdateTaskScheduleResponse from "./update-task-schedule-response"; +export import UpdateTaskScheduleResponse = UpdateTaskScheduleResponse.UpdateTaskScheduleResponse; diff --git a/lib/jms/lib/response/list-containers-response.ts b/lib/jms/lib/response/list-containers-response.ts new file mode 100644 index 0000000000..0703c51bc4 --- /dev/null +++ b/lib/jms/lib/response/list-containers-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListContainersResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.ContainerCollection instance. + */ + "containerCollection": model.ContainerCollection; +} diff --git a/lib/jms/lib/response/list-library-application-usage-response.ts b/lib/jms/lib/response/list-library-application-usage-response.ts new file mode 100644 index 0000000000..f616980328 --- /dev/null +++ b/lib/jms/lib/response/list-library-application-usage-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListLibraryApplicationUsageResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.LibraryApplicationUsageCollection instance. + */ + "libraryApplicationUsageCollection": model.LibraryApplicationUsageCollection; +} diff --git a/lib/jms/lib/response/list-library-managed-instance-usage-response.ts b/lib/jms/lib/response/list-library-managed-instance-usage-response.ts new file mode 100644 index 0000000000..b1291a97d2 --- /dev/null +++ b/lib/jms/lib/response/list-library-managed-instance-usage-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListLibraryManagedInstanceUsageResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.LibraryManagedInstanceUsageCollection instance. + */ + "libraryManagedInstanceUsageCollection": model.LibraryManagedInstanceUsageCollection; +} diff --git a/lib/jms/lib/response/list-task-schedules-response.ts b/lib/jms/lib/response/list-task-schedules-response.ts new file mode 100644 index 0000000000..967d11d043 --- /dev/null +++ b/lib/jms/lib/response/list-task-schedules-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListTaskSchedulesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.TaskScheduleCollection instance. + */ + "taskScheduleCollection": model.TaskScheduleCollection; +} diff --git a/lib/jms/lib/response/list-uncorrelated-package-application-usage-response.ts b/lib/jms/lib/response/list-uncorrelated-package-application-usage-response.ts new file mode 100644 index 0000000000..7fe09589ef --- /dev/null +++ b/lib/jms/lib/response/list-uncorrelated-package-application-usage-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListUncorrelatedPackageApplicationUsageResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.UncorrelatedPackageApplicationUsageCollection instance. + */ + "uncorrelatedPackageApplicationUsageCollection": model.UncorrelatedPackageApplicationUsageCollection; +} diff --git a/lib/jms/lib/response/list-uncorrelated-package-managed-instance-usage-response.ts b/lib/jms/lib/response/list-uncorrelated-package-managed-instance-usage-response.ts new file mode 100644 index 0000000000..3e7f9e6670 --- /dev/null +++ b/lib/jms/lib/response/list-uncorrelated-package-managed-instance-usage-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListUncorrelatedPackageManagedInstanceUsageResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.UncorrelatedPackageManagedInstanceUsageCollection instance. + */ + "uncorrelatedPackageManagedInstanceUsageCollection": model.UncorrelatedPackageManagedInstanceUsageCollection; +} diff --git a/lib/jms/lib/response/list-uncorrelated-package-usage-response.ts b/lib/jms/lib/response/list-uncorrelated-package-usage-response.ts new file mode 100644 index 0000000000..75480b6c05 --- /dev/null +++ b/lib/jms/lib/response/list-uncorrelated-package-usage-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListUncorrelatedPackageUsageResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.UncorrelatedPackageUsageCollection instance. + */ + "uncorrelatedPackageUsageCollection": model.UncorrelatedPackageUsageCollection; +} diff --git a/lib/jms/lib/response/summarize-library-inventory-response.ts b/lib/jms/lib/response/summarize-library-inventory-response.ts new file mode 100644 index 0000000000..cd2ec4e81f --- /dev/null +++ b/lib/jms/lib/response/summarize-library-inventory-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface SummarizeLibraryInventoryResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination, when this header appears in the response, additional pages of results remain. + * Include this value as the {@code 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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.LibraryInventory instance. + */ + "libraryInventory": model.LibraryInventory; +} diff --git a/lib/jms/lib/response/update-task-schedule-response.ts b/lib/jms/lib/response/update-task-schedule-response.ts new file mode 100644 index 0000000000..3d5d8c64b7 --- /dev/null +++ b/lib/jms/lib/response/update-task-schedule-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20210610 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateTaskScheduleResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.TaskSchedule instance. + */ + "taskSchedule": model.TaskSchedule; +} diff --git a/lib/jms/package.json b/lib/jms/package.json index b02d80e6f3..e1c99dbcc3 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/index.ts b/lib/jmsjavadownloads/index.ts index 10ecbada11..3e49e69cf0 100644 --- a/lib/jmsjavadownloads/index.ts +++ b/lib/jmsjavadownloads/index.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/client.ts b/lib/jmsjavadownloads/lib/client.ts index d2f96414a5..99b10b5b04 100644 --- a/lib/jmsjavadownloads/lib/client.ts +++ b/lib/jmsjavadownloads/lib/client.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/javadownload-waiter.ts b/lib/jmsjavadownloads/lib/javadownload-waiter.ts index 4699ede35a..e4c2a927ea 100644 --- a/lib/jmsjavadownloads/lib/javadownload-waiter.ts +++ b/lib/jmsjavadownloads/lib/javadownload-waiter.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/action-type.ts b/lib/jmsjavadownloads/lib/model/action-type.ts index 2fd9409c69..2038aaf607 100644 --- a/lib/jmsjavadownloads/lib/model/action-type.ts +++ b/lib/jmsjavadownloads/lib/model/action-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/aggregation-sort-by.ts b/lib/jmsjavadownloads/lib/model/aggregation-sort-by.ts index 6084f41ad2..d864fbcb74 100644 --- a/lib/jmsjavadownloads/lib/model/aggregation-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/aggregation-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/checksum-type.ts b/lib/jmsjavadownloads/lib/model/checksum-type.ts index 7ffb6dd93e..7b4aa0400d 100644 --- a/lib/jmsjavadownloads/lib/model/checksum-type.ts +++ b/lib/jmsjavadownloads/lib/model/checksum-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/create-java-download-report-details.ts b/lib/jmsjavadownloads/lib/model/create-java-download-report-details.ts index 8694d7d25a..26dd749a44 100644 --- a/lib/jmsjavadownloads/lib/model/create-java-download-report-details.ts +++ b/lib/jmsjavadownloads/lib/model/create-java-download-report-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/create-java-download-token-details.ts b/lib/jmsjavadownloads/lib/model/create-java-download-token-details.ts index 306b651fd4..683f88d59d 100644 --- a/lib/jmsjavadownloads/lib/model/create-java-download-token-details.ts +++ b/lib/jmsjavadownloads/lib/model/create-java-download-token-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/create-java-license-acceptance-record-details.ts b/lib/jmsjavadownloads/lib/model/create-java-license-acceptance-record-details.ts index d038f40c98..538353abef 100644 --- a/lib/jmsjavadownloads/lib/model/create-java-license-acceptance-record-details.ts +++ b/lib/jmsjavadownloads/lib/model/create-java-license-acceptance-record-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/download-url-type.ts b/lib/jmsjavadownloads/lib/model/download-url-type.ts index decf6b23c1..6af98bfd62 100644 --- a/lib/jmsjavadownloads/lib/model/download-url-type.ts +++ b/lib/jmsjavadownloads/lib/model/download-url-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/download-url.ts b/lib/jmsjavadownloads/lib/model/download-url.ts index df9e4d1a6a..50a9f9d729 100644 --- a/lib/jmsjavadownloads/lib/model/download-url.ts +++ b/lib/jmsjavadownloads/lib/model/download-url.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/generate-artifact-download-url-details.ts b/lib/jmsjavadownloads/lib/model/generate-artifact-download-url-details.ts index 8ec40f9b03..1c58177c9b 100644 --- a/lib/jmsjavadownloads/lib/model/generate-artifact-download-url-details.ts +++ b/lib/jmsjavadownloads/lib/model/generate-artifact-download-url-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/index.ts b/lib/jmsjavadownloads/lib/model/index.ts index a85355c368..be8b9aaade 100644 --- a/lib/jmsjavadownloads/lib/model/index.ts +++ b/lib/jmsjavadownloads/lib/model/index.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-collection.ts b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-collection.ts index 4c3d6b0bd5..4e8d0e90f9 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-type.ts b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-type.ts index c0eb80fdcf..2afae3d57b 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-type.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation.ts b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation.ts index 743f565fe1..7e170f4170 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-count-aggregation.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-count-aggregation.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-record-collection.ts b/lib/jmsjavadownloads/lib/model/java-download-record-collection.ts index 537660b8f9..a72637a782 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-record-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-record-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-record-sort-by.ts b/lib/jmsjavadownloads/lib/model/java-download-record-sort-by.ts index 518ec27942..c96ce381c2 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-record-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-record-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-record-summary.ts b/lib/jmsjavadownloads/lib/model/java-download-record-summary.ts index c7fa664966..e10443cffe 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-record-summary.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-record-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-record.ts b/lib/jmsjavadownloads/lib/model/java-download-record.ts index 54fcfa4e12..c52f380ef0 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-record.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-record.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-report-collection.ts b/lib/jmsjavadownloads/lib/model/java-download-report-collection.ts index 50f084adf6..8816635b53 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-report-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-report-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-report-format.ts b/lib/jmsjavadownloads/lib/model/java-download-report-format.ts index ceb7aca257..57fbd24d2b 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-report-format.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-report-format.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-report-sort-by.ts b/lib/jmsjavadownloads/lib/model/java-download-report-sort-by.ts index 120535bb9b..c2170e7445 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-report-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-report-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-report-summary.ts b/lib/jmsjavadownloads/lib/model/java-download-report-summary.ts index 4e9e3af68c..c19fed99d7 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-report-summary.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-report-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-report.ts b/lib/jmsjavadownloads/lib/model/java-download-report.ts index 7082deef58..cd25a0a8df 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-report.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-report.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-token-collection.ts b/lib/jmsjavadownloads/lib/model/java-download-token-collection.ts index f7a77661a0..e45c14b7a3 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-token-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-token-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-token-summary.ts b/lib/jmsjavadownloads/lib/model/java-download-token-summary.ts index 87287d946d..4c86c905e3 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-token-summary.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-token-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-download-token.ts b/lib/jmsjavadownloads/lib/model/java-download-token.ts index 5f3592cc35..bcb07ecb86 100644 --- a/lib/jmsjavadownloads/lib/model/java-download-token.ts +++ b/lib/jmsjavadownloads/lib/model/java-download-token.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-collection.ts b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-collection.ts index 967420be6e..376b040945 100644 --- a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-summary.ts b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-summary.ts index 40f72b36ca..dc151a8bbb 100644 --- a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-summary.ts +++ b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record.ts b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record.ts index 53197bb478..a65da6be5d 100644 --- a/lib/jmsjavadownloads/lib/model/java-license-acceptance-record.ts +++ b/lib/jmsjavadownloads/lib/model/java-license-acceptance-record.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license-collection.ts b/lib/jmsjavadownloads/lib/model/java-license-collection.ts index 02def302d0..3806e964f3 100644 --- a/lib/jmsjavadownloads/lib/model/java-license-collection.ts +++ b/lib/jmsjavadownloads/lib/model/java-license-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license-summary.ts b/lib/jmsjavadownloads/lib/model/java-license-summary.ts index 29042212a9..9f30c84091 100644 --- a/lib/jmsjavadownloads/lib/model/java-license-summary.ts +++ b/lib/jmsjavadownloads/lib/model/java-license-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/java-license.ts b/lib/jmsjavadownloads/lib/model/java-license.ts index 4f1b07b20b..263369946d 100644 --- a/lib/jmsjavadownloads/lib/model/java-license.ts +++ b/lib/jmsjavadownloads/lib/model/java-license.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/license-acceptance-sort-by.ts b/lib/jmsjavadownloads/lib/model/license-acceptance-sort-by.ts index 6dd14a7280..c99dbe7ea2 100644 --- a/lib/jmsjavadownloads/lib/model/license-acceptance-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/license-acceptance-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/license-acceptance-status.ts b/lib/jmsjavadownloads/lib/model/license-acceptance-status.ts index 3bdee456c1..37749fb780 100644 --- a/lib/jmsjavadownloads/lib/model/license-acceptance-status.ts +++ b/lib/jmsjavadownloads/lib/model/license-acceptance-status.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/license-sort-by.ts b/lib/jmsjavadownloads/lib/model/license-sort-by.ts index bb560d4d56..ca0299b030 100644 --- a/lib/jmsjavadownloads/lib/model/license-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/license-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/license-type.ts b/lib/jmsjavadownloads/lib/model/license-type.ts index cd7ea2b798..6a0bc0ade7 100644 --- a/lib/jmsjavadownloads/lib/model/license-type.ts +++ b/lib/jmsjavadownloads/lib/model/license-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * @@ -20,6 +20,7 @@ import common = require("oci-common"); export enum LicenseType { Otn = "OTN", Nftc = "NFTC", + Bcl = "BCL", Restricted = "RESTRICTED", /** diff --git a/lib/jmsjavadownloads/lib/model/lifecycle-state.ts b/lib/jmsjavadownloads/lib/model/lifecycle-state.ts index b8fd2f82f5..11b138f4e2 100644 --- a/lib/jmsjavadownloads/lib/model/lifecycle-state.ts +++ b/lib/jmsjavadownloads/lib/model/lifecycle-state.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/operation-status.ts b/lib/jmsjavadownloads/lib/model/operation-status.ts index 1e63af378c..99c4b10efb 100644 --- a/lib/jmsjavadownloads/lib/model/operation-status.ts +++ b/lib/jmsjavadownloads/lib/model/operation-status.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/operation-type.ts b/lib/jmsjavadownloads/lib/model/operation-type.ts index 66608d335b..0f0f59449e 100644 --- a/lib/jmsjavadownloads/lib/model/operation-type.ts +++ b/lib/jmsjavadownloads/lib/model/operation-type.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/principal.ts b/lib/jmsjavadownloads/lib/model/principal.ts index 8665e332e4..36ecdf5ba4 100644 --- a/lib/jmsjavadownloads/lib/model/principal.ts +++ b/lib/jmsjavadownloads/lib/model/principal.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/request-summarized-java-download-counts-details.ts b/lib/jmsjavadownloads/lib/model/request-summarized-java-download-counts-details.ts index cc5c69b81e..7447f16953 100644 --- a/lib/jmsjavadownloads/lib/model/request-summarized-java-download-counts-details.ts +++ b/lib/jmsjavadownloads/lib/model/request-summarized-java-download-counts-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/sort-order.ts b/lib/jmsjavadownloads/lib/model/sort-order.ts index 4269a863ff..a080105ff1 100644 --- a/lib/jmsjavadownloads/lib/model/sort-order.ts +++ b/lib/jmsjavadownloads/lib/model/sort-order.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/token-lifecycle-details.ts b/lib/jmsjavadownloads/lib/model/token-lifecycle-details.ts index 1e7eb6401d..28f10bfcc2 100644 --- a/lib/jmsjavadownloads/lib/model/token-lifecycle-details.ts +++ b/lib/jmsjavadownloads/lib/model/token-lifecycle-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/token-sort-by.ts b/lib/jmsjavadownloads/lib/model/token-sort-by.ts index d4354deb44..a4fe623109 100644 --- a/lib/jmsjavadownloads/lib/model/token-sort-by.ts +++ b/lib/jmsjavadownloads/lib/model/token-sort-by.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/update-java-download-token-details.ts b/lib/jmsjavadownloads/lib/model/update-java-download-token-details.ts index 429d3065e5..80d41a6cd4 100644 --- a/lib/jmsjavadownloads/lib/model/update-java-download-token-details.ts +++ b/lib/jmsjavadownloads/lib/model/update-java-download-token-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/update-java-license-acceptance-record-details.ts b/lib/jmsjavadownloads/lib/model/update-java-license-acceptance-record-details.ts index 988e0c23dd..6c64636e24 100644 --- a/lib/jmsjavadownloads/lib/model/update-java-license-acceptance-record-details.ts +++ b/lib/jmsjavadownloads/lib/model/update-java-license-acceptance-record-details.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-error-collection.ts b/lib/jmsjavadownloads/lib/model/work-request-error-collection.ts index aedc3eff7d..1f3fdb7456 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-error-collection.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-error-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-error.ts b/lib/jmsjavadownloads/lib/model/work-request-error.ts index 5d94d05d08..1de0a6a32e 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-error.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-error.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-log-entry-collection.ts b/lib/jmsjavadownloads/lib/model/work-request-log-entry-collection.ts index 4a3f27c8e0..bbb5ad0649 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-log-entry-collection.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-log-entry-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-log-entry.ts b/lib/jmsjavadownloads/lib/model/work-request-log-entry.ts index f2a91436f1..3642696591 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-log-entry.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-log-entry.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-resource.ts b/lib/jmsjavadownloads/lib/model/work-request-resource.ts index a8552c2b32..d9da0ec41e 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-resource.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-resource.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-summary-collection.ts b/lib/jmsjavadownloads/lib/model/work-request-summary-collection.ts index 34422e04b7..f8a10dfdf9 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-summary-collection.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-summary-collection.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request-summary.ts b/lib/jmsjavadownloads/lib/model/work-request-summary.ts index 634ad8dd36..ae36569f16 100644 --- a/lib/jmsjavadownloads/lib/model/work-request-summary.ts +++ b/lib/jmsjavadownloads/lib/model/work-request-summary.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/model/work-request.ts b/lib/jmsjavadownloads/lib/model/work-request.ts index a728a79804..73218d85eb 100644 --- a/lib/jmsjavadownloads/lib/model/work-request.ts +++ b/lib/jmsjavadownloads/lib/model/work-request.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/request/index.ts b/lib/jmsjavadownloads/lib/request/index.ts index 19707c3810..83a71ff2f5 100644 --- a/lib/jmsjavadownloads/lib/request/index.ts +++ b/lib/jmsjavadownloads/lib/request/index.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/lib/response/index.ts b/lib/jmsjavadownloads/lib/response/index.ts index 79e5e54f78..3002f25bd8 100644 --- a/lib/jmsjavadownloads/lib/response/index.ts +++ b/lib/jmsjavadownloads/lib/response/index.ts @@ -1,6 +1,6 @@ /** - * Java Management Service Download API - * The APIs for the Java Download feature of Java Management Service. + * Java Management Service Java Download API + * The APIs for the [Java Download](https://docs.oracle.com/en-us/iaas/jms/doc/java-download.html) feature of Java Management Service. * OpenAPI spec version: 20230601 * * diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index fd469695aa..b7700de1b8 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/jmsutils/README.md b/lib/jmsutils/README.md new file mode 100644 index 0000000000..936653f9d9 --- /dev/null +++ b/lib/jmsutils/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Jms Utils Service + +This module enables you to write code to manage resources for Jms Utils Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-jmsutils +``` + +Alternatively you can git clone this repo. diff --git a/lib/jmsutils/index.ts b/lib/jmsutils/index.ts new file mode 100644 index 0000000000..3f1719013c --- /dev/null +++ b/lib/jmsutils/index.ts @@ -0,0 +1,24 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as jmsutils_waiter from "./lib/jmsutils-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import JmsUtilsClient = client.JmsUtilsClient; +export import JmsUtilsWaiter = jmsutils_waiter.JmsUtilsWaiter; diff --git a/lib/jmsutils/lib/client.ts b/lib/jmsutils/lib/client.ts new file mode 100644 index 0000000000..908b693544 --- /dev/null +++ b/lib/jmsutils/lib/client.ts @@ -0,0 +1,1644 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { JmsUtilsWaiter } from "./jmsutils-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum JmsUtilsApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class JmsUtilsClient { + protected static serviceEndpointTemplate = + "https://javamanagement-utils.{region}.oci.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": JmsUtilsWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "JmsUtils"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("jmsutils")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("jmsutils"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20250521"; + if (this.logger) this.logger.info(`JmsUtilsClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + JmsUtilsClient.serviceEndpointTemplate, + this._region, + JmsUtilsClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + JmsUtilsClient.serviceEndpointTemplate, + this._regionId, + JmsUtilsClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + JmsUtilsClient.serviceEndpointTemplate, + region, + JmsUtilsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + JmsUtilsClient.serviceEndpointTemplate, + regionId, + JmsUtilsClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new JmsUtilsWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): JmsUtilsWaiter { + this._waiters = new JmsUtilsWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): JmsUtilsWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Cancels a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelWorkRequestRequest + * @return CancelWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. + */ + public async cancelWorkRequest( + cancelWorkRequestRequest: requests.CancelWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#cancelWorkRequest."); + const operationName = "cancelWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelWorkRequestRequest.ifMatch, + "opc-request-id": cancelWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a Java Migration Analysis. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteJavaMigrationAnalysisRequest + * @return DeleteJavaMigrationAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/DeleteJavaMigrationAnalysis.ts.html |here} to see how to use DeleteJavaMigrationAnalysis API. + */ + public async deleteJavaMigrationAnalysis( + deleteJavaMigrationAnalysisRequest: requests.DeleteJavaMigrationAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#deleteJavaMigrationAnalysis."); + const operationName = "deleteJavaMigrationAnalysis"; + const apiReferenceLink = ""; + const pathParams = { + "{javaMigrationAnalysisId}": deleteJavaMigrationAnalysisRequest.javaMigrationAnalysisId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteJavaMigrationAnalysisRequest.ifMatch, + "opc-request-id": deleteJavaMigrationAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteJavaMigrationAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/javaMigrationAnalysis/{javaMigrationAnalysisId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a Performance Tuning Analysis. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeletePerformanceTuningAnalysisRequest + * @return DeletePerformanceTuningAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/DeletePerformanceTuningAnalysis.ts.html |here} to see how to use DeletePerformanceTuningAnalysis API. + */ + public async deletePerformanceTuningAnalysis( + deletePerformanceTuningAnalysisRequest: requests.DeletePerformanceTuningAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#deletePerformanceTuningAnalysis."); + const operationName = "deletePerformanceTuningAnalysis"; + const apiReferenceLink = ""; + const pathParams = { + "{performanceTuningAnalysisId}": + deletePerformanceTuningAnalysisRequest.performanceTuningAnalysisId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deletePerformanceTuningAnalysisRequest.ifMatch, + "opc-request-id": deletePerformanceTuningAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deletePerformanceTuningAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/performanceTuningAnalysis/{performanceTuningAnalysisId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns the configuration for analyzing applications. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetAnalyzeApplicationsConfigurationRequest + * @return GetAnalyzeApplicationsConfigurationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetAnalyzeApplicationsConfiguration.ts.html |here} to see how to use GetAnalyzeApplicationsConfiguration API. + */ + public async getAnalyzeApplicationsConfiguration( + getAnalyzeApplicationsConfigurationRequest: requests.GetAnalyzeApplicationsConfigurationRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#getAnalyzeApplicationsConfiguration."); + const operationName = "getAnalyzeApplicationsConfiguration"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": getAnalyzeApplicationsConfigurationRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getAnalyzeApplicationsConfigurationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getAnalyzeApplicationsConfigurationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/analyzeApplicationsConfiguration", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "analyzeApplicationsConfiguration", + bodyModel: model.AnalyzeApplicationsConfiguration, + type: "model.AnalyzeApplicationsConfiguration", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a Java Migration Analysis. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetJavaMigrationAnalysisRequest + * @return GetJavaMigrationAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetJavaMigrationAnalysis.ts.html |here} to see how to use GetJavaMigrationAnalysis API. + */ + public async getJavaMigrationAnalysis( + getJavaMigrationAnalysisRequest: requests.GetJavaMigrationAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#getJavaMigrationAnalysis."); + const operationName = "getJavaMigrationAnalysis"; + const apiReferenceLink = ""; + const pathParams = { + "{javaMigrationAnalysisId}": getJavaMigrationAnalysisRequest.javaMigrationAnalysisId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getJavaMigrationAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getJavaMigrationAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/javaMigrationAnalysis/{javaMigrationAnalysisId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "javaMigrationAnalysis", + bodyModel: model.JavaMigrationAnalysis, + type: "model.JavaMigrationAnalysis", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a Performance Tuning Analysis. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetPerformanceTuningAnalysisRequest + * @return GetPerformanceTuningAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetPerformanceTuningAnalysis.ts.html |here} to see how to use GetPerformanceTuningAnalysis API. + */ + public async getPerformanceTuningAnalysis( + getPerformanceTuningAnalysisRequest: requests.GetPerformanceTuningAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#getPerformanceTuningAnalysis."); + const operationName = "getPerformanceTuningAnalysis"; + const apiReferenceLink = ""; + const pathParams = { + "{performanceTuningAnalysisId}": + getPerformanceTuningAnalysisRequest.performanceTuningAnalysisId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getPerformanceTuningAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getPerformanceTuningAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/performanceTuningAnalysis/{performanceTuningAnalysisId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "performanceTuningAnalysis", + bodyModel: model.PerformanceTuningAnalysis, + type: "model.PerformanceTuningAnalysis", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Returns the configuration for subscription acknowledgment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetSubscriptionAcknowledgmentConfigurationRequest + * @return GetSubscriptionAcknowledgmentConfigurationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetSubscriptionAcknowledgmentConfiguration.ts.html |here} to see how to use GetSubscriptionAcknowledgmentConfiguration API. + */ + public async getSubscriptionAcknowledgmentConfiguration( + getSubscriptionAcknowledgmentConfigurationRequest: requests.GetSubscriptionAcknowledgmentConfigurationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JmsUtilsClient#getSubscriptionAcknowledgmentConfiguration." + ); + const operationName = "getSubscriptionAcknowledgmentConfiguration"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": getSubscriptionAcknowledgmentConfigurationRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getSubscriptionAcknowledgmentConfigurationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getSubscriptionAcknowledgmentConfigurationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/subscriptionAcknowledgmentConfiguration", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "subscriptionAcknowledgmentConfiguration", + bodyModel: model.SubscriptionAcknowledgmentConfiguration, + type: "model.SubscriptionAcknowledgmentConfiguration", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets the details of a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of Java Migration Analysis. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListJavaMigrationAnalysisRequest + * @return ListJavaMigrationAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListJavaMigrationAnalysis.ts.html |here} to see how to use ListJavaMigrationAnalysis API. + */ + public async listJavaMigrationAnalysis( + listJavaMigrationAnalysisRequest: requests.ListJavaMigrationAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#listJavaMigrationAnalysis."); + const operationName = "listJavaMigrationAnalysis"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listJavaMigrationAnalysisRequest.compartmentId, + "id": listJavaMigrationAnalysisRequest.id, + "analysisProjectName": listJavaMigrationAnalysisRequest.analysisProjectName, + "limit": listJavaMigrationAnalysisRequest.limit, + "page": listJavaMigrationAnalysisRequest.page, + "sortOrder": listJavaMigrationAnalysisRequest.sortOrder, + "sortBy": listJavaMigrationAnalysisRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listJavaMigrationAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listJavaMigrationAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/javaMigrationAnalysis", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "javaMigrationAnalysisCollection", + bodyModel: model.JavaMigrationAnalysisCollection, + type: "model.JavaMigrationAnalysisCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of Performance tuning Analysis. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListPerformanceTuningAnalysisRequest + * @return ListPerformanceTuningAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListPerformanceTuningAnalysis.ts.html |here} to see how to use ListPerformanceTuningAnalysis API. + */ + public async listPerformanceTuningAnalysis( + listPerformanceTuningAnalysisRequest: requests.ListPerformanceTuningAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#listPerformanceTuningAnalysis."); + const operationName = "listPerformanceTuningAnalysis"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listPerformanceTuningAnalysisRequest.compartmentId, + "id": listPerformanceTuningAnalysisRequest.id, + "analysisProjectName": listPerformanceTuningAnalysisRequest.analysisProjectName, + "performanceTuningAnalysisResult": + listPerformanceTuningAnalysisRequest.performanceTuningAnalysisResult, + "limit": listPerformanceTuningAnalysisRequest.limit, + "page": listPerformanceTuningAnalysisRequest.page, + "sortOrder": listPerformanceTuningAnalysisRequest.sortOrder, + "sortBy": listPerformanceTuningAnalysisRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listPerformanceTuningAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listPerformanceTuningAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/performanceTuningAnalysis", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "performanceTuningAnalysisCollection", + bodyModel: model.PerformanceTuningAnalysisCollection, + type: "model.PerformanceTuningAnalysisCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Retrieve a paginated list of work items for a specified work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkItemsRequest + * @return ListWorkItemsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkItems.ts.html |here} to see how to use ListWorkItems API. + */ + public async listWorkItems( + listWorkItemsRequest: requests.ListWorkItemsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#listWorkItems."); + const operationName = "listWorkItems"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkItemsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkItemsRequest.page, + "limit": listWorkItemsRequest.limit + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkItemsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkItemsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/workItems", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workItemCollection", + bodyModel: model.WorkItemCollection, + type: "model.WorkItemCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the errors for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation JmsUtilsClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Requests Java Migration Analysis. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param RequestJavaMigrationAnalysisRequest + * @return RequestJavaMigrationAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/RequestJavaMigrationAnalysis.ts.html |here} to see how to use RequestJavaMigrationAnalysis API. + */ + public async requestJavaMigrationAnalysis( + requestJavaMigrationAnalysisRequest: requests.RequestJavaMigrationAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#requestJavaMigrationAnalysis."); + const operationName = "requestJavaMigrationAnalysis"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": requestJavaMigrationAnalysisRequest.opcRetryToken, + "opc-request-id": requestJavaMigrationAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + requestJavaMigrationAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/javaMigrationAnalysis/actions/requestJavaMigrationAnalysis", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + requestJavaMigrationAnalysisRequest.requestJavaMigrationAnalysisDetails, + "RequestJavaMigrationAnalysisDetails", + model.RequestJavaMigrationAnalysisDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Requests Performance Tuning Analysis. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param RequestPerformanceTuningAnalysisRequest + * @return RequestPerformanceTuningAnalysisResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/RequestPerformanceTuningAnalysis.ts.html |here} to see how to use RequestPerformanceTuningAnalysis API. + */ + public async requestPerformanceTuningAnalysis( + requestPerformanceTuningAnalysisRequest: requests.RequestPerformanceTuningAnalysisRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#requestPerformanceTuningAnalysis."); + const operationName = "requestPerformanceTuningAnalysis"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": requestPerformanceTuningAnalysisRequest.opcRetryToken, + "opc-request-id": requestPerformanceTuningAnalysisRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + requestPerformanceTuningAnalysisRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/performanceTuningAnalysis/actions/requestPerformanceTuningAnalysis", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + requestPerformanceTuningAnalysisRequest.requestPerformanceTuningAnalysisDetails, + "RequestPerformanceTuningAnalysisDetails", + model.RequestPerformanceTuningAnalysisDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the configuration for analyze application. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateAnalyzeApplicationsConfigurationRequest + * @return UpdateAnalyzeApplicationsConfigurationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/UpdateAnalyzeApplicationsConfiguration.ts.html |here} to see how to use UpdateAnalyzeApplicationsConfiguration API. + */ + public async updateAnalyzeApplicationsConfiguration( + updateAnalyzeApplicationsConfigurationRequest: requests.UpdateAnalyzeApplicationsConfigurationRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation JmsUtilsClient#updateAnalyzeApplicationsConfiguration."); + const operationName = "updateAnalyzeApplicationsConfiguration"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": updateAnalyzeApplicationsConfigurationRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateAnalyzeApplicationsConfigurationRequest.ifMatch, + "opc-request-id": updateAnalyzeApplicationsConfigurationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateAnalyzeApplicationsConfigurationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/analyzeApplicationsConfiguration", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateAnalyzeApplicationsConfigurationRequest.updateAnalyzeApplicationsConfigurationDetails, + "UpdateAnalyzeApplicationsConfigurationDetails", + model.UpdateAnalyzeApplicationsConfigurationDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "analyzeApplicationsConfiguration", + bodyModel: model.AnalyzeApplicationsConfiguration, + type: "model.AnalyzeApplicationsConfiguration", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates the configuration for subscription acknowledgment. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateSubscriptionAcknowledgmentConfigurationRequest + * @return UpdateSubscriptionAcknowledgmentConfigurationResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/UpdateSubscriptionAcknowledgmentConfiguration.ts.html |here} to see how to use UpdateSubscriptionAcknowledgmentConfiguration API. + */ + public async updateSubscriptionAcknowledgmentConfiguration( + updateSubscriptionAcknowledgmentConfigurationRequest: requests.UpdateSubscriptionAcknowledgmentConfigurationRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation JmsUtilsClient#updateSubscriptionAcknowledgmentConfiguration." + ); + const operationName = "updateSubscriptionAcknowledgmentConfiguration"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": updateSubscriptionAcknowledgmentConfigurationRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateSubscriptionAcknowledgmentConfigurationRequest.ifMatch, + "opc-request-id": updateSubscriptionAcknowledgmentConfigurationRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateSubscriptionAcknowledgmentConfigurationRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/subscriptionAcknowledgmentConfiguration", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateSubscriptionAcknowledgmentConfigurationRequest.updateSubscriptionAcknowledgmentConfigurationDetails, + "UpdateSubscriptionAcknowledgmentConfigurationDetails", + model.UpdateSubscriptionAcknowledgmentConfigurationDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "subscriptionAcknowledgmentConfiguration", + bodyModel: model.SubscriptionAcknowledgmentConfiguration, + type: "model.SubscriptionAcknowledgmentConfiguration", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/jmsutils/lib/jmsutils-waiter.ts b/lib/jmsutils/lib/jmsutils-waiter.ts new file mode 100644 index 0000000000..0e65566f88 --- /dev/null +++ b/lib/jmsutils/lib/jmsutils-waiter.ts @@ -0,0 +1,41 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { JmsUtilsClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class JmsUtilsWaiter { + public constructor( + private client: JmsUtilsClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/jmsutils/lib/model/action-type.ts b/lib/jmsutils/lib/model/action-type.ts new file mode 100644 index 0000000000..aca52edf97 --- /dev/null +++ b/lib/jmsutils/lib/model/action-type.ts @@ -0,0 +1,42 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/analyze-applications-configuration.ts b/lib/jmsutils/lib/model/analyze-applications-configuration.ts new file mode 100644 index 0000000000..ca0cc3e2e7 --- /dev/null +++ b/lib/jmsutils/lib/model/analyze-applications-configuration.ts @@ -0,0 +1,42 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration for analyzing applications. + */ +export interface AnalyzeApplicationsConfiguration { + /** + * The Object Storage namespace used for analyzing applications. + */ + "namespaceName": string; + /** + * The name of the bucket used for analyzing applications. + */ + "bucketName": string; +} + +export namespace AnalyzeApplicationsConfiguration { + export function getJsonObj(obj: AnalyzeApplicationsConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AnalyzeApplicationsConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/basic-work-item-details.ts b/lib/jmsutils/lib/model/basic-work-item-details.ts new file mode 100644 index 0000000000..e9fa06ddfb --- /dev/null +++ b/lib/jmsutils/lib/model/basic-work-item-details.ts @@ -0,0 +1,47 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The common work item details. + */ +export interface BasicWorkItemDetails extends model.WorkItemDetails { + "kind": string; +} + +export namespace BasicWorkItemDetails { + export function getJsonObj(obj: BasicWorkItemDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj ? obj : (model.WorkItemDetails.getJsonObj(obj) as BasicWorkItemDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "BASIC"; + export function getDeserializedJsonObj( + obj: BasicWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getDeserializedJsonObj(obj) as BasicWorkItemDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/index.ts b/lib/jmsutils/lib/model/index.ts new file mode 100644 index 0000000000..cd8fac56f4 --- /dev/null +++ b/lib/jmsutils/lib/model/index.ts @@ -0,0 +1,90 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as AnalyzeApplicationsConfiguration from "./analyze-applications-configuration"; +export import AnalyzeApplicationsConfiguration = AnalyzeApplicationsConfiguration.AnalyzeApplicationsConfiguration; +import * as JavaMigrationAnalysis from "./java-migration-analysis"; +export import JavaMigrationAnalysis = JavaMigrationAnalysis.JavaMigrationAnalysis; +import * as JavaMigrationAnalysisCollection from "./java-migration-analysis-collection"; +export import JavaMigrationAnalysisCollection = JavaMigrationAnalysisCollection.JavaMigrationAnalysisCollection; +import * as JavaMigrationAnalysisSortBy from "./java-migration-analysis-sort-by"; +export import JavaMigrationAnalysisSortBy = JavaMigrationAnalysisSortBy.JavaMigrationAnalysisSortBy; +import * as JavaMigrationAnalysisSummary from "./java-migration-analysis-summary"; +export import JavaMigrationAnalysisSummary = JavaMigrationAnalysisSummary.JavaMigrationAnalysisSummary; +import * as JavaMigrationAnalysisTarget from "./java-migration-analysis-target"; +export import JavaMigrationAnalysisTarget = JavaMigrationAnalysisTarget.JavaMigrationAnalysisTarget; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as PerformanceTuningAnalysis from "./performance-tuning-analysis"; +export import PerformanceTuningAnalysis = PerformanceTuningAnalysis.PerformanceTuningAnalysis; +import * as PerformanceTuningAnalysisCollection from "./performance-tuning-analysis-collection"; +export import PerformanceTuningAnalysisCollection = PerformanceTuningAnalysisCollection.PerformanceTuningAnalysisCollection; +import * as PerformanceTuningAnalysisSortBy from "./performance-tuning-analysis-sort-by"; +export import PerformanceTuningAnalysisSortBy = PerformanceTuningAnalysisSortBy.PerformanceTuningAnalysisSortBy; +import * as PerformanceTuningAnalysisSummary from "./performance-tuning-analysis-summary"; +export import PerformanceTuningAnalysisSummary = PerformanceTuningAnalysisSummary.PerformanceTuningAnalysisSummary; +import * as PerformanceTuningAnalysisTarget from "./performance-tuning-analysis-target"; +export import PerformanceTuningAnalysisTarget = PerformanceTuningAnalysisTarget.PerformanceTuningAnalysisTarget; +import * as Principal from "./principal"; +export import Principal = Principal.Principal; +import * as RequestJavaMigrationAnalysisDetails from "./request-java-migration-analysis-details"; +export import RequestJavaMigrationAnalysisDetails = RequestJavaMigrationAnalysisDetails.RequestJavaMigrationAnalysisDetails; +import * as RequestPerformanceTuningAnalysisDetails from "./request-performance-tuning-analysis-details"; +export import RequestPerformanceTuningAnalysisDetails = RequestPerformanceTuningAnalysisDetails.RequestPerformanceTuningAnalysisDetails; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as SubscriptionAcknowledgmentConfiguration from "./subscription-acknowledgment-configuration"; +export import SubscriptionAcknowledgmentConfiguration = SubscriptionAcknowledgmentConfiguration.SubscriptionAcknowledgmentConfiguration; +import * as UpdateAnalyzeApplicationsConfigurationDetails from "./update-analyze-applications-configuration-details"; +export import UpdateAnalyzeApplicationsConfigurationDetails = UpdateAnalyzeApplicationsConfigurationDetails.UpdateAnalyzeApplicationsConfigurationDetails; +import * as UpdateSubscriptionAcknowledgmentConfigurationDetails from "./update-subscription-acknowledgment-configuration-details"; +export import UpdateSubscriptionAcknowledgmentConfigurationDetails = UpdateSubscriptionAcknowledgmentConfigurationDetails.UpdateSubscriptionAcknowledgmentConfigurationDetails; +import * as WorkItemCollection from "./work-item-collection"; +export import WorkItemCollection = WorkItemCollection.WorkItemCollection; +import * as WorkItemDetails from "./work-item-details"; +export import WorkItemDetails = WorkItemDetails.WorkItemDetails; +import * as WorkItemStatus from "./work-item-status"; +export import WorkItemStatus = WorkItemStatus.WorkItemStatus; +import * as WorkItemSummary from "./work-item-summary"; +export import WorkItemSummary = WorkItemSummary.WorkItemSummary; +import * as WorkItemType from "./work-item-type"; +export import WorkItemType = WorkItemType.WorkItemType; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; + +import * as BasicWorkItemDetails from "./basic-work-item-details"; +export import BasicWorkItemDetails = BasicWorkItemDetails.BasicWorkItemDetails; +import * as JavaMigrationWorkItemDetails from "./java-migration-work-item-details"; +export import JavaMigrationWorkItemDetails = JavaMigrationWorkItemDetails.JavaMigrationWorkItemDetails; +import * as PerformanceTuningWorkItemDetails from "./performance-tuning-work-item-details"; +export import PerformanceTuningWorkItemDetails = PerformanceTuningWorkItemDetails.PerformanceTuningWorkItemDetails; diff --git a/lib/jmsutils/lib/model/java-migration-analysis-collection.ts b/lib/jmsutils/lib/model/java-migration-analysis-collection.ts new file mode 100644 index 0000000000..9639cf7e63 --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-analysis-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a Java Migration Analysis search. Contains JavaMigrationAnalysisSummary items. + */ +export interface JavaMigrationAnalysisCollection { + /** + * List of Java Migration Analysis. + */ + "items": Array; +} + +export namespace JavaMigrationAnalysisCollection { + export function getJsonObj(obj: JavaMigrationAnalysisCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.JavaMigrationAnalysisSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: JavaMigrationAnalysisCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.JavaMigrationAnalysisSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/java-migration-analysis-sort-by.ts b/lib/jmsutils/lib/model/java-migration-analysis-sort-by.ts new file mode 100644 index 0000000000..2799c25216 --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-analysis-sort-by.ts @@ -0,0 +1,35 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort Java Migration analysis. + **/ +export enum JavaMigrationAnalysisSortBy { + TimeCreated = "TIME_CREATED", + TimeStarted = "TIME_STARTED", + TimeFinished = "TIME_FINISHED" +} + +export namespace JavaMigrationAnalysisSortBy { + export function getJsonObj(obj: JavaMigrationAnalysisSortBy): JavaMigrationAnalysisSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: JavaMigrationAnalysisSortBy + ): JavaMigrationAnalysisSortBy { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/java-migration-analysis-summary.ts b/lib/jmsutils/lib/model/java-migration-analysis-summary.ts new file mode 100644 index 0000000000..a49c0d7927 --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-analysis-summary.ts @@ -0,0 +1,112 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a Java Migration Analysis. + */ +export interface JavaMigrationAnalysisSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. + */ + "workRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Object storage paths to the input files applications to be analysed. + */ + "inputApplicationsObjectStoragePaths": Array; + /** + * Jdk Version of the Java Migration Analysis target. + */ + "targetJdkVersion": string; + /** + * Object storage namespace. + */ + "namespaceName": string; + /** + * Object storage bucket name. + */ + "bucketName": string; + /** + * Path to the Object Storage analysis application result. + */ + "analysisResultObjectStoragePath": string; + /** + * The analysis application file names result in the Object Storage. + */ + "analysisResultFiles": Array; + /** + * The date and time the Java Migration Analysis was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the Java Migration Analysis was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeStarted": Date; + /** + * The date and time the Java Migration Analysis was finished, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeFinished": Date; + "createdBy": model.Principal; + /** + * Additional info reserved for future use. + */ + "metadata"?: string; +} + +export namespace JavaMigrationAnalysisSummary { + export function getJsonObj(obj: JavaMigrationAnalysisSummary): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: JavaMigrationAnalysisSummary): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/java-migration-analysis-target.ts b/lib/jmsutils/lib/model/java-migration-analysis-target.ts new file mode 100644 index 0000000000..affb509348 --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-analysis-target.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The target for the Java Migration Analysis + */ +export interface JavaMigrationAnalysisTarget { + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Object storage paths to the input files applications to be analysed. + */ + "inputApplicationsObjectStoragePaths": Array; + /** + * Version of the target JDKs. + */ + "targetJdkVersions": Array; + /** + * Package prefixes to be included from the migration analysis. Either this or excludePackagePrefixes can be specified. + * + */ + "includePackagePrefixes"?: Array; + /** + * Package prefixes to be excluded from the migration analysis. Either this or includePackagePrefixes can be specified. + * + */ + "excludePackagePrefixes"?: Array; +} + +export namespace JavaMigrationAnalysisTarget { + export function getJsonObj(obj: JavaMigrationAnalysisTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: JavaMigrationAnalysisTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/java-migration-analysis.ts b/lib/jmsutils/lib/model/java-migration-analysis.ts new file mode 100644 index 0000000000..c4bb39aa06 --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-analysis.ts @@ -0,0 +1,115 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * To use any of the API operations, you must be authorized by an IAM policy. If you're not authorized, talk to + * an administrator. If you're an administrator who needs to write policies to give users access, see + * [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). + * + */ +export interface JavaMigrationAnalysis { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. + */ + "workRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Object storage paths to the input files applications to be analysed. + */ + "inputApplicationsObjectStoragePaths": Array; + /** + * Jdk Version of the Java Migration Analysis target. + */ + "targetJdkVersion": string; + /** + * Object storage namespace. + */ + "namespaceName": string; + /** + * Object storage bucket name. + */ + "bucketName": string; + /** + * Path to the Object Storage analysis application result. + */ + "analysisResultObjectStoragePath": string; + /** + * The analysis application file names result in the Object Storage. + */ + "analysisResultFiles": Array; + /** + * The date and time the Java Migration Analysis was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the Java Migration Analysis was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeStarted": Date; + /** + * The date and time the Java Migration Analysis was finished, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeFinished": Date; + "createdBy": model.Principal; + /** + * Additional info reserved for future use. + */ + "metadata"?: string; +} + +export namespace JavaMigrationAnalysis { + export function getJsonObj(obj: JavaMigrationAnalysis): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: JavaMigrationAnalysis): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/java-migration-work-item-details.ts b/lib/jmsutils/lib/model/java-migration-work-item-details.ts new file mode 100644 index 0000000000..da7ec011da --- /dev/null +++ b/lib/jmsutils/lib/model/java-migration-work-item-details.ts @@ -0,0 +1,64 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The java migration work item details. + */ +export interface JavaMigrationWorkItemDetails extends model.WorkItemDetails { + /** + * The JDK version against which the migration analysis was performed to identify effort required to move from source JDK. + */ + "targetJdkVersion": string; + /** + * Object storage path to the input artifact/s in the form of a serialized array. + * Example: \"[\\\"/JMS/Utils/myartifacts1.jar\\\",\\\"/JMS/Utils/myartifacts2.war\\\"]\" + * + */ + "inputApplicationsObjectStoragePaths": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + + "kind": string; +} + +export namespace JavaMigrationWorkItemDetails { + export function getJsonObj(obj: JavaMigrationWorkItemDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getJsonObj(obj) as JavaMigrationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "JAVA_MIGRATION"; + export function getDeserializedJsonObj( + obj: JavaMigrationWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getDeserializedJsonObj(obj) as JavaMigrationWorkItemDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/operation-status.ts b/lib/jmsutils/lib/model/operation-status.ts new file mode 100644 index 0000000000..ec39730e2f --- /dev/null +++ b/lib/jmsutils/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Cancelling = "CANCELLING", + Cancelled = "CANCELLED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/operation-type.ts b/lib/jmsutils/lib/model/operation-type.ts new file mode 100644 index 0000000000..b679e4255d --- /dev/null +++ b/lib/jmsutils/lib/model/operation-type.ts @@ -0,0 +1,38 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + RequestJavaMigrationSaAnalysis = "REQUEST_JAVA_MIGRATION_SA_ANALYSIS", + RequestPerformanceTuningSaAnalysis = "REQUEST_PERFORMANCE_TUNING_SA_ANALYSIS", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-analysis-collection.ts b/lib/jmsutils/lib/model/performance-tuning-analysis-collection.ts new file mode 100644 index 0000000000..7fdd1133d7 --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-analysis-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a Performance Tuning Analysis search. Contains PerformanceTuningAnalysisSummary items. + */ +export interface PerformanceTuningAnalysisCollection { + /** + * List of Performance Tuning Analysis. + */ + "items": Array; +} + +export namespace PerformanceTuningAnalysisCollection { + export function getJsonObj(obj: PerformanceTuningAnalysisCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PerformanceTuningAnalysisSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PerformanceTuningAnalysisCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.PerformanceTuningAnalysisSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-analysis-sort-by.ts b/lib/jmsutils/lib/model/performance-tuning-analysis-sort-by.ts new file mode 100644 index 0000000000..edd7ccc3b9 --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-analysis-sort-by.ts @@ -0,0 +1,37 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The field to sort Performance Tuning analysis. + **/ +export enum PerformanceTuningAnalysisSortBy { + TimeCreated = "TIME_CREATED", + TimeStarted = "TIME_STARTED", + TimeFinished = "TIME_FINISHED" +} + +export namespace PerformanceTuningAnalysisSortBy { + export function getJsonObj( + obj: PerformanceTuningAnalysisSortBy + ): PerformanceTuningAnalysisSortBy { + return obj; + } + export function getDeserializedJsonObj( + obj: PerformanceTuningAnalysisSortBy + ): PerformanceTuningAnalysisSortBy { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-analysis-summary.ts b/lib/jmsutils/lib/model/performance-tuning-analysis-summary.ts new file mode 100644 index 0000000000..74a19864e2 --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-analysis-summary.ts @@ -0,0 +1,100 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a Performance Tuning Analysis. + */ +export interface PerformanceTuningAnalysisSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. + */ + "workRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Number of warnings in the Performance Tuning Analysis. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "warningCount": number; + /** + * Possible Performance Tuning Result statuses. + */ + "result": string; + /** + * Object storage path to the analysis. + */ + "resultObjectStoragePath": string; + /** + * Object storage path to the artifact. + */ + "artifactObjectStoragePath": string; + /** + * The date and time the Performance Tuning Analysis was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the Performance Tuning Analysis was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeStarted": Date; + /** + * The date and time the Performance Tuning Analysis was finished, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeFinished": Date; + "createdBy": model.Principal; +} + +export namespace PerformanceTuningAnalysisSummary { + export function getJsonObj(obj: PerformanceTuningAnalysisSummary): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PerformanceTuningAnalysisSummary): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-analysis-target.ts b/lib/jmsutils/lib/model/performance-tuning-analysis-target.ts new file mode 100644 index 0000000000..1c1f22eb3a --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-analysis-target.ts @@ -0,0 +1,42 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The target for the Performance Tuning Analysis + */ +export interface PerformanceTuningAnalysisTarget { + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Object storage path to the artifact. + */ + "artifactObjectStoragePath": string; +} + +export namespace PerformanceTuningAnalysisTarget { + export function getJsonObj(obj: PerformanceTuningAnalysisTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PerformanceTuningAnalysisTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-analysis.ts b/lib/jmsutils/lib/model/performance-tuning-analysis.ts new file mode 100644 index 0000000000..904be57b82 --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-analysis.ts @@ -0,0 +1,113 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * To use any of the API operations, you must be authorized by an IAM policy. If you're not authorized, talk to + * an administrator. If you're an administrator who needs to write policies to give users access, see + * [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). + * + */ +export interface PerformanceTuningAnalysis { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. + */ + "workRequestId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + /** + * Number of warnings in the Performance Tuning Analysis. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "warningCount": number; + /** + * Possible Performance Tuning Result statuses. + */ + "result": PerformanceTuningAnalysis.Result; + /** + * Object storage path to the analysis. + */ + "resultObjectStoragePath": string; + /** + * Object storage path to the artifact. + */ + "artifactObjectStoragePath": string; + /** + * The date and time the Performance Tuning Analysis was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the Performance Tuning Analysis was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeStarted": Date; + /** + * The date and time the Performance Tuning Analysis was finished, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeFinished": Date; + "createdBy": model.Principal; +} + +export namespace PerformanceTuningAnalysis { + export enum Result { + ActionRecommended = "ACTION_RECOMMENDED", + NoWarnings = "NO_WARNINGS", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: PerformanceTuningAnalysis): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: PerformanceTuningAnalysis): object { + const jsonObj = { + ...obj, + ...{ + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/performance-tuning-work-item-details.ts b/lib/jmsutils/lib/model/performance-tuning-work-item-details.ts new file mode 100644 index 0000000000..80a154e6ca --- /dev/null +++ b/lib/jmsutils/lib/model/performance-tuning-work-item-details.ts @@ -0,0 +1,61 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The performance tuning work item details. + */ +export interface PerformanceTuningWorkItemDetails extends model.WorkItemDetails { + /** + * Object storage path to the artifact. + */ + "artifactObjectStoragePath": string; + /** + * Name of the analysis project. + */ + "analysisProjectName": string; + + "kind": string; +} + +export namespace PerformanceTuningWorkItemDetails { + export function getJsonObj( + obj: PerformanceTuningWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getJsonObj(obj) as PerformanceTuningWorkItemDetails)), + ...{} + }; + + return jsonObj; + } + export const kind = "PERFORMANCE_TUNING"; + export function getDeserializedJsonObj( + obj: PerformanceTuningWorkItemDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.WorkItemDetails.getDeserializedJsonObj(obj) as PerformanceTuningWorkItemDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/principal.ts b/lib/jmsutils/lib/model/principal.ts new file mode 100644 index 0000000000..483504ef52 --- /dev/null +++ b/lib/jmsutils/lib/model/principal.ts @@ -0,0 +1,42 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An authorized principal. + */ +export interface Principal { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. + */ + "id": string; + /** + * The name of the principal. + */ + "displayName": string; +} + +export namespace Principal { + export function getJsonObj(obj: Principal): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: Principal): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/request-java-migration-analysis-details.ts b/lib/jmsutils/lib/model/request-java-migration-analysis-details.ts new file mode 100644 index 0000000000..ebadef9e0d --- /dev/null +++ b/lib/jmsutils/lib/model/request-java-migration-analysis-details.ts @@ -0,0 +1,76 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to bulk create Java Migration Analysis. + */ +export interface RequestJavaMigrationAnalysisDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Java Migration Analysis will be created. + */ + "compartmentId": string; + /** + * The list of targets for the Java Migration Analysis. + */ + "targets": Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace RequestJavaMigrationAnalysisDetails { + export function getJsonObj(obj: RequestJavaMigrationAnalysisDetails): object { + const jsonObj = { + ...obj, + ...{ + "targets": obj.targets + ? obj.targets.map(item => { + return model.JavaMigrationAnalysisTarget.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RequestJavaMigrationAnalysisDetails): object { + const jsonObj = { + ...obj, + ...{ + "targets": obj.targets + ? obj.targets.map(item => { + return model.JavaMigrationAnalysisTarget.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/request-performance-tuning-analysis-details.ts b/lib/jmsutils/lib/model/request-performance-tuning-analysis-details.ts new file mode 100644 index 0000000000..3727e9af1c --- /dev/null +++ b/lib/jmsutils/lib/model/request-performance-tuning-analysis-details.ts @@ -0,0 +1,76 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create Performance Tuning Analysis. + */ +export interface RequestPerformanceTuningAnalysisDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Performance Tuning Analysis will be created. + */ + "compartmentId": string; + /** + * The list of targets for the Performance Tuning Analysis. + */ + "targets": Array; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace RequestPerformanceTuningAnalysisDetails { + export function getJsonObj(obj: RequestPerformanceTuningAnalysisDetails): object { + const jsonObj = { + ...obj, + ...{ + "targets": obj.targets + ? obj.targets.map(item => { + return model.PerformanceTuningAnalysisTarget.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RequestPerformanceTuningAnalysisDetails): object { + const jsonObj = { + ...obj, + ...{ + "targets": obj.targets + ? obj.targets.map(item => { + return model.PerformanceTuningAnalysisTarget.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/sort-order.ts b/lib/jmsutils/lib/model/sort-order.ts new file mode 100644 index 0000000000..9157ca23f6 --- /dev/null +++ b/lib/jmsutils/lib/model/sort-order.ts @@ -0,0 +1,40 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/subscription-acknowledgment-configuration.ts b/lib/jmsutils/lib/model/subscription-acknowledgment-configuration.ts new file mode 100644 index 0000000000..69fd8c18e3 --- /dev/null +++ b/lib/jmsutils/lib/model/subscription-acknowledgment-configuration.ts @@ -0,0 +1,47 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration for subscription acknowledgment. + */ +export interface SubscriptionAcknowledgmentConfiguration { + /** + * Flag to determine whether the subscription was acknowledged or not. + */ + "isAcknowledged": boolean; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal that ackwnoledged the subscription. + */ + "acknowledgedBy"?: string; + /** + * The date and time the subscription was acknowledged (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + * + */ + "timeAcknowledged"?: Date; +} + +export namespace SubscriptionAcknowledgmentConfiguration { + export function getJsonObj(obj: SubscriptionAcknowledgmentConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SubscriptionAcknowledgmentConfiguration): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/update-analyze-applications-configuration-details.ts b/lib/jmsutils/lib/model/update-analyze-applications-configuration-details.ts new file mode 100644 index 0000000000..bf3bdf3de7 --- /dev/null +++ b/lib/jmsutils/lib/model/update-analyze-applications-configuration-details.ts @@ -0,0 +1,44 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Attributes to update an Analyze Applications Configuration. + */ +export interface UpdateAnalyzeApplicationsConfigurationDetails { + /** + * The Object Storage namespace used for analyzing applications. + */ + "namespaceName"?: string; + /** + * The name of the bucket used for analyzing applications. + */ + "bucketName"?: string; +} + +export namespace UpdateAnalyzeApplicationsConfigurationDetails { + export function getJsonObj(obj: UpdateAnalyzeApplicationsConfigurationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UpdateAnalyzeApplicationsConfigurationDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/update-subscription-acknowledgment-configuration-details.ts b/lib/jmsutils/lib/model/update-subscription-acknowledgment-configuration-details.ts new file mode 100644 index 0000000000..1e32d32099 --- /dev/null +++ b/lib/jmsutils/lib/model/update-subscription-acknowledgment-configuration-details.ts @@ -0,0 +1,40 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Attributes to update a Subscription Acknowledgment Configuration. + */ +export interface UpdateSubscriptionAcknowledgmentConfigurationDetails { + /** + * Flag to determine whether the subscription was acknowledged or not. + */ + "isAcknowledged"?: boolean; +} + +export namespace UpdateSubscriptionAcknowledgmentConfigurationDetails { + export function getJsonObj(obj: UpdateSubscriptionAcknowledgmentConfigurationDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UpdateSubscriptionAcknowledgmentConfigurationDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-item-collection.ts b/lib/jmsutils/lib/model/work-item-collection.ts new file mode 100644 index 0000000000..04c2436f69 --- /dev/null +++ b/lib/jmsutils/lib/model/work-item-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of WorkItem. + */ +export interface WorkItemCollection { + /** + * A list of work request items. + */ + "items": Array; +} + +export namespace WorkItemCollection { + export function getJsonObj(obj: WorkItemCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkItemSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkItemCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkItemSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-item-details.ts b/lib/jmsutils/lib/model/work-item-details.ts new file mode 100644 index 0000000000..a1a19d5da5 --- /dev/null +++ b/lib/jmsutils/lib/model/work-item-details.ts @@ -0,0 +1,82 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The minimum details of a work item. + */ +export interface WorkItemDetails { + /** + * The work item type. + */ + "workItemType"?: model.WorkItemType; + + "kind": string; +} + +export namespace WorkItemDetails { + export function getJsonObj(obj: WorkItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "BASIC": + return model.BasicWorkItemDetails.getJsonObj( + (jsonObj), + true + ); + case "PERFORMANCE_TUNING": + return model.PerformanceTuningWorkItemDetails.getJsonObj( + (jsonObj), + true + ); + case "JAVA_MIGRATION": + return model.JavaMigrationWorkItemDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkItemDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "kind" in obj && obj.kind) { + switch (obj.kind) { + case "BASIC": + return model.BasicWorkItemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PERFORMANCE_TUNING": + return model.PerformanceTuningWorkItemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "JAVA_MIGRATION": + return model.JavaMigrationWorkItemDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.kind}`); + } + } + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-item-status.ts b/lib/jmsutils/lib/model/work-item-status.ts new file mode 100644 index 0000000000..cf1e0943df --- /dev/null +++ b/lib/jmsutils/lib/model/work-item-status.ts @@ -0,0 +1,44 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible operation status. + **/ +export enum WorkItemStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Canceling = "CANCELING", + Canceled = "CANCELED", + Succeeded = "SUCCEEDED", + NeedsAttention = "NEEDS_ATTENTION", + Retrying = "RETRYING", + Skipped = "SKIPPED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkItemStatus { + export function getJsonObj(obj: WorkItemStatus): WorkItemStatus { + return obj; + } + export function getDeserializedJsonObj(obj: WorkItemStatus): WorkItemStatus { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/work-item-summary.ts b/lib/jmsutils/lib/model/work-item-summary.ts new file mode 100644 index 0000000000..19497ba77b --- /dev/null +++ b/lib/jmsutils/lib/model/work-item-summary.ts @@ -0,0 +1,71 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Work item to complete a work request. + */ +export interface WorkItemSummary { + /** + * The unique ID of ths work item. + */ + "id": string; + /** + * The OCID of the work request created this work item. + */ + "workRequestId": string; + /** + * The status of the work item. + */ + "status": model.WorkItemStatus; + "details": + | model.BasicWorkItemDetails + | model.PerformanceTuningWorkItemDetails + | model.JavaMigrationWorkItemDetails; + /** + * Number of times this work item is retried. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "retryCount": number; + /** + * The date and time the work item was last updated. (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). + * + */ + "timeLastUpdated"?: Date; +} + +export namespace WorkItemSummary { + export function getJsonObj(obj: WorkItemSummary): object { + const jsonObj = { + ...obj, + ...{ + "details": obj.details ? model.WorkItemDetails.getJsonObj(obj.details) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkItemSummary): object { + const jsonObj = { + ...obj, + ...{ + "details": obj.details + ? model.WorkItemDetails.getDeserializedJsonObj(obj.details) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-item-type.ts b/lib/jmsutils/lib/model/work-item-type.ts new file mode 100644 index 0000000000..9b66a2226d --- /dev/null +++ b/lib/jmsutils/lib/model/work-item-type.ts @@ -0,0 +1,38 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible work item types. + **/ +export enum WorkItemType { + PerformanceTuning = "PERFORMANCE_TUNING", + JavaMigration = "JAVA_MIGRATION", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkItemType { + export function getJsonObj(obj: WorkItemType): WorkItemType { + return obj; + } + export function getDeserializedJsonObj(obj: WorkItemType): WorkItemType { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-error-collection.ts b/lib/jmsutils/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..423f7f40b1 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-error-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-error.ts b/lib/jmsutils/lib/model/work-request-error.ts new file mode 100644 index 0000000000..841f69b8d0 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-error.ts @@ -0,0 +1,50 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-log-entry-collection.ts b/lib/jmsutils/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..e0f8224824 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-log-entry.ts b/lib/jmsutils/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..4088e1cfc7 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-log-entry.ts @@ -0,0 +1,44 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-resource-metadata-key.ts b/lib/jmsutils/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..eb8f54c3e6 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,39 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-resource.ts b/lib/jmsutils/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..834a9ef112 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-resource.ts @@ -0,0 +1,58 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until + * work is complete for that resource, at which point it transitions to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-summary-collection.ts b/lib/jmsutils/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..c015bcb423 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-summary-collection.ts @@ -0,0 +1,56 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request-summary.ts b/lib/jmsutils/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..5b8b22304e --- /dev/null +++ b/lib/jmsutils/lib/model/work-request-summary.ts @@ -0,0 +1,110 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; + "createdBy"?: model.Principal; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined, + + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined, + + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/model/work-request.ts b/lib/jmsutils/lib/model/work-request.ts new file mode 100644 index 0000000000..834eca3bb6 --- /dev/null +++ b/lib/jmsutils/lib/model/work-request.ts @@ -0,0 +1,121 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, + * the service creates a work request. A work request is an activity log that lets you track each step in the operation's + * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The total number of tasks to be executed for this work request. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "totalTaskCount"?: number; + /** + * The number of tasks had been executed to a terminal state. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "completedTaskCount"?: number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; + "createdBy"?: model.Principal; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined, + + "createdBy": obj.createdBy ? model.Principal.getJsonObj(obj.createdBy) : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined, + + "createdBy": obj.createdBy + ? model.Principal.getDeserializedJsonObj(obj.createdBy) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/jmsutils/lib/request/cancel-work-request-request.ts b/lib/jmsutils/lib/request/cancel-work-request-request.ts new file mode 100644 index 0000000000..e0d101ddb3 --- /dev/null +++ b/lib/jmsutils/lib/request/cancel-work-request-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. + */ +export interface CancelWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/delete-java-migration-analysis-request.ts b/lib/jmsutils/lib/request/delete-java-migration-analysis-request.ts new file mode 100644 index 0000000000..4d4346ed74 --- /dev/null +++ b/lib/jmsutils/lib/request/delete-java-migration-analysis-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/DeleteJavaMigrationAnalysis.ts.html |here} to see how to use DeleteJavaMigrationAnalysisRequest. + */ +export interface DeleteJavaMigrationAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. + */ + "javaMigrationAnalysisId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/delete-performance-tuning-analysis-request.ts b/lib/jmsutils/lib/request/delete-performance-tuning-analysis-request.ts new file mode 100644 index 0000000000..17ac5c486c --- /dev/null +++ b/lib/jmsutils/lib/request/delete-performance-tuning-analysis-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/DeletePerformanceTuningAnalysis.ts.html |here} to see how to use DeletePerformanceTuningAnalysisRequest. + */ +export interface DeletePerformanceTuningAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. + */ + "performanceTuningAnalysisId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/get-analyze-applications-configuration-request.ts b/lib/jmsutils/lib/request/get-analyze-applications-configuration-request.ts new file mode 100644 index 0000000000..5fb09b890a --- /dev/null +++ b/lib/jmsutils/lib/request/get-analyze-applications-configuration-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetAnalyzeApplicationsConfiguration.ts.html |here} to see how to use GetAnalyzeApplicationsConfigurationRequest. + */ +export interface GetAnalyzeApplicationsConfigurationRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/get-java-migration-analysis-request.ts b/lib/jmsutils/lib/request/get-java-migration-analysis-request.ts new file mode 100644 index 0000000000..004c0d7786 --- /dev/null +++ b/lib/jmsutils/lib/request/get-java-migration-analysis-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetJavaMigrationAnalysis.ts.html |here} to see how to use GetJavaMigrationAnalysisRequest. + */ +export interface GetJavaMigrationAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. + */ + "javaMigrationAnalysisId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/get-performance-tuning-analysis-request.ts b/lib/jmsutils/lib/request/get-performance-tuning-analysis-request.ts new file mode 100644 index 0000000000..f5705d9030 --- /dev/null +++ b/lib/jmsutils/lib/request/get-performance-tuning-analysis-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetPerformanceTuningAnalysis.ts.html |here} to see how to use GetPerformanceTuningAnalysisRequest. + */ +export interface GetPerformanceTuningAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. + */ + "performanceTuningAnalysisId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/get-subscription-acknowledgment-configuration-request.ts b/lib/jmsutils/lib/request/get-subscription-acknowledgment-configuration-request.ts new file mode 100644 index 0000000000..457b992e5d --- /dev/null +++ b/lib/jmsutils/lib/request/get-subscription-acknowledgment-configuration-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetSubscriptionAcknowledgmentConfiguration.ts.html |here} to see how to use GetSubscriptionAcknowledgmentConfigurationRequest. + */ +export interface GetSubscriptionAcknowledgmentConfigurationRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/get-work-request-request.ts b/lib/jmsutils/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..df3ae9335c --- /dev/null +++ b/lib/jmsutils/lib/request/get-work-request-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/index.ts b/lib/jmsutils/lib/request/index.ts new file mode 100644 index 0000000000..005dbd0350 --- /dev/null +++ b/lib/jmsutils/lib/request/index.ts @@ -0,0 +1,49 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as CancelWorkRequestRequest from "./cancel-work-request-request"; +export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; +import * as DeleteJavaMigrationAnalysisRequest from "./delete-java-migration-analysis-request"; +export import DeleteJavaMigrationAnalysisRequest = DeleteJavaMigrationAnalysisRequest.DeleteJavaMigrationAnalysisRequest; +import * as DeletePerformanceTuningAnalysisRequest from "./delete-performance-tuning-analysis-request"; +export import DeletePerformanceTuningAnalysisRequest = DeletePerformanceTuningAnalysisRequest.DeletePerformanceTuningAnalysisRequest; +import * as GetAnalyzeApplicationsConfigurationRequest from "./get-analyze-applications-configuration-request"; +export import GetAnalyzeApplicationsConfigurationRequest = GetAnalyzeApplicationsConfigurationRequest.GetAnalyzeApplicationsConfigurationRequest; +import * as GetJavaMigrationAnalysisRequest from "./get-java-migration-analysis-request"; +export import GetJavaMigrationAnalysisRequest = GetJavaMigrationAnalysisRequest.GetJavaMigrationAnalysisRequest; +import * as GetPerformanceTuningAnalysisRequest from "./get-performance-tuning-analysis-request"; +export import GetPerformanceTuningAnalysisRequest = GetPerformanceTuningAnalysisRequest.GetPerformanceTuningAnalysisRequest; +import * as GetSubscriptionAcknowledgmentConfigurationRequest from "./get-subscription-acknowledgment-configuration-request"; +export import GetSubscriptionAcknowledgmentConfigurationRequest = GetSubscriptionAcknowledgmentConfigurationRequest.GetSubscriptionAcknowledgmentConfigurationRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListJavaMigrationAnalysisRequest from "./list-java-migration-analysis-request"; +export import ListJavaMigrationAnalysisRequest = ListJavaMigrationAnalysisRequest.ListJavaMigrationAnalysisRequest; +import * as ListPerformanceTuningAnalysisRequest from "./list-performance-tuning-analysis-request"; +export import ListPerformanceTuningAnalysisRequest = ListPerformanceTuningAnalysisRequest.ListPerformanceTuningAnalysisRequest; +import * as ListWorkItemsRequest from "./list-work-items-request"; +export import ListWorkItemsRequest = ListWorkItemsRequest.ListWorkItemsRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as RequestJavaMigrationAnalysisRequest from "./request-java-migration-analysis-request"; +export import RequestJavaMigrationAnalysisRequest = RequestJavaMigrationAnalysisRequest.RequestJavaMigrationAnalysisRequest; +import * as RequestPerformanceTuningAnalysisRequest from "./request-performance-tuning-analysis-request"; +export import RequestPerformanceTuningAnalysisRequest = RequestPerformanceTuningAnalysisRequest.RequestPerformanceTuningAnalysisRequest; +import * as UpdateAnalyzeApplicationsConfigurationRequest from "./update-analyze-applications-configuration-request"; +export import UpdateAnalyzeApplicationsConfigurationRequest = UpdateAnalyzeApplicationsConfigurationRequest.UpdateAnalyzeApplicationsConfigurationRequest; +import * as UpdateSubscriptionAcknowledgmentConfigurationRequest from "./update-subscription-acknowledgment-configuration-request"; +export import UpdateSubscriptionAcknowledgmentConfigurationRequest = UpdateSubscriptionAcknowledgmentConfigurationRequest.UpdateSubscriptionAcknowledgmentConfigurationRequest; diff --git a/lib/jmsutils/lib/request/list-java-migration-analysis-request.ts b/lib/jmsutils/lib/request/list-java-migration-analysis-request.ts new file mode 100644 index 0000000000..99a8150317 --- /dev/null +++ b/lib/jmsutils/lib/request/list-java-migration-analysis-request.ts @@ -0,0 +1,58 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListJavaMigrationAnalysis.ts.html |here} to see how to use ListJavaMigrationAnalysisRequest. + */ +export interface ListJavaMigrationAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. + */ + "id"?: string; + /** + * The project name of the Performance Tuning Analysis to query for. + */ + "analysisProjectName"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort Java Migration Analysis. Only one sort order may be provided. + * + */ + "sortBy"?: model.JavaMigrationAnalysisSortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/list-performance-tuning-analysis-request.ts b/lib/jmsutils/lib/request/list-performance-tuning-analysis-request.ts new file mode 100644 index 0000000000..31bbc94b7a --- /dev/null +++ b/lib/jmsutils/lib/request/list-performance-tuning-analysis-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListPerformanceTuningAnalysis.ts.html |here} to see how to use ListPerformanceTuningAnalysisRequest. + */ +export interface ListPerformanceTuningAnalysisRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. + */ + "id"?: string; + /** + * The project name of the Performance Tuning Analysis to query for. + */ + "analysisProjectName"?: string; + /** + * The result of the Performance Tuning Analysis to query for. + */ + "performanceTuningAnalysisResult"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort Performance Tuning Analysis. Only one sort order may be provided. + * + */ + "sortBy"?: model.PerformanceTuningAnalysisSortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/list-work-items-request.ts b/lib/jmsutils/lib/request/list-work-items-request.ts new file mode 100644 index 0000000000..9b97b2884c --- /dev/null +++ b/lib/jmsutils/lib/request/list-work-items-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkItems.ts.html |here} to see how to use ListWorkItemsRequest. + */ +export interface ListWorkItemsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; +} diff --git a/lib/jmsutils/lib/request/list-work-request-errors-request.ts b/lib/jmsutils/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..c9513ee39e --- /dev/null +++ b/lib/jmsutils/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/jmsutils/lib/request/list-work-request-logs-request.ts b/lib/jmsutils/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..38003014b8 --- /dev/null +++ b/lib/jmsutils/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,56 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeCreated} is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + TimeCreated = "timeCreated" + } +} diff --git a/lib/jmsutils/lib/request/list-work-requests-request.ts b/lib/jmsutils/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..3325ba3777 --- /dev/null +++ b/lib/jmsutils/lib/request/list-work-requests-request.ts @@ -0,0 +1,68 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * The page token representing the page at which to start retrieving results. The token is usually retrieved from a previous list call. + */ + "page"?: string; + /** + * The maximum number of items to return. + */ + "limit"?: number; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/jmsutils/lib/request/request-java-migration-analysis-request.ts b/lib/jmsutils/lib/request/request-java-migration-analysis-request.ts new file mode 100644 index 0000000000..04b5ada49c --- /dev/null +++ b/lib/jmsutils/lib/request/request-java-migration-analysis-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/RequestJavaMigrationAnalysis.ts.html |here} to see how to use RequestJavaMigrationAnalysisRequest. + */ +export interface RequestJavaMigrationAnalysisRequest extends common.BaseRequest { + /** + * Details for the new JavaMigrationAnalysis. + */ + "requestJavaMigrationAnalysisDetails": model.RequestJavaMigrationAnalysisDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/request-performance-tuning-analysis-request.ts b/lib/jmsutils/lib/request/request-performance-tuning-analysis-request.ts new file mode 100644 index 0000000000..3f98660410 --- /dev/null +++ b/lib/jmsutils/lib/request/request-performance-tuning-analysis-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/RequestPerformanceTuningAnalysis.ts.html |here} to see how to use RequestPerformanceTuningAnalysisRequest. + */ +export interface RequestPerformanceTuningAnalysisRequest extends common.BaseRequest { + /** + * Details for the new PerformanceTuningAnalysis. + */ + "requestPerformanceTuningAnalysisDetails": model.RequestPerformanceTuningAnalysisDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/update-analyze-applications-configuration-request.ts b/lib/jmsutils/lib/request/update-analyze-applications-configuration-request.ts new file mode 100644 index 0000000000..1d589b30e8 --- /dev/null +++ b/lib/jmsutils/lib/request/update-analyze-applications-configuration-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/UpdateAnalyzeApplicationsConfiguration.ts.html |here} to see how to use UpdateAnalyzeApplicationsConfigurationRequest. + */ +export interface UpdateAnalyzeApplicationsConfigurationRequest extends common.BaseRequest { + /** + * The information to be updated. + */ + "updateAnalyzeApplicationsConfigurationDetails": model.UpdateAnalyzeApplicationsConfigurationDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/request/update-subscription-acknowledgment-configuration-request.ts b/lib/jmsutils/lib/request/update-subscription-acknowledgment-configuration-request.ts new file mode 100644 index 0000000000..9aa031dca0 --- /dev/null +++ b/lib/jmsutils/lib/request/update-subscription-acknowledgment-configuration-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/jmsutils/UpdateSubscriptionAcknowledgmentConfiguration.ts.html |here} to see how to use UpdateSubscriptionAcknowledgmentConfigurationRequest. + */ +export interface UpdateSubscriptionAcknowledgmentConfigurationRequest extends common.BaseRequest { + /** + * The configuration to be updated. + */ + "updateSubscriptionAcknowledgmentConfigurationDetails": model.UpdateSubscriptionAcknowledgmentConfigurationDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/jmsutils/lib/response/cancel-work-request-response.ts b/lib/jmsutils/lib/response/cancel-work-request-response.ts new file mode 100644 index 0000000000..013b3e9fa8 --- /dev/null +++ b/lib/jmsutils/lib/response/cancel-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CancelWorkRequestResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jmsutils/lib/response/delete-java-migration-analysis-response.ts b/lib/jmsutils/lib/response/delete-java-migration-analysis-response.ts new file mode 100644 index 0000000000..4ce11f093d --- /dev/null +++ b/lib/jmsutils/lib/response/delete-java-migration-analysis-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteJavaMigrationAnalysisResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jmsutils/lib/response/delete-performance-tuning-analysis-response.ts b/lib/jmsutils/lib/response/delete-performance-tuning-analysis-response.ts new file mode 100644 index 0000000000..553e40a917 --- /dev/null +++ b/lib/jmsutils/lib/response/delete-performance-tuning-analysis-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeletePerformanceTuningAnalysisResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jmsutils/lib/response/get-analyze-applications-configuration-response.ts b/lib/jmsutils/lib/response/get-analyze-applications-configuration-response.ts new file mode 100644 index 0000000000..a155d13c51 --- /dev/null +++ b/lib/jmsutils/lib/response/get-analyze-applications-configuration-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetAnalyzeApplicationsConfigurationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.AnalyzeApplicationsConfiguration instance. + */ + "analyzeApplicationsConfiguration": model.AnalyzeApplicationsConfiguration; +} diff --git a/lib/jmsutils/lib/response/get-java-migration-analysis-response.ts b/lib/jmsutils/lib/response/get-java-migration-analysis-response.ts new file mode 100644 index 0000000000..6995d32560 --- /dev/null +++ b/lib/jmsutils/lib/response/get-java-migration-analysis-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetJavaMigrationAnalysisResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.JavaMigrationAnalysis instance. + */ + "javaMigrationAnalysis": model.JavaMigrationAnalysis; +} diff --git a/lib/jmsutils/lib/response/get-performance-tuning-analysis-response.ts b/lib/jmsutils/lib/response/get-performance-tuning-analysis-response.ts new file mode 100644 index 0000000000..24db5b38fe --- /dev/null +++ b/lib/jmsutils/lib/response/get-performance-tuning-analysis-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetPerformanceTuningAnalysisResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.PerformanceTuningAnalysis instance. + */ + "performanceTuningAnalysis": model.PerformanceTuningAnalysis; +} diff --git a/lib/jmsutils/lib/response/get-subscription-acknowledgment-configuration-response.ts b/lib/jmsutils/lib/response/get-subscription-acknowledgment-configuration-response.ts new file mode 100644 index 0000000000..472c6d1698 --- /dev/null +++ b/lib/jmsutils/lib/response/get-subscription-acknowledgment-configuration-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetSubscriptionAcknowledgmentConfigurationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.SubscriptionAcknowledgmentConfiguration instance. + */ + "subscriptionAcknowledgmentConfiguration": model.SubscriptionAcknowledgmentConfiguration; +} diff --git a/lib/jmsutils/lib/response/get-work-request-response.ts b/lib/jmsutils/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..bd5a6514cf --- /dev/null +++ b/lib/jmsutils/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/jmsutils/lib/response/index.ts b/lib/jmsutils/lib/response/index.ts new file mode 100644 index 0000000000..d5ab7baae0 --- /dev/null +++ b/lib/jmsutils/lib/response/index.ts @@ -0,0 +1,49 @@ +/** + * Java Management Service Utilities API + * The APIs for Analyze Applications and other utilities of Java Management Service. + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as CancelWorkRequestResponse from "./cancel-work-request-response"; +export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; +import * as DeleteJavaMigrationAnalysisResponse from "./delete-java-migration-analysis-response"; +export import DeleteJavaMigrationAnalysisResponse = DeleteJavaMigrationAnalysisResponse.DeleteJavaMigrationAnalysisResponse; +import * as DeletePerformanceTuningAnalysisResponse from "./delete-performance-tuning-analysis-response"; +export import DeletePerformanceTuningAnalysisResponse = DeletePerformanceTuningAnalysisResponse.DeletePerformanceTuningAnalysisResponse; +import * as GetAnalyzeApplicationsConfigurationResponse from "./get-analyze-applications-configuration-response"; +export import GetAnalyzeApplicationsConfigurationResponse = GetAnalyzeApplicationsConfigurationResponse.GetAnalyzeApplicationsConfigurationResponse; +import * as GetJavaMigrationAnalysisResponse from "./get-java-migration-analysis-response"; +export import GetJavaMigrationAnalysisResponse = GetJavaMigrationAnalysisResponse.GetJavaMigrationAnalysisResponse; +import * as GetPerformanceTuningAnalysisResponse from "./get-performance-tuning-analysis-response"; +export import GetPerformanceTuningAnalysisResponse = GetPerformanceTuningAnalysisResponse.GetPerformanceTuningAnalysisResponse; +import * as GetSubscriptionAcknowledgmentConfigurationResponse from "./get-subscription-acknowledgment-configuration-response"; +export import GetSubscriptionAcknowledgmentConfigurationResponse = GetSubscriptionAcknowledgmentConfigurationResponse.GetSubscriptionAcknowledgmentConfigurationResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListJavaMigrationAnalysisResponse from "./list-java-migration-analysis-response"; +export import ListJavaMigrationAnalysisResponse = ListJavaMigrationAnalysisResponse.ListJavaMigrationAnalysisResponse; +import * as ListPerformanceTuningAnalysisResponse from "./list-performance-tuning-analysis-response"; +export import ListPerformanceTuningAnalysisResponse = ListPerformanceTuningAnalysisResponse.ListPerformanceTuningAnalysisResponse; +import * as ListWorkItemsResponse from "./list-work-items-response"; +export import ListWorkItemsResponse = ListWorkItemsResponse.ListWorkItemsResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as RequestJavaMigrationAnalysisResponse from "./request-java-migration-analysis-response"; +export import RequestJavaMigrationAnalysisResponse = RequestJavaMigrationAnalysisResponse.RequestJavaMigrationAnalysisResponse; +import * as RequestPerformanceTuningAnalysisResponse from "./request-performance-tuning-analysis-response"; +export import RequestPerformanceTuningAnalysisResponse = RequestPerformanceTuningAnalysisResponse.RequestPerformanceTuningAnalysisResponse; +import * as UpdateAnalyzeApplicationsConfigurationResponse from "./update-analyze-applications-configuration-response"; +export import UpdateAnalyzeApplicationsConfigurationResponse = UpdateAnalyzeApplicationsConfigurationResponse.UpdateAnalyzeApplicationsConfigurationResponse; +import * as UpdateSubscriptionAcknowledgmentConfigurationResponse from "./update-subscription-acknowledgment-configuration-response"; +export import UpdateSubscriptionAcknowledgmentConfigurationResponse = UpdateSubscriptionAcknowledgmentConfigurationResponse.UpdateSubscriptionAcknowledgmentConfigurationResponse; diff --git a/lib/jmsutils/lib/response/list-java-migration-analysis-response.ts b/lib/jmsutils/lib/response/list-java-migration-analysis-response.ts new file mode 100644 index 0000000000..b4a2d3820e --- /dev/null +++ b/lib/jmsutils/lib/response/list-java-migration-analysis-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListJavaMigrationAnalysisResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.JavaMigrationAnalysisCollection instance. + */ + "javaMigrationAnalysisCollection": model.JavaMigrationAnalysisCollection; +} diff --git a/lib/jmsutils/lib/response/list-performance-tuning-analysis-response.ts b/lib/jmsutils/lib/response/list-performance-tuning-analysis-response.ts new file mode 100644 index 0000000000..cc746ad5b5 --- /dev/null +++ b/lib/jmsutils/lib/response/list-performance-tuning-analysis-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListPerformanceTuningAnalysisResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.PerformanceTuningAnalysisCollection instance. + */ + "performanceTuningAnalysisCollection": model.PerformanceTuningAnalysisCollection; +} diff --git a/lib/jmsutils/lib/response/list-work-items-response.ts b/lib/jmsutils/lib/response/list-work-items-response.ts new file mode 100644 index 0000000000..02137acd2e --- /dev/null +++ b/lib/jmsutils/lib/response/list-work-items-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkItemsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkItemCollection instance. + */ + "workItemCollection": model.WorkItemCollection; +} diff --git a/lib/jmsutils/lib/response/list-work-request-errors-response.ts b/lib/jmsutils/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..b34de11fa6 --- /dev/null +++ b/lib/jmsutils/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/jmsutils/lib/response/list-work-request-logs-response.ts b/lib/jmsutils/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..f20bb60526 --- /dev/null +++ b/lib/jmsutils/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/jmsutils/lib/response/list-work-requests-response.ts b/lib/jmsutils/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..d60ec1c5d1 --- /dev/null +++ b/lib/jmsutils/lib/response/list-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/jmsutils/lib/response/request-java-migration-analysis-response.ts b/lib/jmsutils/lib/response/request-java-migration-analysis-response.ts new file mode 100644 index 0000000000..cdb6e11437 --- /dev/null +++ b/lib/jmsutils/lib/response/request-java-migration-analysis-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RequestJavaMigrationAnalysisResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jmsutils/lib/response/request-performance-tuning-analysis-response.ts b/lib/jmsutils/lib/response/request-performance-tuning-analysis-response.ts new file mode 100644 index 0000000000..75d8684fe1 --- /dev/null +++ b/lib/jmsutils/lib/response/request-performance-tuning-analysis-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RequestPerformanceTuningAnalysisResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/jmsutils/lib/response/update-analyze-applications-configuration-response.ts b/lib/jmsutils/lib/response/update-analyze-applications-configuration-response.ts new file mode 100644 index 0000000000..933b588dd4 --- /dev/null +++ b/lib/jmsutils/lib/response/update-analyze-applications-configuration-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateAnalyzeApplicationsConfigurationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.AnalyzeApplicationsConfiguration instance. + */ + "analyzeApplicationsConfiguration": model.AnalyzeApplicationsConfiguration; +} diff --git a/lib/jmsutils/lib/response/update-subscription-acknowledgment-configuration-response.ts b/lib/jmsutils/lib/response/update-subscription-acknowledgment-configuration-response.ts new file mode 100644 index 0000000000..a84634922c --- /dev/null +++ b/lib/jmsutils/lib/response/update-subscription-acknowledgment-configuration-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20250521 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateSubscriptionAcknowledgmentConfigurationResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.SubscriptionAcknowledgmentConfiguration instance. + */ + "subscriptionAcknowledgmentConfiguration": model.SubscriptionAcknowledgmentConfiguration; +} diff --git a/lib/jmsutils/package.json b/lib/jmsutils/package.json new file mode 100644 index 0000000000..33b5c91b37 --- /dev/null +++ b/lib/jmsutils/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-jmsutils", + "version": "2.118.0", + "description": "OCI NodeJS client for Jms Utils Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/jmsutils/index.js", + "typings": "../../target/lib/jmsutils/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/jmsutils/tsconfig.json b/lib/jmsutils/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/jmsutils/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 61e364b163..508dfd3f5a 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 1f012f726a..9bfa19e5e7 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for License Manager Service", "repository": { "type": "git", diff --git a/lib/limits/package.json b/lib/limits/package.json index 587dbcb31a..35c8751957 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index c7707e36d8..b66ff98c12 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 95c5b8d612..6e026b6a29 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 506870e4a1..244eb4ddbc 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index a4d739eb06..a4fd19d6e8 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 5f85017c13..0576202915 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 313f4b03cb..d53e01efcc 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index 8037a78c88..b2aa0a6a53 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managedkafka/package.json b/lib/managedkafka/package.json index 32b6662b99..ef51eb26b9 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Managed Kafka Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index fdded55b87..db06a1e81d 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Management Agent Service", "repository": { "type": "git", diff --git a/lib/managementdashboard/package.json b/lib/managementdashboard/package.json index 784be471fd..b38aa74031 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/lib/client.ts b/lib/marketplace/lib/client.ts index e6597295e5..041d1635b9 100644 --- a/lib/marketplace/lib/client.ts +++ b/lib/marketplace/lib/client.ts @@ -723,6 +723,89 @@ export class MarketplaceClient { } } + /** + * Generates attested marketplace metadata + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateMarketplaceExternalAttestedMetadataRequest + * @return CreateMarketplaceExternalAttestedMetadataResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplace/CreateMarketplaceExternalAttestedMetadata.ts.html |here} to see how to use CreateMarketplaceExternalAttestedMetadata API. + */ + public async createMarketplaceExternalAttestedMetadata( + createMarketplaceExternalAttestedMetadataRequest: requests.CreateMarketplaceExternalAttestedMetadataRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation MarketplaceClient#createMarketplaceExternalAttestedMetadata." + ); + const operationName = "createMarketplaceExternalAttestedMetadata"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/marketplace/20181001/CreateMarketplaceExternalAttestedMetadataDetails/CreateMarketplaceExternalAttestedMetadata"; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": createMarketplaceExternalAttestedMetadataRequest.opcRequestId, + "opc-retry-token": createMarketplaceExternalAttestedMetadataRequest.opcRetryToken + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createMarketplaceExternalAttestedMetadataRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/marketplaceExternalAttestedMetadata", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createMarketplaceExternalAttestedMetadataRequest.createMarketplaceExternalAttestedMetadataDetails, + "CreateMarketplaceExternalAttestedMetadataDetails", + model.CreateMarketplaceExternalAttestedMetadataDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "marketplaceExternalAttestedMetadata", + bodyModel: model.MarketplaceExternalAttestedMetadata, + type: "model.MarketplaceExternalAttestedMetadata", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Creates a publication of the specified listing type with an optional default package. * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. @@ -2160,6 +2243,139 @@ To get the image ID to launch an instance, issue a [GetAppCatalogListingResource return paginateResponses(request, req => this.listListings(req)); } + /** + * Get public certificates used in JWT signing, in JSON Web Key Sets format + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListMarketplaceMetadataPublicKeysRequest + * @return ListMarketplaceMetadataPublicKeysResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplace/ListMarketplaceMetadataPublicKeys.ts.html |here} to see how to use ListMarketplaceMetadataPublicKeys API. + */ + public async listMarketplaceMetadataPublicKeys( + listMarketplaceMetadataPublicKeysRequest: requests.ListMarketplaceMetadataPublicKeysRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MarketplaceClient#listMarketplaceMetadataPublicKeys."); + const operationName = "listMarketplaceMetadataPublicKeys"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/marketplace/20181001/MarketplaceMetadataPublicKeySummary/ListMarketplaceMetadataPublicKeys"; + const pathParams = {}; + + const queryParams = { + "limit": listMarketplaceMetadataPublicKeysRequest.limit, + "page": listMarketplaceMetadataPublicKeysRequest.page, + "sortOrder": listMarketplaceMetadataPublicKeysRequest.sortOrder, + "sortBy": listMarketplaceMetadataPublicKeysRequest.sortBy, + "compartmentId": listMarketplaceMetadataPublicKeysRequest.compartmentId + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listMarketplaceMetadataPublicKeysRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listMarketplaceMetadataPublicKeysRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/marketplaceMetadataPublicKeys", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "items", + bodyModel: model.MarketplaceMetadataPublicKeySummary, + type: "Array", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * NOTE: This function is deprecated in favor of listMarketplaceMetadataPublicKeysRecordIterator function. + * Creates a new async iterator which will iterate over the models.MarketplaceMetadataPublicKeySummary objects + * contained in responses from the listMarketplaceMetadataPublicKeys operation. This iterator will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listAllMarketplaceMetadataPublicKeys( + request: requests.ListMarketplaceMetadataPublicKeysRequest + ): AsyncIterableIterator { + return paginateRecords(request, req => this.listMarketplaceMetadataPublicKeys(req)); + } + + /** + * NOTE: This function is deprecated in favor of listMarketplaceMetadataPublicKeysResponseIterator function. + * Creates a new async iterator which will iterate over the responses received from the listMarketplaceMetadataPublicKeys operation. This iterator + * will fetch more data from the server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listAllMarketplaceMetadataPublicKeysResponses( + request: requests.ListMarketplaceMetadataPublicKeysRequest + ): AsyncIterableIterator { + return paginateResponses(request, req => this.listMarketplaceMetadataPublicKeys(req)); + } + + /** + * Creates a new async iterator which will iterate over the models.MarketplaceMetadataPublicKeySummary objects + * contained in responses from the listMarketplaceMetadataPublicKeys operation. This iterator will fetch more data from the + * server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listMarketplaceMetadataPublicKeysRecordIterator( + request: requests.ListMarketplaceMetadataPublicKeysRequest + ): AsyncIterableIterator { + return paginateRecords(request, req => this.listMarketplaceMetadataPublicKeys(req)); + } + + /** + * Creates a new async iterator which will iterate over the responses received from the listMarketplaceMetadataPublicKeys operation. This iterator + * will fetch more data from the server as needed. + * + * @param request a request which can be sent to the service operation + */ + public listMarketplaceMetadataPublicKeysResponseIterator( + request: requests.ListMarketplaceMetadataPublicKeysRequest + ): AsyncIterableIterator { + return paginateResponses(request, req => this.listMarketplaceMetadataPublicKeys(req)); + } + /** * Gets the list of packages for a listing. *

diff --git a/lib/marketplace/lib/model/create-marketplace-external-attested-metadata-details.ts b/lib/marketplace/lib/model/create-marketplace-external-attested-metadata-details.ts new file mode 100644 index 0000000000..8bd00297e9 --- /dev/null +++ b/lib/marketplace/lib/model/create-marketplace-external-attested-metadata-details.ts @@ -0,0 +1,44 @@ +/** + * Marketplace Service API + * Use the Marketplace API to manage applications in Oracle Cloud Infrastructure Marketplace. For more information, see [Overview of Marketplace](https://docs.oracle.com/iaas/Content/Marketplace/Concepts/marketoverview.htm) + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Payload that customer will use to generate JWT for launched instance associated with Marketplace listing + */ +export interface CreateMarketplaceExternalAttestedMetadataDetails { + /** + * unique id that identifies the associated instance + */ + "instanceId": string; + /** + * compartment that associated instance is in + */ + "compartmentId": string; +} + +export namespace CreateMarketplaceExternalAttestedMetadataDetails { + export function getJsonObj(obj: CreateMarketplaceExternalAttestedMetadataDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: CreateMarketplaceExternalAttestedMetadataDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/marketplace/lib/model/index.ts b/lib/marketplace/lib/model/index.ts index 5227ddae66..8fe74d1ef4 100644 --- a/lib/marketplace/lib/model/index.ts +++ b/lib/marketplace/lib/model/index.ts @@ -27,6 +27,8 @@ import * as ChangePublicationCompartmentDetails from "./change-publication-compa export import ChangePublicationCompartmentDetails = ChangePublicationCompartmentDetails.ChangePublicationCompartmentDetails; import * as CreateAcceptedAgreementDetails from "./create-accepted-agreement-details"; export import CreateAcceptedAgreementDetails = CreateAcceptedAgreementDetails.CreateAcceptedAgreementDetails; +import * as CreateMarketplaceExternalAttestedMetadataDetails from "./create-marketplace-external-attested-metadata-details"; +export import CreateMarketplaceExternalAttestedMetadataDetails = CreateMarketplaceExternalAttestedMetadataDetails.CreateMarketplaceExternalAttestedMetadataDetails; import * as CreatePublicationDetails from "./create-publication-details"; export import CreatePublicationDetails = CreatePublicationDetails.CreatePublicationDetails; import * as CreatePublicationPackage from "./create-publication-package"; @@ -63,6 +65,10 @@ import * as ListingSummary from "./listing-summary"; export import ListingSummary = ListingSummary.ListingSummary; import * as ListingType from "./listing-type"; export import ListingType = ListingType.ListingType; +import * as MarketplaceExternalAttestedMetadata from "./marketplace-external-attested-metadata"; +export import MarketplaceExternalAttestedMetadata = MarketplaceExternalAttestedMetadata.MarketplaceExternalAttestedMetadata; +import * as MarketplaceMetadataPublicKeySummary from "./marketplace-metadata-public-key-summary"; +export import MarketplaceMetadataPublicKeySummary = MarketplaceMetadataPublicKeySummary.MarketplaceMetadataPublicKeySummary; import * as MatchingContextTypeEnum from "./matching-context-type-enum"; export import MatchingContextTypeEnum = MatchingContextTypeEnum.MatchingContextTypeEnum; import * as NamedLink from "./named-link"; diff --git a/lib/marketplace/lib/model/listing-summary.ts b/lib/marketplace/lib/model/listing-summary.ts index 66737e6574..3c2db6f459 100644 --- a/lib/marketplace/lib/model/listing-summary.ts +++ b/lib/marketplace/lib/model/listing-summary.ts @@ -46,7 +46,7 @@ export interface ListingSummary { /** * Summary of the pricing types available across all packages in the listing. */ - "pricingTypes"?: Array; + "pricingTypes"?: Array; /** * The list of compatible architectures supported by the listing */ @@ -76,17 +76,6 @@ export interface ListingSummary { } export namespace ListingSummary { - export enum PricingTypes { - Free = "FREE", - Byol = "BYOL", - Paygo = "PAYGO", - /** - * This value is used if a service returns a value for this enum that is not recognized by this - * version of the SDK. - */ - UnknownValue = "UNKNOWN_VALUE" - } - export enum CompatibleArchitectures { X86 = "X86", Arm = "ARM", @@ -103,6 +92,12 @@ export namespace ListingSummary { ...{ "icon": obj.icon ? model.UploadData.getJsonObj(obj.icon) : undefined, + "pricingTypes": obj.pricingTypes + ? obj.pricingTypes.map(item => { + return model.PricingTypeEnum.getJsonObj(item); + }) + : undefined, + "regions": obj.regions ? obj.regions.map(item => { return model.Region.getJsonObj(item); @@ -126,6 +121,12 @@ export namespace ListingSummary { ...{ "icon": obj.icon ? model.UploadData.getDeserializedJsonObj(obj.icon) : undefined, + "pricingTypes": obj.pricingTypes + ? obj.pricingTypes.map(item => { + return model.PricingTypeEnum.getDeserializedJsonObj(item); + }) + : undefined, + "regions": obj.regions ? obj.regions.map(item => { return model.Region.getDeserializedJsonObj(item); diff --git a/lib/marketplace/lib/model/marketplace-external-attested-metadata.ts b/lib/marketplace/lib/model/marketplace-external-attested-metadata.ts new file mode 100644 index 0000000000..2eb0919826 --- /dev/null +++ b/lib/marketplace/lib/model/marketplace-external-attested-metadata.ts @@ -0,0 +1,38 @@ +/** + * Marketplace Service API + * Use the Marketplace API to manage applications in Oracle Cloud Infrastructure Marketplace. For more information, see [Overview of Marketplace](https://docs.oracle.com/iaas/Content/Marketplace/Concepts/marketoverview.htm) + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Model that contains signed marketplace instance metadata and associated signature in JWT form + */ +export interface MarketplaceExternalAttestedMetadata { + /** + * The serialized JWT token, containing header, payload, signature + */ + "serializedJwt": string; +} + +export namespace MarketplaceExternalAttestedMetadata { + export function getJsonObj(obj: MarketplaceExternalAttestedMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MarketplaceExternalAttestedMetadata): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/marketplace/lib/model/marketplace-metadata-public-key-summary.ts b/lib/marketplace/lib/model/marketplace-metadata-public-key-summary.ts new file mode 100644 index 0000000000..3f3a0411f1 --- /dev/null +++ b/lib/marketplace/lib/model/marketplace-metadata-public-key-summary.ts @@ -0,0 +1,66 @@ +/** + * Marketplace Service API + * Use the Marketplace API to manage applications in Oracle Cloud Infrastructure Marketplace. For more information, see [Overview of Marketplace](https://docs.oracle.com/iaas/Content/Marketplace/Concepts/marketoverview.htm) + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Model that contains signed marketplace instance metadata and associated signature in JWT form + */ +export interface MarketplaceMetadataPublicKeySummary { + /** + * algorithm for public key (i.e. RS256) + */ + "keyAlgorithm": string; + /** + * key type (i.e. RSA) + */ + "keyType": string; + /** + * how key is to be used + */ + "keyUse": string; + /** + * unique id that maps to public certificate, directs user which certificate to use to verfiy + */ + "keyId": string; + /** + * base64 encoded exponent for public key + */ + "exponent": string; + /** + * RSA public modulus + */ + "modulus": string; + /** + * chain of certificates used to sign JWT + */ + "certificateChain": Array; + /** + * unique identifier of associated X509 certificate + */ + "certificateThumbprint": string; +} + +export namespace MarketplaceMetadataPublicKeySummary { + export function getJsonObj(obj: MarketplaceMetadataPublicKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MarketplaceMetadataPublicKeySummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/marketplace/lib/request/create-marketplace-external-attested-metadata-request.ts b/lib/marketplace/lib/request/create-marketplace-external-attested-metadata-request.ts new file mode 100644 index 0000000000..ba21ac0bf4 --- /dev/null +++ b/lib/marketplace/lib/request/create-marketplace-external-attested-metadata-request.ts @@ -0,0 +1,39 @@ +/** + * + * + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplace/CreateMarketplaceExternalAttestedMetadata.ts.html |here} to see how to use CreateMarketplaceExternalAttestedMetadataRequest. + */ +export interface CreateMarketplaceExternalAttestedMetadataRequest extends common.BaseRequest { + /** + * Payload that customer will use to generate JWT for launched instance associated with Marketplace listing + */ + "createMarketplaceExternalAttestedMetadataDetails": model.CreateMarketplaceExternalAttestedMetadataDetails; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or server error without + * risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before + * then due to conflicting operations (for example, if a resource has been deleted and purged from the system, + * then a retry of the original creation request might be rejected). + * + */ + "opcRetryToken"?: string; +} diff --git a/lib/marketplace/lib/request/index.ts b/lib/marketplace/lib/request/index.ts index 42b62a81f9..ac3ac2d3a8 100644 --- a/lib/marketplace/lib/request/index.ts +++ b/lib/marketplace/lib/request/index.ts @@ -19,6 +19,8 @@ import * as ChangePublicationCompartmentRequest from "./change-publication-compa export import ChangePublicationCompartmentRequest = ChangePublicationCompartmentRequest.ChangePublicationCompartmentRequest; import * as CreateAcceptedAgreementRequest from "./create-accepted-agreement-request"; export import CreateAcceptedAgreementRequest = CreateAcceptedAgreementRequest.CreateAcceptedAgreementRequest; +import * as CreateMarketplaceExternalAttestedMetadataRequest from "./create-marketplace-external-attested-metadata-request"; +export import CreateMarketplaceExternalAttestedMetadataRequest = CreateMarketplaceExternalAttestedMetadataRequest.CreateMarketplaceExternalAttestedMetadataRequest; import * as CreatePublicationRequest from "./create-publication-request"; export import CreatePublicationRequest = CreatePublicationRequest.CreatePublicationRequest; import * as DeleteAcceptedAgreementRequest from "./delete-accepted-agreement-request"; @@ -49,6 +51,8 @@ import * as ListCategoriesRequest from "./list-categories-request"; export import ListCategoriesRequest = ListCategoriesRequest.ListCategoriesRequest; import * as ListListingsRequest from "./list-listings-request"; export import ListListingsRequest = ListListingsRequest.ListListingsRequest; +import * as ListMarketplaceMetadataPublicKeysRequest from "./list-marketplace-metadata-public-keys-request"; +export import ListMarketplaceMetadataPublicKeysRequest = ListMarketplaceMetadataPublicKeysRequest.ListMarketplaceMetadataPublicKeysRequest; import * as ListPackagesRequest from "./list-packages-request"; export import ListPackagesRequest = ListPackagesRequest.ListPackagesRequest; import * as ListPublicationPackagesRequest from "./list-publication-packages-request"; diff --git a/lib/marketplace/lib/request/list-marketplace-metadata-public-keys-request.ts b/lib/marketplace/lib/request/list-marketplace-metadata-public-keys-request.ts new file mode 100644 index 0000000000..0e0a57572a --- /dev/null +++ b/lib/marketplace/lib/request/list-marketplace-metadata-public-keys-request.ts @@ -0,0 +1,60 @@ +/** + * + * + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/marketplace/ListMarketplaceMetadataPublicKeys.ts.html |here} to see how to use ListMarketplaceMetadataPublicKeysRequest. + */ +export interface ListMarketplaceMetadataPublicKeysRequest extends common.BaseRequest { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, + * please provide the request ID. + * + */ + "opcRequestId"?: string; + /** + * How many records to return. Specify a value greater than zero and less than or equal to 1000. The default is 30. + * + */ + "limit"?: number; + /** + * The value of the {@code opc-next-page} response header from the previous \"List\" call. + */ + "page"?: string; + /** + * The sort order to use, either {@code ASC} or {@code DESC}. + */ + "sortOrder"?: ListMarketplaceMetadataPublicKeysRequest.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for keyId is descending. + * + */ + "sortBy"?: ListMarketplaceMetadataPublicKeysRequest.SortBy; + /** + * The unique identifier for the compartment. + */ + "compartmentId"?: string; +} + +export namespace ListMarketplaceMetadataPublicKeysRequest { + export enum SortOrder { + Asc = "ASC", + Desc = "DESC" + } + + export enum SortBy { + KeyId = "keyId" + } +} diff --git a/lib/marketplace/lib/response/create-marketplace-external-attested-metadata-response.ts b/lib/marketplace/lib/response/create-marketplace-external-attested-metadata-response.ts new file mode 100644 index 0000000000..7f1dd35ede --- /dev/null +++ b/lib/marketplace/lib/response/create-marketplace-external-attested-metadata-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateMarketplaceExternalAttestedMetadataResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.MarketplaceExternalAttestedMetadata instance. + */ + "marketplaceExternalAttestedMetadata": model.MarketplaceExternalAttestedMetadata; +} diff --git a/lib/marketplace/lib/response/index.ts b/lib/marketplace/lib/response/index.ts index 2d1557054f..392799e068 100644 --- a/lib/marketplace/lib/response/index.ts +++ b/lib/marketplace/lib/response/index.ts @@ -19,6 +19,8 @@ import * as ChangePublicationCompartmentResponse from "./change-publication-comp export import ChangePublicationCompartmentResponse = ChangePublicationCompartmentResponse.ChangePublicationCompartmentResponse; import * as CreateAcceptedAgreementResponse from "./create-accepted-agreement-response"; export import CreateAcceptedAgreementResponse = CreateAcceptedAgreementResponse.CreateAcceptedAgreementResponse; +import * as CreateMarketplaceExternalAttestedMetadataResponse from "./create-marketplace-external-attested-metadata-response"; +export import CreateMarketplaceExternalAttestedMetadataResponse = CreateMarketplaceExternalAttestedMetadataResponse.CreateMarketplaceExternalAttestedMetadataResponse; import * as CreatePublicationResponse from "./create-publication-response"; export import CreatePublicationResponse = CreatePublicationResponse.CreatePublicationResponse; import * as DeleteAcceptedAgreementResponse from "./delete-accepted-agreement-response"; @@ -49,6 +51,8 @@ import * as ListCategoriesResponse from "./list-categories-response"; export import ListCategoriesResponse = ListCategoriesResponse.ListCategoriesResponse; import * as ListListingsResponse from "./list-listings-response"; export import ListListingsResponse = ListListingsResponse.ListListingsResponse; +import * as ListMarketplaceMetadataPublicKeysResponse from "./list-marketplace-metadata-public-keys-response"; +export import ListMarketplaceMetadataPublicKeysResponse = ListMarketplaceMetadataPublicKeysResponse.ListMarketplaceMetadataPublicKeysResponse; import * as ListPackagesResponse from "./list-packages-response"; export import ListPackagesResponse = ListPackagesResponse.ListPackagesResponse; import * as ListPublicationPackagesResponse from "./list-publication-packages-response"; diff --git a/lib/marketplace/lib/response/list-marketplace-metadata-public-keys-response.ts b/lib/marketplace/lib/response/list-marketplace-metadata-public-keys-response.ts new file mode 100644 index 0000000000..538c009e73 --- /dev/null +++ b/lib/marketplace/lib/response/list-marketplace-metadata-public-keys-response.ts @@ -0,0 +1,35 @@ +/** + * + * + * OpenAPI spec version: 20181001 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListMarketplaceMetadataPublicKeysResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For pagination of a list of items. When paging through a list, if this header appears in the response, + * then a partial list might have been returned. Include this value as the {@code page} parameter for the + * subsequent GET request to get the next batch of items. + * + */ + "opcNextPage": string; + /** + * A list of MarketplaceMetadataPublicKeySummary instances. + */ + "items": model.MarketplaceMetadataPublicKeySummary[]; +} diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index bd84e2dbf0..49ca3659b4 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index 7e7589561a..ee004e918b 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 307fe1a83e..52542e922c 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Marketplace Publisher Service", "repository": { "type": "git", diff --git a/lib/mediaservices/package.json b/lib/mediaservices/package.json index 39ee93cc65..d820f4cb19 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index 2b1c75acc5..e9ca585bc6 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index 84b34d894b..ff6c4610f3 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Model Deployment Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index 7d2c32d457..cebefa1df9 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/lib/model/network-anchor-summary.ts b/lib/multicloud/lib/model/network-anchor-summary.ts index ce359844cf..2aff2615aa 100644 --- a/lib/multicloud/lib/model/network-anchor-summary.ts +++ b/lib/multicloud/lib/model/network-anchor-summary.ts @@ -38,6 +38,10 @@ export interface NetworkAnchorSummary { * OCI resource Id of VCN. */ "vcnId"?: string; + /** + * The CPG ID in which Network Anchor will be created. + */ + "clusterPlacementGroupId"?: string; /** * The date and time the NetworkAnchor was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). *

diff --git a/lib/multicloud/lib/model/network-anchor.ts b/lib/multicloud/lib/model/network-anchor.ts index 5e2cb93019..f262ad15a7 100644 --- a/lib/multicloud/lib/model/network-anchor.ts +++ b/lib/multicloud/lib/model/network-anchor.ts @@ -93,6 +93,10 @@ Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} * */ "setupMode"?: NetworkAnchor.SetupMode; + /** + * The CPG ID in which Network Anchor will be created. + */ + "clusterPlacementGroupId"?: string; "ociMetadataItem"?: model.OciNetworkMetadata; "cloudServiceProviderMetadataItem"?: model.CloudServiceProviderNetworkMetadataItem; } diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index d28eeabcab..8dd80054cf 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index f36f23fee9..251613b580 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index 6d26a25d83..0d605ddb71 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index 05120c0215..d07771b98d 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Network Load Balancer Service", "repository": { "type": "git", diff --git a/lib/nosql/package.json b/lib/nosql/package.json index 0ea82af39b..6c2fff8456 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index 74504a7628..72ce0f49a2 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 9bee80b441..d160eb5e26 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index d4bd81357a..2228f545bc 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Oci Control Center Service", "repository": { "type": "git", diff --git a/lib/ocvp/package.json b/lib/ocvp/package.json index 099a845d5a..610f8aae67 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index 1a6adedf07..b255a57f85 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index d70e7bd7e7..2abd31c3db 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 5bb488d019..3b566e5394 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index b0a67b6946..002db2c1db 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index dc6b22e3e9..a68f8d33e0 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 0b0c24ccef..a6d437d419 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Operator Access Control Service", "repository": { "type": "git", diff --git a/lib/opsi/package.json b/lib/opsi/package.json index 8e6959f11e..4f020f7276 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 80894671f4..e2693de3ab 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 1149e453b4..441f7520e3 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Os Management Hub Service", "repository": { "type": "git", diff --git a/lib/ospgateway/package.json b/lib/ospgateway/package.json index ece73ac42c..ffeb33ec19 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Osp Gateway Service", "repository": { "type": "git", diff --git a/lib/osubbillingschedule/package.json b/lib/osubbillingschedule/package.json index 7286e318b5..2642ee63fb 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Osub Billing Schedule Service", "repository": { "type": "git", diff --git a/lib/osuborganizationsubscription/package.json b/lib/osuborganizationsubscription/package.json index 629ba90da4..875daeb6c8 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Osub Organization Subscription Service", "repository": { "type": "git", diff --git a/lib/osubsubscription/package.json b/lib/osubsubscription/package.json index 6b85b71e2e..9f95f1c28e 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Osub Subscription Service", "repository": { "type": "git", diff --git a/lib/osubusage/package.json b/lib/osubusage/package.json index a3cd7d6faa..b83855c4ff 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Osub Usage Service", "repository": { "type": "git", diff --git a/lib/psql/package.json b/lib/psql/package.json index 3e59aba424..b3962e6ad9 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 0c80d2666f..0323e46d2e 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 90c1d16fb5..7f7e573e39 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/lib/model/redis-cluster-summary.ts b/lib/redis/lib/model/redis-cluster-summary.ts index cc98fea414..c9748cf4bc 100644 --- a/lib/redis/lib/model/redis-cluster-summary.ts +++ b/lib/redis/lib/model/redis-cluster-summary.ts @@ -63,6 +63,14 @@ export interface RedisClusterSummary { * The private IP address of the API endpoint for the cluster's replica nodes. */ "replicasEndpointIpAddress": string; + /** + * The fully qualified domain name (FQDN) of the API endpoint for sharded cluster discovery. + */ + "discoveryFqdn"?: string; + /** + * The private IP address of the API endpoint for shareded cluster discovery. + */ + "discoveryEndpointIpAddress"?: string; /** * The OCI Cache engine version that the cluster is running. */ diff --git a/lib/redis/lib/model/redis-cluster.ts b/lib/redis/lib/model/redis-cluster.ts index 5e4cbaa882..407d8e1858 100644 --- a/lib/redis/lib/model/redis-cluster.ts +++ b/lib/redis/lib/model/redis-cluster.ts @@ -62,6 +62,14 @@ export interface RedisCluster { * The private IP address of the API endpoint for the cluster's replica nodes. */ "replicasEndpointIpAddress": string; + /** + * The fully qualified domain name (FQDN) of the API endpoint for sharded cluster discovery. + */ + "discoveryFqdn"?: string; + /** + * The private IP address of the API endpoint for sharded cluster discovery. + */ + "discoveryEndpointIpAddress"?: string; /** * The OCI Cache engine version that the cluster is running. */ diff --git a/lib/redis/package.json b/lib/redis/package.json index b383c88264..1dcc10a3db 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourceanalytics/README.md b/lib/resourceanalytics/README.md new file mode 100644 index 0000000000..55d208be38 --- /dev/null +++ b/lib/resourceanalytics/README.md @@ -0,0 +1,22 @@ + +# OCI NodeJS client for Resource Analytics Service + +This module enables you to write code to manage resources for Resource Analytics Service. + +## Requirements + +To use this module, you must have the following: + +- An Oracle Cloud Infrastructure account. +- A user created in that account, in a group with a policy that grants the desired permissions. This can be a user for yourself, or another person/system that needs to call the API. For an example of how to set up a new user, group, compartment, and policy, see [Adding Users](https://docs.cloud.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm). For a list of typical policies you may want to use, see [Common Policies](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Concepts/commonpolicies.htm). +- A key pair used for signing API requests, with the public key uploaded to Oracle. Only the user calling the API should be in possession of the private key. For more information, see [Configuring Credentials](https://docs.cloud.oracle.com/en-us/iaas/Content/API/SDKDocs/typescriptsdkgettingstarted.htm#Configure) + +## Installing + +Use the following command to install this module: + +``` +npm install oci-resourceanalytics +``` + +Alternatively you can git clone this repo. diff --git a/lib/resourceanalytics/index.ts b/lib/resourceanalytics/index.ts new file mode 100644 index 0000000000..0988e74905 --- /dev/null +++ b/lib/resourceanalytics/index.ts @@ -0,0 +1,30 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as requests from "./lib/request"; +import * as models from "./lib/model"; +import * as responses from "./lib/response"; +import * as client from "./lib/client"; +import * as monitoredregion_waiter from "./lib/monitoredregion-waiter"; +import * as resourceanalyticsinstance_waiter from "./lib/resourceanalyticsinstance-waiter"; +import * as tenancyattachment_waiter from "./lib/tenancyattachment-waiter"; + +export { models }; +export { requests }; +export { responses }; +export import MonitoredRegionClient = client.MonitoredRegionClient; +export import MonitoredRegionWaiter = monitoredregion_waiter.MonitoredRegionWaiter; +export import ResourceAnalyticsInstanceClient = client.ResourceAnalyticsInstanceClient; +export import ResourceAnalyticsInstanceWaiter = resourceanalyticsinstance_waiter.ResourceAnalyticsInstanceWaiter; +export import TenancyAttachmentClient = client.TenancyAttachmentClient; +export import TenancyAttachmentWaiter = tenancyattachment_waiter.TenancyAttachmentWaiter; diff --git a/lib/resourceanalytics/lib/client.ts b/lib/resourceanalytics/lib/client.ts new file mode 100644 index 0000000000..de9540abd6 --- /dev/null +++ b/lib/resourceanalytics/lib/client.ts @@ -0,0 +1,2453 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import common = require("oci-common"); +import * as requests from "./request"; +import * as model from "./model"; +import * as responses from "./response"; +import { MonitoredRegionWaiter } from "./monitoredregion-waiter"; +import { ResourceAnalyticsInstanceWaiter } from "./resourceanalyticsinstance-waiter"; +import { TenancyAttachmentWaiter } from "./tenancyattachment-waiter"; +import { + composeResponse, + composeRequest, + GenericRetrier, + developerToolConfiguration +} from "oci-common"; +const Breaker = require("opossum"); + +// =============================================== +// This file is autogenerated - Please do not edit +// =============================================== + +export enum MonitoredRegionApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class MonitoredRegionClient { + protected static serviceEndpointTemplate = + "https://resource-analytics.{region}.ocp.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": MonitoredRegionWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "MonitoredRegion"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("resourceanalytics")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("resourceanalytics"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20241031"; + if (this.logger) this.logger.info(`MonitoredRegionClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MonitoredRegionClient.serviceEndpointTemplate, + this._region, + MonitoredRegionClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MonitoredRegionClient.serviceEndpointTemplate, + this._regionId, + MonitoredRegionClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + MonitoredRegionClient.serviceEndpointTemplate, + region, + MonitoredRegionClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + MonitoredRegionClient.serviceEndpointTemplate, + regionId, + MonitoredRegionClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new MonitoredRegionWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): MonitoredRegionWaiter { + this._waiters = new MonitoredRegionWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): MonitoredRegionWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Creates a MonitoredRegion. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateMonitoredRegionRequest + * @return CreateMonitoredRegionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateMonitoredRegion.ts.html |here} to see how to use CreateMonitoredRegion API. + */ + public async createMonitoredRegion( + createMonitoredRegionRequest: requests.CreateMonitoredRegionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MonitoredRegionClient#createMonitoredRegion."); + const operationName = "createMonitoredRegion"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createMonitoredRegionRequest.opcRetryToken, + "opc-request-id": createMonitoredRegionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createMonitoredRegionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/monitoredRegions", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createMonitoredRegionRequest.createMonitoredRegionDetails, + "CreateMonitoredRegionDetails", + model.CreateMonitoredRegionDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "monitoredRegion", + bodyModel: model.MonitoredRegion, + type: "model.MonitoredRegion", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a MonitoredRegion. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteMonitoredRegionRequest + * @return DeleteMonitoredRegionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteMonitoredRegion.ts.html |here} to see how to use DeleteMonitoredRegion API. + */ + public async deleteMonitoredRegion( + deleteMonitoredRegionRequest: requests.DeleteMonitoredRegionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MonitoredRegionClient#deleteMonitoredRegion."); + const operationName = "deleteMonitoredRegion"; + const apiReferenceLink = ""; + const pathParams = { + "{monitoredRegionId}": deleteMonitoredRegionRequest.monitoredRegionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteMonitoredRegionRequest.ifMatch, + "opc-request-id": deleteMonitoredRegionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteMonitoredRegionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/monitoredRegions/{monitoredRegionId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a MonitoredRegion. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetMonitoredRegionRequest + * @return GetMonitoredRegionResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetMonitoredRegion.ts.html |here} to see how to use GetMonitoredRegion API. + */ + public async getMonitoredRegion( + getMonitoredRegionRequest: requests.GetMonitoredRegionRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MonitoredRegionClient#getMonitoredRegion."); + const operationName = "getMonitoredRegion"; + const apiReferenceLink = ""; + const pathParams = { + "{monitoredRegionId}": getMonitoredRegionRequest.monitoredRegionId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getMonitoredRegionRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getMonitoredRegionRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/monitoredRegions/{monitoredRegionId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "monitoredRegion", + bodyModel: model.MonitoredRegion, + type: "model.MonitoredRegion", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of MonitoredRegions. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListMonitoredRegionsRequest + * @return ListMonitoredRegionsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListMonitoredRegions.ts.html |here} to see how to use ListMonitoredRegions API. + */ + public async listMonitoredRegions( + listMonitoredRegionsRequest: requests.ListMonitoredRegionsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation MonitoredRegionClient#listMonitoredRegions."); + const operationName = "listMonitoredRegions"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "resourceAnalyticsInstanceId": listMonitoredRegionsRequest.resourceAnalyticsInstanceId, + "lifecycleState": listMonitoredRegionsRequest.lifecycleState, + "id": listMonitoredRegionsRequest.id, + "limit": listMonitoredRegionsRequest.limit, + "page": listMonitoredRegionsRequest.page, + "sortOrder": listMonitoredRegionsRequest.sortOrder, + "sortBy": listMonitoredRegionsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listMonitoredRegionsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listMonitoredRegionsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/monitoredRegions", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "monitoredRegionCollection", + bodyModel: model.MonitoredRegionCollection, + type: "model.MonitoredRegionCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum ResourceAnalyticsInstanceApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class ResourceAnalyticsInstanceClient { + protected static serviceEndpointTemplate = + "https://resource-analytics.{region}.ocp.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": ResourceAnalyticsInstanceWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "ResourceAnalyticsInstance"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("resourceanalytics")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("resourceanalytics"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20241031"; + if (this.logger) + this.logger.info(`ResourceAnalyticsInstanceClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + ResourceAnalyticsInstanceClient.serviceEndpointTemplate, + this._region, + ResourceAnalyticsInstanceClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + ResourceAnalyticsInstanceClient.serviceEndpointTemplate, + this._regionId, + ResourceAnalyticsInstanceClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + ResourceAnalyticsInstanceClient.serviceEndpointTemplate, + region, + ResourceAnalyticsInstanceClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + ResourceAnalyticsInstanceClient.serviceEndpointTemplate, + regionId, + ResourceAnalyticsInstanceClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new ResourceAnalyticsInstanceWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): ResourceAnalyticsInstanceWaiter { + this._waiters = new ResourceAnalyticsInstanceWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): ResourceAnalyticsInstanceWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Cancels a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CancelWorkRequestRequest + * @return CancelWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequest API. + */ + public async cancelWorkRequest( + cancelWorkRequestRequest: requests.CancelWorkRequestRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ResourceAnalyticsInstanceClient#cancelWorkRequest."); + const operationName = "cancelWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": cancelWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": cancelWorkRequestRequest.ifMatch, + "opc-request-id": cancelWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + cancelWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Moves a ResourceAnalyticsInstance into a different compartment within the same tenancy. For information about moving resources between + * compartments, see [Moving Resources to a Different Compartment](https://docs.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ChangeResourceAnalyticsInstanceCompartmentRequest + * @return ChangeResourceAnalyticsInstanceCompartmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ChangeResourceAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeResourceAnalyticsInstanceCompartment API. + */ + public async changeResourceAnalyticsInstanceCompartment( + changeResourceAnalyticsInstanceCompartmentRequest: requests.ChangeResourceAnalyticsInstanceCompartmentRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#changeResourceAnalyticsInstanceCompartment." + ); + const operationName = "changeResourceAnalyticsInstanceCompartment"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + changeResourceAnalyticsInstanceCompartmentRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": changeResourceAnalyticsInstanceCompartmentRequest.ifMatch, + "opc-request-id": changeResourceAnalyticsInstanceCompartmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + changeResourceAnalyticsInstanceCompartmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}/actions/changeCompartment", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + changeResourceAnalyticsInstanceCompartmentRequest.changeResourceAnalyticsInstanceCompartmentDetails, + "ChangeResourceAnalyticsInstanceCompartmentDetails", + model.ChangeResourceAnalyticsInstanceCompartmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Creates a ResourceAnalyticsInstance. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateResourceAnalyticsInstanceRequest + * @return CreateResourceAnalyticsInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateResourceAnalyticsInstance.ts.html |here} to see how to use CreateResourceAnalyticsInstance API. + */ + public async createResourceAnalyticsInstance( + createResourceAnalyticsInstanceRequest: requests.CreateResourceAnalyticsInstanceRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#createResourceAnalyticsInstance." + ); + const operationName = "createResourceAnalyticsInstance"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createResourceAnalyticsInstanceRequest.opcRetryToken, + "opc-request-id": createResourceAnalyticsInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createResourceAnalyticsInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createResourceAnalyticsInstanceRequest.createResourceAnalyticsInstanceDetails, + "CreateResourceAnalyticsInstanceDetails", + model.CreateResourceAnalyticsInstanceDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "resourceAnalyticsInstance", + bodyModel: model.ResourceAnalyticsInstance, + type: "model.ResourceAnalyticsInstance", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a ResourceAnalyticsInstance. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteResourceAnalyticsInstanceRequest + * @return DeleteResourceAnalyticsInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteResourceAnalyticsInstance.ts.html |here} to see how to use DeleteResourceAnalyticsInstance API. + */ + public async deleteResourceAnalyticsInstance( + deleteResourceAnalyticsInstanceRequest: requests.DeleteResourceAnalyticsInstanceRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#deleteResourceAnalyticsInstance." + ); + const operationName = "deleteResourceAnalyticsInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + deleteResourceAnalyticsInstanceRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteResourceAnalyticsInstanceRequest.ifMatch, + "opc-request-id": deleteResourceAnalyticsInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteResourceAnalyticsInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a ResourceAnalyticsInstance. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetResourceAnalyticsInstanceRequest + * @return GetResourceAnalyticsInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetResourceAnalyticsInstance.ts.html |here} to see how to use GetResourceAnalyticsInstance API. + */ + public async getResourceAnalyticsInstance( + getResourceAnalyticsInstanceRequest: requests.GetResourceAnalyticsInstanceRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#getResourceAnalyticsInstance." + ); + const operationName = "getResourceAnalyticsInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + getResourceAnalyticsInstanceRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getResourceAnalyticsInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getResourceAnalyticsInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "resourceAnalyticsInstance", + bodyModel: model.ResourceAnalyticsInstance, + type: "model.ResourceAnalyticsInstance", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets the details of a work request. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetWorkRequestRequest + * @return GetWorkRequestResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequest API. + */ + public async getWorkRequest( + getWorkRequestRequest: requests.GetWorkRequestRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ResourceAnalyticsInstanceClient#getWorkRequest."); + const operationName = "getWorkRequest"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": getWorkRequestRequest.workRequestId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getWorkRequestRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getWorkRequestRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequest", + bodyModel: model.WorkRequest, + type: "model.WorkRequest", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("retry-after"), + key: "retryAfter", + dataType: "number" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of ResourceAnalyticsInstances. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListResourceAnalyticsInstancesRequest + * @return ListResourceAnalyticsInstancesResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListResourceAnalyticsInstances.ts.html |here} to see how to use ListResourceAnalyticsInstances API. + */ + public async listResourceAnalyticsInstances( + listResourceAnalyticsInstancesRequest: requests.ListResourceAnalyticsInstancesRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#listResourceAnalyticsInstances." + ); + const operationName = "listResourceAnalyticsInstances"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listResourceAnalyticsInstancesRequest.compartmentId, + "lifecycleState": listResourceAnalyticsInstancesRequest.lifecycleState, + "displayName": listResourceAnalyticsInstancesRequest.displayName, + "id": listResourceAnalyticsInstancesRequest.id, + "limit": listResourceAnalyticsInstancesRequest.limit, + "page": listResourceAnalyticsInstancesRequest.page, + "sortOrder": listResourceAnalyticsInstancesRequest.sortOrder, + "sortBy": listResourceAnalyticsInstancesRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listResourceAnalyticsInstancesRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listResourceAnalyticsInstancesRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "resourceAnalyticsInstanceCollection", + bodyModel: model.ResourceAnalyticsInstanceCollection, + type: "model.ResourceAnalyticsInstanceCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the errors for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestErrorsRequest + * @return ListWorkRequestErrorsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrors API. + */ + public async listWorkRequestErrors( + listWorkRequestErrorsRequest: requests.ListWorkRequestErrorsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ResourceAnalyticsInstanceClient#listWorkRequestErrors."); + const operationName = "listWorkRequestErrors"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestErrorsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestErrorsRequest.page, + "limit": listWorkRequestErrorsRequest.limit, + "sortBy": listWorkRequestErrorsRequest.sortBy, + "sortOrder": listWorkRequestErrorsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestErrorsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestErrorsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/errors", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestErrorCollection", + bodyModel: model.WorkRequestErrorCollection, + type: "model.WorkRequestErrorCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the logs for a work request. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestLogsRequest + * @return ListWorkRequestLogsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogs API. + */ + public async listWorkRequestLogs( + listWorkRequestLogsRequest: requests.ListWorkRequestLogsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ResourceAnalyticsInstanceClient#listWorkRequestLogs."); + const operationName = "listWorkRequestLogs"; + const apiReferenceLink = ""; + const pathParams = { + "{workRequestId}": listWorkRequestLogsRequest.workRequestId + }; + + const queryParams = { + "page": listWorkRequestLogsRequest.page, + "limit": listWorkRequestLogsRequest.limit, + "sortBy": listWorkRequestLogsRequest.sortBy, + "sortOrder": listWorkRequestLogsRequest.sortOrder + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestLogsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestLogsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests/{workRequestId}/logs", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestLogEntryCollection", + bodyModel: model.WorkRequestLogEntryCollection, + type: "model.WorkRequestLogEntryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Lists the work requests in a compartment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListWorkRequestsRequest + * @return ListWorkRequestsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequests API. + */ + public async listWorkRequests( + listWorkRequestsRequest: requests.ListWorkRequestsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ResourceAnalyticsInstanceClient#listWorkRequests."); + const operationName = "listWorkRequests"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "compartmentId": listWorkRequestsRequest.compartmentId, + "workRequestId": listWorkRequestsRequest.workRequestId, + "status": listWorkRequestsRequest.status, + "resourceId": listWorkRequestsRequest.resourceId, + "page": listWorkRequestsRequest.page, + "limit": listWorkRequestsRequest.limit, + "sortOrder": listWorkRequestsRequest.sortOrder, + "sortBy": listWorkRequestsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listWorkRequestsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listWorkRequestsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/workRequests", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "workRequestSummaryCollection", + bodyModel: model.WorkRequestSummaryCollection, + type: "model.WorkRequestSummaryCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Disable an OAC instance for a ResourceAnalyticsInstance. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ResourceAnalyticsInstanceDisableOacRequest + * @return ResourceAnalyticsInstanceDisableOacResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceDisableOac.ts.html |here} to see how to use ResourceAnalyticsInstanceDisableOac API. + */ + public async resourceAnalyticsInstanceDisableOac( + resourceAnalyticsInstanceDisableOacRequest: requests.ResourceAnalyticsInstanceDisableOacRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#resourceAnalyticsInstanceDisableOac." + ); + const operationName = "resourceAnalyticsInstanceDisableOac"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + resourceAnalyticsInstanceDisableOacRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": resourceAnalyticsInstanceDisableOacRequest.ifMatch, + "opc-request-id": resourceAnalyticsInstanceDisableOacRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + resourceAnalyticsInstanceDisableOacRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}/actions/disableOac", + method: "POST", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Attaches an OAC instance to a ResourceAnalyticsInstance. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param ResourceAnalyticsInstanceEnableOacRequest + * @return ResourceAnalyticsInstanceEnableOacResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceEnableOac.ts.html |here} to see how to use ResourceAnalyticsInstanceEnableOac API. + */ + public async resourceAnalyticsInstanceEnableOac( + resourceAnalyticsInstanceEnableOacRequest: requests.ResourceAnalyticsInstanceEnableOacRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#resourceAnalyticsInstanceEnableOac." + ); + const operationName = "resourceAnalyticsInstanceEnableOac"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + resourceAnalyticsInstanceEnableOacRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": resourceAnalyticsInstanceEnableOacRequest.ifMatch, + "opc-request-id": resourceAnalyticsInstanceEnableOacRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + resourceAnalyticsInstanceEnableOacRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}/actions/enableOac", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + resourceAnalyticsInstanceEnableOacRequest.resourceAnalyticsInstanceEnableOacDetails, + "ResourceAnalyticsInstanceEnableOacDetails", + model.ResourceAnalyticsInstanceEnableOacDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a ResourceAnalyticsInstance. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateResourceAnalyticsInstanceRequest + * @return UpdateResourceAnalyticsInstanceResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/UpdateResourceAnalyticsInstance.ts.html |here} to see how to use UpdateResourceAnalyticsInstance API. + */ + public async updateResourceAnalyticsInstance( + updateResourceAnalyticsInstanceRequest: requests.UpdateResourceAnalyticsInstanceRequest + ): Promise { + if (this.logger) + this.logger.debug( + "Calling operation ResourceAnalyticsInstanceClient#updateResourceAnalyticsInstance." + ); + const operationName = "updateResourceAnalyticsInstance"; + const apiReferenceLink = ""; + const pathParams = { + "{resourceAnalyticsInstanceId}": + updateResourceAnalyticsInstanceRequest.resourceAnalyticsInstanceId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateResourceAnalyticsInstanceRequest.ifMatch, + "opc-request-id": updateResourceAnalyticsInstanceRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateResourceAnalyticsInstanceRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/resourceAnalyticsInstances/{resourceAnalyticsInstanceId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateResourceAnalyticsInstanceRequest.updateResourceAnalyticsInstanceDetails, + "UpdateResourceAnalyticsInstanceDetails", + model.UpdateResourceAnalyticsInstanceDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} +export enum TenancyAttachmentApiKeys {} +/** + * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. + */ +export class TenancyAttachmentClient { + protected static serviceEndpointTemplate = + "https://resource-analytics.{region}.ocp.{secondLevelDomain}"; + protected static endpointServiceName = ""; + protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; + protected "_endpoint": string = ""; + protected "_defaultHeaders": any = {}; + protected "_waiters": TenancyAttachmentWaiter; + protected "_clientConfiguration": common.ClientConfiguration; + protected _circuitBreaker: typeof Breaker | null = null; + protected _httpOptions: any = undefined; + protected _bodyDuplexMode: any = undefined; + public targetService = "TenancyAttachment"; + protected _regionId: string = ""; + protected "_region": common.Region; + protected _lastSetRegionOrRegionId: string = ""; + + protected _httpClient: common.HttpClient; + protected _authProvider: common.AuthenticationDetailsProvider | undefined; + + constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration) { + const requestSigner = params.authenticationDetailsProvider + ? new common.DefaultRequestSigner(params.authenticationDetailsProvider) + : null; + this._authProvider = params.authenticationDetailsProvider; + if (clientConfiguration) { + this._clientConfiguration = clientConfiguration; + this._circuitBreaker = clientConfiguration.circuitBreaker + ? clientConfiguration.circuitBreaker!.circuit + : null; + this._httpOptions = clientConfiguration.httpOptions + ? clientConfiguration.httpOptions + : undefined; + this._bodyDuplexMode = clientConfiguration.bodyDuplexMode + ? clientConfiguration.bodyDuplexMode + : undefined; + } + + if (!developerToolConfiguration.isServiceEnabled("resourceanalytics")) { + let errmsg = + "The developerToolConfiguration configuration disabled this service, this behavior is controlled by developerToolConfiguration.ociEnabledServiceSet variable. Please check if your local developer_tool_configuration file has configured the service you're targeting or contact the cloud provider on the availability of this service : "; + throw errmsg.concat("resourceanalytics"); + } + + // if circuit breaker is not created, check if circuit breaker system is enabled to use default circuit breaker + const specCircuitBreakerEnabled = true; + if ( + !this._circuitBreaker && + common.utils.isCircuitBreakerSystemEnabled(clientConfiguration!) && + (specCircuitBreakerEnabled || common.CircuitBreaker.DefaultCircuitBreakerOverriden) + ) { + this._circuitBreaker = new common.CircuitBreaker().circuit; + } + this._httpClient = + params.httpClient || + new common.FetchHttpClient( + requestSigner, + this._circuitBreaker, + this._httpOptions, + this._bodyDuplexMode + ); + + if ( + params.authenticationDetailsProvider && + common.isRegionProvider(params.authenticationDetailsProvider) + ) { + const provider: common.RegionProvider = params.authenticationDetailsProvider; + if (provider.getRegion()) { + this.region = provider.getRegion(); + } + } + } + + /** + * Get the endpoint that is being used to call (ex, https://www.example.com). + */ + public get endpoint() { + return this._endpoint; + } + + /** + * Sets the endpoint to call (ex, https://www.example.com). + * @param endpoint The endpoint of the service. + */ + public set endpoint(endpoint: string) { + this._endpoint = endpoint; + this._endpoint = this._endpoint + "/20241031"; + if (this.logger) this.logger.info(`TenancyAttachmentClient endpoint set to ${this._endpoint}`); + } + + public get logger() { + return common.LOG.logger; + } + + /** + * Determines whether realm specific endpoint should be used or not. + * Set realmSpecificEndpointTemplateEnabled to "true" if the user wants to enable use of realm specific endpoint template, otherwise set it to "false" + * @param realmSpecificEndpointTemplateEnabled flag to enable the use of realm specific endpoint template + */ + public set useRealmSpecificEndpointTemplate(realmSpecificEndpointTemplateEnabled: boolean) { + this._realmSpecificEndpointTemplateEnabled = realmSpecificEndpointTemplateEnabled; + if (this.logger) + this.logger.info( + `realmSpecificEndpointTemplateEnabled set to ${this._realmSpecificEndpointTemplateEnabled}` + ); + if (this._lastSetRegionOrRegionId === common.Region.REGION_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + TenancyAttachmentClient.serviceEndpointTemplate, + this._region, + TenancyAttachmentClient.endpointServiceName + ); + } else if (this._lastSetRegionOrRegionId === common.Region.REGION_ID_STRING) { + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + TenancyAttachmentClient.serviceEndpointTemplate, + this._regionId, + TenancyAttachmentClient.endpointServiceName + ); + } + } + + /** + * Sets the region to call (ex, Region.US_PHOENIX_1). + * Note, this will call {@link #endpoint(String) endpoint} after resolving the endpoint. + * @param region The region of the service. + */ + public set region(region: common.Region) { + this._region = region; + this.endpoint = common.EndpointBuilder.createEndpointFromRegion( + TenancyAttachmentClient.serviceEndpointTemplate, + region, + TenancyAttachmentClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_STRING; + } + + /** + * Sets the regionId to call (ex, 'us-phoenix-1'). + * + * Note, this will first try to map the region ID to a known Region and call {@link #region(Region) region}. + * If no known Region could be determined, it will create an endpoint assuming its in default Realm OC1 + * and then call {@link #endpoint(String) endpoint}. + * @param regionId The public region ID. + */ + public set regionId(regionId: string) { + this._regionId = regionId; + this.endpoint = common.EndpointBuilder.createEndpointFromRegionId( + TenancyAttachmentClient.serviceEndpointTemplate, + regionId, + TenancyAttachmentClient.endpointServiceName + ); + this._lastSetRegionOrRegionId = common.Region.REGION_ID_STRING; + } + + /** + * Creates a new TenancyAttachmentWaiter for resources for this service. + * + * @param config The waiter configuration for termination and delay strategy + * @return The service waiters. + */ + public createWaiters(config?: common.WaiterConfiguration): TenancyAttachmentWaiter { + this._waiters = new TenancyAttachmentWaiter(this, config); + return this._waiters; + } + + /** + * Gets the waiters available for resources for this service. + * + * @return The service waiters. + */ + public getWaiters(): TenancyAttachmentWaiter { + if (this._waiters) { + return this._waiters; + } + throw Error("Waiters do not exist. Please create waiters."); + } + + /** + * Shutdown the circuit breaker used by the client when it is no longer needed + */ + public shutdownCircuitBreaker() { + if (this._circuitBreaker) { + this._circuitBreaker.shutdown(); + } + } + + /** + * Close the provider if possible which in turn shuts down any associated circuit breaker + */ + public closeProvider() { + if (this._authProvider) { + if (this._authProvider instanceof common.AbstractRequestingAuthenticationDetailsProvider) + (( + this._authProvider + )).closeProvider(); + } + } + + /** + * Close the client once it is no longer needed + */ + public close() { + this.shutdownCircuitBreaker(); + this.closeProvider(); + } + + /** + * Creates a TenancyAttachment. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param CreateTenancyAttachmentRequest + * @return CreateTenancyAttachmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateTenancyAttachment.ts.html |here} to see how to use CreateTenancyAttachment API. + */ + public async createTenancyAttachment( + createTenancyAttachmentRequest: requests.CreateTenancyAttachmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation TenancyAttachmentClient#createTenancyAttachment."); + const operationName = "createTenancyAttachment"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-retry-token": createTenancyAttachmentRequest.opcRetryToken, + "opc-request-id": createTenancyAttachmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + createTenancyAttachmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/tenancyAttachments", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + createTenancyAttachmentRequest.createTenancyAttachmentDetails, + "CreateTenancyAttachmentDetails", + model.CreateTenancyAttachmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "tenancyAttachment", + bodyModel: model.TenancyAttachment, + type: "model.TenancyAttachment", + responseHeaders: [ + { + value: response.headers.get("location"), + key: "location", + dataType: "string" + }, + { + value: response.headers.get("content-location"), + key: "contentLocation", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Deletes a TenancyAttachment. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param DeleteTenancyAttachmentRequest + * @return DeleteTenancyAttachmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteTenancyAttachment.ts.html |here} to see how to use DeleteTenancyAttachment API. + */ + public async deleteTenancyAttachment( + deleteTenancyAttachmentRequest: requests.DeleteTenancyAttachmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation TenancyAttachmentClient#deleteTenancyAttachment."); + const operationName = "deleteTenancyAttachment"; + const apiReferenceLink = ""; + const pathParams = { + "{tenancyAttachmentId}": deleteTenancyAttachmentRequest.tenancyAttachmentId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": deleteTenancyAttachmentRequest.ifMatch, + "opc-request-id": deleteTenancyAttachmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + deleteTenancyAttachmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/tenancyAttachments/{tenancyAttachmentId}", + method: "DELETE", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets information about a TenancyAttachment. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param GetTenancyAttachmentRequest + * @return GetTenancyAttachmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetTenancyAttachment.ts.html |here} to see how to use GetTenancyAttachment API. + */ + public async getTenancyAttachment( + getTenancyAttachmentRequest: requests.GetTenancyAttachmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation TenancyAttachmentClient#getTenancyAttachment."); + const operationName = "getTenancyAttachment"; + const apiReferenceLink = ""; + const pathParams = { + "{tenancyAttachmentId}": getTenancyAttachmentRequest.tenancyAttachmentId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getTenancyAttachmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getTenancyAttachmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/tenancyAttachments/{tenancyAttachmentId}", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "tenancyAttachment", + bodyModel: model.TenancyAttachment, + type: "model.TenancyAttachment", + responseHeaders: [ + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Gets a list of TenancyAttachments. + * + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param ListTenancyAttachmentsRequest + * @return ListTenancyAttachmentsResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListTenancyAttachments.ts.html |here} to see how to use ListTenancyAttachments API. + */ + public async listTenancyAttachments( + listTenancyAttachmentsRequest: requests.ListTenancyAttachmentsRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation TenancyAttachmentClient#listTenancyAttachments."); + const operationName = "listTenancyAttachments"; + const apiReferenceLink = ""; + const pathParams = {}; + + const queryParams = { + "resourceAnalyticsInstanceId": listTenancyAttachmentsRequest.resourceAnalyticsInstanceId, + "lifecycleState": listTenancyAttachmentsRequest.lifecycleState, + "id": listTenancyAttachmentsRequest.id, + "limit": listTenancyAttachmentsRequest.limit, + "page": listTenancyAttachmentsRequest.page, + "sortOrder": listTenancyAttachmentsRequest.sortOrder, + "sortBy": listTenancyAttachmentsRequest.sortBy + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": listTenancyAttachmentsRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + listTenancyAttachmentsRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/tenancyAttachments", + method: "GET", + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "tenancyAttachmentCollection", + bodyModel: model.TenancyAttachmentCollection, + type: "model.TenancyAttachmentCollection", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-next-page"), + key: "opcNextPage", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Updates a TenancyAttachment. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. + * @param UpdateTenancyAttachmentRequest + * @return UpdateTenancyAttachmentResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/UpdateTenancyAttachment.ts.html |here} to see how to use UpdateTenancyAttachment API. + */ + public async updateTenancyAttachment( + updateTenancyAttachmentRequest: requests.UpdateTenancyAttachmentRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation TenancyAttachmentClient#updateTenancyAttachment."); + const operationName = "updateTenancyAttachment"; + const apiReferenceLink = ""; + const pathParams = { + "{tenancyAttachmentId}": updateTenancyAttachmentRequest.tenancyAttachmentId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "if-match": updateTenancyAttachmentRequest.ifMatch, + "opc-request-id": updateTenancyAttachmentRequest.opcRequestId + }; + + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + updateTenancyAttachmentRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/tenancyAttachments/{tenancyAttachmentId}", + method: "PUT", + bodyContent: common.ObjectSerializer.serialize( + updateTenancyAttachmentRequest.updateTenancyAttachmentDetails, + "UpdateTenancyAttachmentDetails", + model.UpdateTenancyAttachmentDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + responseHeaders: [ + { + value: response.headers.get("opc-work-request-id"), + key: "opcWorkRequestId", + dataType: "string" + }, + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } +} diff --git a/lib/resourceanalytics/lib/model/action-type.ts b/lib/resourceanalytics/lib/model/action-type.ts new file mode 100644 index 0000000000..78b1cf6d91 --- /dev/null +++ b/lib/resourceanalytics/lib/model/action-type.ts @@ -0,0 +1,42 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible types of actions. + **/ +export enum ActionType { + Created = "CREATED", + Updated = "UPDATED", + Deleted = "DELETED", + InProgress = "IN_PROGRESS", + Related = "RELATED", + Failed = "FAILED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace ActionType { + export function getJsonObj(obj: ActionType): ActionType { + return obj; + } + export function getDeserializedJsonObj(obj: ActionType): ActionType { + return obj; + } +} diff --git a/lib/resourceanalytics/lib/model/adw-admin-password-details.ts b/lib/resourceanalytics/lib/model/adw-admin-password-details.ts new file mode 100644 index 0000000000..d9364c8cbb --- /dev/null +++ b/lib/resourceanalytics/lib/model/adw-admin-password-details.ts @@ -0,0 +1,72 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Details for the ADW Admin password. +* Password can be passed as {@code VaultSecretPasswordDetails} or {@code PlainTextPasswordDetails}. +*

+Example: {@code {\"passwordType\":\"PLAIN_TEXT\",\"password\":\"...\"}} +* Example: {@code {\"passwordType\":\"VAULT_SECRET\",\"secretId\":\"ocid...\"}} +* +*/ +export interface AdwAdminPasswordDetails { + "passwordType": string; +} + +export namespace AdwAdminPasswordDetails { + export function getJsonObj(obj: AdwAdminPasswordDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "passwordType" in obj && obj.passwordType) { + switch (obj.passwordType) { + case "PLAIN_TEXT": + return model.PlainTextPasswordDetails.getJsonObj( + (jsonObj), + true + ); + case "VAULT_SECRET": + return model.VaultSecretPasswordDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.passwordType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: AdwAdminPasswordDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "passwordType" in obj && obj.passwordType) { + switch (obj.passwordType) { + case "PLAIN_TEXT": + return model.PlainTextPasswordDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "VAULT_SECRET": + return model.VaultSecretPasswordDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.passwordType}`); + } + } + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/change-resource-analytics-instance-compartment-details.ts b/lib/resourceanalytics/lib/model/change-resource-analytics-instance-compartment-details.ts new file mode 100644 index 0000000000..4acdc10ec0 --- /dev/null +++ b/lib/resourceanalytics/lib/model/change-resource-analytics-instance-compartment-details.ts @@ -0,0 +1,41 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The configuration details for the move operation. + */ +export interface ChangeResourceAnalyticsInstanceCompartmentDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to move the ResourceAnalyticsInstance to. + * + */ + "compartmentId": string; +} + +export namespace ChangeResourceAnalyticsInstanceCompartmentDetails { + export function getJsonObj(obj: ChangeResourceAnalyticsInstanceCompartmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ChangeResourceAnalyticsInstanceCompartmentDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/create-monitored-region-details.ts b/lib/resourceanalytics/lib/model/create-monitored-region-details.ts new file mode 100644 index 0000000000..e40bc26ba9 --- /dev/null +++ b/lib/resourceanalytics/lib/model/create-monitored-region-details.ts @@ -0,0 +1,42 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a MonitoredRegion. + */ +export interface CreateMonitoredRegionDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [Region Identifier](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion. + */ + "regionId": string; +} + +export namespace CreateMonitoredRegionDetails { + export function getJsonObj(obj: CreateMonitoredRegionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateMonitoredRegionDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/create-resource-analytics-instance-details.ts b/lib/resourceanalytics/lib/model/create-resource-analytics-instance-details.ts new file mode 100644 index 0000000000..d585eef080 --- /dev/null +++ b/lib/resourceanalytics/lib/model/create-resource-analytics-instance-details.ts @@ -0,0 +1,102 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a ResourceAnalyticsInstance. + */ +export interface CreateResourceAnalyticsInstanceDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the ResourceAnalyticsInstance in. + * + */ + "compartmentId": string; + /** + * A description of the ResourceAnalyticsInstance instance. + */ + "description"?: string; + "adwAdminPassword": model.PlainTextPasswordDetails | model.VaultSecretPasswordDetails; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. + */ + "subnetId": string; + /** + * Require mutual TLS (mTLS) when authenticating connections to the ADW database. + */ + "isMutualTlsRequired"?: boolean; + /** + * List of Network Security Group [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)'s. +*

+Example: {@code [\"ocid...\", \"ocid...\"]} +* + */ + "nsgIds"?: Array; + /** + * The Oracle license model that applies to the ADW instance. + */ + "licenseModel"?: CreateResourceAnalyticsInstanceDetails.LicenseModel; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace CreateResourceAnalyticsInstanceDetails { + export enum LicenseModel { + LicenseIncluded = "LICENSE_INCLUDED", + BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" + } + + export function getJsonObj(obj: CreateResourceAnalyticsInstanceDetails): object { + const jsonObj = { + ...obj, + ...{ + "adwAdminPassword": obj.adwAdminPassword + ? model.AdwAdminPasswordDetails.getJsonObj(obj.adwAdminPassword) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateResourceAnalyticsInstanceDetails): object { + const jsonObj = { + ...obj, + ...{ + "adwAdminPassword": obj.adwAdminPassword + ? model.AdwAdminPasswordDetails.getDeserializedJsonObj(obj.adwAdminPassword) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/create-tenancy-attachment-details.ts b/lib/resourceanalytics/lib/model/create-tenancy-attachment-details.ts new file mode 100644 index 0000000000..ea8f6af820 --- /dev/null +++ b/lib/resourceanalytics/lib/model/create-tenancy-attachment-details.ts @@ -0,0 +1,46 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to create a TenancyAttachment. + */ +export interface CreateTenancyAttachmentDetails { + /** + * A description of the tenancy. + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. + */ + "tenancyId": string; +} + +export namespace CreateTenancyAttachmentDetails { + export function getJsonObj(obj: CreateTenancyAttachmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: CreateTenancyAttachmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/index.ts b/lib/resourceanalytics/lib/model/index.ts new file mode 100644 index 0000000000..665ba64ebc --- /dev/null +++ b/lib/resourceanalytics/lib/model/index.ts @@ -0,0 +1,82 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as ActionType from "./action-type"; +export import ActionType = ActionType.ActionType; +import * as AdwAdminPasswordDetails from "./adw-admin-password-details"; +export import AdwAdminPasswordDetails = AdwAdminPasswordDetails.AdwAdminPasswordDetails; +import * as ChangeResourceAnalyticsInstanceCompartmentDetails from "./change-resource-analytics-instance-compartment-details"; +export import ChangeResourceAnalyticsInstanceCompartmentDetails = ChangeResourceAnalyticsInstanceCompartmentDetails.ChangeResourceAnalyticsInstanceCompartmentDetails; +import * as CreateMonitoredRegionDetails from "./create-monitored-region-details"; +export import CreateMonitoredRegionDetails = CreateMonitoredRegionDetails.CreateMonitoredRegionDetails; +import * as CreateResourceAnalyticsInstanceDetails from "./create-resource-analytics-instance-details"; +export import CreateResourceAnalyticsInstanceDetails = CreateResourceAnalyticsInstanceDetails.CreateResourceAnalyticsInstanceDetails; +import * as CreateTenancyAttachmentDetails from "./create-tenancy-attachment-details"; +export import CreateTenancyAttachmentDetails = CreateTenancyAttachmentDetails.CreateTenancyAttachmentDetails; +import * as MonitoredRegion from "./monitored-region"; +export import MonitoredRegion = MonitoredRegion.MonitoredRegion; +import * as MonitoredRegionCollection from "./monitored-region-collection"; +export import MonitoredRegionCollection = MonitoredRegionCollection.MonitoredRegionCollection; +import * as MonitoredRegionSummary from "./monitored-region-summary"; +export import MonitoredRegionSummary = MonitoredRegionSummary.MonitoredRegionSummary; +import * as OperationStatus from "./operation-status"; +export import OperationStatus = OperationStatus.OperationStatus; +import * as OperationType from "./operation-type"; +export import OperationType = OperationType.OperationType; +import * as ResourceAnalyticsInstance from "./resource-analytics-instance"; +export import ResourceAnalyticsInstance = ResourceAnalyticsInstance.ResourceAnalyticsInstance; +import * as ResourceAnalyticsInstanceCollection from "./resource-analytics-instance-collection"; +export import ResourceAnalyticsInstanceCollection = ResourceAnalyticsInstanceCollection.ResourceAnalyticsInstanceCollection; +import * as ResourceAnalyticsInstanceEnableOacDetails from "./resource-analytics-instance-enable-oac-details"; +export import ResourceAnalyticsInstanceEnableOacDetails = ResourceAnalyticsInstanceEnableOacDetails.ResourceAnalyticsInstanceEnableOacDetails; +import * as ResourceAnalyticsInstanceOacAttachmentDetails from "./resource-analytics-instance-oac-attachment-details"; +export import ResourceAnalyticsInstanceOacAttachmentDetails = ResourceAnalyticsInstanceOacAttachmentDetails.ResourceAnalyticsInstanceOacAttachmentDetails; +import * as ResourceAnalyticsInstanceOacNetworkDetails from "./resource-analytics-instance-oac-network-details"; +export import ResourceAnalyticsInstanceOacNetworkDetails = ResourceAnalyticsInstanceOacNetworkDetails.ResourceAnalyticsInstanceOacNetworkDetails; +import * as ResourceAnalyticsInstanceSummary from "./resource-analytics-instance-summary"; +export import ResourceAnalyticsInstanceSummary = ResourceAnalyticsInstanceSummary.ResourceAnalyticsInstanceSummary; +import * as SortOrder from "./sort-order"; +export import SortOrder = SortOrder.SortOrder; +import * as TenancyAttachment from "./tenancy-attachment"; +export import TenancyAttachment = TenancyAttachment.TenancyAttachment; +import * as TenancyAttachmentCollection from "./tenancy-attachment-collection"; +export import TenancyAttachmentCollection = TenancyAttachmentCollection.TenancyAttachmentCollection; +import * as TenancyAttachmentSummary from "./tenancy-attachment-summary"; +export import TenancyAttachmentSummary = TenancyAttachmentSummary.TenancyAttachmentSummary; +import * as UpdateResourceAnalyticsInstanceDetails from "./update-resource-analytics-instance-details"; +export import UpdateResourceAnalyticsInstanceDetails = UpdateResourceAnalyticsInstanceDetails.UpdateResourceAnalyticsInstanceDetails; +import * as UpdateTenancyAttachmentDetails from "./update-tenancy-attachment-details"; +export import UpdateTenancyAttachmentDetails = UpdateTenancyAttachmentDetails.UpdateTenancyAttachmentDetails; +import * as WorkRequest from "./work-request"; +export import WorkRequest = WorkRequest.WorkRequest; +import * as WorkRequestError from "./work-request-error"; +export import WorkRequestError = WorkRequestError.WorkRequestError; +import * as WorkRequestErrorCollection from "./work-request-error-collection"; +export import WorkRequestErrorCollection = WorkRequestErrorCollection.WorkRequestErrorCollection; +import * as WorkRequestLogEntry from "./work-request-log-entry"; +export import WorkRequestLogEntry = WorkRequestLogEntry.WorkRequestLogEntry; +import * as WorkRequestLogEntryCollection from "./work-request-log-entry-collection"; +export import WorkRequestLogEntryCollection = WorkRequestLogEntryCollection.WorkRequestLogEntryCollection; +import * as WorkRequestResource from "./work-request-resource"; +export import WorkRequestResource = WorkRequestResource.WorkRequestResource; +import * as WorkRequestResourceMetadataKey from "./work-request-resource-metadata-key"; +export import WorkRequestResourceMetadataKey = WorkRequestResourceMetadataKey.WorkRequestResourceMetadataKey; +import * as WorkRequestSummary from "./work-request-summary"; +export import WorkRequestSummary = WorkRequestSummary.WorkRequestSummary; +import * as WorkRequestSummaryCollection from "./work-request-summary-collection"; +export import WorkRequestSummaryCollection = WorkRequestSummaryCollection.WorkRequestSummaryCollection; + +import * as PlainTextPasswordDetails from "./plain-text-password-details"; +export import PlainTextPasswordDetails = PlainTextPasswordDetails.PlainTextPasswordDetails; +import * as VaultSecretPasswordDetails from "./vault-secret-password-details"; +export import VaultSecretPasswordDetails = VaultSecretPasswordDetails.VaultSecretPasswordDetails; diff --git a/lib/resourceanalytics/lib/model/monitored-region-collection.ts b/lib/resourceanalytics/lib/model/monitored-region-collection.ts new file mode 100644 index 0000000000..19e1bb8ca0 --- /dev/null +++ b/lib/resourceanalytics/lib/model/monitored-region-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a MonitoredRegion search. Contains both MonitoredRegionSummary items and other information, such as metadata. + */ +export interface MonitoredRegionCollection { + /** + * List of MonitoredRegions. + */ + "items": Array; +} + +export namespace MonitoredRegionCollection { + export function getJsonObj(obj: MonitoredRegionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MonitoredRegionSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MonitoredRegionCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.MonitoredRegionSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/monitored-region-summary.ts b/lib/resourceanalytics/lib/model/monitored-region-summary.ts new file mode 100644 index 0000000000..4b560490ae --- /dev/null +++ b/lib/resourceanalytics/lib/model/monitored-region-summary.ts @@ -0,0 +1,77 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a MonitoredRegion. + */ +export interface MonitoredRegionSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [Region Identifier](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion. + */ + "regionId": string; + /** + * The date and time the MonitoredRegion was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the MonitoredRegion was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the MonitoredRegion. + */ + "lifecycleState": string; + /** + * A message that describes the current state of the MonitoredRegion in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MonitoredRegionSummary { + export function getJsonObj(obj: MonitoredRegionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MonitoredRegionSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/monitored-region.ts b/lib/resourceanalytics/lib/model/monitored-region.ts new file mode 100644 index 0000000000..84ee0db61e --- /dev/null +++ b/lib/resourceanalytics/lib/model/monitored-region.ts @@ -0,0 +1,96 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A MonitoredRegion is a region to collect data for the associated ResourceAnalyticsInstance. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface MonitoredRegion { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this MonitoredRegion. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [Region Identifier](https://docs.oracle.com/iaas/Content/General/Concepts/regions.htm) of this MonitoredRegion. + */ + "regionId": string; + /** + * The date and time the MonitoredRegion was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the MonitoredRegion was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the MonitoredRegion. + */ + "lifecycleState": MonitoredRegion.LifecycleState; + /** + * A message that describes the current state of the MonitoredRegion in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace MonitoredRegion { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: MonitoredRegion): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: MonitoredRegion): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/operation-status.ts b/lib/resourceanalytics/lib/model/operation-status.ts new file mode 100644 index 0000000000..1ae7a7528d --- /dev/null +++ b/lib/resourceanalytics/lib/model/operation-status.ts @@ -0,0 +1,44 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The status of the work request. + **/ +export enum OperationStatus { + Accepted = "ACCEPTED", + InProgress = "IN_PROGRESS", + Waiting = "WAITING", + NeedsAttention = "NEEDS_ATTENTION", + Failed = "FAILED", + Succeeded = "SUCCEEDED", + Canceling = "CANCELING", + Canceled = "CANCELED", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationStatus { + export function getJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } + export function getDeserializedJsonObj(obj: OperationStatus): OperationStatus { + return obj; + } +} diff --git a/lib/resourceanalytics/lib/model/operation-type.ts b/lib/resourceanalytics/lib/model/operation-type.ts new file mode 100644 index 0000000000..ce3cd3fbee --- /dev/null +++ b/lib/resourceanalytics/lib/model/operation-type.ts @@ -0,0 +1,47 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The asynchronous operation tracked by the work request. + **/ +export enum OperationType { + CreateResourceAnalyticsInstance = "CREATE_RESOURCE_ANALYTICS_INSTANCE", + UpdateResourceAnalyticsInstance = "UPDATE_RESOURCE_ANALYTICS_INSTANCE", + DeleteResourceAnalyticsInstance = "DELETE_RESOURCE_ANALYTICS_INSTANCE", + MoveResourceAnalyticsInstance = "MOVE_RESOURCE_ANALYTICS_INSTANCE", + CreateTenancyAttachment = "CREATE_TENANCY_ATTACHMENT", + UpdateTenancyAttachment = "UPDATE_TENANCY_ATTACHMENT", + DeleteTenancyAttachment = "DELETE_TENANCY_ATTACHMENT", + CreateMonitoredRegion = "CREATE_MONITORED_REGION", + DeleteMonitoredRegion = "DELETE_MONITORED_REGION", + EnableOac = "ENABLE_OAC", + DisableOac = "DISABLE_OAC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace OperationType { + export function getJsonObj(obj: OperationType): OperationType { + return obj; + } + export function getDeserializedJsonObj(obj: OperationType): OperationType { + return obj; + } +} diff --git a/lib/resourceanalytics/lib/model/plain-text-password-details.ts b/lib/resourceanalytics/lib/model/plain-text-password-details.ts new file mode 100644 index 0000000000..c1b71a0694 --- /dev/null +++ b/lib/resourceanalytics/lib/model/plain-text-password-details.ts @@ -0,0 +1,54 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Details for the PLAIN_TEXT ADW Admin password. + */ +export interface PlainTextPasswordDetails extends model.AdwAdminPasswordDetails { + /** + * Password for the ADW to be created in User Tenancy. The password must be between 12 and 30 characters long, and must contain at least 1 uppercase, 1 lowercase, and 1 numeric character. It cannot contain the double quote symbol (\") or the username \"admin\", regardless of casing. + */ + "password": string; + + "passwordType": string; +} + +export namespace PlainTextPasswordDetails { + export function getJsonObj(obj: PlainTextPasswordDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AdwAdminPasswordDetails.getJsonObj(obj) as PlainTextPasswordDetails)), + ...{} + }; + + return jsonObj; + } + export const passwordType = "PLAIN_TEXT"; + export function getDeserializedJsonObj( + obj: PlainTextPasswordDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AdwAdminPasswordDetails.getDeserializedJsonObj(obj) as PlainTextPasswordDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance-collection.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance-collection.ts new file mode 100644 index 0000000000..4e8a4984fd --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a ResourceAnalyticsInstance search. Contains both ResourceAnalyticsInstanceSummary items and other information, such as metadata. + */ +export interface ResourceAnalyticsInstanceCollection { + /** + * List of ResourceAnalyticsInstanceSummary's. + */ + "items": Array; +} + +export namespace ResourceAnalyticsInstanceCollection { + export function getJsonObj(obj: ResourceAnalyticsInstanceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ResourceAnalyticsInstanceSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceAnalyticsInstanceCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.ResourceAnalyticsInstanceSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance-enable-oac-details.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance-enable-oac-details.ts new file mode 100644 index 0000000000..9183b56de6 --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance-enable-oac-details.ts @@ -0,0 +1,62 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* The configuration details for the enable OAC operation. +*

+Example: {@code {\"attachmentType\":\"MANAGED\",\"attachmentDetails\":{...}}} +* +*/ +export interface ResourceAnalyticsInstanceEnableOacDetails { + /** + * The type of attachment the OAC instance is using. + */ + "attachmentType": ResourceAnalyticsInstanceEnableOacDetails.AttachmentType; + "attachmentDetails": model.ResourceAnalyticsInstanceOacAttachmentDetails; +} + +export namespace ResourceAnalyticsInstanceEnableOacDetails { + export enum AttachmentType { + Managed = "MANAGED" + } + + export function getJsonObj(obj: ResourceAnalyticsInstanceEnableOacDetails): object { + const jsonObj = { + ...obj, + ...{ + "attachmentDetails": obj.attachmentDetails + ? model.ResourceAnalyticsInstanceOacAttachmentDetails.getJsonObj(obj.attachmentDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceAnalyticsInstanceEnableOacDetails): object { + const jsonObj = { + ...obj, + ...{ + "attachmentDetails": obj.attachmentDetails + ? model.ResourceAnalyticsInstanceOacAttachmentDetails.getDeserializedJsonObj( + obj.attachmentDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-attachment-details.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-attachment-details.ts new file mode 100644 index 0000000000..d4064b1cbd --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-attachment-details.ts @@ -0,0 +1,77 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Additional details needed when attaching the OAC instance. +*

+Example: {@code {\"idcsDomainId\":\"ocid...\",\"networkDetails\":{...}, ...}} +* +*/ +export interface ResourceAnalyticsInstanceOacAttachmentDetails { + /** + * IDCS domain [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) identifying a stripe and service administrator user. + */ + "idcsDomainId": string; + "networkDetails"?: model.ResourceAnalyticsInstanceOacNetworkDetails; + /** + * Deprecated. Use {@code networkDetails.subnetId} instead. + */ + "subnetId"?: string; + /** + * Deprecated. Use {@code networkDetails.nsgIds} instead. + */ + "nsgIds"?: Array; + /** + * The Oracle license model that applies to the OAC instance. + */ + "licenseModel"?: ResourceAnalyticsInstanceOacAttachmentDetails.LicenseModel; +} + +export namespace ResourceAnalyticsInstanceOacAttachmentDetails { + export enum LicenseModel { + LicenseIncluded = "LICENSE_INCLUDED", + BringYourOwnLicense = "BRING_YOUR_OWN_LICENSE" + } + + export function getJsonObj(obj: ResourceAnalyticsInstanceOacAttachmentDetails): object { + const jsonObj = { + ...obj, + ...{ + "networkDetails": obj.networkDetails + ? model.ResourceAnalyticsInstanceOacNetworkDetails.getJsonObj(obj.networkDetails) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj( + obj: ResourceAnalyticsInstanceOacAttachmentDetails + ): object { + const jsonObj = { + ...obj, + ...{ + "networkDetails": obj.networkDetails + ? model.ResourceAnalyticsInstanceOacNetworkDetails.getDeserializedJsonObj( + obj.networkDetails + ) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-network-details.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-network-details.ts new file mode 100644 index 0000000000..9106d80716 --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance-oac-network-details.ts @@ -0,0 +1,48 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* Details required when provisioning OAC on a private network. +*

+Example: {@code {\"subnetId\":\"ocid...\", ...}} +* +*/ +export interface ResourceAnalyticsInstanceOacNetworkDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet for the private network details. + */ + "subnetId": string; + /** + * List of Network Security Group [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm)'s for the private network details. +*

+Example: {@code [\"ocid...\", \"ocid...\"]} +* + */ + "nsgIds"?: Array; +} + +export namespace ResourceAnalyticsInstanceOacNetworkDetails { + export function getJsonObj(obj: ResourceAnalyticsInstanceOacNetworkDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceAnalyticsInstanceOacNetworkDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance-summary.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance-summary.ts new file mode 100644 index 0000000000..a9634203f3 --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance-summary.ts @@ -0,0 +1,97 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a ResourceAnalyticsInstance. + */ +export interface ResourceAnalyticsInstanceSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A description of the ResourceAnalyticsInstance instance. + */ + "description"?: string; + /** + * The date and time the ResourceAnalyticsInstance was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the ResourceAnalyticsInstance was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the ResourceAnalyticsInstance. + */ + "lifecycleState": string; + /** + * A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags": { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags": { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ResourceAnalyticsInstanceSummary { + export function getJsonObj(obj: ResourceAnalyticsInstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceAnalyticsInstanceSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/resource-analytics-instance.ts b/lib/resourceanalytics/lib/model/resource-analytics-instance.ts new file mode 100644 index 0000000000..402359a817 --- /dev/null +++ b/lib/resourceanalytics/lib/model/resource-analytics-instance.ts @@ -0,0 +1,124 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A ResourceAnalyticsInstance is an ADW housing analytics for all of a customers' OCI resources. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface ResourceAnalyticsInstance { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "id": string; + /** + * A user-friendly name. Does not have to be unique, and it's changeable. + */ + "displayName": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * A description of the ResourceAnalyticsInstance instance. + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the created ADW instance. + */ + "adwId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OAC enabled for the ResourceAnalyticsInstance. + */ + "oacId"?: string; + /** + * The date and time the ResourceAnalyticsInstance was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). + * Example: {@code 2016-08-25T21:10:29.600Z} + * + */ + "timeCreated": Date; + /** + * The date and time the ResourceAnalyticsInstance was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the ResourceAnalyticsInstance. + */ + "lifecycleState": ResourceAnalyticsInstance.LifecycleState; + /** + * A message that describes the current state of the ResourceAnalyticsInstance in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags": { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags": { [key: string]: { [key: string]: any } }; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace ResourceAnalyticsInstance { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + NeedsAttention = "NEEDS_ATTENTION", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: ResourceAnalyticsInstance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceAnalyticsInstance): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/sort-order.ts b/lib/resourceanalytics/lib/model/sort-order.ts new file mode 100644 index 0000000000..b9541c2b38 --- /dev/null +++ b/lib/resourceanalytics/lib/model/sort-order.ts @@ -0,0 +1,40 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). The {@code displayName} + * sort order is case sensitive. + * + **/ +export enum SortOrder { + Asc = "ASC", + Desc = "DESC", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace SortOrder { + export function getJsonObj(obj: SortOrder): SortOrder { + return obj; + } + export function getDeserializedJsonObj(obj: SortOrder): SortOrder { + return obj; + } +} diff --git a/lib/resourceanalytics/lib/model/tenancy-attachment-collection.ts b/lib/resourceanalytics/lib/model/tenancy-attachment-collection.ts new file mode 100644 index 0000000000..9aa3ba886f --- /dev/null +++ b/lib/resourceanalytics/lib/model/tenancy-attachment-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Results of a TenancyAttachment search. Contains both TenancyAttachmentSummary items and other information, such as metadata. + */ +export interface TenancyAttachmentCollection { + /** + * List of TenancyAttachments. + */ + "items": Array; +} + +export namespace TenancyAttachmentCollection { + export function getJsonObj(obj: TenancyAttachmentCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TenancyAttachmentSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TenancyAttachmentCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.TenancyAttachmentSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/tenancy-attachment-summary.ts b/lib/resourceanalytics/lib/model/tenancy-attachment-summary.ts new file mode 100644 index 0000000000..9903c35cc0 --- /dev/null +++ b/lib/resourceanalytics/lib/model/tenancy-attachment-summary.ts @@ -0,0 +1,85 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about a TenancyAttachment. + */ +export interface TenancyAttachmentSummary { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "id": string; + /** + * A description of the tenancy. + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. + */ + "tenancyId": string; + /** + * Whether the tenancy is the tenancy used when creating Resource Analytics Instance. + */ + "isReportingTenancy": boolean; + /** + * The date and time the TenancyAttachment was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the TenancyAttachment was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the TenancyAttachment. + */ + "lifecycleState": string; + /** + * A message that describes the current state of the TenancyAttachment in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace TenancyAttachmentSummary { + export function getJsonObj(obj: TenancyAttachmentSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TenancyAttachmentSummary): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/tenancy-attachment.ts b/lib/resourceanalytics/lib/model/tenancy-attachment.ts new file mode 100644 index 0000000000..4825f6d055 --- /dev/null +++ b/lib/resourceanalytics/lib/model/tenancy-attachment.ts @@ -0,0 +1,105 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** +* A TenancyAttachment is a customers' tenancy attached to a ResourceAnalyticsInstance. Attached tenancies will be included in analytics collection. +*

+To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to +* an administrator. If you're an administrator who needs to write policies to give users access, see +* [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm). +* +*/ +export interface TenancyAttachment { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "id": string; + /** + * A description of the tenancy. + */ + "description"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance associated with this TenancyAttachment. + */ + "resourceAnalyticsInstanceId": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenancy associated with this TenancyAttachment. + */ + "tenancyId": string; + /** + * Whether the tenancy is the tenancy used when creating Resource Analytics Instance. + */ + "isReportingTenancy": boolean; + /** + * The date and time the TenancyAttachment was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeCreated": Date; + /** + * The date and time the TenancyAttachment was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). +*

+Example: {@code 2016-08-25T21:10:29.600Z} +* + */ + "timeUpdated"?: Date; + /** + * The current state of the TenancyAttachment. + */ + "lifecycleState": TenancyAttachment.LifecycleState; + /** + * A message that describes the current state of the TenancyAttachment in more detail. For example, + * can be used to provide actionable information for a resource in the Failed state. + * + */ + "lifecycleDetails"?: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. +*

+Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} +* + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace TenancyAttachment { + export enum LifecycleState { + Creating = "CREATING", + Updating = "UPDATING", + Active = "ACTIVE", + NeedsAttention = "NEEDS_ATTENTION", + Deleting = "DELETING", + Deleted = "DELETED", + Failed = "FAILED", + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" + } + + export function getJsonObj(obj: TenancyAttachment): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: TenancyAttachment): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/update-resource-analytics-instance-details.ts b/lib/resourceanalytics/lib/model/update-resource-analytics-instance-details.ts new file mode 100644 index 0000000000..d5c7ba65d6 --- /dev/null +++ b/lib/resourceanalytics/lib/model/update-resource-analytics-instance-details.ts @@ -0,0 +1,58 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a ResourceAnalyticsInstance. + */ +export interface UpdateResourceAnalyticsInstanceDetails { + /** + * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + */ + "displayName"?: string; + /** + * A description of the ResourceAnalyticsInstance instance. + */ + "description"?: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Department\": \"Finance\"}} +* + */ + "freeformTags"?: { [key: string]: string }; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. +* For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +*

+Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} +* + */ + "definedTags"?: { [key: string]: { [key: string]: any } }; +} + +export namespace UpdateResourceAnalyticsInstanceDetails { + export function getJsonObj(obj: UpdateResourceAnalyticsInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateResourceAnalyticsInstanceDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/update-tenancy-attachment-details.ts b/lib/resourceanalytics/lib/model/update-tenancy-attachment-details.ts new file mode 100644 index 0000000000..f3996f894f --- /dev/null +++ b/lib/resourceanalytics/lib/model/update-tenancy-attachment-details.ts @@ -0,0 +1,38 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * The data to update a TenancyAttachment. + */ +export interface UpdateTenancyAttachmentDetails { + /** + * A description of the tenancy. + */ + "description": string; +} + +export namespace UpdateTenancyAttachmentDetails { + export function getJsonObj(obj: UpdateTenancyAttachmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UpdateTenancyAttachmentDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/vault-secret-password-details.ts b/lib/resourceanalytics/lib/model/vault-secret-password-details.ts new file mode 100644 index 0000000000..07d32e230a --- /dev/null +++ b/lib/resourceanalytics/lib/model/vault-secret-password-details.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Secret details for the ADW Admin password. + */ +export interface VaultSecretPasswordDetails extends model.AdwAdminPasswordDetails { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault secret to use as the ADW admin password. + */ + "secretId": string; + + "passwordType": string; +} + +export namespace VaultSecretPasswordDetails { + export function getJsonObj(obj: VaultSecretPasswordDetails, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AdwAdminPasswordDetails.getJsonObj(obj) as VaultSecretPasswordDetails)), + ...{} + }; + + return jsonObj; + } + export const passwordType = "VAULT_SECRET"; + export function getDeserializedJsonObj( + obj: VaultSecretPasswordDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.AdwAdminPasswordDetails.getDeserializedJsonObj( + obj + ) as VaultSecretPasswordDetails)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-error-collection.ts b/lib/resourceanalytics/lib/model/work-request-error-collection.ts new file mode 100644 index 0000000000..96294f3919 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-error-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request errors. Can contain both errors and other information, such as metadata. + */ +export interface WorkRequestErrorCollection { + /** + * A list of work request errors. + */ + "items": Array; +} + +export namespace WorkRequestErrorCollection { + export function getJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestErrorCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestError.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-error.ts b/lib/resourceanalytics/lib/model/work-request-error.ts new file mode 100644 index 0000000000..4ee6860d06 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-error.ts @@ -0,0 +1,50 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An error encountered while performing an operation that is tracked by a work request. + */ +export interface WorkRequestError { + /** + * A machine-usable code for the error that occurred. For a list of error codes, see + * [API Errors](https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). + * + */ + "code": string; + /** + * A human-readable error message. + */ + "message": string; + /** + * The date and time the error occurred, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestError { + export function getJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestError): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-log-entry-collection.ts b/lib/resourceanalytics/lib/model/work-request-log-entry-collection.ts new file mode 100644 index 0000000000..06170dfbe3 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-log-entry-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work request logs. Can contain both logs and other information, such as metadata. + */ +export interface WorkRequestLogEntryCollection { + /** + * A list of work request log entries. + */ + "items": Array; +} + +export namespace WorkRequestLogEntryCollection { + export function getJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestLogEntry.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-log-entry.ts b/lib/resourceanalytics/lib/model/work-request-log-entry.ts new file mode 100644 index 0000000000..58c53b0269 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-log-entry.ts @@ -0,0 +1,44 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A log message from performing an operation that is tracked by a work request. + */ +export interface WorkRequestLogEntry { + /** + * A human-readable log message. + */ + "message": string; + /** + * The date and time the log message was written, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timestamp": Date; +} + +export namespace WorkRequestLogEntry { + export function getJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestLogEntry): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-resource-metadata-key.ts b/lib/resourceanalytics/lib/model/work-request-resource-metadata-key.ts new file mode 100644 index 0000000000..f88ea76c0b --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-resource-metadata-key.ts @@ -0,0 +1,39 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Possible metadata keys for work request resource metadata. + **/ +export enum WorkRequestResourceMetadataKey { + IsDryRun = "IS_DRY_RUN", + + /** + * This value is used if a service returns a value for this enum that is not recognized by this + * version of the SDK. + */ + UnknownValue = "UNKNOWN_VALUE" +} + +export namespace WorkRequestResourceMetadataKey { + export function getJsonObj(obj: WorkRequestResourceMetadataKey): WorkRequestResourceMetadataKey { + return obj; + } + export function getDeserializedJsonObj( + obj: WorkRequestResourceMetadataKey + ): WorkRequestResourceMetadataKey { + return obj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-resource.ts b/lib/resourceanalytics/lib/model/work-request-resource.ts new file mode 100644 index 0000000000..894e6594e8 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-resource.ts @@ -0,0 +1,58 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A resource created or operated on by a work request. + */ +export interface WorkRequestResource { + /** + * The resource type that the work request affects. + */ + "entityType": string; + /** + * The way in which this resource is affected by the operation tracked in the work request. + * A resource being created, updated, or deleted remains in the IN_PROGRESS state until + * work is complete for that resource, at which point it transitions to CREATED, UPDATED, + * or DELETED, respectively. + * + */ + "actionType": model.ActionType; + /** + * An [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. + */ + "identifier": string; + /** + * The URI path that you can use for a GET request to access the resource metadata. + */ + "entityUri"?: string; + /** + * Additional information that helps to explain the resource. + */ + "metadata"?: { [key: string]: string }; +} + +export namespace WorkRequestResource { + export function getJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestResource): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-summary-collection.ts b/lib/resourceanalytics/lib/model/work-request-summary-collection.ts new file mode 100644 index 0000000000..8e57234da8 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-summary-collection.ts @@ -0,0 +1,56 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * A list of work requests. Can contain both work requests and other information, such as metadata. + */ +export interface WorkRequestSummaryCollection { + /** + * A list of work requests. + */ + "items": Array; +} + +export namespace WorkRequestSummaryCollection { + export function getJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummaryCollection): object { + const jsonObj = { + ...obj, + ...{ + "items": obj.items + ? obj.items.map(item => { + return model.WorkRequestSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request-summary.ts b/lib/resourceanalytics/lib/model/work-request-summary.ts new file mode 100644 index 0000000000..d1242e5c7c --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request-summary.ts @@ -0,0 +1,103 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Summary information about an asynchronous work request. + */ +export interface WorkRequestSummary { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by this work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequestSummary { + export function getJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequestSummary): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/model/work-request.ts b/lib/resourceanalytics/lib/model/work-request.ts new file mode 100644 index 0000000000..0bd70ab829 --- /dev/null +++ b/lib/resourceanalytics/lib/model/work-request.ts @@ -0,0 +1,106 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, + * the service creates a work request. A work request is an activity log that lets you track each step in the operation's + * progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation. + * + */ +export interface WorkRequest { + /** + * The asynchronous operation tracked by this work request. + */ + "operationType": model.OperationType; + /** + * The status of the work request. + */ + "status": model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. + */ + "id": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. + * + */ + "compartmentId": string; + /** + * The resources that are affected by the work request. + */ + "resources": Array; + /** + * Shows the progress of the operation tracked by the work request, as a percentage of the total work + * that must be performed. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "percentComplete": number; + /** + * The date and time the work request was created, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeAccepted": Date; + /** + * The date and time the work request was started, in the format defined by + * [RFC 3339](https://tools.ietf.org/html/rfc3339). + * + */ + "timeStarted"?: Date; + /** + * The date and time the work request was finished, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeFinished"?: Date; + /** + * The date and time the work request was updated, in the format defined by + * [RFC 3339](https://tools.ietf.org/rfc/rfc3339). + * + */ + "timeUpdated"?: Date; +} + +export namespace WorkRequest { + export function getJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: WorkRequest): object { + const jsonObj = { + ...obj, + ...{ + "resources": obj.resources + ? obj.resources.map(item => { + return model.WorkRequestResource.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/resourceanalytics/lib/monitoredregion-waiter.ts b/lib/resourceanalytics/lib/monitoredregion-waiter.ts new file mode 100644 index 0000000000..719ca64a1d --- /dev/null +++ b/lib/resourceanalytics/lib/monitoredregion-waiter.ts @@ -0,0 +1,44 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { MonitoredRegionClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class MonitoredRegionWaiter { + public constructor( + private client: MonitoredRegionClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forMonitoredRegion till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetMonitoredRegionResponse | null (null in case of 404 response) + */ + public async forMonitoredRegion( + request: serviceRequests.GetMonitoredRegionRequest, + ...targetStates: models.MonitoredRegion.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getMonitoredRegion(request), + response => targetStates.includes(response.monitoredRegion.lifecycleState!), + targetStates.includes(models.MonitoredRegion.LifecycleState.Deleted) + ); + } +} diff --git a/lib/resourceanalytics/lib/request/cancel-work-request-request.ts b/lib/resourceanalytics/lib/request/cancel-work-request-request.ts new file mode 100644 index 0000000000..1f3fdfcb54 --- /dev/null +++ b/lib/resourceanalytics/lib/request/cancel-work-request-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CancelWorkRequest.ts.html |here} to see how to use CancelWorkRequestRequest. + */ +export interface CancelWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/change-resource-analytics-instance-compartment-request.ts b/lib/resourceanalytics/lib/request/change-resource-analytics-instance-compartment-request.ts new file mode 100644 index 0000000000..44466ce133 --- /dev/null +++ b/lib/resourceanalytics/lib/request/change-resource-analytics-instance-compartment-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ChangeResourceAnalyticsInstanceCompartment.ts.html |here} to see how to use ChangeResourceAnalyticsInstanceCompartmentRequest. + */ +export interface ChangeResourceAnalyticsInstanceCompartmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * The information to be updated. + */ + "changeResourceAnalyticsInstanceCompartmentDetails": model.ChangeResourceAnalyticsInstanceCompartmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/create-monitored-region-request.ts b/lib/resourceanalytics/lib/request/create-monitored-region-request.ts new file mode 100644 index 0000000000..7a3f42d503 --- /dev/null +++ b/lib/resourceanalytics/lib/request/create-monitored-region-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateMonitoredRegion.ts.html |here} to see how to use CreateMonitoredRegionRequest. + */ +export interface CreateMonitoredRegionRequest extends common.BaseRequest { + /** + * Details for the new MonitoredRegion. + */ + "createMonitoredRegionDetails": model.CreateMonitoredRegionDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/create-resource-analytics-instance-request.ts b/lib/resourceanalytics/lib/request/create-resource-analytics-instance-request.ts new file mode 100644 index 0000000000..889daee813 --- /dev/null +++ b/lib/resourceanalytics/lib/request/create-resource-analytics-instance-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateResourceAnalyticsInstance.ts.html |here} to see how to use CreateResourceAnalyticsInstanceRequest. + */ +export interface CreateResourceAnalyticsInstanceRequest extends common.BaseRequest { + /** + * Details for the new ResourceAnalyticsInstance. + */ + "createResourceAnalyticsInstanceDetails": model.CreateResourceAnalyticsInstanceDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/create-tenancy-attachment-request.ts b/lib/resourceanalytics/lib/request/create-tenancy-attachment-request.ts new file mode 100644 index 0000000000..3a7256dfdf --- /dev/null +++ b/lib/resourceanalytics/lib/request/create-tenancy-attachment-request.ts @@ -0,0 +1,42 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/CreateTenancyAttachment.ts.html |here} to see how to use CreateTenancyAttachmentRequest. + */ +export interface CreateTenancyAttachmentRequest extends common.BaseRequest { + /** + * Details for the new TenancyAttachment. + */ + "createTenancyAttachmentDetails": model.CreateTenancyAttachmentDetails; + /** + * A token that uniquely identifies a request so it can be retried in case of a timeout or + * server error without risk of running that same action again. Retry tokens expire after 24 + * hours, but can be invalidated before then due to conflicting operations. For example, if a resource + * has been deleted and removed from the system, then a retry of the original creation request + * might be rejected. + * + */ + "opcRetryToken"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/delete-monitored-region-request.ts b/lib/resourceanalytics/lib/request/delete-monitored-region-request.ts new file mode 100644 index 0000000000..8a4a93bba1 --- /dev/null +++ b/lib/resourceanalytics/lib/request/delete-monitored-region-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteMonitoredRegion.ts.html |here} to see how to use DeleteMonitoredRegionRequest. + */ +export interface DeleteMonitoredRegionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion. + */ + "monitoredRegionId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/delete-resource-analytics-instance-request.ts b/lib/resourceanalytics/lib/request/delete-resource-analytics-instance-request.ts new file mode 100644 index 0000000000..05dee75dd2 --- /dev/null +++ b/lib/resourceanalytics/lib/request/delete-resource-analytics-instance-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteResourceAnalyticsInstance.ts.html |here} to see how to use DeleteResourceAnalyticsInstanceRequest. + */ +export interface DeleteResourceAnalyticsInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/delete-tenancy-attachment-request.ts b/lib/resourceanalytics/lib/request/delete-tenancy-attachment-request.ts new file mode 100644 index 0000000000..a1ecea10f8 --- /dev/null +++ b/lib/resourceanalytics/lib/request/delete-tenancy-attachment-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/DeleteTenancyAttachment.ts.html |here} to see how to use DeleteTenancyAttachmentRequest. + */ +export interface DeleteTenancyAttachmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "tenancyAttachmentId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/get-monitored-region-request.ts b/lib/resourceanalytics/lib/request/get-monitored-region-request.ts new file mode 100644 index 0000000000..68757cd291 --- /dev/null +++ b/lib/resourceanalytics/lib/request/get-monitored-region-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetMonitoredRegion.ts.html |here} to see how to use GetMonitoredRegionRequest. + */ +export interface GetMonitoredRegionRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion. + */ + "monitoredRegionId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/get-resource-analytics-instance-request.ts b/lib/resourceanalytics/lib/request/get-resource-analytics-instance-request.ts new file mode 100644 index 0000000000..45960a49cb --- /dev/null +++ b/lib/resourceanalytics/lib/request/get-resource-analytics-instance-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetResourceAnalyticsInstance.ts.html |here} to see how to use GetResourceAnalyticsInstanceRequest. + */ +export interface GetResourceAnalyticsInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/get-tenancy-attachment-request.ts b/lib/resourceanalytics/lib/request/get-tenancy-attachment-request.ts new file mode 100644 index 0000000000..dcffb087eb --- /dev/null +++ b/lib/resourceanalytics/lib/request/get-tenancy-attachment-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetTenancyAttachment.ts.html |here} to see how to use GetTenancyAttachmentRequest. + */ +export interface GetTenancyAttachmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "tenancyAttachmentId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/get-work-request-request.ts b/lib/resourceanalytics/lib/request/get-work-request-request.ts new file mode 100644 index 0000000000..3d7ce1774e --- /dev/null +++ b/lib/resourceanalytics/lib/request/get-work-request-request.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/GetWorkRequest.ts.html |here} to see how to use GetWorkRequestRequest. + */ +export interface GetWorkRequestRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/index.ts b/lib/resourceanalytics/lib/request/index.ts new file mode 100644 index 0000000000..c19527c445 --- /dev/null +++ b/lib/resourceanalytics/lib/request/index.ts @@ -0,0 +1,57 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as CreateMonitoredRegionRequest from "./create-monitored-region-request"; +export import CreateMonitoredRegionRequest = CreateMonitoredRegionRequest.CreateMonitoredRegionRequest; +import * as DeleteMonitoredRegionRequest from "./delete-monitored-region-request"; +export import DeleteMonitoredRegionRequest = DeleteMonitoredRegionRequest.DeleteMonitoredRegionRequest; +import * as GetMonitoredRegionRequest from "./get-monitored-region-request"; +export import GetMonitoredRegionRequest = GetMonitoredRegionRequest.GetMonitoredRegionRequest; +import * as ListMonitoredRegionsRequest from "./list-monitored-regions-request"; +export import ListMonitoredRegionsRequest = ListMonitoredRegionsRequest.ListMonitoredRegionsRequest; +import * as CancelWorkRequestRequest from "./cancel-work-request-request"; +export import CancelWorkRequestRequest = CancelWorkRequestRequest.CancelWorkRequestRequest; +import * as ChangeResourceAnalyticsInstanceCompartmentRequest from "./change-resource-analytics-instance-compartment-request"; +export import ChangeResourceAnalyticsInstanceCompartmentRequest = ChangeResourceAnalyticsInstanceCompartmentRequest.ChangeResourceAnalyticsInstanceCompartmentRequest; +import * as CreateResourceAnalyticsInstanceRequest from "./create-resource-analytics-instance-request"; +export import CreateResourceAnalyticsInstanceRequest = CreateResourceAnalyticsInstanceRequest.CreateResourceAnalyticsInstanceRequest; +import * as DeleteResourceAnalyticsInstanceRequest from "./delete-resource-analytics-instance-request"; +export import DeleteResourceAnalyticsInstanceRequest = DeleteResourceAnalyticsInstanceRequest.DeleteResourceAnalyticsInstanceRequest; +import * as GetResourceAnalyticsInstanceRequest from "./get-resource-analytics-instance-request"; +export import GetResourceAnalyticsInstanceRequest = GetResourceAnalyticsInstanceRequest.GetResourceAnalyticsInstanceRequest; +import * as GetWorkRequestRequest from "./get-work-request-request"; +export import GetWorkRequestRequest = GetWorkRequestRequest.GetWorkRequestRequest; +import * as ListResourceAnalyticsInstancesRequest from "./list-resource-analytics-instances-request"; +export import ListResourceAnalyticsInstancesRequest = ListResourceAnalyticsInstancesRequest.ListResourceAnalyticsInstancesRequest; +import * as ListWorkRequestErrorsRequest from "./list-work-request-errors-request"; +export import ListWorkRequestErrorsRequest = ListWorkRequestErrorsRequest.ListWorkRequestErrorsRequest; +import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; +export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; +import * as ListWorkRequestsRequest from "./list-work-requests-request"; +export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as ResourceAnalyticsInstanceDisableOacRequest from "./resource-analytics-instance-disable-oac-request"; +export import ResourceAnalyticsInstanceDisableOacRequest = ResourceAnalyticsInstanceDisableOacRequest.ResourceAnalyticsInstanceDisableOacRequest; +import * as ResourceAnalyticsInstanceEnableOacRequest from "./resource-analytics-instance-enable-oac-request"; +export import ResourceAnalyticsInstanceEnableOacRequest = ResourceAnalyticsInstanceEnableOacRequest.ResourceAnalyticsInstanceEnableOacRequest; +import * as UpdateResourceAnalyticsInstanceRequest from "./update-resource-analytics-instance-request"; +export import UpdateResourceAnalyticsInstanceRequest = UpdateResourceAnalyticsInstanceRequest.UpdateResourceAnalyticsInstanceRequest; +import * as CreateTenancyAttachmentRequest from "./create-tenancy-attachment-request"; +export import CreateTenancyAttachmentRequest = CreateTenancyAttachmentRequest.CreateTenancyAttachmentRequest; +import * as DeleteTenancyAttachmentRequest from "./delete-tenancy-attachment-request"; +export import DeleteTenancyAttachmentRequest = DeleteTenancyAttachmentRequest.DeleteTenancyAttachmentRequest; +import * as GetTenancyAttachmentRequest from "./get-tenancy-attachment-request"; +export import GetTenancyAttachmentRequest = GetTenancyAttachmentRequest.GetTenancyAttachmentRequest; +import * as ListTenancyAttachmentsRequest from "./list-tenancy-attachments-request"; +export import ListTenancyAttachmentsRequest = ListTenancyAttachmentsRequest.ListTenancyAttachmentsRequest; +import * as UpdateTenancyAttachmentRequest from "./update-tenancy-attachment-request"; +export import UpdateTenancyAttachmentRequest = UpdateTenancyAttachmentRequest.UpdateTenancyAttachmentRequest; diff --git a/lib/resourceanalytics/lib/request/list-monitored-regions-request.ts b/lib/resourceanalytics/lib/request/list-monitored-regions-request.ts new file mode 100644 index 0000000000..d7bc902375 --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-monitored-regions-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListMonitoredRegions.ts.html |here} to see how to use ListMonitoredRegionsRequest. + */ +export interface ListMonitoredRegionsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the MonitoredRegion. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code TIME_CREATED} + * is descending. Default order for {@code REGION_ID} is ascending. + * + */ + "sortBy"?: ListMonitoredRegionsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListMonitoredRegionsRequest { + export enum SortBy { + TimeCreated = "TIME_CREATED", + RegionId = "REGION_ID" + } +} diff --git a/lib/resourceanalytics/lib/request/list-resource-analytics-instances-request.ts b/lib/resourceanalytics/lib/request/list-resource-analytics-instances-request.ts new file mode 100644 index 0000000000..452b0d8a4a --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-resource-analytics-instances-request.ts @@ -0,0 +1,78 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListResourceAnalyticsInstances.ts.html |here} to see how to use ListResourceAnalyticsInstancesRequest. + */ +export interface ListResourceAnalyticsInstancesRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * A filter to return only resources that match the given display name exactly. + */ + "displayName"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code TIME_CREATED} + * is descending. Default order for {@code DISPLAY_NAME} is ascending. + * + */ + "sortBy"?: ListResourceAnalyticsInstancesRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListResourceAnalyticsInstancesRequest { + export enum SortBy { + TimeCreated = "TIME_CREATED", + DisplayName = "DISPLAY_NAME" + } +} diff --git a/lib/resourceanalytics/lib/request/list-tenancy-attachments-request.ts b/lib/resourceanalytics/lib/request/list-tenancy-attachments-request.ts new file mode 100644 index 0000000000..6bc6f5897f --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-tenancy-attachments-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListTenancyAttachments.ts.html |here} to see how to use ListTenancyAttachmentsRequest. + */ +export interface ListTenancyAttachmentsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId"?: string; + /** + * A filter to return only resources that match the given lifecycle state. The + * state value is case-insensitive. + * + */ + "lifecycleState"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "id"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. You can provide only one sort order. Default order for {@code TIME_CREATED} + * is descending. Default order for {@code DESCRIPTION} is ascending. + * + */ + "sortBy"?: ListTenancyAttachmentsRequest.SortBy; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} + +export namespace ListTenancyAttachmentsRequest { + export enum SortBy { + TimeCreated = "TIME_CREATED", + Description = "DESCRIPTION" + } +} diff --git a/lib/resourceanalytics/lib/request/list-work-request-errors-request.ts b/lib/resourceanalytics/lib/request/list-work-request-errors-request.ts new file mode 100644 index 0000000000..e1f07d55f5 --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-work-request-errors-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequestErrors.ts.html |here} to see how to use ListWorkRequestErrorsRequest. + */ +export interface ListWorkRequestErrorsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timestamp} is descending. + * + */ + "sortBy"?: ListWorkRequestErrorsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestErrorsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/resourceanalytics/lib/request/list-work-request-logs-request.ts b/lib/resourceanalytics/lib/request/list-work-request-logs-request.ts new file mode 100644 index 0000000000..ae13e6badf --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-work-request-logs-request.ts @@ -0,0 +1,62 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequestLogs.ts.html |here} to see how to use ListWorkRequestLogsRequest. + */ +export interface ListWorkRequestLogsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timestamp} is descending. + * + */ + "sortBy"?: ListWorkRequestLogsRequest.SortBy; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; +} + +export namespace ListWorkRequestLogsRequest { + export enum SortBy { + Timestamp = "timestamp" + } +} diff --git a/lib/resourceanalytics/lib/request/list-work-requests-request.ts b/lib/resourceanalytics/lib/request/list-work-requests-request.ts new file mode 100644 index 0000000000..57111a0af5 --- /dev/null +++ b/lib/resourceanalytics/lib/request/list-work-requests-request.ts @@ -0,0 +1,74 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ListWorkRequests.ts.html |here} to see how to use ListWorkRequestsRequest. + */ +export interface ListWorkRequestsRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + "compartmentId"?: string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + */ + "workRequestId"?: string; + /** + * A filter to return only the resources that match the given lifecycle state. + */ + "status"?: model.OperationStatus; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. + */ + "resourceId"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; + /** + * For list pagination. The value of the opc-next-page response header from the previous + * \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "page"?: string; + /** + * For list pagination. The maximum number of results per page, or items to return in a + * paginated \"List\" call. For important details about how pagination works, see + * [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "limit"?: number; + /** + * The sort order to use, either ascending ({@code ASC}) or descending ({@code DESC}). + */ + "sortOrder"?: model.SortOrder; + /** + * The field to sort by. Only one sort order may be provided. Default order for {@code timeAccepted} is descending. + * + */ + "sortBy"?: ListWorkRequestsRequest.SortBy; +} + +export namespace ListWorkRequestsRequest { + export enum SortBy { + TimeAccepted = "timeAccepted" + } +} diff --git a/lib/resourceanalytics/lib/request/resource-analytics-instance-disable-oac-request.ts b/lib/resourceanalytics/lib/request/resource-analytics-instance-disable-oac-request.ts new file mode 100644 index 0000000000..e63dd46f72 --- /dev/null +++ b/lib/resourceanalytics/lib/request/resource-analytics-instance-disable-oac-request.ts @@ -0,0 +1,41 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceDisableOac.ts.html |here} to see how to use ResourceAnalyticsInstanceDisableOacRequest. + */ +export interface ResourceAnalyticsInstanceDisableOacRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/resource-analytics-instance-enable-oac-request.ts b/lib/resourceanalytics/lib/request/resource-analytics-instance-enable-oac-request.ts new file mode 100644 index 0000000000..2c116d7095 --- /dev/null +++ b/lib/resourceanalytics/lib/request/resource-analytics-instance-enable-oac-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/ResourceAnalyticsInstanceEnableOac.ts.html |here} to see how to use ResourceAnalyticsInstanceEnableOacRequest. + */ +export interface ResourceAnalyticsInstanceEnableOacRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * The information to be updated. + */ + "resourceAnalyticsInstanceEnableOacDetails": model.ResourceAnalyticsInstanceEnableOacDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/update-resource-analytics-instance-request.ts b/lib/resourceanalytics/lib/request/update-resource-analytics-instance-request.ts new file mode 100644 index 0000000000..1835a89c86 --- /dev/null +++ b/lib/resourceanalytics/lib/request/update-resource-analytics-instance-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/UpdateResourceAnalyticsInstance.ts.html |here} to see how to use UpdateResourceAnalyticsInstanceRequest. + */ +export interface UpdateResourceAnalyticsInstanceRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ResourceAnalyticsInstance. + */ + "resourceAnalyticsInstanceId": string; + /** + * The information to be updated. + */ + "updateResourceAnalyticsInstanceDetails": model.UpdateResourceAnalyticsInstanceDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/request/update-tenancy-attachment-request.ts b/lib/resourceanalytics/lib/request/update-tenancy-attachment-request.ts new file mode 100644 index 0000000000..a55e29c1e3 --- /dev/null +++ b/lib/resourceanalytics/lib/request/update-tenancy-attachment-request.ts @@ -0,0 +1,45 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/resourceanalytics/UpdateTenancyAttachment.ts.html |here} to see how to use UpdateTenancyAttachmentRequest. + */ +export interface UpdateTenancyAttachmentRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the TenancyAttachment. + */ + "tenancyAttachmentId": string; + /** + * The information to be updated. + */ + "updateTenancyAttachmentDetails": model.UpdateTenancyAttachmentDetails; + /** + * For optimistic concurrency control. In the PUT or DELETE call for a resource, set the + * {@code if-match} parameter to the value of the etag from a previous GET or POST response for + * that resource. The resource will be updated or deleted only if the etag you provide + * matches the resource's current etag value. + * + */ + "ifMatch"?: string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * The only valid characters for request IDs are letters, numbers, + * underscore, and dash. + * + */ + "opcRequestId"?: string; +} diff --git a/lib/resourceanalytics/lib/resourceanalyticsinstance-waiter.ts b/lib/resourceanalytics/lib/resourceanalyticsinstance-waiter.ts new file mode 100644 index 0000000000..99e45a2d29 --- /dev/null +++ b/lib/resourceanalytics/lib/resourceanalyticsinstance-waiter.ts @@ -0,0 +1,60 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { ResourceAnalyticsInstanceClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class ResourceAnalyticsInstanceWaiter { + public constructor( + private client: ResourceAnalyticsInstanceClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forResourceAnalyticsInstance till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetResourceAnalyticsInstanceResponse | null (null in case of 404 response) + */ + public async forResourceAnalyticsInstance( + request: serviceRequests.GetResourceAnalyticsInstanceRequest, + ...targetStates: models.ResourceAnalyticsInstance.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getResourceAnalyticsInstance(request), + response => targetStates.includes(response.resourceAnalyticsInstance.lifecycleState!), + targetStates.includes(models.ResourceAnalyticsInstance.LifecycleState.Deleted) + ); + } + + /** + * Waits forWorkRequest + * + * @param request the request to send + * @return response returns GetWorkRequestResponse + */ + public async forWorkRequest( + request: serviceRequests.GetWorkRequestRequest + ): Promise { + return genericWaiter( + this.config, + () => this.client.getWorkRequest(request), + response => (response.workRequest.timeFinished ? true : false) + ); + } +} diff --git a/lib/resourceanalytics/lib/response/cancel-work-request-response.ts b/lib/resourceanalytics/lib/response/cancel-work-request-response.ts new file mode 100644 index 0000000000..8e17552962 --- /dev/null +++ b/lib/resourceanalytics/lib/response/cancel-work-request-response.ts @@ -0,0 +1,24 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CancelWorkRequestResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/change-resource-analytics-instance-compartment-response.ts b/lib/resourceanalytics/lib/response/change-resource-analytics-instance-compartment-response.ts new file mode 100644 index 0000000000..a0b773a4f0 --- /dev/null +++ b/lib/resourceanalytics/lib/response/change-resource-analytics-instance-compartment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ChangeResourceAnalyticsInstanceCompartmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/create-monitored-region-response.ts b/lib/resourceanalytics/lib/response/create-monitored-region-response.ts new file mode 100644 index 0000000000..4eba0d9576 --- /dev/null +++ b/lib/resourceanalytics/lib/response/create-monitored-region-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateMonitoredRegionResponse { + /** + * URL for the created MonitoredRegion. The MonitoredRegion OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.MonitoredRegion instance. + */ + "monitoredRegion": model.MonitoredRegion; +} diff --git a/lib/resourceanalytics/lib/response/create-resource-analytics-instance-response.ts b/lib/resourceanalytics/lib/response/create-resource-analytics-instance-response.ts new file mode 100644 index 0000000000..691d03cf00 --- /dev/null +++ b/lib/resourceanalytics/lib/response/create-resource-analytics-instance-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateResourceAnalyticsInstanceResponse { + /** + * URL for the created ResourceAnalyticsInstance. The ResourceAnalyticsInstance OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.ResourceAnalyticsInstance instance. + */ + "resourceAnalyticsInstance": model.ResourceAnalyticsInstance; +} diff --git a/lib/resourceanalytics/lib/response/create-tenancy-attachment-response.ts b/lib/resourceanalytics/lib/response/create-tenancy-attachment-response.ts new file mode 100644 index 0000000000..7b331a694a --- /dev/null +++ b/lib/resourceanalytics/lib/response/create-tenancy-attachment-response.ts @@ -0,0 +1,47 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface CreateTenancyAttachmentResponse { + /** + * URL for the created TenancyAttachment. The TenancyAttachment OCID is generated after this request is sent. + */ + "location": string; + /** + * Same as location. + */ + "contentLocation": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.TenancyAttachment instance. + */ + "tenancyAttachment": model.TenancyAttachment; +} diff --git a/lib/resourceanalytics/lib/response/delete-monitored-region-response.ts b/lib/resourceanalytics/lib/response/delete-monitored-region-response.ts new file mode 100644 index 0000000000..77dc4d3e2a --- /dev/null +++ b/lib/resourceanalytics/lib/response/delete-monitored-region-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteMonitoredRegionResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/delete-resource-analytics-instance-response.ts b/lib/resourceanalytics/lib/response/delete-resource-analytics-instance-response.ts new file mode 100644 index 0000000000..0c4ef6e42c --- /dev/null +++ b/lib/resourceanalytics/lib/response/delete-resource-analytics-instance-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteResourceAnalyticsInstanceResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/delete-tenancy-attachment-response.ts b/lib/resourceanalytics/lib/response/delete-tenancy-attachment-response.ts new file mode 100644 index 0000000000..45990f8e34 --- /dev/null +++ b/lib/resourceanalytics/lib/response/delete-tenancy-attachment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface DeleteTenancyAttachmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/get-monitored-region-response.ts b/lib/resourceanalytics/lib/response/get-monitored-region-response.ts new file mode 100644 index 0000000000..7c375303dd --- /dev/null +++ b/lib/resourceanalytics/lib/response/get-monitored-region-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetMonitoredRegionResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.MonitoredRegion instance. + */ + "monitoredRegion": model.MonitoredRegion; +} diff --git a/lib/resourceanalytics/lib/response/get-resource-analytics-instance-response.ts b/lib/resourceanalytics/lib/response/get-resource-analytics-instance-response.ts new file mode 100644 index 0000000000..f90ca36722 --- /dev/null +++ b/lib/resourceanalytics/lib/response/get-resource-analytics-instance-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetResourceAnalyticsInstanceResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.ResourceAnalyticsInstance instance. + */ + "resourceAnalyticsInstance": model.ResourceAnalyticsInstance; +} diff --git a/lib/resourceanalytics/lib/response/get-tenancy-attachment-response.ts b/lib/resourceanalytics/lib/response/get-tenancy-attachment-response.ts new file mode 100644 index 0000000000..b297f08660 --- /dev/null +++ b/lib/resourceanalytics/lib/response/get-tenancy-attachment-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetTenancyAttachmentResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.TenancyAttachment instance. + */ + "tenancyAttachment": model.TenancyAttachment; +} diff --git a/lib/resourceanalytics/lib/response/get-work-request-response.ts b/lib/resourceanalytics/lib/response/get-work-request-response.ts new file mode 100644 index 0000000000..77b6573e48 --- /dev/null +++ b/lib/resourceanalytics/lib/response/get-work-request-response.ts @@ -0,0 +1,37 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface GetWorkRequestResponse { + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * A decimal number representing the number of seconds the client should wait before polling this endpoint again. + */ + "retryAfter": number; + /** + * The returned model.WorkRequest instance. + */ + "workRequest": model.WorkRequest; +} diff --git a/lib/resourceanalytics/lib/response/index.ts b/lib/resourceanalytics/lib/response/index.ts new file mode 100644 index 0000000000..03abc13692 --- /dev/null +++ b/lib/resourceanalytics/lib/response/index.ts @@ -0,0 +1,57 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as CreateMonitoredRegionResponse from "./create-monitored-region-response"; +export import CreateMonitoredRegionResponse = CreateMonitoredRegionResponse.CreateMonitoredRegionResponse; +import * as DeleteMonitoredRegionResponse from "./delete-monitored-region-response"; +export import DeleteMonitoredRegionResponse = DeleteMonitoredRegionResponse.DeleteMonitoredRegionResponse; +import * as GetMonitoredRegionResponse from "./get-monitored-region-response"; +export import GetMonitoredRegionResponse = GetMonitoredRegionResponse.GetMonitoredRegionResponse; +import * as ListMonitoredRegionsResponse from "./list-monitored-regions-response"; +export import ListMonitoredRegionsResponse = ListMonitoredRegionsResponse.ListMonitoredRegionsResponse; +import * as CancelWorkRequestResponse from "./cancel-work-request-response"; +export import CancelWorkRequestResponse = CancelWorkRequestResponse.CancelWorkRequestResponse; +import * as ChangeResourceAnalyticsInstanceCompartmentResponse from "./change-resource-analytics-instance-compartment-response"; +export import ChangeResourceAnalyticsInstanceCompartmentResponse = ChangeResourceAnalyticsInstanceCompartmentResponse.ChangeResourceAnalyticsInstanceCompartmentResponse; +import * as CreateResourceAnalyticsInstanceResponse from "./create-resource-analytics-instance-response"; +export import CreateResourceAnalyticsInstanceResponse = CreateResourceAnalyticsInstanceResponse.CreateResourceAnalyticsInstanceResponse; +import * as DeleteResourceAnalyticsInstanceResponse from "./delete-resource-analytics-instance-response"; +export import DeleteResourceAnalyticsInstanceResponse = DeleteResourceAnalyticsInstanceResponse.DeleteResourceAnalyticsInstanceResponse; +import * as GetResourceAnalyticsInstanceResponse from "./get-resource-analytics-instance-response"; +export import GetResourceAnalyticsInstanceResponse = GetResourceAnalyticsInstanceResponse.GetResourceAnalyticsInstanceResponse; +import * as GetWorkRequestResponse from "./get-work-request-response"; +export import GetWorkRequestResponse = GetWorkRequestResponse.GetWorkRequestResponse; +import * as ListResourceAnalyticsInstancesResponse from "./list-resource-analytics-instances-response"; +export import ListResourceAnalyticsInstancesResponse = ListResourceAnalyticsInstancesResponse.ListResourceAnalyticsInstancesResponse; +import * as ListWorkRequestErrorsResponse from "./list-work-request-errors-response"; +export import ListWorkRequestErrorsResponse = ListWorkRequestErrorsResponse.ListWorkRequestErrorsResponse; +import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response"; +export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; +import * as ListWorkRequestsResponse from "./list-work-requests-response"; +export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as ResourceAnalyticsInstanceDisableOacResponse from "./resource-analytics-instance-disable-oac-response"; +export import ResourceAnalyticsInstanceDisableOacResponse = ResourceAnalyticsInstanceDisableOacResponse.ResourceAnalyticsInstanceDisableOacResponse; +import * as ResourceAnalyticsInstanceEnableOacResponse from "./resource-analytics-instance-enable-oac-response"; +export import ResourceAnalyticsInstanceEnableOacResponse = ResourceAnalyticsInstanceEnableOacResponse.ResourceAnalyticsInstanceEnableOacResponse; +import * as UpdateResourceAnalyticsInstanceResponse from "./update-resource-analytics-instance-response"; +export import UpdateResourceAnalyticsInstanceResponse = UpdateResourceAnalyticsInstanceResponse.UpdateResourceAnalyticsInstanceResponse; +import * as CreateTenancyAttachmentResponse from "./create-tenancy-attachment-response"; +export import CreateTenancyAttachmentResponse = CreateTenancyAttachmentResponse.CreateTenancyAttachmentResponse; +import * as DeleteTenancyAttachmentResponse from "./delete-tenancy-attachment-response"; +export import DeleteTenancyAttachmentResponse = DeleteTenancyAttachmentResponse.DeleteTenancyAttachmentResponse; +import * as GetTenancyAttachmentResponse from "./get-tenancy-attachment-response"; +export import GetTenancyAttachmentResponse = GetTenancyAttachmentResponse.GetTenancyAttachmentResponse; +import * as ListTenancyAttachmentsResponse from "./list-tenancy-attachments-response"; +export import ListTenancyAttachmentsResponse = ListTenancyAttachmentsResponse.ListTenancyAttachmentsResponse; +import * as UpdateTenancyAttachmentResponse from "./update-tenancy-attachment-response"; +export import UpdateTenancyAttachmentResponse = UpdateTenancyAttachmentResponse.UpdateTenancyAttachmentResponse; diff --git a/lib/resourceanalytics/lib/response/list-monitored-regions-response.ts b/lib/resourceanalytics/lib/response/list-monitored-regions-response.ts new file mode 100644 index 0000000000..942a65ef8a --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-monitored-regions-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListMonitoredRegionsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.MonitoredRegionCollection instance. + */ + "monitoredRegionCollection": model.MonitoredRegionCollection; +} diff --git a/lib/resourceanalytics/lib/response/list-resource-analytics-instances-response.ts b/lib/resourceanalytics/lib/response/list-resource-analytics-instances-response.ts new file mode 100644 index 0000000000..746e24c67f --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-resource-analytics-instances-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListResourceAnalyticsInstancesResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.ResourceAnalyticsInstanceCollection instance. + */ + "resourceAnalyticsInstanceCollection": model.ResourceAnalyticsInstanceCollection; +} diff --git a/lib/resourceanalytics/lib/response/list-tenancy-attachments-response.ts b/lib/resourceanalytics/lib/response/list-tenancy-attachments-response.ts new file mode 100644 index 0000000000..78cca74f53 --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-tenancy-attachments-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListTenancyAttachmentsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.TenancyAttachmentCollection instance. + */ + "tenancyAttachmentCollection": model.TenancyAttachmentCollection; +} diff --git a/lib/resourceanalytics/lib/response/list-work-request-errors-response.ts b/lib/resourceanalytics/lib/response/list-work-request-errors-response.ts new file mode 100644 index 0000000000..dbdc5521b1 --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-work-request-errors-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestErrorsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestErrorCollection instance. + */ + "workRequestErrorCollection": model.WorkRequestErrorCollection; +} diff --git a/lib/resourceanalytics/lib/response/list-work-request-logs-response.ts b/lib/resourceanalytics/lib/response/list-work-request-logs-response.ts new file mode 100644 index 0000000000..edb7d3801c --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-work-request-logs-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestLogsResponse { + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * The returned model.WorkRequestLogEntryCollection instance. + */ + "workRequestLogEntryCollection": model.WorkRequestLogEntryCollection; +} diff --git a/lib/resourceanalytics/lib/response/list-work-requests-response.ts b/lib/resourceanalytics/lib/response/list-work-requests-response.ts new file mode 100644 index 0000000000..1c2d365cc0 --- /dev/null +++ b/lib/resourceanalytics/lib/response/list-work-requests-response.ts @@ -0,0 +1,34 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ListWorkRequestsResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For list pagination. When this header appears in the response, additional pages of results remain. For + * important details about how pagination works, see [List Pagination](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + * + */ + "opcNextPage": string; + /** + * The returned model.WorkRequestSummaryCollection instance. + */ + "workRequestSummaryCollection": model.WorkRequestSummaryCollection; +} diff --git a/lib/resourceanalytics/lib/response/resource-analytics-instance-disable-oac-response.ts b/lib/resourceanalytics/lib/response/resource-analytics-instance-disable-oac-response.ts new file mode 100644 index 0000000000..444b80c43c --- /dev/null +++ b/lib/resourceanalytics/lib/response/resource-analytics-instance-disable-oac-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ResourceAnalyticsInstanceDisableOacResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/resource-analytics-instance-enable-oac-response.ts b/lib/resourceanalytics/lib/response/resource-analytics-instance-enable-oac-response.ts new file mode 100644 index 0000000000..789266dffd --- /dev/null +++ b/lib/resourceanalytics/lib/response/resource-analytics-instance-enable-oac-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface ResourceAnalyticsInstanceEnableOacResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/update-resource-analytics-instance-response.ts b/lib/resourceanalytics/lib/response/update-resource-analytics-instance-response.ts new file mode 100644 index 0000000000..c81f41b72f --- /dev/null +++ b/lib/resourceanalytics/lib/response/update-resource-analytics-instance-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateResourceAnalyticsInstanceResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/response/update-tenancy-attachment-response.ts b/lib/resourceanalytics/lib/response/update-tenancy-attachment-response.ts new file mode 100644 index 0000000000..0b2a80b62a --- /dev/null +++ b/lib/resourceanalytics/lib/response/update-tenancy-attachment-response.ts @@ -0,0 +1,30 @@ +/** + * + * + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface UpdateTenancyAttachmentResponse { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. + * Use GetWorkRequest with this ID to track the status of the request. + * + */ + "opcWorkRequestId": string; + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; +} diff --git a/lib/resourceanalytics/lib/tenancyattachment-waiter.ts b/lib/resourceanalytics/lib/tenancyattachment-waiter.ts new file mode 100644 index 0000000000..23488964f5 --- /dev/null +++ b/lib/resourceanalytics/lib/tenancyattachment-waiter.ts @@ -0,0 +1,44 @@ +/** + * Resource Analytics API + * Use the Resource Analytics API to manage Resource Analytics Instances. + * OpenAPI spec version: 20241031 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * 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. + */ + +import * as serviceRequests from "./request"; +import * as serviceResponses from "./response"; +import * as models from "./model"; +import { TenancyAttachmentClient } from "./client"; +import { genericWaiter, genericTerminalConditionWaiter, WaiterConfiguration } from "oci-common"; + +export class TenancyAttachmentWaiter { + public constructor( + private client: TenancyAttachmentClient, + private readonly config?: WaiterConfiguration + ) {} + + /** + * Waits forTenancyAttachment till it reaches any of the provided states + * + * @param request the request to send + * @param targetStates the desired states to wait for. The waiter will return once the resource reaches any of the provided states + * @return response returns GetTenancyAttachmentResponse | null (null in case of 404 response) + */ + public async forTenancyAttachment( + request: serviceRequests.GetTenancyAttachmentRequest, + ...targetStates: models.TenancyAttachment.LifecycleState[] + ): Promise { + return genericTerminalConditionWaiter( + this.config, + () => this.client.getTenancyAttachment(request), + response => targetStates.includes(response.tenancyAttachment.lifecycleState!), + targetStates.includes(models.TenancyAttachment.LifecycleState.Deleted) + ); + } +} diff --git a/lib/resourceanalytics/package.json b/lib/resourceanalytics/package.json new file mode 100644 index 0000000000..ecdfdffd62 --- /dev/null +++ b/lib/resourceanalytics/package.json @@ -0,0 +1,28 @@ +{ + "name": "oci-resourceanalytics", + "version": "2.118.0", + "description": "OCI NodeJS client for Resource Analytics Service", + "repository": { + "type": "git", + "url": "https://github.com/oracle/oci-typescript-sdk" + }, + "main": "../../target/lib/resourceanalytics/index.js", + "typings": "../../target/lib/resourceanalytics/index.d.ts", + "scripts": {}, + "author": { + "name": "Oracle Cloud Infrastructure", + "email": "" + }, + "license": "(UPL-1.0 OR Apache-2.0)", + "dependencies": { + "oci-common": "../common" + }, + "publishConfig": { + "registry": "https://registry.npmjs.org" + }, + "contributors": [ + "Jyoti Saini ", + "Joe Levy ", + "Walt Tran " + ] +} diff --git a/lib/resourceanalytics/tsconfig.json b/lib/resourceanalytics/tsconfig.json new file mode 100644 index 0000000000..bf9170b6ce --- /dev/null +++ b/lib/resourceanalytics/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2015", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ + "declaration": true, /* Generates corresponding '.d.ts' file. */ + "sourceMap": true, /* Generates corresponding '.map' file. */ + "outDir": "target", /* Redirect output structure to the directory. */ + "strict": true, /* Enable all strict type-checking options. */ + "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ + } +} \ No newline at end of file diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 1627053590..48a54e4818 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index fadac5895e..93bac048f7 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index 2cec2b9383..dbb9811060 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for resource research Service", "repository": { "type": "git", diff --git a/lib/rover/package.json b/lib/rover/package.json index 54546a4874..39e5bc9b76 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index ea3e814f55..88b1cc8906 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 7ad62d3ede..81b4db295d 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index 8ebba9fa8d..9e8865a129 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 69fe4f2b02..5c693d5c34 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Service Catalog Service", "repository": { "type": "git", diff --git a/lib/servicemanagerproxy/package.json b/lib/servicemanagerproxy/package.json index b630aa04e9..54f264b6eb 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index e399dfbb54..656d61ebbc 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Stack Monitoring Service", "repository": { "type": "git", diff --git a/lib/streaming/package.json b/lib/streaming/package.json index 5fac8ab9d1..c0b4a6366b 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index f688e09a16..91d618bc2a 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Tenant Manager Control Plane Service", "repository": { "type": "git", diff --git a/lib/threatintelligence/package.json b/lib/threatintelligence/package.json index 55890234fd..98ebac9b59 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Threat Intelligence Service", "repository": { "type": "git", diff --git a/lib/usage/package.json b/lib/usage/package.json index d25d573e9d..4e395e13ec 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index 74a346780d..a05cbb067f 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Usage Api Service", "repository": { "type": "git", diff --git a/lib/vault/package.json b/lib/vault/package.json index 94620c4303..7892a47520 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index af290f3def..d457bd337d 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Vbs Inst Service", "repository": { "type": "git", diff --git a/lib/visualbuilder/package.json b/lib/visualbuilder/package.json index ee32c70aca..91cd29a932 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Visual Builder Service", "repository": { "type": "git", diff --git a/lib/vnmonitoring/package.json b/lib/vnmonitoring/package.json index 9ecfed26ba..35452f08d4 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Vn Monitoring Service", "repository": { "type": "git", diff --git a/lib/vulnerabilityscanning/package.json b/lib/vulnerabilityscanning/package.json index 94c3026493..18d97d794c 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Vulnerability Scanning Service", "repository": { "type": "git", diff --git a/lib/waa/package.json b/lib/waa/package.json index d34ba3cc3b..a831d9a15d 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 4a27433a07..15da168fe4 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 688e8472d6..1589461683 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index 164d35b019..a2f59f40a0 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index ad31cb56a9..61b73b9509 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index d0efe7915f..82f9bf1767 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.117.1", + "version": "2.118.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index 4a4208b52e..e3c1af977c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.117.1", + "version": "2.118.0", "author": { "name": "Oracle Cloud Infrastructure", "email": "" @@ -175,9 +175,11 @@ "oci-wlms": "file:lib/wlms", "oci-dbmulticloud": "file:lib/dbmulticloud", "oci-apiplatform": "file:lib/apiplatform", - "oci-multicloud": "file:lib/multicloud", "oci-managedkafka": "file:lib/managedkafka", - "oci-aidataplatform": "file:lib/aidataplatform" + "oci-aidataplatform": "file:lib/aidataplatform", + "oci-jmsutils": "file:lib/jmsutils", + "oci-multicloud": "file:lib/multicloud", + "oci-resourceanalytics": "file:lib/resourceanalytics" }, "publishConfig": { "registry": "https://registry.npmjs.org"