diff --git a/CHANGELOG.md b/CHANGELOG.md index 9826ecb91b..67675d3ceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.83.0 - 2024-03-26 +### Added +- Support for creating and updating a refreshable clone with auto-refresh for an Autonomous Database in the Database service +- Support for symmetric hashing in the Network Load Balancer service +- Support for creating and deploying helm command specifications in the DevOps Service +- Support for uninstalling helm chart when deleting an Oracle Kubernetes Stage through the DevOps Service +- Support for collecting metrics and filter plugin with Unified Monitoring Agent (UMA) in the Logging service +- Support for reading logs from head position after agent restart in the Logging service +- Support for monitoring MySQL HeatWave clusters in Database Management Service +- Support for multiple severities in an alarm in the Monitoring service + +### Breaking Changes +- Support for default retries on the operations of the Network Load Balancer service +- The fields `displayName` and `description` were made required in the model `CreateUnifiedAgentConfigurationDetails` in the Logging service +- The field `recordInput` was made required in the model `OperationalMetricsSource` in the Logging service + + ## 2.82.2 - 2024-03-19 ### Added - Support for standalone Oracle HTTP server discovery and monitoring in the Stack Monitoring service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index 0fc57d6d02..79efa7a685 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.82.2", + "version": "2.83.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 c2d2fc8838..496d46e7ed 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aianomalydetection/package.json b/lib/aianomalydetection/package.json index 8288a889ba..a933ea06cb 100644 --- a/lib/aianomalydetection/package.json +++ b/lib/aianomalydetection/package.json @@ -1,6 +1,6 @@ { "name": "oci-aianomalydetection", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Ai Anomaly Detection Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 7e5fb189ba..4a292df1e1 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.82.2", + "version": "2.83.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 198f83717c..ab06707426 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.82.2", + "version": "2.83.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 18ea2a9848..da5c4f33aa 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.82.2", + "version": "2.83.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 2c413b12ed..abac5d01b1 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.82.2", + "version": "2.83.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 ed4377db7b..8da29a0d06 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index cd4a2543fe..0c1cd1c6b5 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index b7e0ab2e99..f9baf79dc3 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 14d3b19173..0711f976dc 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.82.2", + "version": "2.83.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 2b4529c80f..793151c37d 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.82.2", + "version": "2.83.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 8dbacdc134..9659b2f7c6 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.82.2", + "version": "2.83.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 4321266802..ba7c42e4f3 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/applicationmigration/package.json b/lib/applicationmigration/package.json index ddd24f2730..d54d71ebde 100644 --- a/lib/applicationmigration/package.json +++ b/lib/applicationmigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-applicationmigration", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Application Migration service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index a5e7a33e7e..2fb0bbcf0a 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.82.2", + "version": "2.83.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 74f865e3b3..5080e472c4 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 973cfbaa22..fb29737d28 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 0381a49521..8b8055da40 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 5955fe7b9f..512ac658f8 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index 683a385160..e2f37faf0b 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index e53bfebaf9..0195798d75 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 61fb64da51..63ed7b3d23 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 05edec0706..174a7f8d8f 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.82.2", + "version": "2.83.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 ebee1b3502..8aa4709716 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 77472ffe8a..d71e020f37 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.82.2", + "version": "2.83.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 ac5e84309b..1b1c8e68fa 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index caf01818c3..3d7ee417d8 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.82.2", + "version": "2.83.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 745363f397..a937df8648 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.82.2", + "version": "2.83.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 19ea78d2c6..851426671c 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/common/package.json b/lib/common/package.json index 52800022db..2c86d3dee7 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index 7b7b5845db..495b4526e2 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.82.2", + "version": "2.83.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 bf53868787..f69418b997 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.82.2", + "version": "2.83.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 eff4762c0c..26b79a7b38 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index f88a8b2dd1..606b52b6fd 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.82.2", + "version": "2.83.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 46b75ba7d6..5587c04c61 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index 7c6d912b7f..18a6d45887 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/model/autonomous-database-summary.ts b/lib/database/lib/model/autonomous-database-summary.ts index 7dbff29af0..394a4b46a2 100644 --- a/lib/database/lib/model/autonomous-database-summary.ts +++ b/lib/database/lib/model/autonomous-database-summary.ts @@ -473,6 +473,18 @@ This cannot be updated in parallel with any of the following: cpuCoreCount, comp * The wallet name for Oracle Key Vault. */ "keyStoreWalletName"?: string; + /** + * The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the {@code timeOfAutoRefreshStart} parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshFrequencyInSeconds"?: number; + /** + * The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshPointLagInSeconds"?: number; + /** + * The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the {@code autoRefreshFrequencyInSeconds} parameter. + */ + "timeOfAutoRefreshStart"?: Date; /** * The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. * diff --git a/lib/database/lib/model/autonomous-database.ts b/lib/database/lib/model/autonomous-database.ts index 308883a212..66e1fd54c9 100644 --- a/lib/database/lib/model/autonomous-database.ts +++ b/lib/database/lib/model/autonomous-database.ts @@ -471,6 +471,18 @@ This cannot be updated in parallel with any of the following: cpuCoreCount, comp * The wallet name for Oracle Key Vault. */ "keyStoreWalletName"?: string; + /** + * The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the {@code timeOfAutoRefreshStart} parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshFrequencyInSeconds"?: number; + /** + * The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshPointLagInSeconds"?: number; + /** + * The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the {@code autoRefreshFrequencyInSeconds} parameter. + */ + "timeOfAutoRefreshStart"?: Date; /** * The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. * diff --git a/lib/database/lib/model/create-refreshable-autonomous-database-clone-details.ts b/lib/database/lib/model/create-refreshable-autonomous-database-clone-details.ts index a41afa0c9b..26a08446d3 100644 --- a/lib/database/lib/model/create-refreshable-autonomous-database-clone-details.ts +++ b/lib/database/lib/model/create-refreshable-autonomous-database-clone-details.ts @@ -29,6 +29,25 @@ export interface CreateRefreshableAutonomousDatabaseCloneDetails * The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. */ "refreshableMode"?: CreateRefreshableAutonomousDatabaseCloneDetails.RefreshableMode; + /** + * The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the {@code timeOfAutoRefreshStart} parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshFrequencyInSeconds"?: number; + /** + * The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshPointLagInSeconds"?: number; + /** + * The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the {@code autoRefreshFrequencyInSeconds} parameter. + */ + "timeOfAutoRefreshStart"?: Date; + /** + * Indicates the Autonomous Database mode. The database can be opened in {@code READ_ONLY} or {@code READ_WRITE} mode. +*

+This cannot be updated in parallel with any of the following: cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, or isFreeTier. +* + */ + "openMode"?: CreateRefreshableAutonomousDatabaseCloneDetails.OpenMode; "source": string; } @@ -39,6 +58,11 @@ export namespace CreateRefreshableAutonomousDatabaseCloneDetails { Manual = "MANUAL" } + export enum OpenMode { + ReadOnly = "READ_ONLY", + ReadWrite = "READ_WRITE" + } + export function getJsonObj( obj: CreateRefreshableAutonomousDatabaseCloneDetails, isParentJsonObj?: boolean diff --git a/lib/database/lib/model/update-autonomous-database-details.ts b/lib/database/lib/model/update-autonomous-database-details.ts index 9755ba4426..a8c511809e 100644 --- a/lib/database/lib/model/update-autonomous-database-details.ts +++ b/lib/database/lib/model/update-autonomous-database-details.ts @@ -317,6 +317,18 @@ This setting cannot be updated in parallel with any of the following: licenseMod * */ "nsgIds"?: Array; + /** + * The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the {@code timeOfAutoRefreshStart} parameter. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshFrequencyInSeconds"?: number; + /** + * The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "autoRefreshPointLagInSeconds"?: number; + /** + * The the date and time that auto-refreshing will begin for an Autonomous Database refreshable clone. This value controls only the start time for the first refresh operation. Subsequent (ongoing) refresh operations have start times controlled by the value of the {@code autoRefreshFrequencyInSeconds} parameter. + */ + "timeOfAutoRefreshStart"?: Date; /** * Customer Contacts. Setting this to an empty list removes all customer contacts of an Oracle *

diff --git a/lib/database/package.json b/lib/database/package.json index 0c7a14aa18..eccf1a80e3 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/lib/client.ts b/lib/databasemanagement/lib/client.ts index dd6f70050c..4fab37fc23 100644 --- a/lib/databasemanagement/lib/client.ts +++ b/lib/databasemanagement/lib/client.ts @@ -16873,6 +16873,85 @@ export class ManagedMySqlDatabasesClient { } } + /** + * Gets the health metrics for a fleet of HeatWave clusters in a compartment. + * + * This operation does not retry by default if the user has not defined a retry configuration. + * @param GetHeatWaveFleetMetricRequest + * @return GetHeatWaveFleetMetricResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetHeatWaveFleetMetric.ts.html |here} to see how to use GetHeatWaveFleetMetric API. + */ + public async getHeatWaveFleetMetric( + getHeatWaveFleetMetricRequest: requests.GetHeatWaveFleetMetricRequest + ): Promise { + if (this.logger) + this.logger.debug("Calling operation ManagedMySqlDatabasesClient#getHeatWaveFleetMetric."); + const operationName = "getHeatWaveFleetMetric"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/database-management/20201101/HeatWaveFleetMetrics/GetHeatWaveFleetMetric"; + const pathParams = {}; + + const queryParams = { + "compartmentId": getHeatWaveFleetMetricRequest.compartmentId, + "filterByMetricNames": getHeatWaveFleetMetricRequest.filterByMetricNames, + "startTime": getHeatWaveFleetMetricRequest.startTime, + "endTime": getHeatWaveFleetMetricRequest.endTime, + "filterByHeatWaveStatus": getHeatWaveFleetMetricRequest.filterByHeatWaveStatus, + "filterByHeatWaveShape": getHeatWaveFleetMetricRequest.filterByHeatWaveShape, + "isHeatWaveLakehouseEnabled": getHeatWaveFleetMetricRequest.isHeatWaveLakehouseEnabled + }; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": getHeatWaveFleetMetricRequest.opcRequestId + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + getHeatWaveFleetMetricRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/heatWaveFleetMetrics", + 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: "heatWaveFleetMetrics", + bodyModel: model.HeatWaveFleetMetrics, + type: "model.HeatWaveFleetMetrics", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Retrieves the general information for a specific MySQL Database. * @@ -16974,7 +17053,8 @@ export class ManagedMySqlDatabasesClient { getMySqlFleetMetricRequest.filterByMySqlDeploymentTypeParam, "filterByMdsDeploymentType": getMySqlFleetMetricRequest.filterByMdsDeploymentType, "filterByMySqlStatus": getMySqlFleetMetricRequest.filterByMySqlStatus, - "filterByMySqlDatabaseVersion": getMySqlFleetMetricRequest.filterByMySqlDatabaseVersion + "filterByMySqlDatabaseVersion": getMySqlFleetMetricRequest.filterByMySqlDatabaseVersion, + "isHeatWaveEnabled": getMySqlFleetMetricRequest.isHeatWaveEnabled }; let headerParams = { diff --git a/lib/databasemanagement/lib/model/heat-wave-cluster-status.ts b/lib/databasemanagement/lib/model/heat-wave-cluster-status.ts new file mode 100644 index 0000000000..31a69a3b88 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-cluster-status.ts @@ -0,0 +1,42 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 HeatWave cluster. Indicates whether the status of the HeatWave cluster is UP, DOWN, or UNKNOWN at the current time. + **/ +export enum HeatWaveClusterStatus { + Up = "UP", + Down = "DOWN", + Unknown = "UNKNOWN", + + /** + * 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 HeatWaveClusterStatus { + export function getJsonObj(obj: HeatWaveClusterStatus): HeatWaveClusterStatus { + return obj; + } + export function getDeserializedJsonObj(obj: HeatWaveClusterStatus): HeatWaveClusterStatus { + return obj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-cluster-usage-metrics.ts b/lib/databasemanagement/lib/model/heat-wave-cluster-usage-metrics.ts new file mode 100644 index 0000000000..26e7c4e6dc --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-cluster-usage-metrics.ts @@ -0,0 +1,91 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 list of aggregated metrics for a HeatWave cluster in the fleet. + */ +export interface HeatWaveClusterUsageMetrics { + /** + * The status of the HeatWave cluster. Indicates whether the status of the cluster is UP, DOWN, or UNKNOWN at the current time. + */ + "status": model.HeatWaveClusterStatus; + /** + * The OCID for the DB system associated with the HeatWave cluster. + */ + "dbSystemId": string; + /** + * The name of the DB system associated with the HeatWave cluster. + */ + "dbSystemName": string; + /** + * The name of the HeatWave cluster. + */ + "heatWaveClusterDisplayName": string; + /** + * Number of nodes in the HeatWave cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "nodeCount": number; + /** + * If Lakehouse is enabled for the HeatWave cluster or not. + */ + "isLakehouseEnabled": boolean; + /** + * Shape of the nodes in the HeatWave cluster. + */ + "heatWaveNodeShape": string; + /** + * The total memory belonging to the HeatWave cluster in GBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memorySize": number; + /** + * A list of the database health metrics like CPU and Memory. + */ + "metrics": Array; +} + +export namespace HeatWaveClusterUsageMetrics { + export function getJsonObj(obj: HeatWaveClusterUsageMetrics): object { + const jsonObj = { + ...obj, + ...{ + "metrics": obj.metrics + ? obj.metrics.map(item => { + return model.HeatWaveFleetMetricDefinition.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveClusterUsageMetrics): object { + const jsonObj = { + ...obj, + ...{ + "metrics": obj.metrics + ? obj.metrics.map(item => { + return model.HeatWaveFleetMetricDefinition.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-fleet-by-category.ts b/lib/databasemanagement/lib/model/heat-wave-fleet-by-category.ts new file mode 100644 index 0000000000..b7ee2f53ae --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-fleet-by-category.ts @@ -0,0 +1,49 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 number of HeatWave clusters in the fleet, grouped by shape and Lakehouse-enabled status. + */ +export interface HeatWaveFleetByCategory { + /** + * The name of the HeatWave fleet category. + */ + "name": string; + /** + * The value of the HeatWave fleet category. + */ + "value": string; + /** + * The number of matching HeatWave clusters. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "count": number; +} + +export namespace HeatWaveFleetByCategory { + export function getJsonObj(obj: HeatWaveFleetByCategory): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveFleetByCategory): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-fleet-metric-definition.ts b/lib/databasemanagement/lib/model/heat-wave-fleet-metric-definition.ts new file mode 100644 index 0000000000..8dc4947503 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-fleet-metric-definition.ts @@ -0,0 +1,75 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 aggregated metric for a HeatWave cluster. + */ +export interface HeatWaveFleetMetricDefinition { + /** + * The name of the metric. + */ + "metricName": string; + /** + * The value of the metric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "metricValue": number; + /** + * The data point date and time in UTC in ISO-8601 format. + */ + "timestamp": Date; + /** + * The dimensions of the metric. + */ + "dimensions": Array; + /** + * The unit of the metric value. + */ + "unit": string; +} + +export namespace HeatWaveFleetMetricDefinition { + export function getJsonObj(obj: HeatWaveFleetMetricDefinition): object { + const jsonObj = { + ...obj, + ...{ + "dimensions": obj.dimensions + ? obj.dimensions.map(item => { + return model.MetricDimensionDefinition.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveFleetMetricDefinition): object { + const jsonObj = { + ...obj, + ...{ + "dimensions": obj.dimensions + ? obj.dimensions.map(item => { + return model.MetricDimensionDefinition.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-fleet-metric-summary-definition.ts b/lib/databasemanagement/lib/model/heat-wave-fleet-metric-summary-definition.ts new file mode 100644 index 0000000000..1126f7e144 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-fleet-metric-summary-definition.ts @@ -0,0 +1,71 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 fleet metrics, which provides the metric aggregated value of the HeatWave clusters in the fleet. + */ +export interface HeatWaveFleetMetricSummaryDefinition { + /** + * The name of the metric. + */ + "metricName": string; + /** + * The aggregated metric value. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "metricValue": number; + /** + * The unique dimension key and values of the metric. + */ + "dimensions": Array; + /** + * The unit of the metric value. + */ + "unit": string; +} + +export namespace HeatWaveFleetMetricSummaryDefinition { + export function getJsonObj(obj: HeatWaveFleetMetricSummaryDefinition): object { + const jsonObj = { + ...obj, + ...{ + "dimensions": obj.dimensions + ? obj.dimensions.map(item => { + return model.MetricDimensionDefinition.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveFleetMetricSummaryDefinition): object { + const jsonObj = { + ...obj, + ...{ + "dimensions": obj.dimensions + ? obj.dimensions.map(item => { + return model.MetricDimensionDefinition.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-fleet-metrics.ts b/lib/databasemanagement/lib/model/heat-wave-fleet-metrics.ts new file mode 100644 index 0000000000..7c4208e283 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-fleet-metrics.ts @@ -0,0 +1,81 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 details of the HeatWave cluster fleet health metrics. + */ +export interface HeatWaveFleetMetrics { + /** + * The beginning of the time range during which metric data is retrieved. + */ + "startTime": string; + /** + * The end of the time range during which metric data is retrieved. + */ + "endTime": string; + /** + * The list of HeatWave clusters in the fleet and their usage metrics. + */ + "fleetClusters": Array; + /** + * A summary of the inventory count and the metrics that describe the aggregated usage of CPU, storage, and so on of all the HeatWave clusters in the fleet. + */ + "fleetSummary": Array; +} + +export namespace HeatWaveFleetMetrics { + export function getJsonObj(obj: HeatWaveFleetMetrics): object { + const jsonObj = { + ...obj, + ...{ + "fleetClusters": obj.fleetClusters + ? obj.fleetClusters.map(item => { + return model.HeatWaveClusterUsageMetrics.getJsonObj(item); + }) + : undefined, + "fleetSummary": obj.fleetSummary + ? obj.fleetSummary.map(item => { + return model.HeatWaveFleetSummary.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveFleetMetrics): object { + const jsonObj = { + ...obj, + ...{ + "fleetClusters": obj.fleetClusters + ? obj.fleetClusters.map(item => { + return model.HeatWaveClusterUsageMetrics.getDeserializedJsonObj(item); + }) + : undefined, + "fleetSummary": obj.fleetSummary + ? obj.fleetSummary.map(item => { + return model.HeatWaveFleetSummary.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-fleet-summary.ts b/lib/databasemanagement/lib/model/heat-wave-fleet-summary.ts new file mode 100644 index 0000000000..490d355747 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-fleet-summary.ts @@ -0,0 +1,73 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 inventory count and the metrics that describe the aggregated usage of CPU, storage, and so on of all the HeatWave clusters in the fleet. + */ +export interface HeatWaveFleetSummary { + /** + * The usage metrics for the Managed HeatWave clusters in the fleet. + */ + "aggregatedMetrics": Array; + /** + * Summary counts of HeatWave clusters in the fleet grouped by cluster type. + */ + "inventory": Array; +} + +export namespace HeatWaveFleetSummary { + export function getJsonObj(obj: HeatWaveFleetSummary): object { + const jsonObj = { + ...obj, + ...{ + "aggregatedMetrics": obj.aggregatedMetrics + ? obj.aggregatedMetrics.map(item => { + return model.HeatWaveFleetMetricSummaryDefinition.getJsonObj(item); + }) + : undefined, + "inventory": obj.inventory + ? obj.inventory.map(item => { + return model.HeatWaveFleetByCategory.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveFleetSummary): object { + const jsonObj = { + ...obj, + ...{ + "aggregatedMetrics": obj.aggregatedMetrics + ? obj.aggregatedMetrics.map(item => { + return model.HeatWaveFleetMetricSummaryDefinition.getDeserializedJsonObj(item); + }) + : undefined, + "inventory": obj.inventory + ? obj.inventory.map(item => { + return model.HeatWaveFleetByCategory.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-node-status.ts b/lib/databasemanagement/lib/model/heat-wave-node-status.ts new file mode 100644 index 0000000000..320b091fdc --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-node-status.ts @@ -0,0 +1,42 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 HeatWave node. Indicates whether the status of the HeatWave node is UP, DOWN, or UNKNOWN at the current time. + **/ +export enum HeatWaveNodeStatus { + Up = "UP", + Down = "DOWN", + Unknown = "UNKNOWN", + + /** + * 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 HeatWaveNodeStatus { + export function getJsonObj(obj: HeatWaveNodeStatus): HeatWaveNodeStatus { + return obj; + } + export function getDeserializedJsonObj(obj: HeatWaveNodeStatus): HeatWaveNodeStatus { + return obj; + } +} diff --git a/lib/databasemanagement/lib/model/heat-wave-node.ts b/lib/databasemanagement/lib/model/heat-wave-node.ts new file mode 100644 index 0000000000..3119902757 --- /dev/null +++ b/lib/databasemanagement/lib/model/heat-wave-node.ts @@ -0,0 +1,49 @@ +/** + * Database Management API + * Use the Database Management API to perform tasks such as obtaining performance and resource usage metrics +for a fleet of Managed Databases or a specific Managed Database, creating Managed Database Groups, and +running a SQL job on a Managed Database or Managed Database Group. + + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 information about an individual HeatWave node. + */ +export interface HeatWaveNode { + /** + * The ID associated with the HeatWave node. + */ + "id": string; + /** + * The status of the HeatWave node. Indicates whether the status of the node is UP, DOWN, or UNKNOWN at the current time. + */ + "status": model.HeatWaveNodeStatus; + /** + * The date and time the node was created. + */ + "timeCreated": Date; +} + +export namespace HeatWaveNode { + export function getJsonObj(obj: HeatWaveNode): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: HeatWaveNode): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/databasemanagement/lib/model/index.ts b/lib/databasemanagement/lib/model/index.ts index 2f9d50a08b..9fc131c6a8 100644 --- a/lib/databasemanagement/lib/model/index.ts +++ b/lib/databasemanagement/lib/model/index.ts @@ -398,6 +398,24 @@ import * as FleetStatusByCategory from "./fleet-status-by-category"; export import FleetStatusByCategory = FleetStatusByCategory.FleetStatusByCategory; import * as FleetSummary from "./fleet-summary"; export import FleetSummary = FleetSummary.FleetSummary; +import * as HeatWaveClusterStatus from "./heat-wave-cluster-status"; +export import HeatWaveClusterStatus = HeatWaveClusterStatus.HeatWaveClusterStatus; +import * as HeatWaveClusterUsageMetrics from "./heat-wave-cluster-usage-metrics"; +export import HeatWaveClusterUsageMetrics = HeatWaveClusterUsageMetrics.HeatWaveClusterUsageMetrics; +import * as HeatWaveFleetByCategory from "./heat-wave-fleet-by-category"; +export import HeatWaveFleetByCategory = HeatWaveFleetByCategory.HeatWaveFleetByCategory; +import * as HeatWaveFleetMetricDefinition from "./heat-wave-fleet-metric-definition"; +export import HeatWaveFleetMetricDefinition = HeatWaveFleetMetricDefinition.HeatWaveFleetMetricDefinition; +import * as HeatWaveFleetMetricSummaryDefinition from "./heat-wave-fleet-metric-summary-definition"; +export import HeatWaveFleetMetricSummaryDefinition = HeatWaveFleetMetricSummaryDefinition.HeatWaveFleetMetricSummaryDefinition; +import * as HeatWaveFleetMetrics from "./heat-wave-fleet-metrics"; +export import HeatWaveFleetMetrics = HeatWaveFleetMetrics.HeatWaveFleetMetrics; +import * as HeatWaveFleetSummary from "./heat-wave-fleet-summary"; +export import HeatWaveFleetSummary = HeatWaveFleetSummary.HeatWaveFleetSummary; +import * as HeatWaveNode from "./heat-wave-node"; +export import HeatWaveNode = HeatWaveNode.HeatWaveNode; +import * as HeatWaveNodeStatus from "./heat-wave-node-status"; +export import HeatWaveNodeStatus = HeatWaveNodeStatus.HeatWaveNodeStatus; import * as HistoricAddmResult from "./historic-addm-result"; export import HistoricAddmResult = HistoricAddmResult.HistoricAddmResult; import * as ImplementOptimizerStatisticsAdvisorRecommendationsDetails from "./implement-optimizer-statistics-advisor-recommendations-details"; diff --git a/lib/databasemanagement/lib/model/managed-my-sql-database.ts b/lib/databasemanagement/lib/model/managed-my-sql-database.ts index f82b62acf2..546ba1d51e 100644 --- a/lib/databasemanagement/lib/model/managed-my-sql-database.ts +++ b/lib/databasemanagement/lib/model/managed-my-sql-database.ts @@ -45,16 +45,66 @@ export interface ManagedMySqlDatabase { * The name of the Managed MySQL Database. */ "name": string; + /** + * The name of the HeatWave cluster. + */ + "heatWaveClusterDisplayName"?: string; + /** + * If HeatWave is enabled for this db system or not. + */ + "isHeatWaveEnabled"?: boolean; + /** + * If HeatWave Lakehouse is enabled for the db system or not. + */ + "isLakehouseEnabled"?: boolean; + /** + * Shape of the nodes in the HeatWave cluster. + */ + "heatWaveNodeShape"?: string; + /** + * The total memory belonging to the HeatWave cluster in GBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "heatWaveMemorySize"?: number; + /** + * The information about an individual HeatWave nodes in the cluster. + */ + "heatWaveNodes"?: Array; + /** + * If the HeatWave cluster is active or not. + */ + "isHeatWaveActive"?: boolean; + /** + * The date and time the Managed MySQL Database was created. + */ + "timeCreatedHeatWave"?: Date; } export namespace ManagedMySqlDatabase { export function getJsonObj(obj: ManagedMySqlDatabase): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "heatWaveNodes": obj.heatWaveNodes + ? obj.heatWaveNodes.map(item => { + return model.HeatWaveNode.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: ManagedMySqlDatabase): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "heatWaveNodes": obj.heatWaveNodes + ? obj.heatWaveNodes.map(item => { + return model.HeatWaveNode.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/databasemanagement/lib/model/my-sql-data-summary.ts b/lib/databasemanagement/lib/model/my-sql-data-summary.ts index 6ae255b57a..8805fd9bbd 100644 --- a/lib/databasemanagement/lib/model/my-sql-data-summary.ts +++ b/lib/databasemanagement/lib/model/my-sql-data-summary.ts @@ -149,6 +149,14 @@ export interface MySqlDataSummary { * The 99.9th percentile of the query latency. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "quantile999": number; + /** + * The number of query executions offloaded to HeatWave. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "heatWaveOffloaded"?: number; + /** + * The number of query executions with HeatWave out-of-memory errors. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "heatWaveOutOfMemory"?: number; } export namespace MySqlDataSummary { diff --git a/lib/databasemanagement/lib/model/my-sql-database-usage-metrics.ts b/lib/databasemanagement/lib/model/my-sql-database-usage-metrics.ts index a0f0709d7c..a1c183da15 100644 --- a/lib/databasemanagement/lib/model/my-sql-database-usage-metrics.ts +++ b/lib/databasemanagement/lib/model/my-sql-database-usage-metrics.ts @@ -55,6 +55,18 @@ export interface MySqlDatabaseUsageMetrics { * */ "databaseStatus": model.MySqlDatabaseStatus; + /** + * If HeatWave is enabled for this db system or not. + */ + "isHeatWaveEnabled"?: boolean; + /** + * The name of the HeatWave cluster. + */ + "heatWaveClusterDisplayName"?: string; + /** + * The number of nodes in the HeatWave cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "heatWaveNodeCount"?: number; /** * A list of the database health metrics like CPU, Storage, and Memory. */ diff --git a/lib/databasemanagement/lib/request/get-heat-wave-fleet-metric-request.ts b/lib/databasemanagement/lib/request/get-heat-wave-fleet-metric-request.ts new file mode 100644 index 0000000000..dd6d839cf1 --- /dev/null +++ b/lib/databasemanagement/lib/request/get-heat-wave-fleet-metric-request.ts @@ -0,0 +1,57 @@ +/** + * + * + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/databasemanagement/GetHeatWaveFleetMetric.ts.html |here} to see how to use GetHeatWaveFleetMetricRequest. + */ +export interface GetHeatWaveFleetMetricRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment. + */ + "compartmentId": string; + /** + * The start time of the time range to retrieve the health metrics of a Managed Database + * in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\". + * + */ + "startTime": string; + /** + * The end time of the time range to retrieve the health metrics of a Managed Database + * in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\". + * + */ + "endTime": string; + /** + * The client request ID for tracing. + */ + "opcRequestId"?: string; + /** + * The filter used to retrieve a specific set of metrics by passing the desired metric names with a comma separator. Note that, by default, the service returns all supported metrics. + */ + "filterByMetricNames"?: string; + /** + * The parameter to filter by HeatWave cluster status. + */ + "filterByHeatWaveStatus"?: model.HeatWaveClusterStatus; + /** + * The parameter to filter by HeatWave node shape. + */ + "filterByHeatWaveShape"?: string; + /** + * The parameter to filter based on whether HeatWave Lakehouse is enabled for the cluster. + */ + "isHeatWaveLakehouseEnabled"?: boolean; +} diff --git a/lib/databasemanagement/lib/request/get-my-sql-fleet-metric-request.ts b/lib/databasemanagement/lib/request/get-my-sql-fleet-metric-request.ts index ed792cae7e..af3d11391e 100644 --- a/lib/databasemanagement/lib/request/get-my-sql-fleet-metric-request.ts +++ b/lib/databasemanagement/lib/request/get-my-sql-fleet-metric-request.ts @@ -58,4 +58,8 @@ export interface GetMySqlFleetMetricRequest extends common.BaseRequest { * The parameter to filter by MySQL database version. */ "filterByMySqlDatabaseVersion"?: string; + /** + * The parameter to filter based on whether HeatWave is enabled for the database. + */ + "isHeatWaveEnabled"?: boolean; } diff --git a/lib/databasemanagement/lib/request/index.ts b/lib/databasemanagement/lib/request/index.ts index a233dbc0c3..0e0652c5d6 100644 --- a/lib/databasemanagement/lib/request/index.ts +++ b/lib/databasemanagement/lib/request/index.ts @@ -410,6 +410,8 @@ import * as SummarizeAlertLogCountsRequest from "./summarize-alert-log-counts-re export import SummarizeAlertLogCountsRequest = SummarizeAlertLogCountsRequest.SummarizeAlertLogCountsRequest; import * as SummarizeAttentionLogCountsRequest from "./summarize-attention-log-counts-request"; export import SummarizeAttentionLogCountsRequest = SummarizeAttentionLogCountsRequest.SummarizeAttentionLogCountsRequest; +import * as GetHeatWaveFleetMetricRequest from "./get-heat-wave-fleet-metric-request"; +export import GetHeatWaveFleetMetricRequest = GetHeatWaveFleetMetricRequest.GetHeatWaveFleetMetricRequest; import * as GetManagedMySqlDatabaseRequest from "./get-managed-my-sql-database-request"; export import GetManagedMySqlDatabaseRequest = GetManagedMySqlDatabaseRequest.GetManagedMySqlDatabaseRequest; import * as GetMySqlFleetMetricRequest from "./get-my-sql-fleet-metric-request"; diff --git a/lib/databasemanagement/lib/request/list-managed-my-sql-database-sql-data-request.ts b/lib/databasemanagement/lib/request/list-managed-my-sql-database-sql-data-request.ts index 4756103477..4b3b20c858 100644 --- a/lib/databasemanagement/lib/request/list-managed-my-sql-database-sql-data-request.ts +++ b/lib/databasemanagement/lib/request/list-managed-my-sql-database-sql-data-request.ts @@ -36,6 +36,7 @@ export interface ListManagedMySqlDatabaseSqlDataRequest extends common.BaseReque "endTime": string; /** * The parameter to filter results by key criteria which include : + * - AVG_TIMER_WAIT * - SUM_TIMER_WAIT * - COUNT_STAR * - SUM_ERRORS @@ -47,6 +48,8 @@ export interface ListManagedMySqlDatabaseSqlDataRequest extends common.BaseReque * - SUM_NO_GOOD_INDEX_USED * - FIRST_SEEN * - LAST_SEEN + * - HEATWAVE_OFFLOADED + * - HEATWAVE_OUT_OF_MEMORY * */ "filterColumn"?: string; diff --git a/lib/databasemanagement/lib/response/get-heat-wave-fleet-metric-response.ts b/lib/databasemanagement/lib/response/get-heat-wave-fleet-metric-response.ts new file mode 100644 index 0000000000..1e1ab877d1 --- /dev/null +++ b/lib/databasemanagement/lib/response/get-heat-wave-fleet-metric-response.ts @@ -0,0 +1,28 @@ +/** + * + * + * OpenAPI spec version: 20201101 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 GetHeatWaveFleetMetricResponse { + /** + * 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.HeatWaveFleetMetrics instance. + */ + "heatWaveFleetMetrics": model.HeatWaveFleetMetrics; +} diff --git a/lib/databasemanagement/lib/response/index.ts b/lib/databasemanagement/lib/response/index.ts index f2128006fd..5ed35820a9 100644 --- a/lib/databasemanagement/lib/response/index.ts +++ b/lib/databasemanagement/lib/response/index.ts @@ -410,6 +410,8 @@ import * as SummarizeAlertLogCountsResponse from "./summarize-alert-log-counts-r export import SummarizeAlertLogCountsResponse = SummarizeAlertLogCountsResponse.SummarizeAlertLogCountsResponse; import * as SummarizeAttentionLogCountsResponse from "./summarize-attention-log-counts-response"; export import SummarizeAttentionLogCountsResponse = SummarizeAttentionLogCountsResponse.SummarizeAttentionLogCountsResponse; +import * as GetHeatWaveFleetMetricResponse from "./get-heat-wave-fleet-metric-response"; +export import GetHeatWaveFleetMetricResponse = GetHeatWaveFleetMetricResponse.GetHeatWaveFleetMetricResponse; import * as GetManagedMySqlDatabaseResponse from "./get-managed-my-sql-database-response"; export import GetManagedMySqlDatabaseResponse = GetManagedMySqlDatabaseResponse.GetManagedMySqlDatabaseResponse; import * as GetMySqlFleetMetricResponse from "./get-my-sql-fleet-metric-response"; diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index a3a5d1737c..150629f5f9 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.82.2", + "version": "2.83.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 9018782c33..d359b3fec3 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.82.2", + "version": "2.83.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 2338d6ccc0..32d60df38f 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.82.2", + "version": "2.83.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 66e7e3b6db..7505fdb0d3 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.82.2", + "version": "2.83.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 2a34c8d793..ed8c9ebf1a 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index 22e503ac1e..032f99b58b 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.82.2", + "version": "2.83.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 9dcb1ae6f7..bb9458fa7f 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.82.2", + "version": "2.83.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 6ab89cd3e9..c7028336b8 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Data Labeling Service Dataplane Service", "repository": { "type": "git", diff --git a/lib/datasafe/package.json b/lib/datasafe/package.json index 67066fbce1..787958dc4b 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index 8d8ad7418e..0c2b2343ab 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index 067c4e2796..8363132ef9 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/lib/client.ts b/lib/devops/lib/client.ts index e7914f739c..7be2dd027b 100644 --- a/lib/devops/lib/client.ts +++ b/lib/devops/lib/client.ts @@ -2274,7 +2274,7 @@ export class DevopsClient { } /** - * Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like \"heads/\" or \"tags/\". + * Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like \"heads/\" or \"tags/\". This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/actions/deleteGitRef\". * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteRefRequest * @return DeleteRefResponse @@ -2338,6 +2338,11 @@ export class DevopsClient { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("Sunset"), + key: "sunset", + dataType: "string" } ] }); @@ -3744,7 +3749,7 @@ export class DevopsClient { } /** - * Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like \"heads/\" or \"tags/\". + * This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/refs\". Retrieves a repository's reference by its name with preference for branches over tags if the name is ambiguous. This can be disambiguated by using full names like \"heads/\" or \"tags/\". * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetRefRequest * @return GetRefResponse @@ -3808,6 +3813,11 @@ export class DevopsClient { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("Sunset"), + key: "sunset", + dataType: "string" } ] }); @@ -6228,7 +6238,7 @@ export class DevopsClient { } /** - * Creates a new reference or updates an existing one. + * Creates a new reference or updates an existing one. This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/actions/createOrUpdateGitRef\". * * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param PutRepositoryRefRequest @@ -6312,6 +6322,11 @@ export class DevopsClient { value: response.headers.get("opc-request-id"), key: "opcRequestId", dataType: "string" + }, + { + value: response.headers.get("Sunset"), + key: "sunset", + dataType: "string" } ] }); diff --git a/lib/devops/lib/model/create-deploy-artifact-details.ts b/lib/devops/lib/model/create-deploy-artifact-details.ts index 530d0434c5..51b8af1fb4 100644 --- a/lib/devops/lib/model/create-deploy-artifact-details.ts +++ b/lib/devops/lib/model/create-deploy-artifact-details.ts @@ -34,6 +34,7 @@ export interface CreateDeployArtifactDetails { | model.GenericDeployArtifactSource | model.HelmRepositoryDeployArtifactSource | model.OcirDeployArtifactSource + | model.HelmCommandSpecArtifactSource | model.InlineDeployArtifactSource; /** * Mode for artifact parameter substitution. diff --git a/lib/devops/lib/model/create-oke-helm-chart-deploy-stage-details.ts b/lib/devops/lib/model/create-oke-helm-chart-deploy-stage-details.ts index 91b7117df0..965d44ebe8 100644 --- a/lib/devops/lib/model/create-oke-helm-chart-deploy-stage-details.ts +++ b/lib/devops/lib/model/create-oke-helm-chart-deploy-stage-details.ts @@ -34,6 +34,18 @@ export interface CreateOkeHelmChartDeployStageDetails extends model.CreateDeploy * Default name of the chart instance. Must be unique within a Kubernetes namespace. */ "releaseName": string; + /** + * Uninstall the Helm chart release on deleting the stage. + */ + "isUninstallOnStageDelete"?: boolean; + /** + * List of Helm command artifact OCIDs. + */ + "helmCommandArtifactIds"?: Array; + /** + * The purpose of running this Helm stage + */ + "purpose"?: CreateOkeHelmChartDeployStageDetails.Purpose; /** * Default namespace to be used for Kubernetes deployment when not specified in the manifest. */ @@ -90,6 +102,11 @@ export interface CreateOkeHelmChartDeployStageDetails extends model.CreateDeploy } export namespace CreateOkeHelmChartDeployStageDetails { + export enum Purpose { + ExecuteHelmUpgrade = "EXECUTE_HELM_UPGRADE", + ExecuteHelmCommand = "EXECUTE_HELM_COMMAND" + } + export function getJsonObj( obj: CreateOkeHelmChartDeployStageDetails, isParentJsonObj?: boolean diff --git a/lib/devops/lib/model/create-repository-details.ts b/lib/devops/lib/model/create-repository-details.ts index f069d3767e..d26c79fe4c 100644 --- a/lib/devops/lib/model/create-repository-details.ts +++ b/lib/devops/lib/model/create-repository-details.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface CreateRepositoryDetails { /** - * Unique name of a repository. + * Name of the repository. Should be unique within the project. */ "name": string; /** diff --git a/lib/devops/lib/model/deploy-artifact-source.ts b/lib/devops/lib/model/deploy-artifact-source.ts index 2de9a6acf0..bda09e1ea9 100644 --- a/lib/devops/lib/model/deploy-artifact-source.ts +++ b/lib/devops/lib/model/deploy-artifact-source.ts @@ -42,6 +42,11 @@ export namespace DeployArtifactSource { (jsonObj), true ); + case "HELM_COMMAND_SPEC": + return model.HelmCommandSpecArtifactSource.getJsonObj( + (jsonObj), + true + ); case "INLINE": return model.InlineDeployArtifactSource.getJsonObj( (jsonObj), @@ -74,6 +79,11 @@ export namespace DeployArtifactSource { (jsonObj), true ); + case "HELM_COMMAND_SPEC": + return model.HelmCommandSpecArtifactSource.getDeserializedJsonObj( + (jsonObj), + true + ); case "INLINE": return model.InlineDeployArtifactSource.getDeserializedJsonObj( (jsonObj), diff --git a/lib/devops/lib/model/deploy-artifact-summary.ts b/lib/devops/lib/model/deploy-artifact-summary.ts index 0299ec0678..82951d3d40 100644 --- a/lib/devops/lib/model/deploy-artifact-summary.ts +++ b/lib/devops/lib/model/deploy-artifact-summary.ts @@ -46,6 +46,7 @@ export interface DeployArtifactSummary { | model.GenericDeployArtifactSource | model.HelmRepositoryDeployArtifactSource | model.OcirDeployArtifactSource + | model.HelmCommandSpecArtifactSource | model.InlineDeployArtifactSource; /** * Mode for artifact parameter substitution. diff --git a/lib/devops/lib/model/deploy-artifact.ts b/lib/devops/lib/model/deploy-artifact.ts index 108f8fb617..8cce0a264f 100644 --- a/lib/devops/lib/model/deploy-artifact.ts +++ b/lib/devops/lib/model/deploy-artifact.ts @@ -50,6 +50,7 @@ export interface DeployArtifact { | model.GenericDeployArtifactSource | model.HelmRepositoryDeployArtifactSource | model.OcirDeployArtifactSource + | model.HelmCommandSpecArtifactSource | model.InlineDeployArtifactSource; /** * Time the deployment artifact was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). @@ -89,6 +90,7 @@ export namespace DeployArtifact { GenericFile = "GENERIC_FILE", DockerImage = "DOCKER_IMAGE", HelmChart = "HELM_CHART", + HelmCommandSpec = "HELM_COMMAND_SPEC", CommandSpec = "COMMAND_SPEC", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/devops/lib/model/devops-code-repository-filter-attributes.ts b/lib/devops/lib/model/devops-code-repository-filter-attributes.ts index 277d022e21..043ef85ea8 100644 --- a/lib/devops/lib/model/devops-code-repository-filter-attributes.ts +++ b/lib/devops/lib/model/devops-code-repository-filter-attributes.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DevopsCodeRepositoryFilterAttributes { /** - * Branch for push event. + * Branch for push event; source branch for pull requests */ "headRef"?: string; "fileFilter"?: model.FileFilter; diff --git a/lib/devops/lib/model/devops-code-repository-filter.ts b/lib/devops/lib/model/devops-code-repository-filter.ts index c0294c96aa..75451e168f 100644 --- a/lib/devops/lib/model/devops-code-repository-filter.ts +++ b/lib/devops/lib/model/devops-code-repository-filter.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface DevopsCodeRepositoryFilter extends model.Filter { /** - * The events only support PUSH. + * The events, for example, PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED. */ "events"?: Array; "include"?: model.DevopsCodeRepositoryFilterAttributes; diff --git a/lib/devops/lib/model/diff-summary.ts b/lib/devops/lib/model/diff-summary.ts index a62d4429bf..c0f0e3b56f 100644 --- a/lib/devops/lib/model/diff-summary.ts +++ b/lib/devops/lib/model/diff-summary.ts @@ -58,6 +58,10 @@ export interface DiffSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace DiffSummary { diff --git a/lib/devops/lib/model/helm-command-spec-artifact-source.ts b/lib/devops/lib/model/helm-command-spec-artifact-source.ts new file mode 100644 index 0000000000..3b3f15e35c --- /dev/null +++ b/lib/devops/lib/model/helm-command-spec-artifact-source.ts @@ -0,0 +1,72 @@ +/** + * DevOps API + * Use the DevOps API to create DevOps projects, configure code repositories, add artifacts to deploy, build and test software applications, configure target deployment environments, and deploy software applications. For more information, see [DevOps](/Content/devops/using/home.htm). + * OpenAPI spec version: 20210630 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Specifies Helm command spec details + */ +export interface HelmCommandSpecArtifactSource extends model.DeployArtifactSource { + /** + * The Helm commands to be executed, base 64 encoded + */ + "base64EncodedContent": string; + /** + * Specifies types of artifact sources. + */ + "helmArtifactSourceType": HelmCommandSpecArtifactSource.HelmArtifactSourceType; + + "deployArtifactSourceType": string; +} + +export namespace HelmCommandSpecArtifactSource { + export enum HelmArtifactSourceType { + Inline = "INLINE", + /** + * 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: HelmCommandSpecArtifactSource, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DeployArtifactSource.getJsonObj(obj) as HelmCommandSpecArtifactSource)), + ...{} + }; + + return jsonObj; + } + export const deployArtifactSourceType = "HELM_COMMAND_SPEC"; + export function getDeserializedJsonObj( + obj: HelmCommandSpecArtifactSource, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.DeployArtifactSource.getDeserializedJsonObj( + obj + ) as HelmCommandSpecArtifactSource)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/devops/lib/model/index.ts b/lib/devops/lib/model/index.ts index 03236e9e89..14e8f2f6c7 100644 --- a/lib/devops/lib/model/index.ts +++ b/lib/devops/lib/model/index.ts @@ -680,6 +680,8 @@ import * as GitlabTriggerCreateResult from "./gitlab-trigger-create-result"; export import GitlabTriggerCreateResult = GitlabTriggerCreateResult.GitlabTriggerCreateResult; import * as GitlabTriggerSummary from "./gitlab-trigger-summary"; export import GitlabTriggerSummary = GitlabTriggerSummary.GitlabTriggerSummary; +import * as HelmCommandSpecArtifactSource from "./helm-command-spec-artifact-source"; +export import HelmCommandSpecArtifactSource = HelmCommandSpecArtifactSource.HelmCommandSpecArtifactSource; import * as HelmRepositoryDeployArtifactSource from "./helm-repository-deploy-artifact-source"; export import HelmRepositoryDeployArtifactSource = HelmRepositoryDeployArtifactSource.HelmRepositoryDeployArtifactSource; import * as InlineDeployArtifactSource from "./inline-deploy-artifact-source"; diff --git a/lib/devops/lib/model/oke-helm-chart-deploy-stage-summary.ts b/lib/devops/lib/model/oke-helm-chart-deploy-stage-summary.ts index 9e160e6faf..9374262653 100644 --- a/lib/devops/lib/model/oke-helm-chart-deploy-stage-summary.ts +++ b/lib/devops/lib/model/oke-helm-chart-deploy-stage-summary.ts @@ -34,6 +34,18 @@ export interface OkeHelmChartDeployStageSummary extends model.DeployStageSummary * Release name of the Helm chart. */ "releaseName": string; + /** + * Uninstall the Helm chart release on deleting the stage. + */ + "isUninstallOnStageDelete"?: boolean; + /** + * List of Helm command artifact OCIDs. + */ + "helmCommandArtifactIds"?: Array; + /** + * The purpose of running this Helm stage + */ + "purpose"?: OkeHelmChartDeployStageSummary.Purpose; /** * Default namespace to be used for Kubernetes deployment when not specified in the manifest. */ @@ -90,6 +102,16 @@ export interface OkeHelmChartDeployStageSummary extends model.DeployStageSummary } export namespace OkeHelmChartDeployStageSummary { + export enum Purpose { + ExecuteHelmUpgrade = "EXECUTE_HELM_UPGRADE", + ExecuteHelmCommand = "EXECUTE_HELM_COMMAND", + /** + * 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: OkeHelmChartDeployStageSummary, isParentJsonObj?: boolean diff --git a/lib/devops/lib/model/oke-helm-chart-deploy-stage.ts b/lib/devops/lib/model/oke-helm-chart-deploy-stage.ts index a8f0e8dfc9..227607ce77 100644 --- a/lib/devops/lib/model/oke-helm-chart-deploy-stage.ts +++ b/lib/devops/lib/model/oke-helm-chart-deploy-stage.ts @@ -34,6 +34,18 @@ export interface OkeHelmChartDeployStage extends model.DeployStage { * Release name of the Helm chart. */ "releaseName": string; + /** + * Uninstall the Helm chart release on deleting the stage. + */ + "isUninstallOnStageDelete"?: boolean; + /** + * List of Helm command artifact OCIDs. + */ + "helmCommandArtifactIds"?: Array; + /** + * The purpose of running this Helm stage + */ + "purpose"?: OkeHelmChartDeployStage.Purpose; /** * Default namespace to be used for Kubernetes deployment when not specified in the manifest. */ @@ -90,6 +102,16 @@ export interface OkeHelmChartDeployStage extends model.DeployStage { } export namespace OkeHelmChartDeployStage { + export enum Purpose { + ExecuteHelmUpgrade = "EXECUTE_HELM_UPGRADE", + ExecuteHelmCommand = "EXECUTE_HELM_COMMAND", + /** + * 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: OkeHelmChartDeployStage, isParentJsonObj?: boolean): object { const jsonObj = { ...(isParentJsonObj ? obj : (model.DeployStage.getJsonObj(obj) as OkeHelmChartDeployStage)), diff --git a/lib/devops/lib/model/repository-author-summary.ts b/lib/devops/lib/model/repository-author-summary.ts index 8eed1fd15f..c310829303 100644 --- a/lib/devops/lib/model/repository-author-summary.ts +++ b/lib/devops/lib/model/repository-author-summary.ts @@ -30,6 +30,10 @@ export interface RepositoryAuthorSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace RepositoryAuthorSummary { diff --git a/lib/devops/lib/model/repository-commit-summary.ts b/lib/devops/lib/model/repository-commit-summary.ts index c2b9701113..ba1044eb64 100644 --- a/lib/devops/lib/model/repository-commit-summary.ts +++ b/lib/devops/lib/model/repository-commit-summary.ts @@ -62,6 +62,10 @@ export interface RepositoryCommitSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace RepositoryCommitSummary { diff --git a/lib/devops/lib/model/repository-mirror-record-summary.ts b/lib/devops/lib/model/repository-mirror-record-summary.ts index e76f290028..a37b3cfb1f 100644 --- a/lib/devops/lib/model/repository-mirror-record-summary.ts +++ b/lib/devops/lib/model/repository-mirror-record-summary.ts @@ -51,6 +51,10 @@ export interface RepositoryMirrorRecordSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace RepositoryMirrorRecordSummary { diff --git a/lib/devops/lib/model/repository-path-summary.ts b/lib/devops/lib/model/repository-path-summary.ts index e785c84498..038604f096 100644 --- a/lib/devops/lib/model/repository-path-summary.ts +++ b/lib/devops/lib/model/repository-path-summary.ts @@ -50,6 +50,10 @@ export interface RepositoryPathSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; } export namespace RepositoryPathSummary { diff --git a/lib/devops/lib/model/repository-ref-summary.ts b/lib/devops/lib/model/repository-ref-summary.ts index 3081f3a95c..530038b378 100644 --- a/lib/devops/lib/model/repository-ref-summary.ts +++ b/lib/devops/lib/model/repository-ref-summary.ts @@ -38,6 +38,10 @@ export interface RepositoryRefSummary { * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}} */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * Usage of system tag keys. These predefined keys are scoped to namespaces. See [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). Example: {@code {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}} + */ + "systemTags"?: { [key: string]: { [key: string]: any } }; "refType": string; } diff --git a/lib/devops/lib/model/repository-summary.ts b/lib/devops/lib/model/repository-summary.ts index 99ad631c41..404360ef43 100644 --- a/lib/devops/lib/model/repository-summary.ts +++ b/lib/devops/lib/model/repository-summary.ts @@ -23,7 +23,7 @@ export interface RepositorySummary { */ "id": string; /** - * Unique name of a repository. This value is mutable. + * Name of the repository. Should be unique within the project. This value is mutable. */ "name"?: string; /** diff --git a/lib/devops/lib/model/repository.ts b/lib/devops/lib/model/repository.ts index 019c0f68b9..7df16c57b9 100644 --- a/lib/devops/lib/model/repository.ts +++ b/lib/devops/lib/model/repository.ts @@ -23,7 +23,7 @@ export interface Repository { */ "id": string; /** - * Unique name of a repository. This value is mutable. + * Name of the repository. Should be unique within the project. This value is mutable. */ "name"?: string; /** @@ -97,6 +97,8 @@ export interface Repository { /** * Trigger build events supported for this repository: * PUSH - Build is triggered when a push event occurs. + * PULL_REQUEST_CREATED - Build is triggered when a pull request is created in the repository. + * PULL_REQUEST_UPDATED - Build is triggered when a push is made to a branch with an open pull request. * COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository. * */ @@ -140,6 +142,8 @@ export namespace Repository { export enum TriggerBuildEvents { Push = "PUSH", + PullRequestCreated = "PULL_REQUEST_CREATED", + PullRequestUpdated = "PULL_REQUEST_UPDATED", CommitUpdates = "COMMIT_UPDATES", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/devops/lib/model/update-deploy-artifact-details.ts b/lib/devops/lib/model/update-deploy-artifact-details.ts index 9600cf2a89..6f3a55b43d 100644 --- a/lib/devops/lib/model/update-deploy-artifact-details.ts +++ b/lib/devops/lib/model/update-deploy-artifact-details.ts @@ -34,6 +34,7 @@ export interface UpdateDeployArtifactDetails { | model.GenericDeployArtifactSource | model.HelmRepositoryDeployArtifactSource | model.OcirDeployArtifactSource + | model.HelmCommandSpecArtifactSource | model.InlineDeployArtifactSource; /** * Mode for artifact parameter substitution. diff --git a/lib/devops/lib/model/update-oke-helm-chart-deploy-stage-details.ts b/lib/devops/lib/model/update-oke-helm-chart-deploy-stage-details.ts index 408198836a..8232468f5c 100644 --- a/lib/devops/lib/model/update-oke-helm-chart-deploy-stage-details.ts +++ b/lib/devops/lib/model/update-oke-helm-chart-deploy-stage-details.ts @@ -34,6 +34,18 @@ export interface UpdateOkeHelmChartDeployStageDetails extends model.UpdateDeploy * Name of the Helm chart release. */ "releaseName"?: string; + /** + * Uninstall the Helm chart release on deleting the stage. + */ + "isUninstallOnStageDelete"?: boolean; + /** + * List of Helm command artifact OCIDs. + */ + "helmCommandArtifactIds"?: Array; + /** + * The purpose of running this Helm stage + */ + "purpose"?: UpdateOkeHelmChartDeployStageDetails.Purpose; /** * Default namespace to be used for Kubernetes deployment when not specified in the manifest. */ @@ -90,6 +102,11 @@ export interface UpdateOkeHelmChartDeployStageDetails extends model.UpdateDeploy } export namespace UpdateOkeHelmChartDeployStageDetails { + export enum Purpose { + ExecuteHelmUpgrade = "EXECUTE_HELM_UPGRADE", + ExecuteHelmCommand = "EXECUTE_HELM_COMMAND" + } + export function getJsonObj( obj: UpdateOkeHelmChartDeployStageDetails, isParentJsonObj?: boolean diff --git a/lib/devops/lib/model/update-repository-details.ts b/lib/devops/lib/model/update-repository-details.ts index e3ac8db4c6..eee2aa7903 100644 --- a/lib/devops/lib/model/update-repository-details.ts +++ b/lib/devops/lib/model/update-repository-details.ts @@ -19,7 +19,7 @@ import common = require("oci-common"); */ export interface UpdateRepositoryDetails { /** - * Unique name of a repository. + * Name of the repository. Should be unique within the project. */ "name"?: string; /** diff --git a/lib/devops/lib/response/delete-ref-response.ts b/lib/devops/lib/response/delete-ref-response.ts index bdaa8aa876..dba8c33ca4 100644 --- a/lib/devops/lib/response/delete-ref-response.ts +++ b/lib/devops/lib/response/delete-ref-response.ts @@ -23,4 +23,8 @@ export interface DeleteRefResponse { * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. */ "opcRequestId": string; + /** + * This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/actions/deleteGitRef\". + */ + "sunset": string; } diff --git a/lib/devops/lib/response/get-ref-response.ts b/lib/devops/lib/response/get-ref-response.ts index ce2aec3bb7..a933d4e5d6 100644 --- a/lib/devops/lib/response/get-ref-response.ts +++ b/lib/devops/lib/response/get-ref-response.ts @@ -23,6 +23,10 @@ export interface GetRefResponse { * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. */ "opcRequestId": string; + /** + * This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/refs\". + */ + "sunset": string; /** * The returned model.RepositoryRef instance. */ diff --git a/lib/devops/lib/response/put-repository-ref-response.ts b/lib/devops/lib/response/put-repository-ref-response.ts index 91a3550598..2103349e08 100644 --- a/lib/devops/lib/response/put-repository-ref-response.ts +++ b/lib/devops/lib/response/put-repository-ref-response.ts @@ -31,6 +31,10 @@ export interface PutRepositoryRefResponse { * Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID. */ "opcRequestId": string; + /** + * This API will be deprecated on Wed, 12 June 2024 01:00:00 GMT as it does not get recognized when refName has '/'. This will be replaced by \"/repositories/{repositoryId}/actions/createOrUpdateGitRef\". + */ + "sunset": string; /** * The returned model.RepositoryRef instance. */ diff --git a/lib/devops/package.json b/lib/devops/package.json index 2490897e02..83b2dc4bb5 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 2b6db77f08..5ae3356aa2 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index e2171c2865..294b22ee18 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/dts/package.json b/lib/dts/package.json index 83cc3e7be2..ce6be8389b 100644 --- a/lib/dts/package.json +++ b/lib/dts/package.json @@ -1,6 +1,6 @@ { "name": "oci-dts", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Dts Service", "repository": { "type": "git", diff --git a/lib/email/package.json b/lib/email/package.json index 73af25767d..9e89656efa 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index 4d6e34a683..fd6ed862f1 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.82.2", + "version": "2.83.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 162ae13277..2f13c4108b 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index 4cb4216d0f..9431910753 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index f27c88707d..9bd4f6a27a 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.82.2", + "version": "2.83.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 bdddfb1431..1da0e781e4 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 6c202013dc..a302be2dbd 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.82.2", + "version": "2.83.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 53b1e466ca..a1cec3eb07 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index de68da3801..bafb7a3654 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.82.2", + "version": "2.83.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 9baac4696b..adc2e099c4 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.82.2", + "version": "2.83.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 c6e610a543..7f0c74b7be 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.82.2", + "version": "2.83.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 f1ab9b130a..b2387f1e01 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.82.2", + "version": "2.83.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 353f51e515..f91a231bfe 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.82.2", + "version": "2.83.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 d87efc0903..51936f1632 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index f662df5caf..ed2e8a0a3e 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index a0d21f8e3d..19bd49d0f7 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.82.2", + "version": "2.83.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 7c19445256..780708edcf 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.82.2", + "version": "2.83.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 cb9b7357c2..6ca6ac8c8f 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index 1bb9353798..71b18b0b1e 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index 670612d01a..3dc0fb5726 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Jms Java Downloads Service", "repository": { "type": "git", diff --git a/lib/keymanagement/package.json b/lib/keymanagement/package.json index 3e2a8ac942..eb680ea720 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index 0298bddb92..a7500c4c6e 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.82.2", + "version": "2.83.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 db4bf25e67..bf9044457b 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index 8ff895ac1a..fac2c6ca78 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 80f14b8305..bd701e872c 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index 3fb26e0424..85e1bb1fb2 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/lib/model/create-unified-agent-configuration-details.ts b/lib/logging/lib/model/create-unified-agent-configuration-details.ts index 1c53337931..f7fe9a99a1 100644 --- a/lib/logging/lib/model/create-unified-agent-configuration-details.ts +++ b/lib/logging/lib/model/create-unified-agent-configuration-details.ts @@ -27,12 +27,14 @@ export interface CreateUnifiedAgentConfigurationDetails { * and it's changeable. Avoid entering confidential information. * */ - "displayName"?: string; + "displayName": string; /** * Whether or not this resource is currently enabled. */ "isEnabled": boolean; - "serviceConfiguration": model.UnifiedAgentLoggingConfiguration; + "serviceConfiguration": + | model.UnifiedAgentLoggingConfiguration + | model.UnifiedAgentMonitoringConfigurationDetails; /** * Defined tags for this resource. Each key is predefined and scoped to a * namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). @@ -55,7 +57,7 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} /** * Description for this resource. */ - "description"?: string; + "description": string; "groupAssociation"?: model.GroupAssociationDetails; } diff --git a/lib/logging/lib/model/grep-filter-allow-rule.ts b/lib/logging/lib/model/grep-filter-allow-rule.ts new file mode 100644 index 0000000000..b6c4431d47 --- /dev/null +++ b/lib/logging/lib/model/grep-filter-allow-rule.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Specifies the filtering rule + */ +export interface GrepFilterAllowRule { + /** + * The field name to which the regular expression is applied + */ + "key"?: string; + /** + * The regular expression + */ + "pattern"?: string; +} + +export namespace GrepFilterAllowRule { + export function getJsonObj(obj: GrepFilterAllowRule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GrepFilterAllowRule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/grep-filter-deny-rule.ts b/lib/logging/lib/model/grep-filter-deny-rule.ts new file mode 100644 index 0000000000..3a9e8f2c81 --- /dev/null +++ b/lib/logging/lib/model/grep-filter-deny-rule.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Specifies the filtering rule to reject logs + */ +export interface GrepFilterDenyRule { + /** + * The field name to which the regular expression is applied + */ + "key"?: string; + /** + * The regular expression + */ + "pattern"?: string; +} + +export namespace GrepFilterDenyRule { + export function getJsonObj(obj: GrepFilterDenyRule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: GrepFilterDenyRule): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/index.ts b/lib/logging/lib/model/index.ts index 10b5755989..fc1ba70d87 100644 --- a/lib/logging/lib/model/index.ts +++ b/lib/logging/lib/model/index.ts @@ -39,6 +39,10 @@ import * as CreateLogSavedSearchDetails from "./create-log-saved-search-details" export import CreateLogSavedSearchDetails = CreateLogSavedSearchDetails.CreateLogSavedSearchDetails; import * as CreateUnifiedAgentConfigurationDetails from "./create-unified-agent-configuration-details"; export import CreateUnifiedAgentConfigurationDetails = CreateUnifiedAgentConfigurationDetails.CreateUnifiedAgentConfigurationDetails; +import * as GrepFilterAllowRule from "./grep-filter-allow-rule"; +export import GrepFilterAllowRule = GrepFilterAllowRule.GrepFilterAllowRule; +import * as GrepFilterDenyRule from "./grep-filter-deny-rule"; +export import GrepFilterDenyRule = GrepFilterDenyRule.GrepFilterDenyRule; import * as GrokPattern from "./grok-pattern"; export import GrokPattern = GrokPattern.GrokPattern; import * as GroupAssociationDetails from "./group-association-details"; @@ -77,6 +81,8 @@ import * as OperationalMetricsSource from "./operational-metrics-source"; export import OperationalMetricsSource = OperationalMetricsSource.OperationalMetricsSource; import * as Parameter from "./parameter"; export import Parameter = Parameter.Parameter; +import * as RecordTransformerPair from "./record-transformer-pair"; +export import RecordTransformerPair = RecordTransformerPair.RecordTransformerPair; import * as ResourceType from "./resource-type"; export import ResourceType = ResourceType.ResourceType; import * as ServiceSummary from "./service-summary"; @@ -91,10 +97,30 @@ import * as UnifiedAgentConfigurationCollection from "./unified-agent-configurat export import UnifiedAgentConfigurationCollection = UnifiedAgentConfigurationCollection.UnifiedAgentConfigurationCollection; import * as UnifiedAgentConfigurationSummary from "./unified-agent-configuration-summary"; export import UnifiedAgentConfigurationSummary = UnifiedAgentConfigurationSummary.UnifiedAgentConfigurationSummary; +import * as UnifiedAgentCustomSection from "./unified-agent-custom-section"; +export import UnifiedAgentCustomSection = UnifiedAgentCustomSection.UnifiedAgentCustomSection; +import * as UnifiedAgentKubernetesScrapeTarget from "./unified-agent-kubernetes-scrape-target"; +export import UnifiedAgentKubernetesScrapeTarget = UnifiedAgentKubernetesScrapeTarget.UnifiedAgentKubernetesScrapeTarget; +import * as UnifiedAgentKubernetesSource from "./unified-agent-kubernetes-source"; +export import UnifiedAgentKubernetesSource = UnifiedAgentKubernetesSource.UnifiedAgentKubernetesSource; import * as UnifiedAgentLoggingDestination from "./unified-agent-logging-destination"; export import UnifiedAgentLoggingDestination = UnifiedAgentLoggingDestination.UnifiedAgentLoggingDestination; +import * as UnifiedAgentLoggingFilter from "./unified-agent-logging-filter"; +export import UnifiedAgentLoggingFilter = UnifiedAgentLoggingFilter.UnifiedAgentLoggingFilter; import * as UnifiedAgentLoggingSource from "./unified-agent-logging-source"; export import UnifiedAgentLoggingSource = UnifiedAgentLoggingSource.UnifiedAgentLoggingSource; +import * as UnifiedAgentMonitoringApplicationConfigurationDetails from "./unified-agent-monitoring-application-configuration-details"; +export import UnifiedAgentMonitoringApplicationConfigurationDetails = UnifiedAgentMonitoringApplicationConfigurationDetails.UnifiedAgentMonitoringApplicationConfigurationDetails; +import * as UnifiedAgentMonitoringDestination from "./unified-agent-monitoring-destination"; +export import UnifiedAgentMonitoringDestination = UnifiedAgentMonitoringDestination.UnifiedAgentMonitoringDestination; +import * as UnifiedAgentMonitoringFilter from "./unified-agent-monitoring-filter"; +export import UnifiedAgentMonitoringFilter = UnifiedAgentMonitoringFilter.UnifiedAgentMonitoringFilter; +import * as UnifiedAgentMonitoringSourceTypes from "./unified-agent-monitoring-source-types"; +export import UnifiedAgentMonitoringSourceTypes = UnifiedAgentMonitoringSourceTypes.UnifiedAgentMonitoringSourceTypes; +import * as UnifiedAgentMonitoringUrlSource from "./unified-agent-monitoring-url-source"; +export import UnifiedAgentMonitoringUrlSource = UnifiedAgentMonitoringUrlSource.UnifiedAgentMonitoringUrlSource; +import * as UnifiedAgentOpenmetricsParserRecord from "./unified-agent-openmetrics-parser-record"; +export import UnifiedAgentOpenmetricsParserRecord = UnifiedAgentOpenmetricsParserRecord.UnifiedAgentOpenmetricsParserRecord; import * as UnifiedAgentParser from "./unified-agent-parser"; export import UnifiedAgentParser = UnifiedAgentParser.UnifiedAgentParser; import * as UnifiedAgentServiceConfigurationDetails from "./unified-agent-service-configuration-details"; @@ -103,6 +129,10 @@ import * as UnifiedAgentServiceConfigurationStates from "./unified-agent-service export import UnifiedAgentServiceConfigurationStates = UnifiedAgentServiceConfigurationStates.UnifiedAgentServiceConfigurationStates; import * as UnifiedAgentServiceConfigurationTypes from "./unified-agent-service-configuration-types"; export import UnifiedAgentServiceConfigurationTypes = UnifiedAgentServiceConfigurationTypes.UnifiedAgentServiceConfigurationTypes; +import * as UnifiedAgentTailSourceAdvancedOptions from "./unified-agent-tail-source-advanced-options"; +export import UnifiedAgentTailSourceAdvancedOptions = UnifiedAgentTailSourceAdvancedOptions.UnifiedAgentTailSourceAdvancedOptions; +import * as UnifiedAgentUrlScrapeTarget from "./unified-agent-url-scrape-target"; +export import UnifiedAgentUrlScrapeTarget = UnifiedAgentUrlScrapeTarget.UnifiedAgentUrlScrapeTarget; import * as UpdateConfigurationDetails from "./update-configuration-details"; export import UpdateConfigurationDetails = UpdateConfigurationDetails.UpdateConfigurationDetails; import * as UpdateLogDetails from "./update-log-details"; @@ -136,10 +166,24 @@ import * as UnifiedAgentCriParser from "./unified-agent-cri-parser"; export import UnifiedAgentCriParser = UnifiedAgentCriParser.UnifiedAgentCriParser; import * as UnifiedAgentCsvParser from "./unified-agent-csv-parser"; export import UnifiedAgentCsvParser = UnifiedAgentCsvParser.UnifiedAgentCsvParser; +import * as UnifiedAgentCustomFilter from "./unified-agent-custom-filter"; +export import UnifiedAgentCustomFilter = UnifiedAgentCustomFilter.UnifiedAgentCustomFilter; +import * as UnifiedAgentCustomPluginLogSource from "./unified-agent-custom-plugin-log-source"; +export import UnifiedAgentCustomPluginLogSource = UnifiedAgentCustomPluginLogSource.UnifiedAgentCustomPluginLogSource; import * as UnifiedAgentGrokParser from "./unified-agent-grok-parser"; export import UnifiedAgentGrokParser = UnifiedAgentGrokParser.UnifiedAgentGrokParser; +import * as UnifiedAgentKubernetesConfigurationDetails from "./unified-agent-kubernetes-configuration-details"; +export import UnifiedAgentKubernetesConfigurationDetails = UnifiedAgentKubernetesConfigurationDetails.UnifiedAgentKubernetesConfigurationDetails; +import * as UnifiedAgentKubernetesFilter from "./unified-agent-kubernetes-filter"; +export import UnifiedAgentKubernetesFilter = UnifiedAgentKubernetesFilter.UnifiedAgentKubernetesFilter; import * as UnifiedAgentLoggingConfiguration from "./unified-agent-logging-configuration"; export import UnifiedAgentLoggingConfiguration = UnifiedAgentLoggingConfiguration.UnifiedAgentLoggingConfiguration; +import * as UnifiedAgentLoggingGrepFilter from "./unified-agent-logging-grep-filter"; +export import UnifiedAgentLoggingGrepFilter = UnifiedAgentLoggingGrepFilter.UnifiedAgentLoggingGrepFilter; +import * as UnifiedAgentLoggingRecordTransformerFilter from "./unified-agent-logging-record-transformer-filter"; +export import UnifiedAgentLoggingRecordTransformerFilter = UnifiedAgentLoggingRecordTransformerFilter.UnifiedAgentLoggingRecordTransformerFilter; +import * as UnifiedAgentMonitoringConfigurationDetails from "./unified-agent-monitoring-configuration-details"; +export import UnifiedAgentMonitoringConfigurationDetails = UnifiedAgentMonitoringConfigurationDetails.UnifiedAgentMonitoringConfigurationDetails; import * as UnifiedAgentMsgpackParser from "./unified-agent-msgpack-parser"; export import UnifiedAgentMsgpackParser = UnifiedAgentMsgpackParser.UnifiedAgentMsgpackParser; import * as UnifiedAgentMultilineGrokParser from "./unified-agent-multiline-grok-parser"; @@ -148,6 +192,12 @@ import * as UnifiedAgentMultilineParser from "./unified-agent-multiline-parser"; export import UnifiedAgentMultilineParser = UnifiedAgentMultilineParser.UnifiedAgentMultilineParser; import * as UnifiedAgentNoneParser from "./unified-agent-none-parser"; export import UnifiedAgentNoneParser = UnifiedAgentNoneParser.UnifiedAgentNoneParser; +import * as UnifiedAgentOpenmetricsParser from "./unified-agent-openmetrics-parser"; +export import UnifiedAgentOpenmetricsParser = UnifiedAgentOpenmetricsParser.UnifiedAgentOpenmetricsParser; +import * as UnifiedAgentOpenmetricsTailConfigurationDetails from "./unified-agent-openmetrics-tail-configuration-details"; +export import UnifiedAgentOpenmetricsTailConfigurationDetails = UnifiedAgentOpenmetricsTailConfigurationDetails.UnifiedAgentOpenmetricsTailConfigurationDetails; +import * as UnifiedAgentParserFilter from "./unified-agent-parser-filter"; +export import UnifiedAgentParserFilter = UnifiedAgentParserFilter.UnifiedAgentParserFilter; import * as UnifiedAgentRegexParser from "./unified-agent-regex-parser"; export import UnifiedAgentRegexParser = UnifiedAgentRegexParser.UnifiedAgentRegexParser; import * as UnifiedAgentSyslogParser from "./unified-agent-syslog-parser"; @@ -156,6 +206,10 @@ import * as UnifiedAgentTailLogSource from "./unified-agent-tail-log-source"; export import UnifiedAgentTailLogSource = UnifiedAgentTailLogSource.UnifiedAgentTailLogSource; import * as UnifiedAgentTsvParser from "./unified-agent-tsv-parser"; export import UnifiedAgentTsvParser = UnifiedAgentTsvParser.UnifiedAgentTsvParser; +import * as UnifiedAgentUrlConfigurationDetails from "./unified-agent-url-configuration-details"; +export import UnifiedAgentUrlConfigurationDetails = UnifiedAgentUrlConfigurationDetails.UnifiedAgentUrlConfigurationDetails; +import * as UnifiedAgentUrlFilter from "./unified-agent-url-filter"; +export import UnifiedAgentUrlFilter = UnifiedAgentUrlFilter.UnifiedAgentUrlFilter; import * as UnifiedAgentWindowsEventSource from "./unified-agent-windows-event-source"; export import UnifiedAgentWindowsEventSource = UnifiedAgentWindowsEventSource.UnifiedAgentWindowsEventSource; import * as UnifiedJSONParser from "./unified-js-on-parser"; diff --git a/lib/logging/lib/model/operational-metrics-source.ts b/lib/logging/lib/model/operational-metrics-source.ts index 3c4ee51510..62bde61609 100644 --- a/lib/logging/lib/model/operational-metrics-source.ts +++ b/lib/logging/lib/model/operational-metrics-source.ts @@ -30,7 +30,7 @@ export interface OperationalMetricsSource { * List of unified monitoring agent operational metrics. */ "metrics"?: Array; - "recordInput"?: model.OperationalMetricsRecordInput; + "recordInput": model.OperationalMetricsRecordInput; } export namespace OperationalMetricsSource { diff --git a/lib/logging/lib/model/record-transformer-pair.ts b/lib/logging/lib/model/record-transformer-pair.ts new file mode 100644 index 0000000000..db44594995 --- /dev/null +++ b/lib/logging/lib/model/record-transformer-pair.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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 new Key-value pairs added in logs + */ +export interface RecordTransformerPair { + /** + * A new key + */ + "key"?: string; + /** + * A new value + */ + "value"?: string; +} + +export namespace RecordTransformerPair { + export function getJsonObj(obj: RecordTransformerPair): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RecordTransformerPair): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-configuration.ts b/lib/logging/lib/model/unified-agent-configuration.ts index 2809f73fb0..ac63dd1949 100644 --- a/lib/logging/lib/model/unified-agent-configuration.ts +++ b/lib/logging/lib/model/unified-agent-configuration.ts @@ -75,7 +75,9 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * State of unified agent service configuration. */ "configurationState": model.UnifiedAgentServiceConfigurationStates; - "serviceConfiguration": model.UnifiedAgentLoggingConfiguration; + "serviceConfiguration": + | model.UnifiedAgentLoggingConfiguration + | model.UnifiedAgentMonitoringConfigurationDetails; "groupAssociation": model.GroupAssociationDetails; } diff --git a/lib/logging/lib/model/unified-agent-custom-filter.ts b/lib/logging/lib/model/unified-agent-custom-filter.ts new file mode 100644 index 0000000000..659c02a910 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-custom-filter.ts @@ -0,0 +1,80 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Logging custom filter plugin. + */ +export interface UnifiedAgentCustomFilter extends model.UnifiedAgentLoggingFilter { + /** + * Type of the custom filter + */ + "customFilterType": string; + /** + * Parameters of the custom filter + */ + "params"?: { [key: string]: string }; + /** + * List of custom sections in custom filter + */ + "customSections"?: Array; + + "filterType": string; +} + +export namespace UnifiedAgentCustomFilter { + export function getJsonObj(obj: UnifiedAgentCustomFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getJsonObj(obj) as UnifiedAgentCustomFilter)), + ...{ + "customSections": obj.customSections + ? obj.customSections.map(item => { + return model.UnifiedAgentCustomSection.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const filterType = "CUSTOM_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentCustomFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentCustomFilter)), + ...{ + "customSections": obj.customSections + ? obj.customSections.map(item => { + return model.UnifiedAgentCustomSection.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-custom-plugin-log-source.ts b/lib/logging/lib/model/unified-agent-custom-plugin-log-source.ts new file mode 100644 index 0000000000..8555ddfa5a --- /dev/null +++ b/lib/logging/lib/model/unified-agent-custom-plugin-log-source.ts @@ -0,0 +1,63 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * User-customized-source-plugin log source object. + */ +export interface UnifiedAgentCustomPluginLogSource extends model.UnifiedAgentLoggingSource { + /** + * User customized source plugin. + */ + "customPlugin": string; + + "sourceType": string; +} + +export namespace UnifiedAgentCustomPluginLogSource { + export function getJsonObj( + obj: UnifiedAgentCustomPluginLogSource, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingSource.getJsonObj(obj) as UnifiedAgentCustomPluginLogSource)), + ...{} + }; + + return jsonObj; + } + export const sourceType = "CUSTOM_PLUGIN"; + export function getDeserializedJsonObj( + obj: UnifiedAgentCustomPluginLogSource, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingSource.getDeserializedJsonObj( + obj + ) as UnifiedAgentCustomPluginLogSource)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-custom-section.ts b/lib/logging/lib/model/unified-agent-custom-section.ts new file mode 100644 index 0000000000..494844e17b --- /dev/null +++ b/lib/logging/lib/model/unified-agent-custom-section.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Custom section in custom filter + */ +export interface UnifiedAgentCustomSection { + /** + * The name of the custom section + */ + "name"?: string; + /** + * Parameters in the custom section + */ + "params"?: { [key: string]: string }; +} + +export namespace UnifiedAgentCustomSection { + export function getJsonObj(obj: UnifiedAgentCustomSection): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentCustomSection): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-kubernetes-configuration-details.ts b/lib/logging/lib/model/unified-agent-kubernetes-configuration-details.ts new file mode 100644 index 0000000000..df7e201abc --- /dev/null +++ b/lib/logging/lib/model/unified-agent-kubernetes-configuration-details.ts @@ -0,0 +1,85 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Unified Agent kubernetes service configuration object. + */ +export interface UnifiedAgentKubernetesConfigurationDetails + extends model.UnifiedAgentMonitoringApplicationConfigurationDetails { + "source": model.UnifiedAgentKubernetesSource; + "filter"?: model.UnifiedAgentKubernetesFilter; + "destination": model.UnifiedAgentMonitoringDestination; + + "sourceType": string; +} + +export namespace UnifiedAgentKubernetesConfigurationDetails { + export function getJsonObj( + obj: UnifiedAgentKubernetesConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj( + obj + ) as UnifiedAgentKubernetesConfigurationDetails)), + ...{ + "source": obj.source + ? model.UnifiedAgentKubernetesSource.getJsonObj(obj.source) + : undefined, + "filter": obj.filter + ? model.UnifiedAgentKubernetesFilter.getJsonObj(obj.filter) + : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } + export const sourceType = "KUBERNETES"; + export function getDeserializedJsonObj( + obj: UnifiedAgentKubernetesConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj( + obj + ) as UnifiedAgentKubernetesConfigurationDetails)), + ...{ + "source": obj.source + ? model.UnifiedAgentKubernetesSource.getDeserializedJsonObj(obj.source) + : undefined, + "filter": obj.filter + ? model.UnifiedAgentKubernetesFilter.getDeserializedJsonObj(obj.filter) + : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-kubernetes-filter.ts b/lib/logging/lib/model/unified-agent-kubernetes-filter.ts new file mode 100644 index 0000000000..33c0dc57fb --- /dev/null +++ b/lib/logging/lib/model/unified-agent-kubernetes-filter.ts @@ -0,0 +1,64 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Kubernetes filter object + */ +export interface UnifiedAgentKubernetesFilter extends model.UnifiedAgentMonitoringFilter { + /** + * List of metrics regex to be allowed. + */ + "allowList"?: Array; + /** + * List of metrics regex to be denied. + */ + "denyList"?: Array; + + "filterType": string; +} + +export namespace UnifiedAgentKubernetesFilter { + export function getJsonObj(obj: UnifiedAgentKubernetesFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringFilter.getJsonObj(obj) as UnifiedAgentKubernetesFilter)), + ...{} + }; + + return jsonObj; + } + export const filterType = "KUBERNETES_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentKubernetesFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentKubernetesFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-kubernetes-scrape-target.ts b/lib/logging/lib/model/unified-agent-kubernetes-scrape-target.ts new file mode 100644 index 0000000000..0a0ab0f860 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-kubernetes-scrape-target.ts @@ -0,0 +1,66 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Monitoring scrape object. + */ +export interface UnifiedAgentKubernetesScrapeTarget { + /** + * Type of resource to scrape metrics. + */ + "resourceType": UnifiedAgentKubernetesScrapeTarget.ResourceType; + /** + * K8s namespace of the resource. + */ + "k8sNamespace": string; + /** + * Name of the service prepended to the endpoints. + */ + "serviceName"?: string; + /** + * Resource group in OCI monitoring. + */ + "resourceGroup"?: string; +} + +export namespace UnifiedAgentKubernetesScrapeTarget { + export enum ResourceType { + Pods = "PODS", + Endpoints = "ENDPOINTS", + Nodes = "NODES", + Services = "SERVICES", + /** + * 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: UnifiedAgentKubernetesScrapeTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentKubernetesScrapeTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-kubernetes-source.ts b/lib/logging/lib/model/unified-agent-kubernetes-source.ts new file mode 100644 index 0000000000..0168da7f80 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-kubernetes-source.ts @@ -0,0 +1,64 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Kubernetes source object. + */ +export interface UnifiedAgentKubernetesSource { + /** + * Unique name for the source. + */ + "name": string; + /** + * List of UnifiedAgentKubernetesScrapeTarget. + */ + "scrapeTargets": Array; +} + +export namespace UnifiedAgentKubernetesSource { + export function getJsonObj(obj: UnifiedAgentKubernetesSource): object { + const jsonObj = { + ...obj, + ...{ + "scrapeTargets": obj.scrapeTargets + ? obj.scrapeTargets.map(item => { + return model.UnifiedAgentKubernetesScrapeTarget.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentKubernetesSource): object { + const jsonObj = { + ...obj, + ...{ + "scrapeTargets": obj.scrapeTargets + ? obj.scrapeTargets.map(item => { + return model.UnifiedAgentKubernetesScrapeTarget.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-logging-configuration.ts b/lib/logging/lib/model/unified-agent-logging-configuration.ts index ffb7f856db..59ccc6cfc4 100644 --- a/lib/logging/lib/model/unified-agent-logging-configuration.ts +++ b/lib/logging/lib/model/unified-agent-logging-configuration.ts @@ -27,6 +27,10 @@ export interface UnifiedAgentLoggingConfiguration * Logging source object. */ "sources": Array; + /** + * Logging filter object. + */ + "filter"?: Array; "destination": model.UnifiedAgentLoggingDestination; "configurationType": string; @@ -49,6 +53,11 @@ export namespace UnifiedAgentLoggingConfiguration { return model.UnifiedAgentLoggingSource.getJsonObj(item); }) : undefined, + "filter": obj.filter + ? obj.filter.map(item => { + return model.UnifiedAgentLoggingFilter.getJsonObj(item); + }) + : undefined, "destination": obj.destination ? model.UnifiedAgentLoggingDestination.getJsonObj(obj.destination) : undefined @@ -74,6 +83,11 @@ export namespace UnifiedAgentLoggingConfiguration { return model.UnifiedAgentLoggingSource.getDeserializedJsonObj(item); }) : undefined, + "filter": obj.filter + ? obj.filter.map(item => { + return model.UnifiedAgentLoggingFilter.getDeserializedJsonObj(item); + }) + : undefined, "destination": obj.destination ? model.UnifiedAgentLoggingDestination.getDeserializedJsonObj(obj.destination) : undefined diff --git a/lib/logging/lib/model/unified-agent-logging-filter.ts b/lib/logging/lib/model/unified-agent-logging-filter.ts new file mode 100644 index 0000000000..4074d2ea79 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-logging-filter.ts @@ -0,0 +1,96 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Logging filter object. + */ +export interface UnifiedAgentLoggingFilter { + /** + * Unique name for the filter. + */ + "name": string; + + "filterType": string; +} + +export namespace UnifiedAgentLoggingFilter { + export function getJsonObj(obj: UnifiedAgentLoggingFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "CUSTOM_FILTER": + return model.UnifiedAgentCustomFilter.getJsonObj( + (jsonObj), + true + ); + case "PARSER_FILTER": + return model.UnifiedAgentParserFilter.getJsonObj( + (jsonObj), + true + ); + case "GREP_FILTER": + return model.UnifiedAgentLoggingGrepFilter.getJsonObj( + (jsonObj), + true + ); + case "RECORD_TRANSFORMER_FILTER": + return model.UnifiedAgentLoggingRecordTransformerFilter.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentLoggingFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "CUSTOM_FILTER": + return model.UnifiedAgentCustomFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "PARSER_FILTER": + return model.UnifiedAgentParserFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "GREP_FILTER": + return model.UnifiedAgentLoggingGrepFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "RECORD_TRANSFORMER_FILTER": + return model.UnifiedAgentLoggingRecordTransformerFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-logging-grep-filter.ts b/lib/logging/lib/model/unified-agent-logging-grep-filter.ts new file mode 100644 index 0000000000..5d65735c08 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-logging-grep-filter.ts @@ -0,0 +1,91 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Logging grep filter object greps events by the values of specified fields. + * Ref: https://docs.fluentd.org/filter/grep + * + */ +export interface UnifiedAgentLoggingGrepFilter extends model.UnifiedAgentLoggingFilter { + /** + * A list of filtering rules to include logs + */ + "allowList"?: Array; + /** + * A list of filtering rules to reject logs + */ + "denyList"?: Array; + + "filterType": string; +} + +export namespace UnifiedAgentLoggingGrepFilter { + export function getJsonObj( + obj: UnifiedAgentLoggingGrepFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getJsonObj(obj) as UnifiedAgentLoggingGrepFilter)), + ...{ + "allowList": obj.allowList + ? obj.allowList.map(item => { + return model.GrepFilterAllowRule.getJsonObj(item); + }) + : undefined, + "denyList": obj.denyList + ? obj.denyList.map(item => { + return model.GrepFilterDenyRule.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const filterType = "GREP_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentLoggingGrepFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentLoggingGrepFilter)), + ...{ + "allowList": obj.allowList + ? obj.allowList.map(item => { + return model.GrepFilterAllowRule.getDeserializedJsonObj(item); + }) + : undefined, + "denyList": obj.denyList + ? obj.denyList.map(item => { + return model.GrepFilterDenyRule.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-logging-record-transformer-filter.ts b/lib/logging/lib/model/unified-agent-logging-record-transformer-filter.ts new file mode 100644 index 0000000000..d4a8f1efbd --- /dev/null +++ b/lib/logging/lib/model/unified-agent-logging-record-transformer-filter.ts @@ -0,0 +1,104 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Logging record transformer filter object mutates/transforms logs. + * Ref: https://docs.fluentd.org/filter/record_transformer + * + */ +export interface UnifiedAgentLoggingRecordTransformerFilter + extends model.UnifiedAgentLoggingFilter { + /** + * Add new key-value pairs in logs + */ + "recordList": Array; + /** + * When set to true, the full Ruby syntax is enabled in the ${} expression. + */ + "isRubyEnabled"?: boolean; + /** + * If true, automatically casts the field types. + */ + "isAutoTypecastEnabled"?: boolean; + /** + * If true, it modifies a new empty hash + */ + "isRenewRecordEnabled"?: boolean; + /** + * Overwrites the time of logs with this value, this value must be a Unix timestamp. + */ + "renewTimeKey"?: string; + /** + * A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true + */ + "keepKeys"?: Array; + /** + * A list of keys to delete + */ + "removeKeys"?: Array; + + "filterType": string; +} + +export namespace UnifiedAgentLoggingRecordTransformerFilter { + export function getJsonObj( + obj: UnifiedAgentLoggingRecordTransformerFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getJsonObj( + obj + ) as UnifiedAgentLoggingRecordTransformerFilter)), + ...{ + "recordList": obj.recordList + ? obj.recordList.map(item => { + return model.RecordTransformerPair.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const filterType = "RECORD_TRANSFORMER_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentLoggingRecordTransformerFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentLoggingRecordTransformerFilter)), + ...{ + "recordList": obj.recordList + ? obj.recordList.map(item => { + return model.RecordTransformerPair.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-logging-source.ts b/lib/logging/lib/model/unified-agent-logging-source.ts index 115d166cff..8f87dc68ed 100644 --- a/lib/logging/lib/model/unified-agent-logging-source.ts +++ b/lib/logging/lib/model/unified-agent-logging-source.ts @@ -36,6 +36,11 @@ export namespace UnifiedAgentLoggingSource { if (obj && "sourceType" in obj && obj.sourceType) { switch (obj.sourceType) { + case "CUSTOM_PLUGIN": + return model.UnifiedAgentCustomPluginLogSource.getJsonObj( + (jsonObj), + true + ); case "WINDOWS_EVENT_LOG": return model.UnifiedAgentWindowsEventSource.getJsonObj( (jsonObj), @@ -57,6 +62,11 @@ export namespace UnifiedAgentLoggingSource { if (obj && "sourceType" in obj && obj.sourceType) { switch (obj.sourceType) { + case "CUSTOM_PLUGIN": + return model.UnifiedAgentCustomPluginLogSource.getDeserializedJsonObj( + (jsonObj), + true + ); case "WINDOWS_EVENT_LOG": return model.UnifiedAgentWindowsEventSource.getDeserializedJsonObj( (jsonObj), diff --git a/lib/logging/lib/model/unified-agent-monitoring-application-configuration-details.ts b/lib/logging/lib/model/unified-agent-monitoring-application-configuration-details.ts new file mode 100644 index 0000000000..cc63c21209 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-application-configuration-details.ts @@ -0,0 +1,83 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Unified Agent monitoing application configuration details + */ +export interface UnifiedAgentMonitoringApplicationConfigurationDetails { + "sourceType": string; +} + +export namespace UnifiedAgentMonitoringApplicationConfigurationDetails { + export function getJsonObj(obj: UnifiedAgentMonitoringApplicationConfigurationDetails): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "KUBERNETES": + return model.UnifiedAgentKubernetesConfigurationDetails.getJsonObj( + (jsonObj), + true + ); + case "URL": + return model.UnifiedAgentUrlConfigurationDetails.getJsonObj( + (jsonObj), + true + ); + case "TAIL": + return model.UnifiedAgentOpenmetricsTailConfigurationDetails.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj( + obj: UnifiedAgentMonitoringApplicationConfigurationDetails + ): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "sourceType" in obj && obj.sourceType) { + switch (obj.sourceType) { + case "KUBERNETES": + return model.UnifiedAgentKubernetesConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "URL": + return model.UnifiedAgentUrlConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + case "TAIL": + return model.UnifiedAgentOpenmetricsTailConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.sourceType}`); + } + } + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-monitoring-configuration-details.ts b/lib/logging/lib/model/unified-agent-monitoring-configuration-details.ts new file mode 100644 index 0000000000..826b8c2555 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-configuration-details.ts @@ -0,0 +1,80 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Unified Agent monitoring service configuration object. + */ +export interface UnifiedAgentMonitoringConfigurationDetails + extends model.UnifiedAgentServiceConfigurationDetails { + /** + * Unified Agent monitoring application configuration details. + */ + "applicationConfigurations": Array; + + "configurationType": string; +} + +export namespace UnifiedAgentMonitoringConfigurationDetails { + export function getJsonObj( + obj: UnifiedAgentMonitoringConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentServiceConfigurationDetails.getJsonObj( + obj + ) as UnifiedAgentMonitoringConfigurationDetails)), + ...{ + "applicationConfigurations": obj.applicationConfigurations + ? obj.applicationConfigurations.map(item => { + return model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export const configurationType = "MONITORING"; + export function getDeserializedJsonObj( + obj: UnifiedAgentMonitoringConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentServiceConfigurationDetails.getDeserializedJsonObj( + obj + ) as UnifiedAgentMonitoringConfigurationDetails)), + ...{ + "applicationConfigurations": obj.applicationConfigurations + ? obj.applicationConfigurations.map(item => { + return model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj( + item + ); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-monitoring-destination.ts b/lib/logging/lib/model/unified-agent-monitoring-destination.ts new file mode 100644 index 0000000000..d06c324443 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-destination.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Kubernetes destination object. + */ +export interface UnifiedAgentMonitoringDestination { + /** + * The OCID of the compartment that the resource belongs to. + */ + "compartmentId": string; + /** + * Namespace to which metrics will be emitted. + */ + "metricsNamespace": string; +} + +export namespace UnifiedAgentMonitoringDestination { + export function getJsonObj(obj: UnifiedAgentMonitoringDestination): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentMonitoringDestination): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-monitoring-filter.ts b/lib/logging/lib/model/unified-agent-monitoring-filter.ts new file mode 100644 index 0000000000..bd9a543168 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-filter.ts @@ -0,0 +1,76 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Monitoring filter object. + */ +export interface UnifiedAgentMonitoringFilter { + /** + * Unique name for the filter. + */ + "name": string; + + "filterType": string; +} + +export namespace UnifiedAgentMonitoringFilter { + export function getJsonObj(obj: UnifiedAgentMonitoringFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "KUBERNETES_FILTER": + return model.UnifiedAgentKubernetesFilter.getJsonObj( + (jsonObj), + true + ); + case "URL_FILTER": + return model.UnifiedAgentUrlFilter.getJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentMonitoringFilter): object { + const jsonObj = { ...obj, ...{} }; + + if (obj && "filterType" in obj && obj.filterType) { + switch (obj.filterType) { + case "KUBERNETES_FILTER": + return model.UnifiedAgentKubernetesFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + case "URL_FILTER": + return model.UnifiedAgentUrlFilter.getDeserializedJsonObj( + (jsonObj), + true + ); + default: + if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.filterType}`); + } + } + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-monitoring-source-types.ts b/lib/logging/lib/model/unified-agent-monitoring-source-types.ts new file mode 100644 index 0000000000..64342f5915 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-source-types.ts @@ -0,0 +1,47 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Type of Unified Agent monitoring source. + **/ +export enum UnifiedAgentMonitoringSourceTypes { + Kubernetes = "KUBERNETES", + Tail = "TAIL", + Url = "URL", + + /** + * 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 UnifiedAgentMonitoringSourceTypes { + export function getJsonObj( + obj: UnifiedAgentMonitoringSourceTypes + ): UnifiedAgentMonitoringSourceTypes { + return obj; + } + export function getDeserializedJsonObj( + obj: UnifiedAgentMonitoringSourceTypes + ): UnifiedAgentMonitoringSourceTypes { + return obj; + } +} diff --git a/lib/logging/lib/model/unified-agent-monitoring-url-source.ts b/lib/logging/lib/model/unified-agent-monitoring-url-source.ts new file mode 100644 index 0000000000..073f863308 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-monitoring-url-source.ts @@ -0,0 +1,64 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Kubernetes source object. + */ +export interface UnifiedAgentMonitoringUrlSource { + /** + * Unique name for the source. + */ + "name": string; + /** + * List of UnifiedAgentKubernetesScrapeTarget. + */ + "scrapeTargets": Array; +} + +export namespace UnifiedAgentMonitoringUrlSource { + export function getJsonObj(obj: UnifiedAgentMonitoringUrlSource): object { + const jsonObj = { + ...obj, + ...{ + "scrapeTargets": obj.scrapeTargets + ? obj.scrapeTargets.map(item => { + return model.UnifiedAgentUrlScrapeTarget.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentMonitoringUrlSource): object { + const jsonObj = { + ...obj, + ...{ + "scrapeTargets": obj.scrapeTargets + ? obj.scrapeTargets.map(item => { + return model.UnifiedAgentUrlScrapeTarget.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-openmetrics-parser-record.ts b/lib/logging/lib/model/unified-agent-openmetrics-parser-record.ts new file mode 100644 index 0000000000..c2545ba0ea --- /dev/null +++ b/lib/logging/lib/model/unified-agent-openmetrics-parser-record.ts @@ -0,0 +1,51 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * record section of openmetrics parser. + * + */ +export interface UnifiedAgentOpenmetricsParserRecord { + /** + * Namespace to emit metrics. + */ + "namespace"?: string; + /** + * Resource group to emit metrics. + */ + "resourceGroup"?: string; + /** + * Dimensions to be added for metrics. + */ + "dimensions"?: { [key: string]: string }; +} + +export namespace UnifiedAgentOpenmetricsParserRecord { + export function getJsonObj(obj: UnifiedAgentOpenmetricsParserRecord): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentOpenmetricsParserRecord): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-openmetrics-parser.ts b/lib/logging/lib/model/unified-agent-openmetrics-parser.ts new file mode 100644 index 0000000000..560af9900d --- /dev/null +++ b/lib/logging/lib/model/unified-agent-openmetrics-parser.ts @@ -0,0 +1,66 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Openmetrics parser. + */ +export interface UnifiedAgentOpenmetricsParser extends model.UnifiedAgentParser { + "recordInput"?: model.UnifiedAgentOpenmetricsParserRecord; + + "parserType": string; +} + +export namespace UnifiedAgentOpenmetricsParser { + export function getJsonObj( + obj: UnifiedAgentOpenmetricsParser, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentParser.getJsonObj(obj) as UnifiedAgentOpenmetricsParser)), + ...{ + "recordInput": obj.recordInput + ? model.UnifiedAgentOpenmetricsParserRecord.getJsonObj(obj.recordInput) + : undefined + } + }; + + return jsonObj; + } + export const parserType = "OPENMETRICS"; + export function getDeserializedJsonObj( + obj: UnifiedAgentOpenmetricsParser, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentParser.getDeserializedJsonObj(obj) as UnifiedAgentOpenmetricsParser)), + ...{ + "recordInput": obj.recordInput + ? model.UnifiedAgentOpenmetricsParserRecord.getDeserializedJsonObj(obj.recordInput) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-openmetrics-tail-configuration-details.ts b/lib/logging/lib/model/unified-agent-openmetrics-tail-configuration-details.ts new file mode 100644 index 0000000000..038374ec43 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-openmetrics-tail-configuration-details.ts @@ -0,0 +1,85 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Unified Agent Openmetrics tail configuration object. + */ +export interface UnifiedAgentOpenmetricsTailConfigurationDetails + extends model.UnifiedAgentMonitoringApplicationConfigurationDetails { + /** + * Tail log source objects. + */ + "sources": Array; + "destination": model.UnifiedAgentMonitoringDestination; + + "sourceType": string; +} + +export namespace UnifiedAgentOpenmetricsTailConfigurationDetails { + export function getJsonObj( + obj: UnifiedAgentOpenmetricsTailConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj( + obj + ) as UnifiedAgentOpenmetricsTailConfigurationDetails)), + ...{ + "sources": obj.sources + ? obj.sources.map(item => { + return model.UnifiedAgentTailLogSource.getJsonObj(item); + }) + : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } + export const sourceType = "TAIL"; + export function getDeserializedJsonObj( + obj: UnifiedAgentOpenmetricsTailConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj( + obj + ) as UnifiedAgentOpenmetricsTailConfigurationDetails)), + ...{ + "sources": obj.sources + ? obj.sources.map(item => { + return model.UnifiedAgentTailLogSource.getDeserializedJsonObj(item); + }) + : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-parser-filter.ts b/lib/logging/lib/model/unified-agent-parser-filter.ts new file mode 100644 index 0000000000..d7f46c5e8b --- /dev/null +++ b/lib/logging/lib/model/unified-agent-parser-filter.ts @@ -0,0 +1,115 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Logging parser filter object. + * Ref: https://docs.fluentd.org/filter/parser + * + */ +export interface UnifiedAgentParserFilter extends model.UnifiedAgentLoggingFilter { + "parser": + | model.UnifiedAgentMultilineGrokParser + | model.UnifiedJSONParser + | model.UnifiedAgentGrokParser + | model.UnifiedAgentNoneParser + | model.UnifiedAgentSyslogParser + | model.UnifiedAgentOpenmetricsParser + | model.UnifiedAgentAuditdParser + | model.UnifiedAgentApache2Parser + | model.UnifiedAgentRegexParser + | model.UnifiedAgentMultilineParser + | model.UnifiedAgentTsvParser + | model.UnifiedAgentCriParser + | model.UnifiedAgentApacheErrorParser + | model.UnifiedAgentMsgpackParser + | model.UnifiedAgentCsvParser; + /** + * The field name in the record to parse. + */ + "keyName": string; + /** + * If true, keep the original event time in the parsed result. + */ + "reserveTime"?: boolean; + /** + * If true, keep the original key-value pair in the parsed result. + */ + "reserveData"?: boolean; + /** + * If true, remove the keyName field when parsing is succeeded. + */ + "removeKeyNameField"?: boolean; + /** + * If true, the invalid string is replaced with safe characters and is re-parsed. + */ + "replaceInvalidSequence"?: boolean; + /** + * Store the parsed values with the specified key name prefix. + */ + "injectKeyPrefix"?: string; + /** + * Store the parsed values as a hash value in a field. + */ + "hashValueField"?: string; + /** + * If true, emit invalid record to @ERROR label. Invalid cases are: 1) key does not exist; 2) the format + * does not match; or 3) an unexpected error. You can rescue unexpected format logs in the @ERROR lable. + * If you want to ignore these errors, set this to false. + * + */ + "emitInvalidRecordToError"?: boolean; + + "filterType": string; +} + +export namespace UnifiedAgentParserFilter { + export function getJsonObj(obj: UnifiedAgentParserFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getJsonObj(obj) as UnifiedAgentParserFilter)), + ...{ + "parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined + } + }; + + return jsonObj; + } + export const filterType = "PARSER_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentParserFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentLoggingFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentParserFilter)), + ...{ + "parser": obj.parser + ? model.UnifiedAgentParser.getDeserializedJsonObj(obj.parser) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-parser.ts b/lib/logging/lib/model/unified-agent-parser.ts index b640075bfc..94a6e9822e 100644 --- a/lib/logging/lib/model/unified-agent-parser.ts +++ b/lib/logging/lib/model/unified-agent-parser.ts @@ -106,6 +106,11 @@ export namespace UnifiedAgentParser { (jsonObj), true ); + case "OPENMETRICS": + return model.UnifiedAgentOpenmetricsParser.getJsonObj( + (jsonObj), + true + ); case "AUDITD": return model.UnifiedAgentAuditdParser.getJsonObj( (jsonObj), @@ -187,6 +192,11 @@ export namespace UnifiedAgentParser { (jsonObj), true ); + case "OPENMETRICS": + return model.UnifiedAgentOpenmetricsParser.getDeserializedJsonObj( + (jsonObj), + true + ); case "AUDITD": return model.UnifiedAgentAuditdParser.getDeserializedJsonObj( (jsonObj), diff --git a/lib/logging/lib/model/unified-agent-service-configuration-details.ts b/lib/logging/lib/model/unified-agent-service-configuration-details.ts index b73a0ffa76..5340e4b47a 100644 --- a/lib/logging/lib/model/unified-agent-service-configuration-details.ts +++ b/lib/logging/lib/model/unified-agent-service-configuration-details.ts @@ -36,6 +36,11 @@ export namespace UnifiedAgentServiceConfigurationDetails { (jsonObj), true ); + case "MONITORING": + return model.UnifiedAgentMonitoringConfigurationDetails.getJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.configurationType}`); @@ -53,6 +58,11 @@ export namespace UnifiedAgentServiceConfigurationDetails { (jsonObj), true ); + case "MONITORING": + return model.UnifiedAgentMonitoringConfigurationDetails.getDeserializedJsonObj( + (jsonObj), + true + ); default: if (common.LOG.logger) common.LOG.logger.info(`Unknown value for: ${obj.configurationType}`); diff --git a/lib/logging/lib/model/unified-agent-service-configuration-types.ts b/lib/logging/lib/model/unified-agent-service-configuration-types.ts index c4da381d34..bc8bffa5c3 100644 --- a/lib/logging/lib/model/unified-agent-service-configuration-types.ts +++ b/lib/logging/lib/model/unified-agent-service-configuration-types.ts @@ -23,6 +23,7 @@ import common = require("oci-common"); **/ export enum UnifiedAgentServiceConfigurationTypes { Logging = "LOGGING", + Monitoring = "MONITORING", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/logging/lib/model/unified-agent-tail-log-source.ts b/lib/logging/lib/model/unified-agent-tail-log-source.ts index 6615a39c7f..05c7c9e979 100644 --- a/lib/logging/lib/model/unified-agent-tail-log-source.ts +++ b/lib/logging/lib/model/unified-agent-tail-log-source.ts @@ -32,6 +32,7 @@ export interface UnifiedAgentTailLogSource extends model.UnifiedAgentLoggingSour | model.UnifiedAgentGrokParser | model.UnifiedAgentNoneParser | model.UnifiedAgentSyslogParser + | model.UnifiedAgentOpenmetricsParser | model.UnifiedAgentAuditdParser | model.UnifiedAgentApache2Parser | model.UnifiedAgentRegexParser @@ -41,6 +42,7 @@ export interface UnifiedAgentTailLogSource extends model.UnifiedAgentLoggingSour | model.UnifiedAgentApacheErrorParser | model.UnifiedAgentMsgpackParser | model.UnifiedAgentCsvParser; + "advancedOptions"?: model.UnifiedAgentTailSourceAdvancedOptions; "sourceType": string; } @@ -52,7 +54,10 @@ export namespace UnifiedAgentTailLogSource { ? obj : (model.UnifiedAgentLoggingSource.getJsonObj(obj) as UnifiedAgentTailLogSource)), ...{ - "parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined + "parser": obj.parser ? model.UnifiedAgentParser.getJsonObj(obj.parser) : undefined, + "advancedOptions": obj.advancedOptions + ? model.UnifiedAgentTailSourceAdvancedOptions.getJsonObj(obj.advancedOptions) + : undefined } }; @@ -72,6 +77,9 @@ export namespace UnifiedAgentTailLogSource { ...{ "parser": obj.parser ? model.UnifiedAgentParser.getDeserializedJsonObj(obj.parser) + : undefined, + "advancedOptions": obj.advancedOptions + ? model.UnifiedAgentTailSourceAdvancedOptions.getDeserializedJsonObj(obj.advancedOptions) : undefined } }; diff --git a/lib/logging/lib/model/unified-agent-tail-source-advanced-options.ts b/lib/logging/lib/model/unified-agent-tail-source-advanced-options.ts new file mode 100644 index 0000000000..40b09a5cf1 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-tail-source-advanced-options.ts @@ -0,0 +1,42 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Advanced options for logging configuration + */ +export interface UnifiedAgentTailSourceAdvancedOptions { + /** + * Starts to read the logs from the head of the file or the last read position recorded in pos_file, not tail. + */ + "isReadFromHead"?: boolean; +} + +export namespace UnifiedAgentTailSourceAdvancedOptions { + export function getJsonObj(obj: UnifiedAgentTailSourceAdvancedOptions): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentTailSourceAdvancedOptions): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-url-configuration-details.ts b/lib/logging/lib/model/unified-agent-url-configuration-details.ts new file mode 100644 index 0000000000..8b3817e652 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-url-configuration-details.ts @@ -0,0 +1,83 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Unified Agent scrape URL configuration object. + */ +export interface UnifiedAgentUrlConfigurationDetails + extends model.UnifiedAgentMonitoringApplicationConfigurationDetails { + "source": model.UnifiedAgentMonitoringUrlSource; + "filter"?: model.UnifiedAgentUrlFilter; + "destination": model.UnifiedAgentMonitoringDestination; + + "sourceType": string; +} + +export namespace UnifiedAgentUrlConfigurationDetails { + export function getJsonObj( + obj: UnifiedAgentUrlConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getJsonObj( + obj + ) as UnifiedAgentUrlConfigurationDetails)), + ...{ + "source": obj.source + ? model.UnifiedAgentMonitoringUrlSource.getJsonObj(obj.source) + : undefined, + "filter": obj.filter ? model.UnifiedAgentUrlFilter.getJsonObj(obj.filter) : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } + export const sourceType = "URL"; + export function getDeserializedJsonObj( + obj: UnifiedAgentUrlConfigurationDetails, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringApplicationConfigurationDetails.getDeserializedJsonObj( + obj + ) as UnifiedAgentUrlConfigurationDetails)), + ...{ + "source": obj.source + ? model.UnifiedAgentMonitoringUrlSource.getDeserializedJsonObj(obj.source) + : undefined, + "filter": obj.filter + ? model.UnifiedAgentUrlFilter.getDeserializedJsonObj(obj.filter) + : undefined, + "destination": obj.destination + ? model.UnifiedAgentMonitoringDestination.getDeserializedJsonObj(obj.destination) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-url-filter.ts b/lib/logging/lib/model/unified-agent-url-filter.ts new file mode 100644 index 0000000000..3d09bc51e5 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-url-filter.ts @@ -0,0 +1,64 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Kubernetes filter object + */ +export interface UnifiedAgentUrlFilter extends model.UnifiedAgentMonitoringFilter { + /** + * List of metrics regex to be allowed. + */ + "allowList"?: Array; + /** + * List of metrics regex to be denied. + */ + "denyList"?: Array; + + "filterType": string; +} + +export namespace UnifiedAgentUrlFilter { + export function getJsonObj(obj: UnifiedAgentUrlFilter, isParentJsonObj?: boolean): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringFilter.getJsonObj(obj) as UnifiedAgentUrlFilter)), + ...{} + }; + + return jsonObj; + } + export const filterType = "URL_FILTER"; + export function getDeserializedJsonObj( + obj: UnifiedAgentUrlFilter, + isParentJsonObj?: boolean + ): object { + const jsonObj = { + ...(isParentJsonObj + ? obj + : (model.UnifiedAgentMonitoringFilter.getDeserializedJsonObj( + obj + ) as UnifiedAgentUrlFilter)), + ...{} + }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-agent-url-scrape-target.ts b/lib/logging/lib/model/unified-agent-url-scrape-target.ts new file mode 100644 index 0000000000..0aa1d171a8 --- /dev/null +++ b/lib/logging/lib/model/unified-agent-url-scrape-target.ts @@ -0,0 +1,46 @@ +/** + * Logging Management API + * Use the Logging Management API to create, read, list, update, move and delete +log groups, log objects, log saved searches, and agent configurations. + +For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm). + + * OpenAPI spec version: 20200531 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Monitoring scrape object. + */ +export interface UnifiedAgentUrlScrapeTarget { + /** + * Custom name. + */ + "name"?: string; + /** + * URL from which the metrics are fetched. + */ + "url": string; +} + +export namespace UnifiedAgentUrlScrapeTarget { + export function getJsonObj(obj: UnifiedAgentUrlScrapeTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: UnifiedAgentUrlScrapeTarget): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/logging/lib/model/unified-js-on-parser.ts b/lib/logging/lib/model/unified-js-on-parser.ts index a513702940..414d85871c 100644 --- a/lib/logging/lib/model/unified-js-on-parser.ts +++ b/lib/logging/lib/model/unified-js-on-parser.ts @@ -30,6 +30,14 @@ export interface UnifiedJSONParser extends model.UnifiedAgentParser { * Process time value using the specified format. */ "timeFormat"?: string; + /** + * If true, a separator parameter can be further defined. + */ + "parseNested"?: boolean; + /** + * Keys of adjacent levels are joined by the separator. + */ + "separator"?: string; "parserType": string; } diff --git a/lib/logging/lib/model/update-unified-agent-configuration-details.ts b/lib/logging/lib/model/update-unified-agent-configuration-details.ts index 0868b89dfa..64c00a3a21 100644 --- a/lib/logging/lib/model/update-unified-agent-configuration-details.ts +++ b/lib/logging/lib/model/update-unified-agent-configuration-details.ts @@ -51,7 +51,9 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * Description for this resource. */ "description"?: string; - "serviceConfiguration": model.UnifiedAgentLoggingConfiguration; + "serviceConfiguration": + | model.UnifiedAgentLoggingConfiguration + | model.UnifiedAgentMonitoringConfigurationDetails; "groupAssociation"?: model.GroupAssociationDetails; } diff --git a/lib/logging/package.json b/lib/logging/package.json index e7a98eaaf9..1bb2d19bca 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 482718ed8d..25b2bd30df 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index 52cce195d9..d88d2135fd 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index b3e51699c3..51d8587a48 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.82.2", + "version": "2.83.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 c1d10ef3e1..df14639655 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Management Dashboard Service", "repository": { "type": "git", diff --git a/lib/marketplace/package.json b/lib/marketplace/package.json index 54f47d4730..72e9f96cfd 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 0d3429dfba..0e62b40367 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.82.2", + "version": "2.83.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 40a31f9e9a..a9685e2906 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/monitoring/lib/model/alarm-dimension-states-entry.ts b/lib/monitoring/lib/model/alarm-dimension-states-entry.ts index 5b77e04b8d..4c7518ec53 100644 --- a/lib/monitoring/lib/model/alarm-dimension-states-entry.ts +++ b/lib/monitoring/lib/model/alarm-dimension-states-entry.ts @@ -35,6 +35,13 @@ Example: {@code FIRING} * */ "status": AlarmDimensionStatesEntry.Status; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName": string; /** * Transition time associated with the alarm state entry. Format defined by RFC3339. *

diff --git a/lib/monitoring/lib/model/alarm-override.ts b/lib/monitoring/lib/model/alarm-override.ts new file mode 100644 index 0000000000..065a9e0199 --- /dev/null +++ b/lib/monitoring/lib/model/alarm-override.ts @@ -0,0 +1,116 @@ +/** + * Monitoring API + * Use the Monitoring API to manage metric queries and alarms for assessing the health, capacity, and performance of your cloud resources. +Endpoints vary by operation. For PostMetricData, use the `telemetry-ingestion` endpoints; for all other operations, use the `telemetry` endpoints. +For more information, see +[the Monitoring documentation](/iaas/Content/Monitoring/home.htm). + + * OpenAPI spec version: 20180401 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.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"); + +/** + * Values to use for an independent evaluation of the alarm. + * You can specify values for query, severity, body, and pending duration. + * When an alarm contains overrides, the Monitoring service evaluates each override in order, + * beginning with the first override in the array (index position {@code 0}), + * and then evaluates the alarm's base values ({@code ruleName} value of {@code BASE}) + * + */ +export interface AlarmOverride { + /** + * The period of time that the condition defined in the alarm must persist before the alarm state +* changes from \"OK\" to \"FIRING\". For example, a value of 5 minutes means that the +* alarm must persist in breaching the condition for five minutes before the alarm updates its +* state to \"FIRING\". +*

+The duration is specified as a string in ISO 8601 format ({@code PT10M} for ten minutes or {@code PT1H} +* for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. +*

+Under the default value of PT1M, the first evaluation that breaches the alarm updates the +* state to \"FIRING\". +*

+The alarm updates its status to \"OK\" when the breaching condition has been clear for +* the most recent minute. +*

+Example: {@code PT5M} +* + */ + "pendingDuration"?: string; + /** + * The perceived severity of the alarm with regard to the affected system. +*

+Example: {@code CRITICAL} +* + */ + "severity"?: string; + /** + * The human-readable content of the delivered alarm notification. Oracle recommends providing guidance +* to operators for resolving the alarm condition. Consider adding links to standard runbook +* practices. Avoid entering confidential information. +*

+Example: {@code High CPU usage alert. Follow runbook instructions for resolution.} +* + */ + "body"?: string; + /** + * A user-friendly description for this alarm override. Must be unique across all {@code ruleName} values for the alarm. + * + */ + "ruleName"?: string; + /** + * The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of +* the Monitoring service interprets results for each returned time series as Boolean values, +* where zero represents false and a non-zero value represents true. A true value means that the trigger +* rule condition has been met. The query must specify a metric, statistic, interval, and trigger +* rule (threshold or absence). Supported values for interval depend on the specified time range. More +* interval values are supported for smaller time ranges. You can optionally +* specify dimensions and grouping functions. Supported grouping functions: {@code grouping()}, {@code groupBy()}. +* For information about writing MQL expressions, see +* [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). +* For details about MQL, see +* [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). +* For available dimensions, review the metric definition for the supported service. See +* [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). +*

+Example of threshold alarm: +*

+ ----- +*

+ CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.groupBy(availabilityDomain).percentile(0.9) > 85 +*

+ ----- +*

+Example of absence alarm: +*

+ ----- +*

+ CpuUtilization[1m]{availabilityDomain=\"cumS:PHX-AD-1\"}.absent() +*

+ ----- +* + */ + "query"?: string; +} + +export namespace AlarmOverride { + export function getJsonObj(obj: AlarmOverride): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AlarmOverride): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/monitoring/lib/model/alarm-status-summary.ts b/lib/monitoring/lib/model/alarm-status-summary.ts index ab1c94d96c..c837e164f9 100644 --- a/lib/monitoring/lib/model/alarm-status-summary.ts +++ b/lib/monitoring/lib/model/alarm-status-summary.ts @@ -53,6 +53,13 @@ Example: {@code CRITICAL} * */ "severity": AlarmStatusSummary.Severity; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName": string; /** * Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. * Note: A three-minute lag for this value accounts for any late-arriving metrics. diff --git a/lib/monitoring/lib/model/alarm-summary.ts b/lib/monitoring/lib/model/alarm-summary.ts index 5ce0d6035c..ea9403ba0a 100644 --- a/lib/monitoring/lib/model/alarm-summary.ts +++ b/lib/monitoring/lib/model/alarm-summary.ts @@ -152,6 +152,28 @@ Example: {@code DELETED} * */ "lifecycleState": string; + /** + * A set of overrides that control evaluations of the alarm. +*

+Each override can specify values for query, severity, body, and pending duration. +* When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position {@code 0}), +* and then evaluates the alarm's base values ({@code ruleName} value of {@code BASE}). +* + */ + "overrides"?: Array; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName"?: string; + /** + * The version of the alarm notification to be delivered. Allowed value: {@code 1.X} + * The value must start with a number (up to four digits), followed by a period and an uppercase X. + * + */ + "notificationVersion"?: string; } export namespace AlarmSummary { @@ -171,7 +193,13 @@ export namespace AlarmSummary { const jsonObj = { ...obj, ...{ - "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined + "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getJsonObj(item); + }) + : undefined } }; @@ -183,6 +211,12 @@ export namespace AlarmSummary { ...{ "suppression": obj.suppression ? model.Suppression.getDeserializedJsonObj(obj.suppression) + : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/monitoring/lib/model/alarm.ts b/lib/monitoring/lib/model/alarm.ts index 7136a0e923..854ab30b71 100644 --- a/lib/monitoring/lib/model/alarm.ts +++ b/lib/monitoring/lib/model/alarm.ts @@ -216,6 +216,28 @@ Example: {@code true} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * A set of overrides that control evaluations of the alarm. +*

+Each override can specify values for query, severity, body, and pending duration. +* When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position {@code 0}), +* and then evaluates the alarm's base values ({@code ruleName} value of {@code BASE}). +* + */ + "overrides"?: Array; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName"?: string; + /** + * The version of the alarm notification to be delivered. Allowed value: {@code 1.X} + * The value must start with a number (up to four digits), followed by a period and an uppercase X. + * + */ + "notificationVersion"?: string; /** * The current lifecycle state of the alarm. *

@@ -278,7 +300,13 @@ export namespace Alarm { const jsonObj = { ...obj, ...{ - "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined + "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getJsonObj(item); + }) + : undefined } }; @@ -290,6 +318,12 @@ export namespace Alarm { ...{ "suppression": obj.suppression ? model.Suppression.getDeserializedJsonObj(obj.suppression) + : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/monitoring/lib/model/create-alarm-details.ts b/lib/monitoring/lib/model/create-alarm-details.ts index 63c335d6f2..6c3d9ee7c7 100644 --- a/lib/monitoring/lib/model/create-alarm-details.ts +++ b/lib/monitoring/lib/model/create-alarm-details.ts @@ -203,6 +203,28 @@ Example: {@code true} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * A set of overrides that control evaluations of the alarm. +*

+Each override can specify values for query, severity, body, and pending duration. +* When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position {@code 0}), +* and then evaluates the alarm's base values ({@code ruleName} value of {@code BASE}). +* + */ + "overrides"?: Array; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName"?: string; + /** + * The version of the alarm notification to be delivered. Allowed value: {@code 1.X} + * The value must start with a number (up to four digits), followed by a period and an uppercase X. + * + */ + "notificationVersion"?: string; } export namespace CreateAlarmDetails { @@ -216,7 +238,13 @@ export namespace CreateAlarmDetails { const jsonObj = { ...obj, ...{ - "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined + "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getJsonObj(item); + }) + : undefined } }; @@ -228,6 +256,12 @@ export namespace CreateAlarmDetails { ...{ "suppression": obj.suppression ? model.Suppression.getDeserializedJsonObj(obj.suppression) + : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/monitoring/lib/model/index.ts b/lib/monitoring/lib/model/index.ts index 31585abeba..92fbe0dc81 100644 --- a/lib/monitoring/lib/model/index.ts +++ b/lib/monitoring/lib/model/index.ts @@ -27,6 +27,8 @@ import * as AlarmHistoryCollection from "./alarm-history-collection"; export import AlarmHistoryCollection = AlarmHistoryCollection.AlarmHistoryCollection; import * as AlarmHistoryEntry from "./alarm-history-entry"; export import AlarmHistoryEntry = AlarmHistoryEntry.AlarmHistoryEntry; +import * as AlarmOverride from "./alarm-override"; +export import AlarmOverride = AlarmOverride.AlarmOverride; import * as AlarmStatusSummary from "./alarm-status-summary"; export import AlarmStatusSummary = AlarmStatusSummary.AlarmStatusSummary; import * as AlarmSummary from "./alarm-summary"; diff --git a/lib/monitoring/lib/model/update-alarm-details.ts b/lib/monitoring/lib/model/update-alarm-details.ts index 5a4a283da2..50f03e8f95 100644 --- a/lib/monitoring/lib/model/update-alarm-details.ts +++ b/lib/monitoring/lib/model/update-alarm-details.ts @@ -202,6 +202,28 @@ Example: {@code true} * */ "definedTags"?: { [key: string]: { [key: string]: any } }; + /** + * A set of overrides that control evaluations of the alarm. +*

+Each override can specify values for query, severity, body, and pending duration. +* When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position {@code 0}), +* and then evaluates the alarm's base values ({@code ruleName} value of {@code BASE}). +* + */ + "overrides"?: Array; + /** + * Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. + * A valid ruleName value starts with an alphabetic character and includes only alphanumeric characters, underscores and square brackets. + * Minimum number of characters: 3. Default value is {@code BASE}. For information about alarm overrides, see {@link #alarmOverride(AlarmOverrideRequest) alarmOverride}. + * + */ + "ruleName"?: string; + /** + * The version of the alarm notification to be delivered. Allowed value: {@code 1.X} + * The value must start with a number (up to four digits), followed by a period and an uppercase X. + * + */ + "notificationVersion"?: string; } export namespace UpdateAlarmDetails { @@ -215,7 +237,13 @@ export namespace UpdateAlarmDetails { const jsonObj = { ...obj, ...{ - "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined + "suppression": obj.suppression ? model.Suppression.getJsonObj(obj.suppression) : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getJsonObj(item); + }) + : undefined } }; @@ -227,6 +255,12 @@ export namespace UpdateAlarmDetails { ...{ "suppression": obj.suppression ? model.Suppression.getDeserializedJsonObj(obj.suppression) + : undefined, + + "overrides": obj.overrides + ? obj.overrides.map(item => { + return model.AlarmOverride.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/monitoring/lib/request/get-alarm-history-request.ts b/lib/monitoring/lib/request/get-alarm-history-request.ts index 12b83ee0f3..3f9f355d1b 100644 --- a/lib/monitoring/lib/request/get-alarm-history-request.ts +++ b/lib/monitoring/lib/request/get-alarm-history-request.ts @@ -30,8 +30,9 @@ export interface GetAlarmHistoryRequest extends common.BaseRequest { */ "opcRequestId"?: string; /** - * The type of history entries to retrieve. State history (STATE_HISTORY) or state transition history (STATE_TRANSITION_HISTORY). -* If not specified, entries of both types are retrieved. + * The type of history entries to retrieve. +* State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). +* If not specified, entries of all types are retrieved. *

Example: {@code STATE_HISTORY} * @@ -74,6 +75,8 @@ Example: {@code 2023-01-02T01:00:00.789Z} export namespace GetAlarmHistoryRequest { export enum AlarmHistorytype { StateHistory = "STATE_HISTORY", - StateTransitionHistory = "STATE_TRANSITION_HISTORY" + StateTransitionHistory = "STATE_TRANSITION_HISTORY", + RuleHistory = "RULE_HISTORY", + RuleTransitionHistory = "RULE_TRANSITION_HISTORY" } } diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index f098c0540f..09c8c88560 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 2186bf9b5a..0979e211d9 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index dd08603c1a..20794b29ae 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/lib/client.ts b/lib/networkloadbalancer/lib/client.ts index 8be1696d56..24bd41b7a5 100644 --- a/lib/networkloadbalancer/lib/client.ts +++ b/lib/networkloadbalancer/lib/client.ts @@ -220,7 +220,7 @@ export class NetworkLoadBalancerClient { * Moves a network load balancer into a different compartment within the same tenancy. For information about moving resources * between compartments, see [Moving Resources to a Different Compartment](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ChangeNetworkLoadBalancerCompartmentRequest * @return ChangeNetworkLoadBalancerCompartmentResponse * @throws OciError when an error occurs @@ -249,7 +249,7 @@ export class NetworkLoadBalancerClient { "if-match": changeNetworkLoadBalancerCompartmentRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, changeNetworkLoadBalancerCompartmentRequest.retryConfiguration, @@ -302,7 +302,7 @@ export class NetworkLoadBalancerClient { /** * Adds a backend server to a backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateBackendRequest * @return CreateBackendResponse * @throws OciError when an error occurs @@ -330,7 +330,7 @@ export class NetworkLoadBalancerClient { "if-match": createBackendRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackendRequest.retryConfiguration, @@ -383,7 +383,7 @@ export class NetworkLoadBalancerClient { /** * Adds a backend set to a network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateBackendSetRequest * @return CreateBackendSetResponse * @throws OciError when an error occurs @@ -410,7 +410,7 @@ export class NetworkLoadBalancerClient { "if-match": createBackendSetRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createBackendSetRequest.retryConfiguration, @@ -463,7 +463,7 @@ export class NetworkLoadBalancerClient { /** * Adds a listener to a network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateListenerRequest * @return CreateListenerResponse * @throws OciError when an error occurs @@ -490,7 +490,7 @@ export class NetworkLoadBalancerClient { "if-match": createListenerRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createListenerRequest.retryConfiguration, @@ -549,7 +549,7 @@ export class NetworkLoadBalancerClient { /** * Creates a network load balancer. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param CreateNetworkLoadBalancerRequest * @return CreateNetworkLoadBalancerResponse * @throws OciError when an error occurs @@ -573,7 +573,7 @@ export class NetworkLoadBalancerClient { "opc-request-id": createNetworkLoadBalancerRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createNetworkLoadBalancerRequest.retryConfiguration, @@ -635,7 +635,7 @@ export class NetworkLoadBalancerClient { /** * Removes a backend server from a given network load balancer and backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteBackendRequest * @return DeleteBackendResponse * @throws OciError when an error occurs @@ -663,7 +663,7 @@ export class NetworkLoadBalancerClient { "if-match": deleteBackendRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackendRequest.retryConfiguration, @@ -715,7 +715,7 @@ export class NetworkLoadBalancerClient { *

Before you can delete a backend set, you must remove it from any active listeners. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteBackendSetRequest * @return DeleteBackendSetResponse * @throws OciError when an error occurs @@ -742,7 +742,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": deleteBackendSetRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteBackendSetRequest.retryConfiguration, @@ -790,7 +790,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Deletes a listener from a network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteListenerRequest * @return DeleteListenerResponse * @throws OciError when an error occurs @@ -817,7 +817,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": deleteListenerRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteListenerRequest.retryConfiguration, @@ -870,7 +870,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Deletes a network load balancer resource by identifier. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param DeleteNetworkLoadBalancerRequest * @return DeleteNetworkLoadBalancerResponse * @throws OciError when an error occurs @@ -896,7 +896,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": deleteNetworkLoadBalancerRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteNetworkLoadBalancerRequest.retryConfiguration, @@ -944,7 +944,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the configuration information for the specified backend server. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetBackendRequest * @return GetBackendResponse * @throws OciError when an error occurs @@ -971,7 +971,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": getBackendRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendRequest.retryConfiguration, @@ -1024,7 +1024,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the current health status of the specified backend server. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetBackendHealthRequest * @return GetBackendHealthResponse * @throws OciError when an error occurs @@ -1051,7 +1051,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": getBackendHealthRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendHealthRequest.retryConfiguration, @@ -1099,7 +1099,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the configuration information for the specified backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetBackendSetRequest * @return GetBackendSetResponse * @throws OciError when an error occurs @@ -1126,7 +1126,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": getBackendSetRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendSetRequest.retryConfiguration, @@ -1178,7 +1178,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the health status for the specified backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetBackendSetHealthRequest * @return GetBackendSetHealthResponse * @throws OciError when an error occurs @@ -1204,7 +1204,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": getBackendSetHealthRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getBackendSetHealthRequest.retryConfiguration, @@ -1256,7 +1256,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the health check policy information for a given network load balancer and backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetHealthCheckerRequest * @return GetHealthCheckerResponse * @throws OciError when an error occurs @@ -1284,7 +1284,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": getHealthCheckerRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getHealthCheckerRequest.retryConfiguration, @@ -1337,7 +1337,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves listener properties associated with a given network load balancer and listener name. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetListenerRequest * @return GetListenerResponse * @throws OciError when an error occurs @@ -1363,7 +1363,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": getListenerRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getListenerRequest.retryConfiguration, @@ -1415,7 +1415,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves network load balancer configuration information by identifier. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetNetworkLoadBalancerRequest * @return GetNetworkLoadBalancerResponse * @throws OciError when an error occurs @@ -1441,7 +1441,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": getNetworkLoadBalancerRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNetworkLoadBalancerRequest.retryConfiguration, @@ -1493,7 +1493,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the health status for the specified network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param GetNetworkLoadBalancerHealthRequest * @return GetNetworkLoadBalancerHealthResponse * @throws OciError when an error occurs @@ -1520,7 +1520,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": getNetworkLoadBalancerHealthRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getNetworkLoadBalancerHealthRequest.retryConfiguration, @@ -1567,7 +1567,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Retrieves the details of the work request with the given identifier. - * This operation does not retry by default if the user has not defined a retry configuration. + * 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 @@ -1592,7 +1592,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": getWorkRequestRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getWorkRequestRequest.retryConfiguration, @@ -1644,7 +1644,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists all backend sets associated with a given network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListBackendSetsRequest * @return ListBackendSetsResponse * @throws OciError when an error occurs @@ -1675,7 +1675,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": listBackendSetsRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackendSetsRequest.retryConfiguration, @@ -1727,7 +1727,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists the backend servers for a given network load balancer and backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListBackendsRequest * @return ListBackendsResponse * @throws OciError when an error occurs @@ -1758,7 +1758,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": listBackendsRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listBackendsRequest.retryConfiguration, @@ -1810,7 +1810,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists all listeners associated with a given network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListListenersRequest * @return ListListenersResponse * @throws OciError when an error occurs @@ -1841,7 +1841,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-none-match": listListenersRequest.ifNoneMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listListenersRequest.retryConfiguration, @@ -1893,7 +1893,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists the summary health statuses for all network load balancers in the specified compartment. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListNetworkLoadBalancerHealthsRequest * @return ListNetworkLoadBalancerHealthsResponse * @throws OciError when an error occurs @@ -1924,7 +1924,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listNetworkLoadBalancerHealthsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancerHealthsRequest.retryConfiguration, @@ -1977,7 +1977,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Returns a list of network load balancers. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListNetworkLoadBalancersRequest * @return ListNetworkLoadBalancersResponse * @throws OciError when an error occurs @@ -2008,7 +2008,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listNetworkLoadBalancersRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersRequest.retryConfiguration, @@ -2060,7 +2060,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists the available network load balancer policies. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListNetworkLoadBalancersPoliciesRequest * @return ListNetworkLoadBalancersPoliciesResponse * @throws OciError when an error occurs @@ -2090,7 +2090,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listNetworkLoadBalancersPoliciesRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersPoliciesRequest.retryConfiguration, @@ -2144,7 +2144,7 @@ Before you can delete a backend set, you must remove it from any active listener * This API has been deprecated so it won't return the updated list of supported protocls. * Lists all supported traffic protocols. * - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param ListNetworkLoadBalancersProtocolsRequest * @return ListNetworkLoadBalancersProtocolsResponse * @throws OciError when an error occurs @@ -2174,7 +2174,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listNetworkLoadBalancersProtocolsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listNetworkLoadBalancersProtocolsRequest.retryConfiguration, @@ -2227,7 +2227,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Return a (paginated) list of errors for a given work request. * - * This operation does not retry by default if the user has not defined a retry configuration. + * 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 @@ -2256,7 +2256,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listWorkRequestErrorsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestErrorsRequest.retryConfiguration, @@ -2309,7 +2309,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Returns a (paginated) list of logs for a given work request. * - * This operation does not retry by default if the user has not defined a retry configuration. + * 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 @@ -2338,7 +2338,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listWorkRequestLogsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestLogsRequest.retryConfiguration, @@ -2390,7 +2390,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Lists all work requests. - * This operation does not retry by default if the user has not defined a retry configuration. + * 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 @@ -2417,7 +2417,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": listWorkRequestsRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listWorkRequestsRequest.retryConfiguration, @@ -2469,7 +2469,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates the configuration of a backend server within the specified backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateBackendRequest * @return UpdateBackendResponse * @throws OciError when an error occurs @@ -2498,7 +2498,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": updateBackendRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackendRequest.retryConfiguration, @@ -2552,7 +2552,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates a backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateBackendSetRequest * @return UpdateBackendSetResponse * @throws OciError when an error occurs @@ -2580,7 +2580,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": updateBackendSetRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateBackendSetRequest.retryConfiguration, @@ -2633,7 +2633,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates the health check policy for a given network load balancer and backend set. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateHealthCheckerRequest * @return UpdateHealthCheckerResponse * @throws OciError when an error occurs @@ -2661,7 +2661,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": updateHealthCheckerRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateHealthCheckerRequest.retryConfiguration, @@ -2715,7 +2715,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates a listener for a given network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateListenerRequest * @return UpdateListenerResponse * @throws OciError when an error occurs @@ -2743,7 +2743,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": updateListenerRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateListenerRequest.retryConfiguration, @@ -2796,7 +2796,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates the network load balancer - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateNetworkLoadBalancerRequest * @return UpdateNetworkLoadBalancerResponse * @throws OciError when an error occurs @@ -2822,7 +2822,7 @@ Before you can delete a backend set, you must remove it from any active listener "opc-request-id": updateNetworkLoadBalancerRequest.opcRequestId }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNetworkLoadBalancerRequest.retryConfiguration, @@ -2875,7 +2875,7 @@ Before you can delete a backend set, you must remove it from any active listener /** * Updates the network security groups associated with the specified network load balancer. - * This operation does not retry by default if the user has not defined a retry configuration. + * This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user. * @param UpdateNetworkSecurityGroupsRequest * @return UpdateNetworkSecurityGroupsResponse * @throws OciError when an error occurs @@ -2902,7 +2902,7 @@ Before you can delete a backend set, you must remove it from any active listener "if-match": updateNetworkSecurityGroupsRequest.ifMatch }; - const specRetryConfiguration = common.NoRetryConfigurationDetails; + const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateNetworkSecurityGroupsRequest.retryConfiguration, diff --git a/lib/networkloadbalancer/lib/model/backend-details.ts b/lib/networkloadbalancer/lib/model/backend-details.ts index 956d52b3f8..075adb99f9 100644 --- a/lib/networkloadbalancer/lib/model/backend-details.ts +++ b/lib/networkloadbalancer/lib/model/backend-details.ts @@ -50,7 +50,7 @@ Example: {@code 8080} * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections * as a server weighted '1'. * For more information about load balancing policies, see -* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies). *

Example: {@code 3} * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. @@ -65,7 +65,7 @@ Example: {@code false} */ "isBackup"?: boolean; /** - * Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no + * Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no * incoming traffic. *

Example: {@code false} diff --git a/lib/networkloadbalancer/lib/model/backend-set-details.ts b/lib/networkloadbalancer/lib/model/backend-set-details.ts index d9e3961d0e..87093545d9 100644 --- a/lib/networkloadbalancer/lib/model/backend-set-details.ts +++ b/lib/networkloadbalancer/lib/model/backend-set-details.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration of a network load balancer backend set. * For more information about backend set configuration, see - * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). + * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). *

**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * diff --git a/lib/networkloadbalancer/lib/model/backend-set-summary.ts b/lib/networkloadbalancer/lib/model/backend-set-summary.ts index 58e15bc781..5a69b81379 100644 --- a/lib/networkloadbalancer/lib/model/backend-set-summary.ts +++ b/lib/networkloadbalancer/lib/model/backend-set-summary.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration of a network load balancer backend set. * For more information about backend set configuration, see - * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). + * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). *

**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * diff --git a/lib/networkloadbalancer/lib/model/backend-set.ts b/lib/networkloadbalancer/lib/model/backend-set.ts index b69d9a37fd..b9dd08f6f5 100644 --- a/lib/networkloadbalancer/lib/model/backend-set.ts +++ b/lib/networkloadbalancer/lib/model/backend-set.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration of a network load balancer backend set. * For more information about backend set configuration, see - * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). + * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). *

**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * diff --git a/lib/networkloadbalancer/lib/model/backend-summary.ts b/lib/networkloadbalancer/lib/model/backend-summary.ts index 76e817e903..de94bc16f0 100644 --- a/lib/networkloadbalancer/lib/model/backend-summary.ts +++ b/lib/networkloadbalancer/lib/model/backend-summary.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The configuration of a backend server that is a member of a network load balancer backend set. - * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). + * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). * */ export interface BackendSummary { @@ -51,14 +51,14 @@ Example: {@code 8080} * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections * as a server weighted '1'. * For more information about load balancing policies, see -* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies). *

Example: {@code 3} * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "weight"?: number; /** - * Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no + * Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no * incoming traffic. *

Example: {@code false} diff --git a/lib/networkloadbalancer/lib/model/backend.ts b/lib/networkloadbalancer/lib/model/backend.ts index 6e0dc5d6ae..b5fec47652 100644 --- a/lib/networkloadbalancer/lib/model/backend.ts +++ b/lib/networkloadbalancer/lib/model/backend.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The configuration of a backend server that is a member of a network load balancer backend set. - * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). + * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). * */ export interface Backend { @@ -51,7 +51,7 @@ Example: {@code 8080} * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections * as a server weighted '1'. * For more information about load balancing policies, see -* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies). *

Example: {@code 3} * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/networkloadbalancer/lib/model/create-backend-details.ts b/lib/networkloadbalancer/lib/model/create-backend-details.ts index d4ad3c4e50..a2dbfbe002 100644 --- a/lib/networkloadbalancer/lib/model/create-backend-details.ts +++ b/lib/networkloadbalancer/lib/model/create-backend-details.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The configuration of a backend server that is a member of a network load balancer backend set. - * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendservers.htm). + * For more information, see [Managing Backend Servers](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendServers/backend-server-management.htm). * */ export interface CreateBackendDetails { @@ -50,7 +50,7 @@ Example: {@code 8080} * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections * as a server weighted '1'. * For more information about load balancing policies, see -* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies). *

Example: {@code 3} * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/networkloadbalancer/lib/model/create-backend-set-details.ts b/lib/networkloadbalancer/lib/model/create-backend-set-details.ts index 2489ac9497..69609a4fd2 100644 --- a/lib/networkloadbalancer/lib/model/create-backend-set-details.ts +++ b/lib/networkloadbalancer/lib/model/create-backend-set-details.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration details for creating a backend set in a network load balancer. * For more information about backend set configuration, see - * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). + * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). *

**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * diff --git a/lib/networkloadbalancer/lib/model/create-listener-details.ts b/lib/networkloadbalancer/lib/model/create-listener-details.ts index 4e993edc3e..0f68012468 100644 --- a/lib/networkloadbalancer/lib/model/create-listener-details.ts +++ b/lib/networkloadbalancer/lib/model/create-listener-details.ts @@ -16,8 +16,8 @@ import common = require("oci-common"); /** * The configuration of the listener. - * For more information about backend set configuration, see - * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). + * For more information about listener configuration, see + * [Managing Network Load Balancer Listeners](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm). * */ export interface CreateListenerDetails { @@ -44,10 +44,9 @@ Example: {@code 80} "port": number; /** * The protocol on which the listener accepts connection requests. -* For public network load balancers, ANY protocol refers to TCP/UDP. +* For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). -* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} -* operation. +* \"ListNetworkLoadBalancersProtocols\" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. *

Example: {@code TCP} * diff --git a/lib/networkloadbalancer/lib/model/create-network-load-balancer-details.ts b/lib/networkloadbalancer/lib/model/create-network-load-balancer-details.ts index 8eacc05515..611d08345e 100644 --- a/lib/networkloadbalancer/lib/model/create-network-load-balancer-details.ts +++ b/lib/networkloadbalancer/lib/model/create-network-load-balancer-details.ts @@ -16,9 +16,9 @@ import common = require("oci-common"); /** * The properties that define a network load balancer. For more information, see -* [Managing a network load balancer](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm). +* [Managing a network load balancer](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/NetworkLoadBalancers/network-load-balancer-management.htm). *

-To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then +To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, then * contact an administrator. If you are an administrator who writes policies to give users access, then see * [Getting Started with Policies](https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm). *

@@ -42,6 +42,12 @@ export interface CreateNetworkLoadBalancerDetails { * */ "isPreserveSourceDestination"?: boolean; + /** + * This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. + * This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. + * + */ + "isSymmetricHashEnabled"?: boolean; /** * An array of reserved Ips. * @@ -57,7 +63,7 @@ If \"false\", then the service assigns a public IP address to the network load b A public network load balancer is accessible from the internet, depending on the * [security list rules](https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and * private network load balancers, -* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). +* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm). * This value is true by default. *

Example: {@code true} diff --git a/lib/networkloadbalancer/lib/model/health-checker-details.ts b/lib/networkloadbalancer/lib/model/health-checker-details.ts index 6553597818..9dad39ad05 100644 --- a/lib/networkloadbalancer/lib/model/health-checker-details.ts +++ b/lib/networkloadbalancer/lib/model/health-checker-details.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The health check policy configuration. - * For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/Content/Balance/Tasks/editinghealthcheck.htm). + * For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/HealthCheckPolicies/health-check-policy-management.htm). * */ export interface HealthCheckerDetails { diff --git a/lib/networkloadbalancer/lib/model/health-checker.ts b/lib/networkloadbalancer/lib/model/health-checker.ts index 6a93577caa..632af2b7f5 100644 --- a/lib/networkloadbalancer/lib/model/health-checker.ts +++ b/lib/networkloadbalancer/lib/model/health-checker.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The health check policy configuration. - * For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/Content/Balance/Tasks/editinghealthcheck.htm). + * For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/HealthCheckPolicies/health-check-policy-management.htm). * */ export interface HealthChecker { diff --git a/lib/networkloadbalancer/lib/model/listener-details.ts b/lib/networkloadbalancer/lib/model/listener-details.ts index 3a6e36bf14..9989cdf736 100644 --- a/lib/networkloadbalancer/lib/model/listener-details.ts +++ b/lib/networkloadbalancer/lib/model/listener-details.ts @@ -16,8 +16,8 @@ import common = require("oci-common"); /** * The listener's configuration. - * For more information about backend set configuration, see - * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). + * For more information about listener configuration, see + * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm). * */ export interface ListenerDetails { @@ -48,10 +48,9 @@ Example: {@code 80} "port": number; /** * The protocol on which the listener accepts connection requests. -* For public network load balancers, ANY protocol refers to TCP/UDP. +* For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). -* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} -* operation. +* \"ListNetworkLoadBalancersProtocols\" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. *

Example: {@code TCP} * diff --git a/lib/networkloadbalancer/lib/model/listener-summary.ts b/lib/networkloadbalancer/lib/model/listener-summary.ts index d20e5175ea..3595c99ac9 100644 --- a/lib/networkloadbalancer/lib/model/listener-summary.ts +++ b/lib/networkloadbalancer/lib/model/listener-summary.ts @@ -16,8 +16,8 @@ import common = require("oci-common"); /** * The configuration of the listener. - * For more information about backend set configuration, see - * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). + * For more information about listener configuration, see + * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm). * */ export interface ListenerSummary { @@ -44,10 +44,9 @@ Example: {@code 80} "port": number; /** * The protocol on which the listener accepts connection requests. -* For public network load balancers, ANY protocol refers to TCP/UDP. +* For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). -* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} -* operation. +* \"ListNetworkLoadBalancersProtocols\" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. *

Example: {@code TCP} * diff --git a/lib/networkloadbalancer/lib/model/listener.ts b/lib/networkloadbalancer/lib/model/listener.ts index 5e4eef1e8f..2a6a38dd3a 100644 --- a/lib/networkloadbalancer/lib/model/listener.ts +++ b/lib/networkloadbalancer/lib/model/listener.ts @@ -16,8 +16,8 @@ import common = require("oci-common"); /** * The congfiguration of the listener. - * For more information about backend set configuration, see - * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). + * For more information about listener configuration, see + * [Managing Load Balancer Listeners](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm). * */ export interface Listener { @@ -44,10 +44,9 @@ Example: {@code 80} "port": number; /** * The protocol on which the listener accepts connection requests. -* For public network load balancers, ANY protocol refers to TCP/UDP. +* For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). -* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} -* operation. +* \"ListNetworkLoadBalancersProtocols\" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. *

Example: {@code TCP} * diff --git a/lib/networkloadbalancer/lib/model/network-load-balancer-summary.ts b/lib/networkloadbalancer/lib/model/network-load-balancer-summary.ts index 81297c8c9a..8d1a286aec 100644 --- a/lib/networkloadbalancer/lib/model/network-load-balancer-summary.ts +++ b/lib/networkloadbalancer/lib/model/network-load-balancer-summary.ts @@ -76,7 +76,7 @@ If \"false\", then the service assigns a public IP address to the network load b A public network load balancer is accessible from the internet, depending the * [security list rules](https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and * private network load balancers, -* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). +* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm). * This value is true by default. *

Example: {@code true} @@ -89,6 +89,12 @@ Example: {@code true} * */ "isPreserveSourceDestination"?: boolean; + /** + * This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. + * This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. + * + */ + "isSymmetricHashEnabled"?: boolean; /** * The subnet in which the network load balancer is spawned [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).\" */ diff --git a/lib/networkloadbalancer/lib/model/network-load-balancer.ts b/lib/networkloadbalancer/lib/model/network-load-balancer.ts index e90d645679..f0a2d26033 100644 --- a/lib/networkloadbalancer/lib/model/network-load-balancer.ts +++ b/lib/networkloadbalancer/lib/model/network-load-balancer.ts @@ -16,7 +16,7 @@ import common = require("oci-common"); /** * The properties that define a network load balancer. For more information, see -* [Managing a network load balancer](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingloadbalancer.htm). +* [Managing a network load balancer](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/NetworkLoadBalancers/network-load-balancer-management.htm). *

To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, * contact an administrator. If you are an administrator who writes policies to give users access, then see @@ -86,7 +86,7 @@ If \"false\", then the service assigns a public IP address to the network load b A public network load balancer is accessible from the internet, depending the * [security list rules](https://docs.cloud.oracle.com/Content/network/Concepts/securitylists.htm) for your virtual cloudn network. For more information about public and * private network load balancers, -* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). +* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/overview.htm). * This value is true by default. *

Example: {@code true} @@ -99,6 +99,12 @@ Example: {@code true} * */ "isPreserveSourceDestination"?: boolean; + /** + * This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. + * This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. + * + */ + "isSymmetricHashEnabled"?: boolean; /** * The subnet in which the network load balancer is spawned [OCIDs](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).\" */ diff --git a/lib/networkloadbalancer/lib/model/operation-type.ts b/lib/networkloadbalancer/lib/model/operation-type.ts index 4f5c3e5927..aba16c8d72 100644 --- a/lib/networkloadbalancer/lib/model/operation-type.ts +++ b/lib/networkloadbalancer/lib/model/operation-type.ts @@ -35,6 +35,7 @@ export enum OperationType { ChangeCompartment = "CHANGE_COMPARTMENT", AttachNlbToPod = "ATTACH_NLB_TO_POD", DetachNlbFromPod = "DETACH_NLB_FROM_POD", + LiveMigration = "LIVE_MIGRATION", /** * This value is used if a service returns a value for this enum that is not recognized by this diff --git a/lib/networkloadbalancer/lib/model/update-backend-details.ts b/lib/networkloadbalancer/lib/model/update-backend-details.ts index 5d8092190f..85292dd60c 100644 --- a/lib/networkloadbalancer/lib/model/update-backend-details.ts +++ b/lib/networkloadbalancer/lib/model/update-backend-details.ts @@ -23,7 +23,7 @@ export interface UpdateBackendDetails { * proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections * as a server weighted '1'. * For more information about load balancing policies, see -* [How Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm). +* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/introducton.htm#Policies). *

Example: {@code 3} * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/networkloadbalancer/lib/model/update-backend-set-details.ts b/lib/networkloadbalancer/lib/model/update-backend-set-details.ts index d6a5d3c1a5..487239e99e 100644 --- a/lib/networkloadbalancer/lib/model/update-backend-set-details.ts +++ b/lib/networkloadbalancer/lib/model/update-backend-set-details.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration details for updating a load balancer backend set. * For more information about backend set configuration, see - * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm). + * [Managing Backend Sets](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/BackendSets/backend-set-management.htm). *

**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. * diff --git a/lib/networkloadbalancer/lib/model/update-listener-details.ts b/lib/networkloadbalancer/lib/model/update-listener-details.ts index d5ac52ac3a..b3dc8682cd 100644 --- a/lib/networkloadbalancer/lib/model/update-listener-details.ts +++ b/lib/networkloadbalancer/lib/model/update-listener-details.ts @@ -17,7 +17,7 @@ import common = require("oci-common"); /** * The configuration of the listener. * For more information about backend set configuration, see - * [Managing Network Load Balancer Listeners](https://docs.cloud.oracle.com/Content/Balance/Tasks/managinglisteners.htm). + * [Managing Network Load Balancer Listeners](https://docs.cloud.oracle.com/Content/NetworkLoadBalancer/Listeners/listener-management.htm). * */ export interface UpdateListenerDetails { @@ -37,10 +37,9 @@ Example: {@code 80} "port"?: number; /** * The protocol on which the listener accepts connection requests. -* For public network load balancers, ANY protocol refers to TCP/UDP. +* For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. * For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). -* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols} -* operation. +* \"ListNetworkLoadBalancersProtocols\" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. *

Example: {@code TCP} * diff --git a/lib/networkloadbalancer/lib/model/update-network-load-balancer-details.ts b/lib/networkloadbalancer/lib/model/update-network-load-balancer-details.ts index 0274fa35d5..10d4f0ffff 100644 --- a/lib/networkloadbalancer/lib/model/update-network-load-balancer-details.ts +++ b/lib/networkloadbalancer/lib/model/update-network-load-balancer-details.ts @@ -35,6 +35,12 @@ Example: {@code example_network_load_balancer} * */ "isPreserveSourceDestination"?: boolean; + /** + * This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. + * This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT. + * + */ + "isSymmetricHashEnabled"?: boolean; /** * IP version associated with the NLB. */ diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index b4397e9390..9f8a5a8741 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.82.2", + "version": "2.83.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 d6779f3de3..47f2413698 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index ccf4632e2e..e123f1bda0 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 6d26e2e7d2..92ac1996d3 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 8443e013d5..fffe233b74 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.82.2", + "version": "2.83.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 6982409373..9d4273d5f4 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index dfe71a187f..2c38d81229 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index a80e5184cd..24fffb7f5c 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 5a5784820e..29bfcacc52 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index aa38cf2769..db9368f6bf 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index 9f4cab5ecb..2699539556 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index d9ae8d112e..646117ff6d 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.82.2", + "version": "2.83.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 794a6147f4..8a27ab89d2 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 75f998c075..b4d07e2874 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagement/package.json b/lib/osmanagement/package.json index 44d3a8eeff..5adcc4f127 100644 --- a/lib/osmanagement/package.json +++ b/lib/osmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagement", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for OS Management", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 46a0422e5b..19f422db02 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.82.2", + "version": "2.83.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 fba1ff73b8..c9d55fa30f 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.82.2", + "version": "2.83.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 29d6a5b0e9..515cb033a7 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.82.2", + "version": "2.83.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 812c5ac4e0..60e0ebca3e 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.82.2", + "version": "2.83.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 7d9a8edcf0..d188c8a576 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.82.2", + "version": "2.83.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 d6929a0dfe..4520cb2432 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.82.2", + "version": "2.83.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 383f92307a..d9e2d8fc7c 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index ad0e032b6a..a4c99e82e8 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 2c943ec0b0..926f0e3ce0 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index 424ec4660c..1bbe1a8636 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index 1ffd50961f..7b04a76138 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index 01208357f3..f9b9377d56 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.82.2", + "version": "2.83.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 69154fee8d..d8a6cbfd2b 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 66f0fdd662..cf50581416 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index 6889cea1ec..6590672d16 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 62937fc247..dc46d9206c 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.82.2", + "version": "2.83.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 e5e5120c7c..aebfb3ebdf 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/servicemesh/package.json b/lib/servicemesh/package.json index 1b544974bb..6374661e63 100644 --- a/lib/servicemesh/package.json +++ b/lib/servicemesh/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemesh", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Service Mesh Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index e223671582..dca45b0172 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.82.2", + "version": "2.83.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 8d5fadc15f..8a8599cafd 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index 8670628d9a..dc1d346e1b 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.82.2", + "version": "2.83.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 63a05b0314..127c4321aa 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.82.2", + "version": "2.83.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 c5320c29af..968a6d93e3 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index deab855fe9..1a76878c74 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.82.2", + "version": "2.83.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 e6bc9cdb27..d5eccc2436 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index dd2a3cf6c2..52baee0f56 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.82.2", + "version": "2.83.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 5471c1815c..50590bd1f2 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.82.2", + "version": "2.83.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 b447052ab4..9a05ae1460 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.82.2", + "version": "2.83.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 6128f1e474..a1ef7acde6 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.82.2", + "version": "2.83.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 cfb5dfb303..ecbae99815 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index bea29eeb78..1a668cb887 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index cbd5c406e9..2fe2809f83 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index 811ed7b412..86619b671a 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.82.2", + "version": "2.83.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/package.json b/package.json index 35d77447f0..034c70b944 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.82.2", + "version": "2.83.0", "author": { "name": "Oracle Cloud Infrastructure", "email": ""