diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c0de0a8c8..9a570af27b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/). +## 2.117.0 - 2025-09-09 +### Added +- Support for resource locking in the Email Delivery service +- Support for setting backup retention policies while creating and updating autonomous container databases in the Database service +- Support for deleting associated long term backups while deleting the autonomous databases in the Database service +- Support for listing autonomous database backups by backup destination id and infrastructure type in the Database service +- Support for listing autonomous database backups by key store id and infrastructure type in the Database service +- Support for undeleting autonomous databases on public cloud and Cloud at Customer in the Database service +- Support for additional database edition query parameters in the Database service + +### Breaking Changes +- Enum value `EnterpriseEditionExtreme` was renamed to `EnterpriseEditionExtremePerformance` in the Database service + ## 2.116.2 - 2025-09-02 ### Added - Support for key management integration for Google Cloud Platform (GCP) in the Database Multicloud service diff --git a/lib/accessgovernancecp/package.json b/lib/accessgovernancecp/package.json index eb76d7ca11..d08176b866 100644 --- a/lib/accessgovernancecp/package.json +++ b/lib/accessgovernancecp/package.json @@ -1,6 +1,6 @@ { "name": "oci-accessgovernancecp", - "version": "2.116.2", + "version": "2.117.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 6e6136c3f1..249335ee1c 100644 --- a/lib/adm/package.json +++ b/lib/adm/package.json @@ -1,6 +1,6 @@ { "name": "oci-adm", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Adm Service", "repository": { "type": "git", diff --git a/lib/aidocument/package.json b/lib/aidocument/package.json index 3ff2bec480..fef456bd73 100644 --- a/lib/aidocument/package.json +++ b/lib/aidocument/package.json @@ -1,6 +1,6 @@ { "name": "oci-aidocument", - "version": "2.116.2", + "version": "2.117.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 2408ae3366..d231ed48da 100644 --- a/lib/ailanguage/package.json +++ b/lib/ailanguage/package.json @@ -1,6 +1,6 @@ { "name": "oci-ailanguage", - "version": "2.116.2", + "version": "2.117.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 ece429fcc4..70a4013a97 100644 --- a/lib/aispeech/package.json +++ b/lib/aispeech/package.json @@ -1,6 +1,6 @@ { "name": "oci-aispeech", - "version": "2.116.2", + "version": "2.117.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 d3ecdcea86..72cffeb90c 100644 --- a/lib/aivision/package.json +++ b/lib/aivision/package.json @@ -1,6 +1,6 @@ { "name": "oci-aivision", - "version": "2.116.2", + "version": "2.117.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 43a6901fb3..e852a544f9 100644 --- a/lib/analytics/package.json +++ b/lib/analytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-analytics", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Analytics Service", "repository": { "type": "git", diff --git a/lib/announcementsservice/package.json b/lib/announcementsservice/package.json index 7829dba120..7fcbaf4a8c 100644 --- a/lib/announcementsservice/package.json +++ b/lib/announcementsservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-announcementsservice", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Announcement Service", "repository": { "type": "git", diff --git a/lib/apiaccesscontrol/package.json b/lib/apiaccesscontrol/package.json index 06a29ddfb7..d43fe3ab99 100644 --- a/lib/apiaccesscontrol/package.json +++ b/lib/apiaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiaccesscontrol", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Apiaccesscontrol Service", "repository": { "type": "git", diff --git a/lib/apigateway/package.json b/lib/apigateway/package.json index 52c2a23e59..7bfd86c173 100644 --- a/lib/apigateway/package.json +++ b/lib/apigateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-apigateway", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for API gateway service", "repository": { "type": "git", diff --git a/lib/apiplatform/package.json b/lib/apiplatform/package.json index 63ab18a6d1..474dd5ca0f 100644 --- a/lib/apiplatform/package.json +++ b/lib/apiplatform/package.json @@ -1,6 +1,6 @@ { "name": "oci-apiplatform", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Api Platform Service", "repository": { "type": "git", diff --git a/lib/apmconfig/package.json b/lib/apmconfig/package.json index 86ed2e76c1..ac63d9a941 100644 --- a/lib/apmconfig/package.json +++ b/lib/apmconfig/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmconfig", - "version": "2.116.2", + "version": "2.117.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 cc04bdf520..f5ff4599c8 100644 --- a/lib/apmcontrolplane/package.json +++ b/lib/apmcontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmcontrolplane", - "version": "2.116.2", + "version": "2.117.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 ba5dd08245..304b9e6e61 100644 --- a/lib/apmsynthetics/package.json +++ b/lib/apmsynthetics/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmsynthetics", - "version": "2.116.2", + "version": "2.117.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 03ce404d79..8ac3940246 100644 --- a/lib/apmtraces/package.json +++ b/lib/apmtraces/package.json @@ -1,6 +1,6 @@ { "name": "oci-apmtraces", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Apm Traces Service", "repository": { "type": "git", diff --git a/lib/appmgmtcontrol/package.json b/lib/appmgmtcontrol/package.json index 40277b15d3..e4bebb0ae1 100644 --- a/lib/appmgmtcontrol/package.json +++ b/lib/appmgmtcontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-appmgmtcontrol", - "version": "2.116.2", + "version": "2.117.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 73ae473483..d511b142e4 100644 --- a/lib/artifacts/package.json +++ b/lib/artifacts/package.json @@ -1,6 +1,6 @@ { "name": "oci-artifacts", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Artifacts Service", "repository": { "type": "git", diff --git a/lib/audit/package.json b/lib/audit/package.json index 9b1b94535e..e6d51ec4f3 100644 --- a/lib/audit/package.json +++ b/lib/audit/package.json @@ -1,6 +1,6 @@ { "name": "oci-audit", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Audit Service", "repository": { "type": "git", diff --git a/lib/autoscaling/package.json b/lib/autoscaling/package.json index 639f1f73d3..41ab0e401f 100644 --- a/lib/autoscaling/package.json +++ b/lib/autoscaling/package.json @@ -1,6 +1,6 @@ { "name": "oci-autoscaling", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Autoscaling Service", "repository": { "type": "git", diff --git a/lib/bastion/package.json b/lib/bastion/package.json index 5bb6e0d9d2..729b19f681 100644 --- a/lib/bastion/package.json +++ b/lib/bastion/package.json @@ -1,6 +1,6 @@ { "name": "oci-bastion", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Bastion Service", "repository": { "type": "git", diff --git a/lib/bds/package.json b/lib/bds/package.json index bba9b3e21c..085e11d6ae 100644 --- a/lib/bds/package.json +++ b/lib/bds/package.json @@ -1,6 +1,6 @@ { "name": "oci-bds", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for BDS Service", "repository": { "type": "git", diff --git a/lib/blockchain/package.json b/lib/blockchain/package.json index 4b9070f1e1..59c9315c8e 100644 --- a/lib/blockchain/package.json +++ b/lib/blockchain/package.json @@ -1,6 +1,6 @@ { "name": "oci-blockchain", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Blockchain Service", "repository": { "type": "git", diff --git a/lib/budget/package.json b/lib/budget/package.json index 441dcd8fd2..219af852d2 100644 --- a/lib/budget/package.json +++ b/lib/budget/package.json @@ -1,6 +1,6 @@ { "name": "oci-budget", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Budget Service", "repository": { "type": "git", diff --git a/lib/capacitymanagement/package.json b/lib/capacitymanagement/package.json index 5450f96f52..9fb16a5b32 100644 --- a/lib/capacitymanagement/package.json +++ b/lib/capacitymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-capacitymanagement", - "version": "2.116.2", + "version": "2.117.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 b6daf74e63..5ee23fa7a8 100644 --- a/lib/certificates/package.json +++ b/lib/certificates/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificates", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Certificates Service", "repository": { "type": "git", diff --git a/lib/certificatesmanagement/package.json b/lib/certificatesmanagement/package.json index 8e56ddb153..bdd4701f6b 100644 --- a/lib/certificatesmanagement/package.json +++ b/lib/certificatesmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-certificatesmanagement", - "version": "2.116.2", + "version": "2.117.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 dda0aad5ca..6289f151d6 100644 --- a/lib/cims/package.json +++ b/lib/cims/package.json @@ -1,6 +1,6 @@ { "name": "oci-cims", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Cims ", "repository": { "type": "git", diff --git a/lib/cloudbridge/package.json b/lib/cloudbridge/package.json index 1314581891..68709f4098 100644 --- a/lib/cloudbridge/package.json +++ b/lib/cloudbridge/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudbridge", - "version": "2.116.2", + "version": "2.117.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 91f3d901ab..b687488044 100644 --- a/lib/cloudguard/package.json +++ b/lib/cloudguard/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudguard", - "version": "2.116.2", + "version": "2.117.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 ce09a4e807..4d8c616943 100644 --- a/lib/cloudmigrations/package.json +++ b/lib/cloudmigrations/package.json @@ -1,6 +1,6 @@ { "name": "oci-cloudmigrations", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Cloud Migrations Service", "repository": { "type": "git", diff --git a/lib/clusterplacementgroups/package.json b/lib/clusterplacementgroups/package.json index 66f92f127d..fe2995cb1d 100644 --- a/lib/clusterplacementgroups/package.json +++ b/lib/clusterplacementgroups/package.json @@ -1,6 +1,6 @@ { "name": "oci-clusterplacementgroups", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Cluster Placement Groups Service", "repository": { "type": "git", diff --git a/lib/common/package.json b/lib/common/package.json index 2f7179fab5..7f85f8ec5c 100644 --- a/lib/common/package.json +++ b/lib/common/package.json @@ -1,6 +1,6 @@ { "name": "oci-common", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI Common module for NodeJS", "repository": { "type": "git", diff --git a/lib/computecloudatcustomer/package.json b/lib/computecloudatcustomer/package.json index 28613d3b6c..979842bf0b 100644 --- a/lib/computecloudatcustomer/package.json +++ b/lib/computecloudatcustomer/package.json @@ -1,6 +1,6 @@ { "name": "oci-computecloudatcustomer", - "version": "2.116.2", + "version": "2.117.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 4ddca7912b..8b1506f77f 100644 --- a/lib/computeinstanceagent/package.json +++ b/lib/computeinstanceagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-computeinstanceagent", - "version": "2.116.2", + "version": "2.117.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 894d58910c..9d693b83e6 100644 --- a/lib/containerengine/package.json +++ b/lib/containerengine/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerengine", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Container Engine", "repository": { "type": "git", diff --git a/lib/containerinstances/package.json b/lib/containerinstances/package.json index a370b66a0c..1b66d18df7 100644 --- a/lib/containerinstances/package.json +++ b/lib/containerinstances/package.json @@ -1,6 +1,6 @@ { "name": "oci-containerinstances", - "version": "2.116.2", + "version": "2.117.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 62db4ac513..3236454d2e 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "oci-core", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Core", "repository": { "type": "git", diff --git a/lib/dashboardservice/package.json b/lib/dashboardservice/package.json index af939dcff3..c09317b8b2 100644 --- a/lib/dashboardservice/package.json +++ b/lib/dashboardservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-dashboardservice", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Dashboard Service Service", "repository": { "type": "git", diff --git a/lib/database/lib/client.ts b/lib/database/lib/client.ts index 11e5eb1fd2..557de8ec3d 100644 --- a/lib/database/lib/client.ts +++ b/lib/database/lib/client.ts @@ -8298,7 +8298,10 @@ All Oracle Cloud Infrastructure resources, including Data Guard associations, ge "{autonomousDatabaseId}": deleteAutonomousDatabaseRequest.autonomousDatabaseId }; - const queryParams = {}; + const queryParams = { + "mustDeleteAssociatedLongTermBackups": + deleteAutonomousDatabaseRequest.mustDeleteAssociatedLongTermBackups + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -20507,7 +20510,10 @@ Use the {@link #createCloudExadataInfrastructure(CreateCloudExadataInfrastructur "sortOrder": listAutonomousDatabaseBackupsRequest.sortOrder, "lifecycleState": listAutonomousDatabaseBackupsRequest.lifecycleState, "displayName": listAutonomousDatabaseBackupsRequest.displayName, - "type": listAutonomousDatabaseBackupsRequest.type + "type": listAutonomousDatabaseBackupsRequest.type, + "backupDestinationId": listAutonomousDatabaseBackupsRequest.backupDestinationId, + "keyStoreId": listAutonomousDatabaseBackupsRequest.keyStoreId, + "infrastructureType": listAutonomousDatabaseBackupsRequest.infrastructureType }; let headerParams = { diff --git a/lib/database/lib/model/associated-long-term-backup.ts b/lib/database/lib/model/associated-long-term-backup.ts new file mode 100644 index 0000000000..886e380f75 --- /dev/null +++ b/lib/database/lib/model/associated-long-term-backup.ts @@ -0,0 +1,43 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Long Term Backups associated with a backup destination + */ +export interface AssociatedLongTermBackup { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database backup. + */ + "id"?: string; + /** + * The display name for the long term backup for the autonomous database. + */ + "displayName"?: string; +} + +export namespace AssociatedLongTermBackup { + export function getJsonObj(obj: AssociatedLongTermBackup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AssociatedLongTermBackup): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/database/lib/model/autonomous-container-database-backup-summary.ts b/lib/database/lib/model/autonomous-container-database-backup-summary.ts index 8f8944841b..b9ef149cfd 100644 --- a/lib/database/lib/model/autonomous-container-database-backup-summary.ts +++ b/lib/database/lib/model/autonomous-container-database-backup-summary.ts @@ -109,6 +109,7 @@ export namespace AutonomousContainerDatabaseBackupSummary { export enum Type { Incremental = "INCREMENTAL", Full = "FULL", + VirtualFull = "VIRTUAL_FULL", /** * This value is used if a service returns a value for this enum that is not recognized by this * version of the SDK. diff --git a/lib/database/lib/model/autonomous-container-database-backup.ts b/lib/database/lib/model/autonomous-container-database-backup.ts index b7be5b4e80..5145191f00 100644 --- a/lib/database/lib/model/autonomous-container-database-backup.ts +++ b/lib/database/lib/model/autonomous-container-database-backup.ts @@ -105,7 +105,8 @@ Example: {@code {\"Department\": \"Finance\"}} export namespace AutonomousContainerDatabaseBackup { export enum Type { Incremental = "INCREMENTAL", - Full = "FULL" + Full = "FULL", + VirtualFull = "VIRTUAL_FULL" } export enum LifecycleState { diff --git a/lib/database/lib/model/autonomous-container-database-summary.ts b/lib/database/lib/model/autonomous-container-database-summary.ts index 211418ff48..ebc15e84e5 100644 --- a/lib/database/lib/model/autonomous-container-database-summary.ts +++ b/lib/database/lib/model/autonomous-container-database-summary.ts @@ -193,10 +193,15 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU in the Autonomous VM Cluster. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/database/lib/model/autonomous-container-database.ts b/lib/database/lib/model/autonomous-container-database.ts index f17f6cec00..0635bb4c20 100644 --- a/lib/database/lib/model/autonomous-container-database.ts +++ b/lib/database/lib/model/autonomous-container-database.ts @@ -189,10 +189,15 @@ Example: {@code {\"Department\": \"Finance\"}} */ "keyStoreWalletName"?: string; /** - * The amount of memory (in GBs) enabled per ECPU or OCPU in the Autonomous VM Cluster. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU in the Autonomous VM Cluster. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * Sum of CPUs available on the Autonomous VM Cluster + Sum of reclaimable CPUs available in the Autonomous Container Database. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. diff --git a/lib/database/lib/model/autonomous-database-backup-summary.ts b/lib/database/lib/model/autonomous-database-backup-summary.ts index 389cbf0f2d..d0ce7241ec 100644 --- a/lib/database/lib/model/autonomous-database-backup-summary.ts +++ b/lib/database/lib/model/autonomous-database-backup-summary.ts @@ -110,6 +110,15 @@ export interface AutonomousDatabaseBackupSummary { */ "sizeInTBs"?: number; "backupDestinationDetails"?: model.BackupDestinationDetails; + /** + * The infrastructure type this resource belongs to. + */ + "infrastructureType"?: AutonomousDatabaseBackupSummary.InfrastructureType; + /** + * Name of the region in which backup is taken in. + */ + "region"?: string; + "sourceDatabaseDetails"?: model.SourceDatabaseDetails; } export namespace AutonomousDatabaseBackupSummary { @@ -141,12 +150,26 @@ export namespace AutonomousDatabaseBackupSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum InfrastructureType { + Cloud = "CLOUD", + CloudAtCustomer = "CLOUD_AT_CUSTOMER", + /** + * 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: AutonomousDatabaseBackupSummary): object { const jsonObj = { ...obj, ...{ "backupDestinationDetails": obj.backupDestinationDetails ? model.BackupDestinationDetails.getJsonObj(obj.backupDestinationDetails) + : undefined, + + "sourceDatabaseDetails": obj.sourceDatabaseDetails + ? model.SourceDatabaseDetails.getJsonObj(obj.sourceDatabaseDetails) : undefined } }; @@ -159,6 +182,10 @@ export namespace AutonomousDatabaseBackupSummary { ...{ "backupDestinationDetails": obj.backupDestinationDetails ? model.BackupDestinationDetails.getDeserializedJsonObj(obj.backupDestinationDetails) + : undefined, + + "sourceDatabaseDetails": obj.sourceDatabaseDetails + ? model.SourceDatabaseDetails.getDeserializedJsonObj(obj.sourceDatabaseDetails) : undefined } }; diff --git a/lib/database/lib/model/autonomous-database-backup.ts b/lib/database/lib/model/autonomous-database-backup.ts index 6f0814ac87..f466f86cc7 100644 --- a/lib/database/lib/model/autonomous-database-backup.ts +++ b/lib/database/lib/model/autonomous-database-backup.ts @@ -107,6 +107,15 @@ export interface AutonomousDatabaseBackup { */ "sizeInTBs"?: number; "backupDestinationDetails"?: model.BackupDestinationDetails; + /** + * The infrastructure type this resource belongs to. + */ + "infrastructureType"?: AutonomousDatabaseBackup.InfrastructureType; + /** + * Name of the region in which backup is taken in. + */ + "region"?: string; + "sourceDatabaseDetails"?: model.SourceDatabaseDetails; } export namespace AutonomousDatabaseBackup { @@ -138,12 +147,26 @@ export namespace AutonomousDatabaseBackup { UnknownValue = "UNKNOWN_VALUE" } + export enum InfrastructureType { + Cloud = "CLOUD", + CloudAtCustomer = "CLOUD_AT_CUSTOMER", + /** + * 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: AutonomousDatabaseBackup): object { const jsonObj = { ...obj, ...{ "backupDestinationDetails": obj.backupDestinationDetails ? model.BackupDestinationDetails.getJsonObj(obj.backupDestinationDetails) + : undefined, + + "sourceDatabaseDetails": obj.sourceDatabaseDetails + ? model.SourceDatabaseDetails.getJsonObj(obj.sourceDatabaseDetails) : undefined } }; @@ -156,6 +179,10 @@ export namespace AutonomousDatabaseBackup { ...{ "backupDestinationDetails": obj.backupDestinationDetails ? model.BackupDestinationDetails.getDeserializedJsonObj(obj.backupDestinationDetails) + : undefined, + + "sourceDatabaseDetails": obj.sourceDatabaseDetails + ? model.SourceDatabaseDetails.getDeserializedJsonObj(obj.sourceDatabaseDetails) : undefined } }; diff --git a/lib/database/lib/model/autonomous-database-summary.ts b/lib/database/lib/model/autonomous-database-summary.ts index f062664c24..2dfb9b1177 100644 --- a/lib/database/lib/model/autonomous-database-summary.ts +++ b/lib/database/lib/model/autonomous-database-summary.ts @@ -184,10 +184,15 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The quantity of data in the database, in gigabytes. *

diff --git a/lib/database/lib/model/autonomous-database.ts b/lib/database/lib/model/autonomous-database.ts index 7ff45cd187..3a72a46e75 100644 --- a/lib/database/lib/model/autonomous-database.ts +++ b/lib/database/lib/model/autonomous-database.ts @@ -182,10 +182,15 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The quantity of data in the database, in gigabytes. *

diff --git a/lib/database/lib/model/autonomous-dw-database.ts b/lib/database/lib/model/autonomous-dw-database.ts index 6d85f5e3e3..2bcd8d4f7b 100644 --- a/lib/database/lib/model/autonomous-dw-database.ts +++ b/lib/database/lib/model/autonomous-dw-database.ts @@ -182,10 +182,15 @@ The following points apply to Autonomous Databases on Serverless Infrastructure: */ "dataStorageSizeInTBs": number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The quantity of data in the database, in gigabytes. *

diff --git a/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts b/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts index c8f97eb2fa..fee49b9b97 100644 --- a/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts +++ b/lib/database/lib/model/autonomous-vm-cluster-resource-usage.ts @@ -61,10 +61,15 @@ export interface AutonomousVmClusterResourceUsage { */ "exadataStorageInTBs"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The number of CPU cores enabled on the Autonomous VM cluster. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/autonomous-vm-cluster-summary.ts b/lib/database/lib/model/autonomous-vm-cluster-summary.ts index 92fa941ac0..9573c51048 100644 --- a/lib/database/lib/model/autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/autonomous-vm-cluster-summary.ts @@ -83,10 +83,15 @@ export interface AutonomousVmClusterSummary { */ "totalContainerDatabases"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The number of CPU cores enabled per VM cluster node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/autonomous-vm-cluster.ts b/lib/database/lib/model/autonomous-vm-cluster.ts index c8e406bdf6..1f3ac067c1 100644 --- a/lib/database/lib/model/autonomous-vm-cluster.ts +++ b/lib/database/lib/model/autonomous-vm-cluster.ts @@ -83,10 +83,15 @@ export interface AutonomousVmCluster { */ "totalContainerDatabases"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The number of CPU cores enabled per VM cluster node. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/backup-destination-configuration-summary.ts b/lib/database/lib/model/backup-destination-configuration-summary.ts index bb59a95ffc..99b646d8e0 100644 --- a/lib/database/lib/model/backup-destination-configuration-summary.ts +++ b/lib/database/lib/model/backup-destination-configuration-summary.ts @@ -59,6 +59,21 @@ export interface BackupDestinationConfigurationSummary { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. */ "dbrsPolicyId"?: string; + /** + * Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD). The retention window cannot be decreased if the backup retention lock is enabled. + * Once applied on the Autonomous Container Database, the retention lock cannot be removed, or the retention period cannot be decreased after a 14-day period. + * If the backup is a Long Term Backup and retention lock is enabled, the backup cannot be deleted and must expire. + * The retention lock set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * + */ + "isRetentionLockEnabled"?: boolean; + /** + * Defines the automatic and manual backup retention policy for the Autonomous Database termination. + * The retention policy set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * Options are 'RETAIN_PER_RETENTION_WINDOW' or 'RETAIN_FOR_72_HOURS'.The default value is 'RETAIN_FOR_72_HOURS'. + * + */ + "backupRetentionPolicyOnTerminate"?: BackupDestinationConfigurationSummary.BackupRetentionPolicyOnTerminate; /** * Indicates whether the backup destination is cross-region or local. */ @@ -87,6 +102,16 @@ export namespace BackupDestinationConfigurationSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum BackupRetentionPolicyOnTerminate { + RetainPerRetentionWindow = "RETAIN_PER_RETENTION_WINDOW", + RetainFor72Hours = "RETAIN_FOR_72_HOURS", + /** + * 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: BackupDestinationConfigurationSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/backup-destination-details-summary.ts b/lib/database/lib/model/backup-destination-details-summary.ts index 4b0970168b..74ac9c7a80 100644 --- a/lib/database/lib/model/backup-destination-details-summary.ts +++ b/lib/database/lib/model/backup-destination-details-summary.ts @@ -55,6 +55,21 @@ export interface BackupDestinationDetailsSummary { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. */ "dbrsPolicyId"?: string; + /** + * Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD). The retention window cannot be decreased if the backup retention lock is enabled. + * Once applied on the Autonomous Container Database, the retention lock cannot be removed, or the retention period cannot be decreased after a 14-day period. + * If the backup is a Long Term Backup and retention lock is enabled, the backup cannot be deleted and must expire. + * The retention lock set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * + */ + "isRetentionLockEnabled"?: boolean; + /** + * Defines the automatic and manual backup retention policy for the Autonomous Database termination. + * The retention policy set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * Options are 'RETAIN_PER_RETENTION_WINDOW' or 'RETAIN_FOR_72_HOURS'.The default value is 'RETAIN_FOR_72_HOURS'. + * + */ + "backupRetentionPolicyOnTerminate"?: BackupDestinationDetailsSummary.BackupRetentionPolicyOnTerminate; /** * Indicates whether the backup destination is cross-region or local. */ @@ -83,6 +98,16 @@ export namespace BackupDestinationDetailsSummary { UnknownValue = "UNKNOWN_VALUE" } + export enum BackupRetentionPolicyOnTerminate { + RetainPerRetentionWindow = "RETAIN_PER_RETENTION_WINDOW", + RetainFor72Hours = "RETAIN_FOR_72_HOURS", + /** + * 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: BackupDestinationDetailsSummary): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/backup-destination-details.ts b/lib/database/lib/model/backup-destination-details.ts index 36919475bb..45cdc56b0f 100644 --- a/lib/database/lib/model/backup-destination-details.ts +++ b/lib/database/lib/model/backup-destination-details.ts @@ -43,6 +43,21 @@ export interface BackupDestinationDetails { * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DBRS policy used for backup. */ "dbrsPolicyId"?: string; + /** + * Indicates if backup retention is locked for all the database backups in the Autonomous Container Database (ACD). The retention window cannot be decreased if the backup retention lock is enabled. + * Once applied on the Autonomous Container Database, the retention lock cannot be removed, or the retention period cannot be decreased after a 14-day period. + * If the backup is a Long Term Backup and retention lock is enabled, the backup cannot be deleted and must expire. + * The retention lock set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * + */ + "isRetentionLockEnabled"?: boolean; + /** + * Defines the automatic and manual backup retention policy for the Autonomous Database termination. + * The retention policy set on the Autonomous Container Database is not applicable for cross region remote backups and backups hosted on recovery Appliance backup destination. + * Options are 'RETAIN_PER_RETENTION_WINDOW' or 'RETAIN_FOR_72_HOURS'.The default value is 'RETAIN_FOR_72_HOURS'. + * + */ + "backupRetentionPolicyOnTerminate"?: BackupDestinationDetails.BackupRetentionPolicyOnTerminate; /** * Indicates whether the backup destination is cross-region or local. */ @@ -71,6 +86,16 @@ export namespace BackupDestinationDetails { UnknownValue = "UNKNOWN_VALUE" } + export enum BackupRetentionPolicyOnTerminate { + RetainPerRetentionWindow = "RETAIN_PER_RETENTION_WINDOW", + RetainFor72Hours = "RETAIN_FOR_72_HOURS", + /** + * 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: BackupDestinationDetails): object { const jsonObj = { ...obj, ...{} }; diff --git a/lib/database/lib/model/backup-destination-summary.ts b/lib/database/lib/model/backup-destination-summary.ts index b255dff70b..86b8d7b788 100644 --- a/lib/database/lib/model/backup-destination-summary.ts +++ b/lib/database/lib/model/backup-destination-summary.ts @@ -39,6 +39,14 @@ export interface BackupDestinationSummary { * List of databases associated with the backup destination. */ "associatedDatabases"?: Array; + /** + * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. + */ + "associatedLongTermBackups"?: Array; + /** + * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedLongTermBackupCount"?: number; /** * For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance. */ @@ -152,6 +160,11 @@ export namespace BackupDestinationSummary { ? obj.associatedDatabases.map(item => { return model.AssociatedDatabaseDetails.getJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getJsonObj(item); + }) : undefined } }; @@ -166,6 +179,11 @@ export namespace BackupDestinationSummary { ? obj.associatedDatabases.map(item => { return model.AssociatedDatabaseDetails.getDeserializedJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/backup-destination.ts b/lib/database/lib/model/backup-destination.ts index de73daec2c..c4379d4d8c 100644 --- a/lib/database/lib/model/backup-destination.ts +++ b/lib/database/lib/model/backup-destination.ts @@ -39,6 +39,14 @@ export interface BackupDestination { * List of databases associated with the backup destination. */ "associatedDatabases"?: Array; + /** + * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. + */ + "associatedLongTermBackups"?: Array; + /** + * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedLongTermBackupCount"?: number; /** * For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance. */ @@ -152,6 +160,11 @@ export namespace BackupDestination { ? obj.associatedDatabases.map(item => { return model.AssociatedDatabaseDetails.getJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getJsonObj(item); + }) : undefined } }; @@ -166,6 +179,11 @@ export namespace BackupDestination { ? obj.associatedDatabases.map(item => { return model.AssociatedDatabaseDetails.getDeserializedJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts index dec2266c0e..f7c0500a3a 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster-resource-usage.ts @@ -53,10 +53,15 @@ export interface CloudAutonomousVmClusterResourceUsage { */ "usedAutonomousDataStorageSizeInTBs"?: number; /** - * The amount of memory (in GBs) to be enabled per each CPU core. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * Total exadata storage allocated for the Autonomous VM Cluster. DATA + RECOVERY + SPARSE + any overhead in TBs. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts index c40a9b1b8c..29797d4f45 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster-summary.ts @@ -224,10 +224,15 @@ Example: {@code {\"Department\": \"Finance\"}} */ "dbNodeStorageSizeInGBs"?: number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ diff --git a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts index 056482a0f7..3c1503d91a 100644 --- a/lib/database/lib/model/cloud-autonomous-vm-cluster.ts +++ b/lib/database/lib/model/cloud-autonomous-vm-cluster.ts @@ -224,10 +224,15 @@ Example: {@code {\"Department\": \"Finance\"}} */ "dbNodeStorageSizeInGBs"?: number; /** - * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * The amount of memory (in GBs rounded off to nearest integer value) enabled per ECPU or OCPU. This is deprecated. Please refer to memoryPerComputeUnitInGBs for accurate value. * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. */ "memoryPerOracleComputeUnitInGBs"?: number; + /** + * The amount of memory (in GBs) to be enabled per OCPU or ECPU. + * Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "memoryPerComputeUnitInGBs"?: number; /** * The list of [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Db servers. */ diff --git a/lib/database/lib/model/index.ts b/lib/database/lib/model/index.ts index dffabd5849..b37ce64287 100644 --- a/lib/database/lib/model/index.ts +++ b/lib/database/lib/model/index.ts @@ -38,6 +38,8 @@ import * as ApplicationVipSummary from "./application-vip-summary"; export import ApplicationVipSummary = ApplicationVipSummary.ApplicationVipSummary; import * as AssociatedDatabaseDetails from "./associated-database-details"; export import AssociatedDatabaseDetails = AssociatedDatabaseDetails.AssociatedDatabaseDetails; +import * as AssociatedLongTermBackup from "./associated-long-term-backup"; +export import AssociatedLongTermBackup = AssociatedLongTermBackup.AssociatedLongTermBackup; import * as AutonomousContainerDatabase from "./autonomous-container-database"; export import AutonomousContainerDatabase = AutonomousContainerDatabase.AutonomousContainerDatabase; import * as AutonomousContainerDatabaseBackup from "./autonomous-container-database-backup"; @@ -770,6 +772,8 @@ import * as SchedulingWindowSummary from "./scheduling-window-summary"; export import SchedulingWindowSummary = SchedulingWindowSummary.SchedulingWindowSummary; import * as SetKeyVersionDetails from "./set-key-version-details"; export import SetKeyVersionDetails = SetKeyVersionDetails.SetKeyVersionDetails; +import * as SourceDatabaseDetails from "./source-database-details"; +export import SourceDatabaseDetails = SourceDatabaseDetails.SourceDatabaseDetails; import * as StackMonitoringConfig from "./stack-monitoring-config"; export import StackMonitoringConfig = StackMonitoringConfig.StackMonitoringConfig; import * as StoragePerformanceDetails from "./storage-performance-details"; diff --git a/lib/database/lib/model/key-store-summary.ts b/lib/database/lib/model/key-store-summary.ts index c03596daf5..f19a20f7e0 100644 --- a/lib/database/lib/model/key-store-summary.ts +++ b/lib/database/lib/model/key-store-summary.ts @@ -49,6 +49,14 @@ export interface KeyStoreSummary { * List of databases associated with the key store. */ "associatedDatabases"?: Array; + /** + * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. + */ + "associatedLongTermBackups"?: Array; + /** + * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedLongTermBackupCount"?: number; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). @@ -94,6 +102,11 @@ export namespace KeyStoreSummary { ? obj.associatedDatabases.map(item => { return model.KeyStoreAssociatedDatabaseDetails.getJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getJsonObj(item); + }) : undefined } }; @@ -111,6 +124,11 @@ export namespace KeyStoreSummary { ? obj.associatedDatabases.map(item => { return model.KeyStoreAssociatedDatabaseDetails.getDeserializedJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/key-store.ts b/lib/database/lib/model/key-store.ts index c00c36889c..29565288c8 100644 --- a/lib/database/lib/model/key-store.ts +++ b/lib/database/lib/model/key-store.ts @@ -49,6 +49,14 @@ export interface KeyStore { * List of databases associated with the key store. */ "associatedDatabases"?: Array; + /** + * List of long term backups of Autonomous Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024. + */ + "associatedLongTermBackups"?: Array; + /** + * Indicates the number of long term backups of Autonomous Databases associated with this backup destination. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues. + */ + "associatedLongTermBackupCount"?: number; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. * For more information, see [Resource Tags](https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). @@ -94,6 +102,11 @@ export namespace KeyStore { ? obj.associatedDatabases.map(item => { return model.KeyStoreAssociatedDatabaseDetails.getJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getJsonObj(item); + }) : undefined } }; @@ -111,6 +124,11 @@ export namespace KeyStore { ? obj.associatedDatabases.map(item => { return model.KeyStoreAssociatedDatabaseDetails.getDeserializedJsonObj(item); }) + : undefined, + "associatedLongTermBackups": obj.associatedLongTermBackups + ? obj.associatedLongTermBackups.map(item => { + return model.AssociatedLongTermBackup.getDeserializedJsonObj(item); + }) : undefined } }; diff --git a/lib/database/lib/model/source-database-details.ts b/lib/database/lib/model/source-database-details.ts new file mode 100644 index 0000000000..1b5e53f6a6 --- /dev/null +++ b/lib/database/lib/model/source-database-details.ts @@ -0,0 +1,118 @@ +/** + * Database Service API + * The API for the Database Service. Use this API to manage resources such as databases and DB Systems. For more information, see [Overview of the Database Service](https://docs.oracle.com/iaas/Content/Database/Concepts/databaseoverview.htm). + + * OpenAPI spec version: 20160918 + * Contact: sic_dbaas_cp_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Source Autonomous Database details. + */ +export interface SourceDatabaseDetails { + /** + * Autonomous VM cluster's user-friendly name. + */ + "autonomousVmClusterDisplayName"?: string; + /** + * Autonomous Container Database name. + */ + "autonomousContainerDatabaseName"?: string; + /** + * The user-provided name for the Autonomous Container Database. + */ + "autonomousContainerDatabaseDisplayName"?: string; + /** + * Customer Contacts for the Autonomous Container Database. Setting this to an empty list removes all customer contacts. + * + */ + "autonomousContainerDatabaseCustomerContacts"?: Array; + /** + * DST Time-Zone File version of the Autonomous Container Database. + */ + "autonomousContainerDatabaseDstFileVersion"?: string; + /** + * Autonomous Database's name. + */ + "autonomousDatabaseName"?: string; + /** + * Customer Contacts for the Autonomous database. + */ + "autonomousDatabaseCustomerContacts"?: Array; + /** + * The Autonomous Database workload type. The following values are valid: +*

+- OLTP - indicates an Autonomous Transaction Processing database +* - DW - indicates an Autonomous Data Warehouse database +* - AJD - indicates an Autonomous JSON Database +* - APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. +*

+This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, privateEndpointLabel, nsgIds, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. +* + */ + "dbWorkload"?: SourceDatabaseDetails.DbWorkload; +} + +export namespace SourceDatabaseDetails { + export enum DbWorkload { + Oltp = "OLTP", + Dw = "DW", + Ajd = "AJD", + Apex = "APEX", + /** + * 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: SourceDatabaseDetails): object { + const jsonObj = { + ...obj, + ...{ + "autonomousContainerDatabaseCustomerContacts": obj.autonomousContainerDatabaseCustomerContacts + ? obj.autonomousContainerDatabaseCustomerContacts.map(item => { + return model.CustomerContact.getJsonObj(item); + }) + : undefined, + + "autonomousDatabaseCustomerContacts": obj.autonomousDatabaseCustomerContacts + ? obj.autonomousDatabaseCustomerContacts.map(item => { + return model.CustomerContact.getJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: SourceDatabaseDetails): object { + const jsonObj = { + ...obj, + ...{ + "autonomousContainerDatabaseCustomerContacts": obj.autonomousContainerDatabaseCustomerContacts + ? obj.autonomousContainerDatabaseCustomerContacts.map(item => { + return model.CustomerContact.getDeserializedJsonObj(item); + }) + : undefined, + + "autonomousDatabaseCustomerContacts": obj.autonomousDatabaseCustomerContacts + ? obj.autonomousDatabaseCustomerContacts.map(item => { + return model.CustomerContact.getDeserializedJsonObj(item); + }) + : undefined + } + }; + + return jsonObj; + } +} diff --git a/lib/database/lib/request/delete-autonomous-database-request.ts b/lib/database/lib/request/delete-autonomous-database-request.ts index 57522dac70..74d1592afc 100644 --- a/lib/database/lib/request/delete-autonomous-database-request.ts +++ b/lib/database/lib/request/delete-autonomous-database-request.ts @@ -34,6 +34,10 @@ export interface DeleteAutonomousDatabaseRequest extends common.BaseRequest { * */ "opcRequestId"?: string; + /** + * If set to true, terminating the Autonomous Database also deletes its associated long-term backups if the retention lock is not enabled. + */ + "mustDeleteAssociatedLongTermBackups"?: boolean; /** * Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually * creating or updating a resource and is used only to perform validation on the submitted data. diff --git a/lib/database/lib/request/list-autonomous-database-backups-request.ts b/lib/database/lib/request/list-autonomous-database-backups-request.ts index b8c2a18b8c..7c636ec55c 100644 --- a/lib/database/lib/request/list-autonomous-database-backups-request.ts +++ b/lib/database/lib/request/list-autonomous-database-backups-request.ts @@ -57,6 +57,18 @@ export interface ListAutonomousDatabaseBackupsRequest extends common.BaseRequest * A filter to return only backups that matches with the given type of Backup. */ "type"?: string; + /** + * A filter to return only resources that have the given backup destination id. + */ + "backupDestinationId"?: string; + /** + * A filter to return only resources that have the given key store id. + */ + "keyStoreId"?: string; + /** + * A filter to return only resources that match the given Infrastructure Type. + */ + "infrastructureType"?: string; /** * Unique identifier for the request. * diff --git a/lib/database/lib/request/list-db-system-storage-performances-request.ts b/lib/database/lib/request/list-db-system-storage-performances-request.ts index a7f1eda84b..a60aeb38b5 100644 --- a/lib/database/lib/request/list-db-system-storage-performances-request.ts +++ b/lib/database/lib/request/list-db-system-storage-performances-request.ts @@ -30,7 +30,7 @@ export interface ListDbSystemStoragePerformancesRequest extends common.BaseReque */ "shapeType"?: string; /** - * The database edition of quota (STANDARD_EDITION/ENTERPRISE_EDITION/ENTERPRISE_EDITION_HIGH_PERFORMANCE/ENTERPRISE_EDITION_EXTREME/ENTERPRISE_EDITION_DEVELOPER) + * The database edition of quota (STANDARD_EDITION/ENTERPRISE_EDITION/ENTERPRISE_EDITION_HIGH_PERFORMANCE/ENTERPRISE_EDITION_EXTREME_PERFORMANCE/ENTERPRISE_EDITION_DEVELOPER) */ "databaseEdition"?: ListDbSystemStoragePerformancesRequest.DatabaseEdition; /** @@ -49,7 +49,7 @@ export namespace ListDbSystemStoragePerformancesRequest { StandardEdition = "STANDARD_EDITION", EnterpriseEdition = "ENTERPRISE_EDITION", EnterpriseEditionHighPerformance = "ENTERPRISE_EDITION_HIGH_PERFORMANCE", - EnterpriseEditionExtreme = "ENTERPRISE_EDITION_EXTREME", + EnterpriseEditionExtremePerformance = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", EnterpriseEditionDeveloper = "ENTERPRISE_EDITION_DEVELOPER" } } diff --git a/lib/database/package.json b/lib/database/package.json index fe69067367..258394a2c4 100644 --- a/lib/database/package.json +++ b/lib/database/package.json @@ -1,6 +1,6 @@ { "name": "oci-database", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Database", "repository": { "type": "git", diff --git a/lib/databasemanagement/package.json b/lib/databasemanagement/package.json index 4222eac85c..68742d500c 100644 --- a/lib/databasemanagement/package.json +++ b/lib/databasemanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemanagement", - "version": "2.116.2", + "version": "2.117.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 2beb7a7e2b..ddf0a9f62f 100644 --- a/lib/databasemigration/package.json +++ b/lib/databasemigration/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasemigration", - "version": "2.116.2", + "version": "2.117.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 9439530ba7..b0462c604e 100644 --- a/lib/databasetools/package.json +++ b/lib/databasetools/package.json @@ -1,6 +1,6 @@ { "name": "oci-databasetools", - "version": "2.116.2", + "version": "2.117.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 7d66a49cb2..295f25d224 100644 --- a/lib/datacatalog/package.json +++ b/lib/datacatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-datacatalog", - "version": "2.116.2", + "version": "2.117.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 bd8ca35466..509ffb5804 100644 --- a/lib/dataflow/package.json +++ b/lib/dataflow/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataflow", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Dataflow service", "repository": { "type": "git", diff --git a/lib/dataintegration/package.json b/lib/dataintegration/package.json index a0239d617a..a0f15c4e21 100644 --- a/lib/dataintegration/package.json +++ b/lib/dataintegration/package.json @@ -1,6 +1,6 @@ { "name": "oci-dataintegration", - "version": "2.116.2", + "version": "2.117.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 121b6f11fb..7bf6a62db7 100644 --- a/lib/datalabelingservice/package.json +++ b/lib/datalabelingservice/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservice", - "version": "2.116.2", + "version": "2.117.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 9535c076c0..ddc4965879 100644 --- a/lib/datalabelingservicedataplane/package.json +++ b/lib/datalabelingservicedataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-datalabelingservicedataplane", - "version": "2.116.2", + "version": "2.117.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 b43aa9bf89..c7368e4466 100644 --- a/lib/datasafe/package.json +++ b/lib/datasafe/package.json @@ -1,6 +1,6 @@ { "name": "oci-datasafe", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Data Safe ", "repository": { "type": "git", diff --git a/lib/datascience/package.json b/lib/datascience/package.json index effec3488b..01dddee0c6 100644 --- a/lib/datascience/package.json +++ b/lib/datascience/package.json @@ -1,6 +1,6 @@ { "name": "oci-datascience", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Data Science Service", "repository": { "type": "git", diff --git a/lib/dblm/package.json b/lib/dblm/package.json index 9c7f32e3d3..10d94bd1d0 100644 --- a/lib/dblm/package.json +++ b/lib/dblm/package.json @@ -1,6 +1,6 @@ { "name": "oci-dblm", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Dblm Service", "repository": { "type": "git", diff --git a/lib/dbmulticloud/package.json b/lib/dbmulticloud/package.json index a96d721b54..eb65cf3133 100644 --- a/lib/dbmulticloud/package.json +++ b/lib/dbmulticloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-dbmulticloud", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Dbmulticloud Service", "repository": { "type": "git", diff --git a/lib/delegateaccesscontrol/package.json b/lib/delegateaccesscontrol/package.json index d7622ad611..93ff38912c 100644 --- a/lib/delegateaccesscontrol/package.json +++ b/lib/delegateaccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-delegateaccesscontrol", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Delegate Access Control Service", "repository": { "type": "git", diff --git a/lib/demandsignal/package.json b/lib/demandsignal/package.json index 647d51a140..165cd47ebb 100644 --- a/lib/demandsignal/package.json +++ b/lib/demandsignal/package.json @@ -1,6 +1,6 @@ { "name": "oci-demandsignal", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Demand Signal Service", "repository": { "type": "git", diff --git a/lib/desktops/package.json b/lib/desktops/package.json index f1a08ff174..de9a900e6f 100644 --- a/lib/desktops/package.json +++ b/lib/desktops/package.json @@ -1,6 +1,6 @@ { "name": "oci-desktops", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Desktops Service", "repository": { "type": "git", diff --git a/lib/devops/package.json b/lib/devops/package.json index ff7dbc4e0c..60fd33c8f8 100644 --- a/lib/devops/package.json +++ b/lib/devops/package.json @@ -1,6 +1,6 @@ { "name": "oci-devops", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Devops Service", "repository": { "type": "git", diff --git a/lib/disasterrecovery/package.json b/lib/disasterrecovery/package.json index 73ed0323f4..15f5ca599f 100644 --- a/lib/disasterrecovery/package.json +++ b/lib/disasterrecovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-disasterrecovery", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Disaster Recovery Service", "repository": { "type": "git", diff --git a/lib/distributeddatabase/package.json b/lib/distributeddatabase/package.json index 359cc2aa5c..b027afa081 100644 --- a/lib/distributeddatabase/package.json +++ b/lib/distributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-distributeddatabase", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Distributed Database Service", "repository": { "type": "git", diff --git a/lib/dns/package.json b/lib/dns/package.json index 4e38232357..e42a9432e3 100644 --- a/lib/dns/package.json +++ b/lib/dns/package.json @@ -1,6 +1,6 @@ { "name": "oci-dns", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for DNS", "repository": { "type": "git", diff --git a/lib/email/lib/client.ts b/lib/email/lib/client.ts index 2310397143..a3f756d9a4 100644 --- a/lib/email/lib/client.ts +++ b/lib/email/lib/client.ts @@ -242,6 +242,252 @@ export class EmailClient { this.closeProvider(); } + /** + * Adds a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddEmailDomainLockRequest + * @return AddEmailDomainLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailDomainLock.ts.html |here} to see how to use AddEmailDomainLock API. + */ + public async addEmailDomainLock( + addEmailDomainLockRequest: requests.AddEmailDomainLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#addEmailDomainLock."); + const operationName = "addEmailDomainLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/AddEmailDomainLock"; + const pathParams = { + "{emailDomainId}": addEmailDomainLockRequest.emailDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": addEmailDomainLockRequest.opcRequestId, + "if-match": addEmailDomainLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addEmailDomainLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailDomains/{emailDomainId}/actions/addLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addEmailDomainLockRequest.addLockDetails, + "AddLockDetails", + model.AddLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailDomain", + bodyModel: model.EmailDomain, + type: "model.EmailDomain", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Adds a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddReturnPathLockRequest + * @return AddReturnPathLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddReturnPathLock.ts.html |here} to see how to use AddReturnPathLock API. + */ + public async addReturnPathLock( + addReturnPathLockRequest: requests.AddReturnPathLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#addReturnPathLock."); + const operationName = "addReturnPathLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/AddReturnPathLock"; + const pathParams = { + "{emailReturnPathId}": addReturnPathLockRequest.emailReturnPathId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": addReturnPathLockRequest.opcRequestId, + "if-match": addReturnPathLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addReturnPathLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailReturnPaths/{emailReturnPathId}/actions/addLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addReturnPathLockRequest.addLockDetails, + "AddLockDetails", + model.AddLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailReturnPath", + bodyModel: model.EmailReturnPath, + type: "model.EmailReturnPath", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Adds a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param AddSenderLockRequest + * @return AddSenderLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddSenderLock.ts.html |here} to see how to use AddSenderLock API. + */ + public async addSenderLock( + addSenderLockRequest: requests.AddSenderLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#addSenderLock."); + const operationName = "addSenderLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/AddSenderLock"; + const pathParams = { + "{senderId}": addSenderLockRequest.senderId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": addSenderLockRequest.opcRequestId, + "if-match": addSenderLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + addSenderLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/senders/{senderId}/actions/addLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + addSenderLockRequest.addLockDetails, + "AddLockDetails", + model.AddLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "sender", + bodyModel: model.Sender, + type: "model.Sender", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Moves an email domain into a different compartment. * When provided, If-Match is checked against ETag value of the resource. @@ -268,7 +514,9 @@ export class EmailClient { "{emailDomainId}": changeEmailDomainCompartmentRequest.emailDomainId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": changeEmailDomainCompartmentRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -347,7 +595,9 @@ export class EmailClient { "{senderId}": changeSenderCompartmentRequest.senderId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": changeSenderCompartmentRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -946,7 +1196,9 @@ export class EmailClient { "{emailDomainId}": deleteEmailDomainRequest.emailDomainId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": deleteEmailDomainRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -1019,7 +1271,9 @@ export class EmailClient { "{emailReturnPathId}": deleteEmailReturnPathRequest.emailReturnPathId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": deleteEmailReturnPathRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -1094,7 +1348,9 @@ export class EmailClient { "{senderId}": deleteSenderRequest.senderId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": deleteSenderRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -2516,6 +2772,252 @@ export class EmailClient { } } + /** + * Remove a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RemoveEmailDomainLockRequest + * @return RemoveEmailDomainLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveEmailDomainLock.ts.html |here} to see how to use RemoveEmailDomainLock API. + */ + public async removeEmailDomainLock( + removeEmailDomainLockRequest: requests.RemoveEmailDomainLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#removeEmailDomainLock."); + const operationName = "removeEmailDomainLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailDomain/RemoveEmailDomainLock"; + const pathParams = { + "{emailDomainId}": removeEmailDomainLockRequest.emailDomainId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": removeEmailDomainLockRequest.opcRequestId, + "if-match": removeEmailDomainLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + removeEmailDomainLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailDomains/{emailDomainId}/actions/removeLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + removeEmailDomainLockRequest.removeLockDetails, + "RemoveLockDetails", + model.RemoveLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailDomain", + bodyModel: model.EmailDomain, + type: "model.EmailDomain", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Remove a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RemoveReturnPathLockRequest + * @return RemoveReturnPathLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveReturnPathLock.ts.html |here} to see how to use RemoveReturnPathLock API. + */ + public async removeReturnPathLock( + removeReturnPathLockRequest: requests.RemoveReturnPathLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#removeReturnPathLock."); + const operationName = "removeReturnPathLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/EmailReturnPath/RemoveReturnPathLock"; + const pathParams = { + "{emailReturnPathId}": removeReturnPathLockRequest.emailReturnPathId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": removeReturnPathLockRequest.opcRequestId, + "if-match": removeReturnPathLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + removeReturnPathLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/emailReturnPaths/{emailReturnPathId}/actions/removeLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + removeReturnPathLockRequest.removeLockDetails, + "RemoveLockDetails", + model.RemoveLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "emailReturnPath", + bodyModel: model.EmailReturnPath, + type: "model.EmailReturnPath", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + + /** + * Remove a lock to a resource. + * This operation does not retry by default if the user has not defined a retry configuration. + * @param RemoveSenderLockRequest + * @return RemoveSenderLockResponse + * @throws OciError when an error occurs + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveSenderLock.ts.html |here} to see how to use RemoveSenderLock API. + */ + public async removeSenderLock( + removeSenderLockRequest: requests.RemoveSenderLockRequest + ): Promise { + if (this.logger) this.logger.debug("Calling operation EmailClient#removeSenderLock."); + const operationName = "removeSenderLock"; + const apiReferenceLink = + "https://docs.oracle.com/iaas/api/#/en/emaildelivery/20170907/Sender/RemoveSenderLock"; + const pathParams = { + "{senderId}": removeSenderLockRequest.senderId + }; + + const queryParams = {}; + + let headerParams = { + "Content-Type": common.Constants.APPLICATION_JSON, + "opc-request-id": removeSenderLockRequest.opcRequestId, + "if-match": removeSenderLockRequest.ifMatch + }; + + const specRetryConfiguration = common.NoRetryConfigurationDetails; + const retrier = GenericRetrier.createPreferredRetrier( + this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, + removeSenderLockRequest.retryConfiguration, + specRetryConfiguration + ); + if (this.logger) retrier.logger = this.logger; + const request = await composeRequest({ + baseEndpoint: this._endpoint, + defaultHeaders: this._defaultHeaders, + path: "/senders/{senderId}/actions/removeLock", + method: "POST", + bodyContent: common.ObjectSerializer.serialize( + removeSenderLockRequest.removeLockDetails, + "RemoveLockDetails", + model.RemoveLockDetails.getJsonObj + ), + pathParams: pathParams, + headerParams: headerParams, + queryParams: queryParams + }); + try { + const response = await retrier.makeServiceCall( + this._httpClient, + request, + this.targetService, + operationName, + apiReferenceLink + ); + const sdkResponse = composeResponse({ + responseObject: {}, + body: await response.json(), + bodyKey: "sender", + bodyModel: model.Sender, + type: "model.Sender", + responseHeaders: [ + { + value: response.headers.get("opc-request-id"), + key: "opcRequestId", + dataType: "string" + }, + { + value: response.headers.get("etag"), + key: "etag", + dataType: "string" + } + ] + }); + + return sdkResponse; + } catch (err) { + throw err; + } + } + /** * Modifies a DKIM. * This operation does not retry by default if the user has not defined a retry configuration. @@ -2613,7 +3115,9 @@ export class EmailClient { "{emailDomainId}": updateEmailDomainRequest.emailDomainId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": updateEmailDomainRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -2691,7 +3195,9 @@ export class EmailClient { "{emailReturnPathId}": updateEmailReturnPathRequest.emailReturnPathId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": updateEmailReturnPathRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, @@ -2773,7 +3279,9 @@ export class EmailClient { "{senderId}": updateSenderRequest.senderId }; - const queryParams = {}; + const queryParams = { + "isLockOverride": updateSenderRequest.isLockOverride + }; let headerParams = { "Content-Type": common.Constants.APPLICATION_JSON, diff --git a/lib/email/lib/model/add-lock-details.ts b/lib/email/lib/model/add-lock-details.ts new file mode 100644 index 0000000000..8e2b0a5b9a --- /dev/null +++ b/lib/email/lib/model/add-lock-details.ts @@ -0,0 +1,64 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request payload to add lock to the resource. + * + */ +export interface AddLockDetails { + /** + * Lock type. + */ + "type": AddLockDetails.Type; + /** + * The lock compartment ID. + */ + "compartmentId"?: string; + /** + * The resource ID that is locking this resource. Indicates that deleting this resource removes the lock. + * + */ + "relatedResourceId"?: string; + /** + * A message added by the lock creator. The message typically gives an + * indication of why the resource is locked. + * + */ + "message"?: string; +} + +export namespace AddLockDetails { + export enum Type { + Full = "FULL", + Delete = "DELETE" + } + + export function getJsonObj(obj: AddLockDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: AddLockDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/email-domain-summary.ts b/lib/email/lib/model/email-domain-summary.ts index 92b7133b7b..3bee2c6166 100644 --- a/lib/email/lib/model/email-domain-summary.ts +++ b/lib/email/lib/model/email-domain-summary.ts @@ -86,16 +86,38 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace EmailDomainSummary { export function getJsonObj(obj: EmailDomainSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: EmailDomainSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/model/email-domain.ts b/lib/email/lib/model/email-domain.ts index cfeb58362d..ff4ae05693 100644 --- a/lib/email/lib/model/email-domain.ts +++ b/lib/email/lib/model/email-domain.ts @@ -100,6 +100,10 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace EmailDomain { @@ -118,12 +122,30 @@ export namespace EmailDomain { } export function getJsonObj(obj: EmailDomain): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: EmailDomain): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/model/email-return-path-summary.ts b/lib/email/lib/model/email-return-path-summary.ts index 62c16c713d..209c5f9bfb 100644 --- a/lib/email/lib/model/email-return-path-summary.ts +++ b/lib/email/lib/model/email-return-path-summary.ts @@ -94,16 +94,38 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace EmailReturnPathSummary { export function getJsonObj(obj: EmailReturnPathSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: EmailReturnPathSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/model/email-return-path.ts b/lib/email/lib/model/email-return-path.ts index 26c2ebf2de..e351b5b78e 100644 --- a/lib/email/lib/model/email-return-path.ts +++ b/lib/email/lib/model/email-return-path.ts @@ -111,6 +111,10 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace EmailReturnPath { @@ -130,12 +134,30 @@ export namespace EmailReturnPath { } export function getJsonObj(obj: EmailReturnPath): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: EmailReturnPath): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/model/index.ts b/lib/email/lib/model/index.ts index 59cbf940ab..631de4caa2 100644 --- a/lib/email/lib/model/index.ts +++ b/lib/email/lib/model/index.ts @@ -18,6 +18,8 @@ For more information, see [Overview of the Email Delivery Service](https://docs. import * as ActionType from "./action-type"; export import ActionType = ActionType.ActionType; +import * as AddLockDetails from "./add-lock-details"; +export import AddLockDetails = AddLockDetails.AddLockDetails; import * as ChangeEmailDomainCompartmentDetails from "./change-email-domain-compartment-details"; export import ChangeEmailDomainCompartmentDetails = ChangeEmailDomainCompartmentDetails.ChangeEmailDomainCompartmentDetails; import * as ChangeSenderCompartmentDetails from "./change-sender-compartment-details"; @@ -58,6 +60,10 @@ import * as OperationStatus from "./operation-status"; export import OperationStatus = OperationStatus.OperationStatus; import * as OperationType from "./operation-type"; export import OperationType = OperationType.OperationType; +import * as RemoveLockDetails from "./remove-lock-details"; +export import RemoveLockDetails = RemoveLockDetails.RemoveLockDetails; +import * as ResourceLock from "./resource-lock"; +export import ResourceLock = ResourceLock.ResourceLock; import * as Sender from "./sender"; export import Sender = Sender.Sender; import * as SenderSummary from "./sender-summary"; diff --git a/lib/email/lib/model/remove-lock-details.ts b/lib/email/lib/model/remove-lock-details.ts new file mode 100644 index 0000000000..939df0db28 --- /dev/null +++ b/lib/email/lib/model/remove-lock-details.ts @@ -0,0 +1,53 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Request payload to remove the resource lock. + * + */ +export interface RemoveLockDetails { + /** + * Lock type. + */ + "type": RemoveLockDetails.Type; + /** + * The lock compartment ID. + */ + "compartmentId"?: string; +} + +export namespace RemoveLockDetails { + export enum Type { + Full = "FULL", + Delete = "DELETE" + } + + export function getJsonObj(obj: RemoveLockDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: RemoveLockDetails): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/resource-lock.ts b/lib/email/lib/model/resource-lock.ts new file mode 100644 index 0000000000..ad6fe70d7d --- /dev/null +++ b/lib/email/lib/model/resource-lock.ts @@ -0,0 +1,75 @@ +/** + * Email Delivery API + * Use the Email Delivery API to do the necessary set up to send high-volume and application-generated emails through the OCI Email Delivery service. +For more information, see [Overview of the Email Delivery Service](https://docs.oracle.com/iaas/Content/Email/Concepts/overview.htm). + + **Note:** Write actions (POST, UPDATE, DELETE) may take several minutes to propagate and be reflected by the API. + If a subsequent read request fails to reflect your changes, wait a few minutes and try again. + + * OpenAPI spec version: 20170907 + * Contact: email-dev_us_grp@oracle.com + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * Resource locks prevent certain APIs from being called for the resource. + * A full lock prevents both updating and deleting the resource. A delete lock + * prevents deleting the resource. + * + */ +export interface ResourceLock { + /** + * Lock type. + */ + "type": ResourceLock.Type; + /** + * The lock compartment ID. + */ + "compartmentId": string; + /** + * The resource ID that is locking this resource. Indicates that deleting this resource removes the lock. + * + */ + "relatedResourceId"?: string; + /** + * A message added by the lock creator. The message typically gives an + * indication of why the resource is locked. + * + */ + "message"?: string; + /** + * Indicates when the lock was created, in the format defined by RFC 3339. + */ + "timeCreated"?: Date; +} + +export namespace ResourceLock { + export enum Type { + Full = "FULL", + Delete = "DELETE", + /** + * 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: ResourceLock): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } + export function getDeserializedJsonObj(obj: ResourceLock): object { + const jsonObj = { ...obj, ...{} }; + + return jsonObj; + } +} diff --git a/lib/email/lib/model/sender-summary.ts b/lib/email/lib/model/sender-summary.ts index 968eccf9fa..b6c5de2d5b 100644 --- a/lib/email/lib/model/sender-summary.ts +++ b/lib/email/lib/model/sender-summary.ts @@ -67,16 +67,38 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace SenderSummary { export function getJsonObj(obj: SenderSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: SenderSummary): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/model/sender.ts b/lib/email/lib/model/sender.ts index bab4724533..808f47a9a9 100644 --- a/lib/email/lib/model/sender.ts +++ b/lib/email/lib/model/sender.ts @@ -78,6 +78,10 @@ Example: {@code {\"Operations\": {\"CostCenter\": \"42\"}}} * */ "systemTags"?: { [key: string]: { [key: string]: any } }; + /** + * Locks associated with this resource. + */ + "locks"?: Array; } export namespace Sender { @@ -97,12 +101,30 @@ export namespace Sender { } export function getJsonObj(obj: Sender): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getJsonObj(item); + }) + : undefined + } + }; return jsonObj; } export function getDeserializedJsonObj(obj: Sender): object { - const jsonObj = { ...obj, ...{} }; + const jsonObj = { + ...obj, + ...{ + "locks": obj.locks + ? obj.locks.map(item => { + return model.ResourceLock.getDeserializedJsonObj(item); + }) + : undefined + } + }; return jsonObj; } diff --git a/lib/email/lib/request/add-email-domain-lock-request.ts b/lib/email/lib/request/add-email-domain-lock-request.ts new file mode 100644 index 0000000000..1c1e1d9e31 --- /dev/null +++ b/lib/email/lib/request/add-email-domain-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddEmailDomainLock.ts.html |here} to see how to use AddEmailDomainLockRequest. + */ +export interface AddEmailDomainLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain. + */ + "emailDomainId": string; + /** + * Details for adding a lock to a resource. + */ + "addLockDetails": model.AddLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/add-return-path-lock-request.ts b/lib/email/lib/request/add-return-path-lock-request.ts new file mode 100644 index 0000000000..46ae8a3eaa --- /dev/null +++ b/lib/email/lib/request/add-return-path-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddReturnPathLock.ts.html |here} to see how to use AddReturnPathLockRequest. + */ +export interface AddReturnPathLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email return path. + */ + "emailReturnPathId": string; + /** + * Details for adding a lock to a resource. + */ + "addLockDetails": model.AddLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/add-sender-lock-request.ts b/lib/email/lib/request/add-sender-lock-request.ts new file mode 100644 index 0000000000..db53ea0095 --- /dev/null +++ b/lib/email/lib/request/add-sender-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/AddSenderLock.ts.html |here} to see how to use AddSenderLockRequest. + */ +export interface AddSenderLockRequest extends common.BaseRequest { + /** + * The unique OCID of the sender. + */ + "senderId": string; + /** + * Details for adding a lock to a resource. + */ + "addLockDetails": model.AddLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/change-email-domain-compartment-request.ts b/lib/email/lib/request/change-email-domain-compartment-request.ts index 1390a8b31d..86032102fb 100644 --- a/lib/email/lib/request/change-email-domain-compartment-request.ts +++ b/lib/email/lib/request/change-email-domain-compartment-request.ts @@ -46,4 +46,8 @@ export interface ChangeEmailDomainCompartmentRequest extends common.BaseRequest * */ "opcRetryToken"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/change-sender-compartment-request.ts b/lib/email/lib/request/change-sender-compartment-request.ts index 5347126834..4b57f1db00 100644 --- a/lib/email/lib/request/change-sender-compartment-request.ts +++ b/lib/email/lib/request/change-sender-compartment-request.ts @@ -37,4 +37,8 @@ export interface ChangeSenderCompartmentRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/delete-email-domain-request.ts b/lib/email/lib/request/delete-email-domain-request.ts index 9cf0156ea6..988eb9aeb5 100644 --- a/lib/email/lib/request/delete-email-domain-request.ts +++ b/lib/email/lib/request/delete-email-domain-request.ts @@ -33,4 +33,8 @@ export interface DeleteEmailDomainRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/delete-email-return-path-request.ts b/lib/email/lib/request/delete-email-return-path-request.ts index 1767646199..8fbcdb12f7 100644 --- a/lib/email/lib/request/delete-email-return-path-request.ts +++ b/lib/email/lib/request/delete-email-return-path-request.ts @@ -33,4 +33,8 @@ export interface DeleteEmailReturnPathRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/delete-sender-request.ts b/lib/email/lib/request/delete-sender-request.ts index 0faab339cf..59ca5fdfa1 100644 --- a/lib/email/lib/request/delete-sender-request.ts +++ b/lib/email/lib/request/delete-sender-request.ts @@ -33,4 +33,8 @@ export interface DeleteSenderRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/index.ts b/lib/email/lib/request/index.ts index 0cdfd12c57..81e8dc1d0a 100644 --- a/lib/email/lib/request/index.ts +++ b/lib/email/lib/request/index.ts @@ -16,6 +16,12 @@ For more information, see [Overview of the Email Delivery Service](https://docs. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as AddEmailDomainLockRequest from "./add-email-domain-lock-request"; +export import AddEmailDomainLockRequest = AddEmailDomainLockRequest.AddEmailDomainLockRequest; +import * as AddReturnPathLockRequest from "./add-return-path-lock-request"; +export import AddReturnPathLockRequest = AddReturnPathLockRequest.AddReturnPathLockRequest; +import * as AddSenderLockRequest from "./add-sender-lock-request"; +export import AddSenderLockRequest = AddSenderLockRequest.AddSenderLockRequest; import * as ChangeEmailDomainCompartmentRequest from "./change-email-domain-compartment-request"; export import ChangeEmailDomainCompartmentRequest = ChangeEmailDomainCompartmentRequest.ChangeEmailDomainCompartmentRequest; import * as ChangeSenderCompartmentRequest from "./change-sender-compartment-request"; @@ -70,6 +76,12 @@ import * as ListWorkRequestLogsRequest from "./list-work-request-logs-request"; export import ListWorkRequestLogsRequest = ListWorkRequestLogsRequest.ListWorkRequestLogsRequest; import * as ListWorkRequestsRequest from "./list-work-requests-request"; export import ListWorkRequestsRequest = ListWorkRequestsRequest.ListWorkRequestsRequest; +import * as RemoveEmailDomainLockRequest from "./remove-email-domain-lock-request"; +export import RemoveEmailDomainLockRequest = RemoveEmailDomainLockRequest.RemoveEmailDomainLockRequest; +import * as RemoveReturnPathLockRequest from "./remove-return-path-lock-request"; +export import RemoveReturnPathLockRequest = RemoveReturnPathLockRequest.RemoveReturnPathLockRequest; +import * as RemoveSenderLockRequest from "./remove-sender-lock-request"; +export import RemoveSenderLockRequest = RemoveSenderLockRequest.RemoveSenderLockRequest; import * as UpdateDkimRequest from "./update-dkim-request"; export import UpdateDkimRequest = UpdateDkimRequest.UpdateDkimRequest; import * as UpdateEmailDomainRequest from "./update-email-domain-request"; diff --git a/lib/email/lib/request/remove-email-domain-lock-request.ts b/lib/email/lib/request/remove-email-domain-lock-request.ts new file mode 100644 index 0000000000..b25e9d094b --- /dev/null +++ b/lib/email/lib/request/remove-email-domain-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveEmailDomainLock.ts.html |here} to see how to use RemoveEmailDomainLockRequest. + */ +export interface RemoveEmailDomainLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email domain. + */ + "emailDomainId": string; + /** + * Details for removing a lock from a resource. + */ + "removeLockDetails": model.RemoveLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/remove-return-path-lock-request.ts b/lib/email/lib/request/remove-return-path-lock-request.ts new file mode 100644 index 0000000000..8caacb8859 --- /dev/null +++ b/lib/email/lib/request/remove-return-path-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveReturnPathLock.ts.html |here} to see how to use RemoveReturnPathLockRequest. + */ +export interface RemoveReturnPathLockRequest extends common.BaseRequest { + /** + * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of this email return path. + */ + "emailReturnPathId": string; + /** + * Details for removing a lock from a resource. + */ + "removeLockDetails": model.RemoveLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/remove-sender-lock-request.ts b/lib/email/lib/request/remove-sender-lock-request.ts new file mode 100644 index 0000000000..b90c07c172 --- /dev/null +++ b/lib/email/lib/request/remove-sender-lock-request.ts @@ -0,0 +1,40 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +/** + * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/email/RemoveSenderLock.ts.html |here} to see how to use RemoveSenderLockRequest. + */ +export interface RemoveSenderLockRequest extends common.BaseRequest { + /** + * The unique OCID of the sender. + */ + "senderId": string; + /** + * Details for removing a lock from a resource. + */ + "removeLockDetails": model.RemoveLockDetails; + /** + * The request ID for tracing from the system + */ + "opcRequestId"?: string; + /** + * Used for optimistic concurrency control. In the update or delete call for a resource, set the {@code if-match} + * parameter to the value of the etag from a previous get, create, or update response for that resource. The resource + * will be updated or deleted only if the etag you provide matches the resource's current etag value. + * + */ + "ifMatch"?: string; +} diff --git a/lib/email/lib/request/update-email-domain-request.ts b/lib/email/lib/request/update-email-domain-request.ts index e940c4ea76..424aaa5bef 100644 --- a/lib/email/lib/request/update-email-domain-request.ts +++ b/lib/email/lib/request/update-email-domain-request.ts @@ -37,4 +37,8 @@ export interface UpdateEmailDomainRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/update-email-return-path-request.ts b/lib/email/lib/request/update-email-return-path-request.ts index 61338ec714..6b1ad97c41 100644 --- a/lib/email/lib/request/update-email-return-path-request.ts +++ b/lib/email/lib/request/update-email-return-path-request.ts @@ -37,4 +37,8 @@ export interface UpdateEmailReturnPathRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/request/update-sender-request.ts b/lib/email/lib/request/update-sender-request.ts index 330184f0b8..f0e26dee3a 100644 --- a/lib/email/lib/request/update-sender-request.ts +++ b/lib/email/lib/request/update-sender-request.ts @@ -37,4 +37,8 @@ export interface UpdateSenderRequest extends common.BaseRequest { * The request ID for tracing from the system */ "opcRequestId"?: string; + /** + * Whether to override locks (if any exist). + */ + "isLockOverride"?: boolean; } diff --git a/lib/email/lib/response/add-email-domain-lock-response.ts b/lib/email/lib/response/add-email-domain-lock-response.ts new file mode 100644 index 0000000000..38e498b876 --- /dev/null +++ b/lib/email/lib/response/add-email-domain-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface AddEmailDomainLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.EmailDomain instance. + */ + "emailDomain": model.EmailDomain; +} diff --git a/lib/email/lib/response/add-return-path-lock-response.ts b/lib/email/lib/response/add-return-path-lock-response.ts new file mode 100644 index 0000000000..d7c9bf66a7 --- /dev/null +++ b/lib/email/lib/response/add-return-path-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface AddReturnPathLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.EmailReturnPath instance. + */ + "emailReturnPath": model.EmailReturnPath; +} diff --git a/lib/email/lib/response/add-sender-lock-response.ts b/lib/email/lib/response/add-sender-lock-response.ts new file mode 100644 index 0000000000..eca0b9a70e --- /dev/null +++ b/lib/email/lib/response/add-sender-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface AddSenderLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.Sender instance. + */ + "sender": model.Sender; +} diff --git a/lib/email/lib/response/index.ts b/lib/email/lib/response/index.ts index a931d0b444..51cadd1764 100644 --- a/lib/email/lib/response/index.ts +++ b/lib/email/lib/response/index.ts @@ -16,6 +16,12 @@ For more information, see [Overview of the Email Delivery Service](https://docs. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ +import * as AddEmailDomainLockResponse from "./add-email-domain-lock-response"; +export import AddEmailDomainLockResponse = AddEmailDomainLockResponse.AddEmailDomainLockResponse; +import * as AddReturnPathLockResponse from "./add-return-path-lock-response"; +export import AddReturnPathLockResponse = AddReturnPathLockResponse.AddReturnPathLockResponse; +import * as AddSenderLockResponse from "./add-sender-lock-response"; +export import AddSenderLockResponse = AddSenderLockResponse.AddSenderLockResponse; import * as ChangeEmailDomainCompartmentResponse from "./change-email-domain-compartment-response"; export import ChangeEmailDomainCompartmentResponse = ChangeEmailDomainCompartmentResponse.ChangeEmailDomainCompartmentResponse; import * as ChangeSenderCompartmentResponse from "./change-sender-compartment-response"; @@ -70,6 +76,12 @@ import * as ListWorkRequestLogsResponse from "./list-work-request-logs-response" export import ListWorkRequestLogsResponse = ListWorkRequestLogsResponse.ListWorkRequestLogsResponse; import * as ListWorkRequestsResponse from "./list-work-requests-response"; export import ListWorkRequestsResponse = ListWorkRequestsResponse.ListWorkRequestsResponse; +import * as RemoveEmailDomainLockResponse from "./remove-email-domain-lock-response"; +export import RemoveEmailDomainLockResponse = RemoveEmailDomainLockResponse.RemoveEmailDomainLockResponse; +import * as RemoveReturnPathLockResponse from "./remove-return-path-lock-response"; +export import RemoveReturnPathLockResponse = RemoveReturnPathLockResponse.RemoveReturnPathLockResponse; +import * as RemoveSenderLockResponse from "./remove-sender-lock-response"; +export import RemoveSenderLockResponse = RemoveSenderLockResponse.RemoveSenderLockResponse; import * as UpdateDkimResponse from "./update-dkim-response"; export import UpdateDkimResponse = UpdateDkimResponse.UpdateDkimResponse; import * as UpdateEmailDomainResponse from "./update-email-domain-response"; diff --git a/lib/email/lib/response/remove-email-domain-lock-response.ts b/lib/email/lib/response/remove-email-domain-lock-response.ts new file mode 100644 index 0000000000..a743478ad9 --- /dev/null +++ b/lib/email/lib/response/remove-email-domain-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RemoveEmailDomainLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.EmailDomain instance. + */ + "emailDomain": model.EmailDomain; +} diff --git a/lib/email/lib/response/remove-return-path-lock-response.ts b/lib/email/lib/response/remove-return-path-lock-response.ts new file mode 100644 index 0000000000..1edf6695f1 --- /dev/null +++ b/lib/email/lib/response/remove-return-path-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RemoveReturnPathLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.EmailReturnPath instance. + */ + "emailReturnPath": model.EmailReturnPath; +} diff --git a/lib/email/lib/response/remove-sender-lock-response.ts b/lib/email/lib/response/remove-sender-lock-response.ts new file mode 100644 index 0000000000..edb20e586d --- /dev/null +++ b/lib/email/lib/response/remove-sender-lock-response.ts @@ -0,0 +1,33 @@ +/** + * + * + * OpenAPI spec version: 20170907 + * + * + * NOTE: This class is auto generated by OracleSDKGenerator. + * Do not edit the class manually. + * + * Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +import * as model from "../model"; +import common = require("oci-common"); + +export interface RemoveSenderLockResponse { + /** + * Unique Oracle-assigned identifier for the request. If you need to contact + * Oracle about a particular request, please provide the request ID. + * + */ + "opcRequestId": string; + /** + * For optimistic concurrency control. See {@code if-match}. + * + */ + "etag": string; + /** + * The returned model.Sender instance. + */ + "sender": model.Sender; +} diff --git a/lib/email/package.json b/lib/email/package.json index ac97296faf..218083a508 100644 --- a/lib/email/package.json +++ b/lib/email/package.json @@ -1,6 +1,6 @@ { "name": "oci-email", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Email", "repository": { "type": "git", diff --git a/lib/emaildataplane/package.json b/lib/emaildataplane/package.json index f7ba574e36..04f7de1cca 100644 --- a/lib/emaildataplane/package.json +++ b/lib/emaildataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-emaildataplane", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Email Data Plane Service", "repository": { "type": "git", diff --git a/lib/emwarehouse/package.json b/lib/emwarehouse/package.json index c28d5e7698..b5fdc80a35 100644 --- a/lib/emwarehouse/package.json +++ b/lib/emwarehouse/package.json @@ -1,6 +1,6 @@ { "name": "oci-emwarehouse", - "version": "2.116.2", + "version": "2.117.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 c037229d0b..93264725b4 100644 --- a/lib/events/package.json +++ b/lib/events/package.json @@ -1,6 +1,6 @@ { "name": "oci-events", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Events Service", "repository": { "type": "git", diff --git a/lib/filestorage/lib/client.ts b/lib/filestorage/lib/client.ts index 7c96e0a261..cae5931df3 100644 --- a/lib/filestorage/lib/client.ts +++ b/lib/filestorage/lib/client.ts @@ -36,8 +36,9 @@ export enum FileStorageApiKeys {} * This service client uses {@link common.CircuitBreaker.DefaultConfiguration} for all the operations by default if no circuit breaker configuration is defined by the user. */ export class FileStorageClient { - protected static serviceEndpointTemplate = "https://filestorage.{region}.{secondLevelDomain}"; - protected static endpointServiceName = ""; + protected static serviceEndpointTemplate = + "https://filestorage.{region}.{dualStack?ds.:}oci.{secondLevelDomain}"; + protected static endpointServiceName = "filestorage"; protected "_realmSpecificEndpointTemplateEnabled": boolean | undefined = undefined; protected "_endpoint": string = ""; protected "_defaultHeaders": any = {}; @@ -266,6 +267,13 @@ export class FileStorageClient { "opc-request-id": addExportLockRequest.opcRequestId }; + const requiredParams = new Set(["exportId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -274,7 +282,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports/{exportId}/actions/addLock", method: "POST", @@ -348,6 +356,13 @@ export class FileStorageClient { "opc-request-id": addFileSystemLockRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -356,7 +371,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/addLock", method: "POST", @@ -432,6 +447,13 @@ export class FileStorageClient { "opc-request-id": addFilesystemSnapshotPolicyLockRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -440,7 +462,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/addLock", method: "POST", @@ -514,6 +536,13 @@ export class FileStorageClient { "opc-request-id": addMountTargetLockRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -522,7 +551,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/addLock", method: "POST", @@ -597,6 +626,13 @@ export class FileStorageClient { "opc-request-id": addOutboundConnectorLockRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -605,7 +641,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}/actions/addLock", method: "POST", @@ -679,6 +715,13 @@ export class FileStorageClient { "opc-request-id": addReplicationLockRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -687,7 +730,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}/actions/addLock", method: "POST", @@ -761,6 +804,13 @@ export class FileStorageClient { "opc-request-id": addSnapshotLockRequest.opcRequestId }; + const requiredParams = new Set(["snapshotId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -769,7 +819,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots/{snapshotId}/actions/addLock", method: "POST", @@ -845,6 +895,13 @@ export class FileStorageClient { "opc-request-id": cancelDowngradeShapeMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -853,7 +910,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/cancelShapeDowngrade", method: "POST", @@ -926,6 +983,13 @@ export class FileStorageClient { "opc-request-id": changeFileSystemCompartmentRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -934,7 +998,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/changeCompartment", method: "POST", @@ -1006,6 +1070,13 @@ export class FileStorageClient { "opc-request-id": changeFilesystemSnapshotPolicyCompartmentRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1014,7 +1085,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/changeCompartment", method: "POST", @@ -1083,6 +1154,13 @@ export class FileStorageClient { "opc-request-id": changeMountTargetCompartmentRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1091,7 +1169,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/changeCompartment", method: "POST", @@ -1162,6 +1240,13 @@ export class FileStorageClient { "opc-request-id": changeOutboundConnectorCompartmentRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1170,7 +1255,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}/actions/changeCompartment", method: "POST", @@ -1240,6 +1325,13 @@ export class FileStorageClient { "opc-request-id": changeReplicationCompartmentRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1248,7 +1340,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}/actions/changeCompartment", method: "POST", @@ -1313,6 +1405,13 @@ export class FileStorageClient { "opc-request-id": createExportRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1321,7 +1420,7 @@ export class FileStorageClient { ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports", method: "POST", @@ -1422,6 +1521,13 @@ All Oracle Cloud Infrastructure resources, including "opc-request-id": createFileSystemRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1430,7 +1536,7 @@ All Oracle Cloud Infrastructure resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems", method: "POST", @@ -1508,6 +1614,13 @@ After you create a file system snapshot policy, you can associate it with "opc-request-id": createFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1516,7 +1629,7 @@ After you create a file system snapshot policy, you can associate it with ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies", method: "POST", @@ -1622,6 +1735,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": createMountTargetRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1630,7 +1750,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets", method: "POST", @@ -1723,6 +1843,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": createOutboundConnectorRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1731,7 +1858,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors", method: "POST", @@ -1808,6 +1935,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-retry-token": createQuotaRuleRequest.opcRetryToken }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1816,7 +1950,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/quotaRules", method: "POST", @@ -1915,6 +2049,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": createReplicationRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -1923,7 +2064,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications", method: "POST", @@ -1997,6 +2138,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": createSnapshotRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2005,7 +2153,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots", method: "POST", @@ -2082,6 +2230,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteExportRequest.opcRequestId }; + const requiredParams = new Set(["exportId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2090,7 +2245,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports/{exportId}", method: "DELETE", @@ -2156,6 +2311,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteFileSystemRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2164,7 +2326,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}", method: "DELETE", @@ -2229,6 +2391,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2237,7 +2406,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}", method: "DELETE", @@ -2301,6 +2470,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2309,7 +2485,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}", method: "DELETE", @@ -2373,6 +2549,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteOutboundConnectorRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2381,7 +2564,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}", method: "DELETE", @@ -2443,6 +2626,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteQuotaRuleRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId", "quotaRuleId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2451,7 +2641,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", method: "DELETE", @@ -2515,6 +2705,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteReplicationRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2523,7 +2720,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}", method: "DELETE", @@ -2590,6 +2787,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteReplicationTargetRequest.opcRequestId }; + const requiredParams = new Set(["replicationTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2598,7 +2802,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replicationTargets/{replicationTargetId}", method: "DELETE", @@ -2661,6 +2865,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": deleteSnapshotRequest.opcRequestId }; + const requiredParams = new Set(["snapshotId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2669,7 +2880,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots/{snapshotId}", method: "DELETE", @@ -2730,6 +2941,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": detachCloneRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2738,7 +2956,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/detachClone", method: "POST", @@ -2801,6 +3019,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": estimateReplicationRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2809,7 +3034,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/estimateReplication", method: "POST", @@ -2877,6 +3102,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getExportRequest.opcRequestId }; + const requiredParams = new Set(["exportId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2885,7 +3117,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports/{exportId}", method: "GET", @@ -2953,6 +3185,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getExportSetRequest.opcRequestId }; + const requiredParams = new Set(["exportSetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -2961,7 +3200,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exportSets/{exportSetId}", method: "GET", @@ -3029,6 +3268,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getFileSystemRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3037,7 +3283,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}", method: "GET", @@ -3106,6 +3352,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3114,7 +3367,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}", method: "GET", @@ -3182,6 +3435,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3190,7 +3450,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}", method: "GET", @@ -3258,6 +3518,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getOutboundConnectorRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3266,7 +3533,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}", method: "GET", @@ -3337,6 +3604,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getQuotaRuleRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId", "quotaRuleId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3345,7 +3619,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", method: "GET", @@ -3413,6 +3687,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getReplicationRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3421,7 +3702,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}", method: "GET", @@ -3489,6 +3770,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getReplicationTargetRequest.opcRequestId }; + const requiredParams = new Set(["replicationTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3497,7 +3785,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replicationTargets/{replicationTargetId}", method: "GET", @@ -3565,6 +3853,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": getSnapshotRequest.opcRequestId }; + const requiredParams = new Set(["snapshotId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3573,7 +3868,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots/{snapshotId}", method: "GET", @@ -3650,6 +3945,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listExportSetsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3658,7 +3960,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exportSets", method: "GET", @@ -3789,6 +4091,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listExportsRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3797,7 +4106,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports", method: "GET", @@ -3930,6 +4239,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listFileSystemsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -3938,7 +4254,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems", method: "GET", @@ -4068,6 +4384,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listFilesystemSnapshotPoliciesRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4076,7 +4399,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies", method: "GET", @@ -4206,6 +4529,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listMountTargetsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4214,7 +4544,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets", method: "GET", @@ -4344,6 +4674,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listOutboundConnectorsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4352,7 +4689,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors", method: "GET", @@ -4481,6 +4818,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listQuotaRulesRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId", "principalType"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4489,7 +4833,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/quotaRules", method: "GET", @@ -4619,6 +4963,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listReplicationTargetsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4627,7 +4978,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replicationTargets", method: "GET", @@ -4757,6 +5108,13 @@ All Oracle Cloud Infrastructure Services resources, including "opc-request-id": listReplicationsRequest.opcRequestId }; + const requiredParams = new Set(["compartmentId", "availabilityDomain"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4765,7 +5123,7 @@ All Oracle Cloud Infrastructure Services resources, including ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications", method: "GET", @@ -4899,6 +5257,13 @@ Users can only sort by time created when listing snapshots by file system snapsh "opc-request-id": listSnapshotsRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -4907,7 +5272,7 @@ Users can only sort by time created when listing snapshots by file system snapsh ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots", method: "GET", @@ -5038,6 +5403,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": pauseFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5046,7 +5418,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/pause", method: "POST", @@ -5115,6 +5487,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeExportLockRequest.opcRequestId }; + const requiredParams = new Set(["exportId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5123,7 +5502,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports/{exportId}/actions/removeLock", method: "POST", @@ -5197,6 +5576,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeFileSystemLockRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5205,7 +5591,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/removeLock", method: "POST", @@ -5281,6 +5667,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeFilesystemSnapshotPolicyLockRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5289,7 +5682,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/removeLock", method: "POST", @@ -5364,6 +5757,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeMountTargetLockRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5372,7 +5772,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/removeLock", method: "POST", @@ -5447,6 +5847,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeOutboundConnectorLockRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5455,7 +5862,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}/actions/removeLock", method: "POST", @@ -5530,6 +5937,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeReplicationLockRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5538,7 +5952,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}/actions/removeLock", method: "POST", @@ -5612,6 +6026,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": removeSnapshotLockRequest.opcRequestId }; + const requiredParams = new Set(["snapshotId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5620,7 +6041,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots/{snapshotId}/actions/removeLock", method: "POST", @@ -5696,6 +6117,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": scheduleDowngradeShapeMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5704,7 +6132,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/scheduleShapeDowngrade", method: "POST", @@ -5782,6 +6210,13 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a "opc-request-id": toggleQuotaRulesRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5790,7 +6225,7 @@ If the policy is already paused, or in the INACTIVE state, you cannot pause it a ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/actions/toggleQuotaRules", method: "POST", @@ -5864,6 +6299,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": unpauseFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5872,7 +6314,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}/actions/unpause", method: "POST", @@ -5943,6 +6385,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateExportRequest.opcRequestId }; + const requiredParams = new Set(["exportId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -5951,7 +6400,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exports/{exportId}", method: "PUT", @@ -6025,6 +6474,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateExportSetRequest.opcRequestId }; + const requiredParams = new Set(["exportSetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6033,7 +6489,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/exportSets/{exportSetId}", method: "PUT", @@ -6111,6 +6567,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateFileSystemRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6119,7 +6582,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}", method: "PUT", @@ -6197,6 +6660,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateFilesystemSnapshotPolicyRequest.opcRequestId }; + const requiredParams = new Set(["filesystemSnapshotPolicyId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6205,7 +6675,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/filesystemSnapshotPolicies/{filesystemSnapshotPolicyId}", method: "PUT", @@ -6281,6 +6751,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6289,7 +6766,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}", method: "PUT", @@ -6366,6 +6843,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateOutboundConnectorRequest.opcRequestId }; + const requiredParams = new Set(["outboundConnectorId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6374,7 +6858,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/outboundConnectors/{outboundConnectorId}", method: "PUT", @@ -6450,6 +6934,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateQuotaRuleRequest.opcRequestId }; + const requiredParams = new Set(["fileSystemId", "quotaRuleId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6458,7 +6949,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/fileSystems/{fileSystemId}/quotaRules/{quotaRuleId}", method: "PUT", @@ -6535,6 +7026,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateReplicationRequest.opcRequestId }; + const requiredParams = new Set(["replicationId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6543,7 +7041,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/replications/{replicationId}", method: "PUT", @@ -6619,6 +7117,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": updateSnapshotRequest.opcRequestId }; + const requiredParams = new Set(["snapshotId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6627,7 +7132,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/snapshots/{snapshotId}", method: "PUT", @@ -6703,6 +7208,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": upgradeShapeMountTargetRequest.opcRequestId }; + const requiredParams = new Set(["mountTargetId"]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6711,7 +7223,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/{mountTargetId}/actions/upgradeShape", method: "POST", @@ -6785,6 +7297,13 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u "opc-request-id": validateKeyTabsRequest.opcRequestId }; + const requiredParams = new Set([]); + let endpoint = common.EndpointBuilder.populateServiceParamsInEndpoint( + this.endpoint, + pathParams, + queryParams, + requiredParams + ); const specRetryConfiguration = common.NoRetryConfigurationDetails; const retrier = GenericRetrier.createPreferredRetrier( this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, @@ -6793,7 +7312,7 @@ If the policy is already in the ACTIVE state, you cannot unpause it. You can't u ); if (this.logger) retrier.logger = this.logger; const request = await composeRequest({ - baseEndpoint: this._endpoint, + baseEndpoint: endpoint, defaultHeaders: this._defaultHeaders, path: "/mountTargets/actions/validateKeyTabs", method: "POST", diff --git a/lib/filestorage/lib/model/client-options.ts b/lib/filestorage/lib/model/client-options.ts index 7e3ee9e19d..7850e01e42 100644 --- a/lib/filestorage/lib/model/client-options.ts +++ b/lib/filestorage/lib/model/client-options.ts @@ -27,7 +27,7 @@ import common = require("oci-common"); export interface ClientOptions { /** * Clients these options should apply to. Must be a either - * single IPv4 address or single IPv4 CIDR block. + * single IPv4/IPv6 address or single IPv4/IPv6 CIDR block. *

**Note:** Access will also be limited by any applicable VCN * security rules and the ability to route IP packets to the diff --git a/lib/filestorage/lib/model/create-mount-target-details.ts b/lib/filestorage/lib/model/create-mount-target-details.ts index 9ade544e62..56148b2372 100644 --- a/lib/filestorage/lib/model/create-mount-target-details.ts +++ b/lib/filestorage/lib/model/create-mount-target-details.ts @@ -48,7 +48,10 @@ Example: {@code My mount target} * with [RFC 952](https://tools.ietf.org/html/rfc952) * and [RFC 1123](https://tools.ietf.org/html/rfc1123). *

-Note: This attribute value is stored in the [PrivateIp](https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, +Note: +*

+If the IP address is IPv4, this attribute value is stored in the +* [PrivateIp](https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, * not in the {@code mountTarget} resource. * To update the {@code hostnameLabel}, use {@code GetMountTarget} to obtain the * [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's @@ -56,6 +59,14 @@ Note: This attribute value is stored in the [PrivateIp](https://docs.oracle.com/ * [UpdatePrivateIp](https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) * to update the {@code hostnameLabel} value. *

+If the IP address is IPv6, it is stored in the +* [Ipv6] (https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Ipv6) resource +* To update the {@code hostnameLabel}, use {@code GetMountTarget} to obtain the +* [OCIDs](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's +* IPv6 address ({@code mountTargetIpv6Ids}). Then, you can use +* [UpdateIpv6](https://docs.oracle.com/iaas/en-us/iaas/api/#/en/iaas/20160918/Ipv6/UpdateIpv6) +* to update the {@code hostnameLabel} value. +*

For more information, see * [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm). *

diff --git a/lib/filestorage/lib/model/mount-target-summary.ts b/lib/filestorage/lib/model/mount-target-summary.ts index 2e71b8fc39..258ebd41d8 100644 --- a/lib/filestorage/lib/model/mount-target-summary.ts +++ b/lib/filestorage/lib/model/mount-target-summary.ts @@ -60,6 +60,10 @@ Example: {@code My mount target} * The OCIDs of the private IP addresses associated with this mount target. */ "privateIpIds": Array; + /** + * The OCIDs of the IPv6 addresses associated with this mount target. + */ + "mountTargetIpv6Ids"?: Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. */ diff --git a/lib/filestorage/lib/model/mount-target.ts b/lib/filestorage/lib/model/mount-target.ts index 54d6fc937a..03c5cff312 100644 --- a/lib/filestorage/lib/model/mount-target.ts +++ b/lib/filestorage/lib/model/mount-target.ts @@ -66,6 +66,10 @@ Example: {@code My mount target} * The OCIDs of the private IP addresses associated with this mount target. */ "privateIpIds": Array; + /** + * The OCIDs of the IPv6 addresses associated with this mount target. + */ + "mountTargetIpv6Ids"?: Array; /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. */ diff --git a/lib/filestorage/package.json b/lib/filestorage/package.json index b85d60d594..c1b5f22129 100644 --- a/lib/filestorage/package.json +++ b/lib/filestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-filestorage", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for File Storage", "repository": { "type": "git", diff --git a/lib/fleetappsmanagement/package.json b/lib/fleetappsmanagement/package.json index 85624e4918..a64b92916a 100644 --- a/lib/fleetappsmanagement/package.json +++ b/lib/fleetappsmanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetappsmanagement", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Fleet Apps Management Service", "repository": { "type": "git", diff --git a/lib/fleetsoftwareupdate/package.json b/lib/fleetsoftwareupdate/package.json index b885b29332..33d23c4fe1 100644 --- a/lib/fleetsoftwareupdate/package.json +++ b/lib/fleetsoftwareupdate/package.json @@ -1,6 +1,6 @@ { "name": "oci-fleetsoftwareupdate", - "version": "2.116.2", + "version": "2.117.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 43caa1adf7..f318b8ba7d 100644 --- a/lib/functions/package.json +++ b/lib/functions/package.json @@ -1,6 +1,6 @@ { "name": "oci-functions", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Functions", "repository": { "type": "git", diff --git a/lib/fusionapps/package.json b/lib/fusionapps/package.json index 095a34abd6..7e8e89ff2e 100644 --- a/lib/fusionapps/package.json +++ b/lib/fusionapps/package.json @@ -1,6 +1,6 @@ { "name": "oci-fusionapps", - "version": "2.116.2", + "version": "2.117.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 b19a2b6eee..1032d90d2e 100644 --- a/lib/generativeai/package.json +++ b/lib/generativeai/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeai", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Generative Ai Service", "repository": { "type": "git", diff --git a/lib/generativeaiagent/package.json b/lib/generativeaiagent/package.json index d841a6ea6a..5ca9aa1755 100644 --- a/lib/generativeaiagent/package.json +++ b/lib/generativeaiagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagent", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Generative Ai Agent Service", "repository": { "type": "git", diff --git a/lib/generativeaiagentruntime/package.json b/lib/generativeaiagentruntime/package.json index dd61bf3da6..cf57db3201 100644 --- a/lib/generativeaiagentruntime/package.json +++ b/lib/generativeaiagentruntime/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiagentruntime", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Generative Ai Agent Runtime Service", "repository": { "type": "git", diff --git a/lib/generativeaiinference/package.json b/lib/generativeaiinference/package.json index ca97199f0b..a3a634d5ce 100644 --- a/lib/generativeaiinference/package.json +++ b/lib/generativeaiinference/package.json @@ -1,6 +1,6 @@ { "name": "oci-generativeaiinference", - "version": "2.116.2", + "version": "2.117.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 1f82a937cb..0689546493 100644 --- a/lib/genericartifactscontent/package.json +++ b/lib/genericartifactscontent/package.json @@ -1,6 +1,6 @@ { "name": "oci-genericartifactscontent", - "version": "2.116.2", + "version": "2.117.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 e79fb87764..9fe521240b 100644 --- a/lib/globallydistributeddatabase/package.json +++ b/lib/globallydistributeddatabase/package.json @@ -1,6 +1,6 @@ { "name": "oci-globallydistributeddatabase", - "version": "2.116.2", + "version": "2.117.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 70ebd6b7e4..61cad1ee5f 100644 --- a/lib/goldengate/package.json +++ b/lib/goldengate/package.json @@ -1,6 +1,6 @@ { "name": "oci-goldengate", - "version": "2.116.2", + "version": "2.117.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 3bbe1395df..212e7e9bf8 100644 --- a/lib/governancerulescontrolplane/package.json +++ b/lib/governancerulescontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-governancerulescontrolplane", - "version": "2.116.2", + "version": "2.117.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 5182c6782a..8858322c52 100644 --- a/lib/healthchecks/package.json +++ b/lib/healthchecks/package.json @@ -1,6 +1,6 @@ { "name": "oci-healthchecks", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Healthchecks Service", "repository": { "type": "git", diff --git a/lib/identity/package.json b/lib/identity/package.json index 573ed4f4ff..b5d10e1a12 100644 --- a/lib/identity/package.json +++ b/lib/identity/package.json @@ -1,6 +1,6 @@ { "name": "oci-identity", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Identity", "repository": { "type": "git", diff --git a/lib/identitydataplane/package.json b/lib/identitydataplane/package.json index 1003605524..90dd22d509 100644 --- a/lib/identitydataplane/package.json +++ b/lib/identitydataplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydataplane", - "version": "2.116.2", + "version": "2.117.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 764005e7f2..e27ffa7ee9 100644 --- a/lib/identitydomains/package.json +++ b/lib/identitydomains/package.json @@ -1,6 +1,6 @@ { "name": "oci-identitydomains", - "version": "2.116.2", + "version": "2.117.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 b936ba55a5..f3110f5fef 100644 --- a/lib/integration/package.json +++ b/lib/integration/package.json @@ -1,6 +1,6 @@ { "name": "oci-integration", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Integration service", "repository": { "type": "git", diff --git a/lib/jms/package.json b/lib/jms/package.json index fb576860b2..f98032f256 100644 --- a/lib/jms/package.json +++ b/lib/jms/package.json @@ -1,6 +1,6 @@ { "name": "oci-jms", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Jms Service", "repository": { "type": "git", diff --git a/lib/jmsjavadownloads/package.json b/lib/jmsjavadownloads/package.json index b9458105e9..c2570b8cec 100644 --- a/lib/jmsjavadownloads/package.json +++ b/lib/jmsjavadownloads/package.json @@ -1,6 +1,6 @@ { "name": "oci-jmsjavadownloads", - "version": "2.116.2", + "version": "2.117.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 3e149c73fd..57c4b7cb30 100644 --- a/lib/keymanagement/package.json +++ b/lib/keymanagement/package.json @@ -1,6 +1,6 @@ { "name": "oci-keymanagement", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Key Management", "repository": { "type": "git", diff --git a/lib/licensemanager/package.json b/lib/licensemanager/package.json index b60da9c618..7d33f38dea 100644 --- a/lib/licensemanager/package.json +++ b/lib/licensemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-licensemanager", - "version": "2.116.2", + "version": "2.117.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 b091977151..e69c481dd6 100644 --- a/lib/limits/package.json +++ b/lib/limits/package.json @@ -1,6 +1,6 @@ { "name": "oci-limits", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Limits Service", "repository": { "type": "git", diff --git a/lib/loadbalancer/package.json b/lib/loadbalancer/package.json index d34728dd7d..d649c89c48 100644 --- a/lib/loadbalancer/package.json +++ b/lib/loadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-loadbalancer", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Load Balancer", "repository": { "type": "git", diff --git a/lib/lockbox/package.json b/lib/lockbox/package.json index 2cae6257c2..f20ccdea32 100644 --- a/lib/lockbox/package.json +++ b/lib/lockbox/package.json @@ -1,6 +1,6 @@ { "name": "oci-lockbox", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Lockbox Service", "repository": { "type": "git", diff --git a/lib/loganalytics/package.json b/lib/loganalytics/package.json index b06abf1be4..46c51a8ee2 100644 --- a/lib/loganalytics/package.json +++ b/lib/loganalytics/package.json @@ -1,6 +1,6 @@ { "name": "oci-loganalytics", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Log Analytics Service", "repository": { "type": "git", diff --git a/lib/logging/package.json b/lib/logging/package.json index d1d98fd980..920d1480aa 100644 --- a/lib/logging/package.json +++ b/lib/logging/package.json @@ -1,6 +1,6 @@ { "name": "oci-logging", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Logging Service", "repository": { "type": "git", diff --git a/lib/loggingingestion/package.json b/lib/loggingingestion/package.json index 5cd9932e62..0551ae4497 100644 --- a/lib/loggingingestion/package.json +++ b/lib/loggingingestion/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingingestion", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Loggingingestion Service", "repository": { "type": "git", diff --git a/lib/loggingsearch/package.json b/lib/loggingsearch/package.json index aa465c8f88..81f3968f88 100644 --- a/lib/loggingsearch/package.json +++ b/lib/loggingsearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-loggingsearch", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Loggingsearch Service", "repository": { "type": "git", diff --git a/lib/lustrefilestorage/package.json b/lib/lustrefilestorage/package.json index e70ef69220..261908e972 100644 --- a/lib/lustrefilestorage/package.json +++ b/lib/lustrefilestorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-lustrefilestorage", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Lustre File Storage Service", "repository": { "type": "git", diff --git a/lib/managedkafka/package.json b/lib/managedkafka/package.json index 5c4daf3626..7eb74bc151 100644 --- a/lib/managedkafka/package.json +++ b/lib/managedkafka/package.json @@ -1,6 +1,6 @@ { "name": "oci-managedkafka", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Managed Kafka Service", "repository": { "type": "git", diff --git a/lib/managementagent/package.json b/lib/managementagent/package.json index b50c10b235..8cf5d24dc2 100644 --- a/lib/managementagent/package.json +++ b/lib/managementagent/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementagent", - "version": "2.116.2", + "version": "2.117.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 5e112d5a24..5bd591fb68 100644 --- a/lib/managementdashboard/package.json +++ b/lib/managementdashboard/package.json @@ -1,6 +1,6 @@ { "name": "oci-managementdashboard", - "version": "2.116.2", + "version": "2.117.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 0d6838378a..20ddafdf91 100644 --- a/lib/marketplace/package.json +++ b/lib/marketplace/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplace", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Marketplace Service", "repository": { "type": "git", diff --git a/lib/marketplaceprivateoffer/package.json b/lib/marketplaceprivateoffer/package.json index b05fb7ca44..120fd733a0 100644 --- a/lib/marketplaceprivateoffer/package.json +++ b/lib/marketplaceprivateoffer/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplaceprivateoffer", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Marketplace Private Offer Service", "repository": { "type": "git", diff --git a/lib/marketplacepublisher/package.json b/lib/marketplacepublisher/package.json index 5fd1d1c20d..a50a396632 100644 --- a/lib/marketplacepublisher/package.json +++ b/lib/marketplacepublisher/package.json @@ -1,6 +1,6 @@ { "name": "oci-marketplacepublisher", - "version": "2.116.2", + "version": "2.117.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 2945eb5ac0..59317a3d5d 100644 --- a/lib/mediaservices/package.json +++ b/lib/mediaservices/package.json @@ -1,6 +1,6 @@ { "name": "oci-mediaservices", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Media Services Service", "repository": { "type": "git", diff --git a/lib/mngdmac/package.json b/lib/mngdmac/package.json index 86868be645..ff9d811234 100644 --- a/lib/mngdmac/package.json +++ b/lib/mngdmac/package.json @@ -1,6 +1,6 @@ { "name": "oci-mngdmac", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Mngdmac Service", "repository": { "type": "git", diff --git a/lib/modeldeployment/package.json b/lib/modeldeployment/package.json index b534919704..7e6d4b1183 100644 --- a/lib/modeldeployment/package.json +++ b/lib/modeldeployment/package.json @@ -1,6 +1,6 @@ { "name": "oci-modeldeployment", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Model Deployment Service", "repository": { "type": "git", diff --git a/lib/monitoring/package.json b/lib/monitoring/package.json index 2cd2aec74a..8fffcd3af0 100644 --- a/lib/monitoring/package.json +++ b/lib/monitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-monitoring", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Monitoring", "repository": { "type": "git", diff --git a/lib/multicloud/package.json b/lib/multicloud/package.json index 982077090a..ae11ba0b8c 100644 --- a/lib/multicloud/package.json +++ b/lib/multicloud/package.json @@ -1,6 +1,6 @@ { "name": "oci-multicloud", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Multicloud Service", "repository": { "type": "git", diff --git a/lib/mysql/package.json b/lib/mysql/package.json index 8eee2f69a8..8f01f3389e 100644 --- a/lib/mysql/package.json +++ b/lib/mysql/package.json @@ -1,6 +1,6 @@ { "name": "oci-mysql", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Mysql ", "repository": { "type": "git", diff --git a/lib/networkfirewall/package.json b/lib/networkfirewall/package.json index d7fb26d20d..cc8ef2d1af 100644 --- a/lib/networkfirewall/package.json +++ b/lib/networkfirewall/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkfirewall", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Network Firewall Service", "repository": { "type": "git", diff --git a/lib/networkloadbalancer/package.json b/lib/networkloadbalancer/package.json index 6ef91737bb..f5e2ba80e4 100644 --- a/lib/networkloadbalancer/package.json +++ b/lib/networkloadbalancer/package.json @@ -1,6 +1,6 @@ { "name": "oci-networkloadbalancer", - "version": "2.116.2", + "version": "2.117.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 7fd8bd67e8..2d26910718 100644 --- a/lib/nosql/package.json +++ b/lib/nosql/package.json @@ -1,6 +1,6 @@ { "name": "oci-nosql", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Nosql Service", "repository": { "type": "git", diff --git a/lib/objectstorage/package.json b/lib/objectstorage/package.json index a9095638c1..b2e1469f00 100644 --- a/lib/objectstorage/package.json +++ b/lib/objectstorage/package.json @@ -1,6 +1,6 @@ { "name": "oci-objectstorage", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for ObjectStorage", "repository": { "type": "git", diff --git a/lib/oce/package.json b/lib/oce/package.json index 191ae00272..304736754b 100644 --- a/lib/oce/package.json +++ b/lib/oce/package.json @@ -1,6 +1,6 @@ { "name": "oci-oce", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for OCE Service", "repository": { "type": "git", diff --git a/lib/ocicontrolcenter/package.json b/lib/ocicontrolcenter/package.json index 5ee8931412..06f3e566ec 100644 --- a/lib/ocicontrolcenter/package.json +++ b/lib/ocicontrolcenter/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocicontrolcenter", - "version": "2.116.2", + "version": "2.117.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 1179746d8e..477462115d 100644 --- a/lib/ocvp/package.json +++ b/lib/ocvp/package.json @@ -1,6 +1,6 @@ { "name": "oci-ocvp", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Ocvp Service", "repository": { "type": "git", diff --git a/lib/oda/package.json b/lib/oda/package.json index c03cbc2545..075250f9c1 100644 --- a/lib/oda/package.json +++ b/lib/oda/package.json @@ -1,6 +1,6 @@ { "name": "oci-oda", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Oda Service", "repository": { "type": "git", diff --git a/lib/onesubscription/package.json b/lib/onesubscription/package.json index 941dc04f88..7a08f5662d 100644 --- a/lib/onesubscription/package.json +++ b/lib/onesubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-onesubscription", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Onesubscription Service", "repository": { "type": "git", diff --git a/lib/ons/package.json b/lib/ons/package.json index 73bf692b3e..692981c614 100644 --- a/lib/ons/package.json +++ b/lib/ons/package.json @@ -1,6 +1,6 @@ { "name": "oci-ons", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for ONS", "repository": { "type": "git", diff --git a/lib/opa/package.json b/lib/opa/package.json index 110cd3c402..220f750b6c 100644 --- a/lib/opa/package.json +++ b/lib/opa/package.json @@ -1,6 +1,6 @@ { "name": "oci-opa", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Opa Service", "repository": { "type": "git", diff --git a/lib/opensearch/package.json b/lib/opensearch/package.json index 07ad12dfe0..e990ca9a6d 100644 --- a/lib/opensearch/package.json +++ b/lib/opensearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-opensearch", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Opensearch Service", "repository": { "type": "git", diff --git a/lib/operatoraccesscontrol/package.json b/lib/operatoraccesscontrol/package.json index 38907cc629..e489b8de5e 100644 --- a/lib/operatoraccesscontrol/package.json +++ b/lib/operatoraccesscontrol/package.json @@ -1,6 +1,6 @@ { "name": "oci-operatoraccesscontrol", - "version": "2.116.2", + "version": "2.117.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 b35a6609f1..033da66c43 100644 --- a/lib/opsi/package.json +++ b/lib/opsi/package.json @@ -1,6 +1,6 @@ { "name": "oci-opsi", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Opsi Service", "repository": { "type": "git", diff --git a/lib/optimizer/package.json b/lib/optimizer/package.json index 3719edad19..88e47da9f8 100644 --- a/lib/optimizer/package.json +++ b/lib/optimizer/package.json @@ -1,6 +1,6 @@ { "name": "oci-optimizer", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Optimizer Service", "repository": { "type": "git", diff --git a/lib/osmanagementhub/package.json b/lib/osmanagementhub/package.json index 54576b4c2e..4da5a3ab6d 100644 --- a/lib/osmanagementhub/package.json +++ b/lib/osmanagementhub/package.json @@ -1,6 +1,6 @@ { "name": "oci-osmanagementhub", - "version": "2.116.2", + "version": "2.117.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 5449a2b190..a4f3096aa8 100644 --- a/lib/ospgateway/package.json +++ b/lib/ospgateway/package.json @@ -1,6 +1,6 @@ { "name": "oci-ospgateway", - "version": "2.116.2", + "version": "2.117.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 6d0bc846b6..19796d7489 100644 --- a/lib/osubbillingschedule/package.json +++ b/lib/osubbillingschedule/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubbillingschedule", - "version": "2.116.2", + "version": "2.117.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 7ec032365f..86094163fa 100644 --- a/lib/osuborganizationsubscription/package.json +++ b/lib/osuborganizationsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osuborganizationsubscription", - "version": "2.116.2", + "version": "2.117.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 5de0269f1b..92d4529e27 100644 --- a/lib/osubsubscription/package.json +++ b/lib/osubsubscription/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubsubscription", - "version": "2.116.2", + "version": "2.117.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 18de44b7a4..4ad4cc1aeb 100644 --- a/lib/osubusage/package.json +++ b/lib/osubusage/package.json @@ -1,6 +1,6 @@ { "name": "oci-osubusage", - "version": "2.116.2", + "version": "2.117.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 d381c71fbe..2defcb46f1 100644 --- a/lib/psql/package.json +++ b/lib/psql/package.json @@ -1,6 +1,6 @@ { "name": "oci-psql", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Psql Service", "repository": { "type": "git", diff --git a/lib/queue/package.json b/lib/queue/package.json index 77f7855fc2..22591d3fad 100644 --- a/lib/queue/package.json +++ b/lib/queue/package.json @@ -1,6 +1,6 @@ { "name": "oci-queue", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Queue Service", "repository": { "type": "git", diff --git a/lib/recovery/package.json b/lib/recovery/package.json index 5ae411cd0f..453693a7c5 100644 --- a/lib/recovery/package.json +++ b/lib/recovery/package.json @@ -1,6 +1,6 @@ { "name": "oci-recovery", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Recovery Service", "repository": { "type": "git", diff --git a/lib/redis/package.json b/lib/redis/package.json index d2030d1fb2..a4e9f303a4 100644 --- a/lib/redis/package.json +++ b/lib/redis/package.json @@ -1,6 +1,6 @@ { "name": "oci-redis", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Redis Service", "repository": { "type": "git", diff --git a/lib/resourcemanager/package.json b/lib/resourcemanager/package.json index ecd63e27cf..45db1cc8cc 100644 --- a/lib/resourcemanager/package.json +++ b/lib/resourcemanager/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcemanager", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Resource manager Service", "repository": { "type": "git", diff --git a/lib/resourcescheduler/package.json b/lib/resourcescheduler/package.json index 9c77ce1695..71eff3c960 100644 --- a/lib/resourcescheduler/package.json +++ b/lib/resourcescheduler/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcescheduler", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Resource Scheduler Service", "repository": { "type": "git", diff --git a/lib/resourcesearch/package.json b/lib/resourcesearch/package.json index de91cffb1f..1bdb06f4a8 100644 --- a/lib/resourcesearch/package.json +++ b/lib/resourcesearch/package.json @@ -1,6 +1,6 @@ { "name": "oci-resourcesearch", - "version": "2.116.2", + "version": "2.117.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 9c1945ecf8..e956cac5ea 100644 --- a/lib/rover/package.json +++ b/lib/rover/package.json @@ -1,6 +1,6 @@ { "name": "oci-rover", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Rover Service", "repository": { "type": "git", diff --git a/lib/sch/package.json b/lib/sch/package.json index 6cc3fdcf1a..dbb790d978 100644 --- a/lib/sch/package.json +++ b/lib/sch/package.json @@ -1,6 +1,6 @@ { "name": "oci-sch", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Sch Service", "repository": { "type": "git", diff --git a/lib/secrets/package.json b/lib/secrets/package.json index ab45d74f48..720ed9895c 100644 --- a/lib/secrets/package.json +++ b/lib/secrets/package.json @@ -1,6 +1,6 @@ { "name": "oci-secrets", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Secrets Service", "repository": { "type": "git", diff --git a/lib/securityattribute/package.json b/lib/securityattribute/package.json index 882cb01250..1752fdb29f 100644 --- a/lib/securityattribute/package.json +++ b/lib/securityattribute/package.json @@ -1,6 +1,6 @@ { "name": "oci-securityattribute", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Security Attribute Service", "repository": { "type": "git", diff --git a/lib/servicecatalog/package.json b/lib/servicecatalog/package.json index 0835d98423..53cc18a47c 100644 --- a/lib/servicecatalog/package.json +++ b/lib/servicecatalog/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicecatalog", - "version": "2.116.2", + "version": "2.117.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 ea4256f9c8..1d55f1a43e 100644 --- a/lib/servicemanagerproxy/package.json +++ b/lib/servicemanagerproxy/package.json @@ -1,6 +1,6 @@ { "name": "oci-servicemanagerproxy", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Service Manager Proxy Service", "repository": { "type": "git", diff --git a/lib/stackmonitoring/package.json b/lib/stackmonitoring/package.json index 0b16b9215c..e44353c7f0 100644 --- a/lib/stackmonitoring/package.json +++ b/lib/stackmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-stackmonitoring", - "version": "2.116.2", + "version": "2.117.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 db67a5afe4..5a5576bd0f 100644 --- a/lib/streaming/package.json +++ b/lib/streaming/package.json @@ -1,6 +1,6 @@ { "name": "oci-streaming", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Streaming", "repository": { "type": "git", diff --git a/lib/tenantmanagercontrolplane/package.json b/lib/tenantmanagercontrolplane/package.json index f94773e520..046accb5e0 100644 --- a/lib/tenantmanagercontrolplane/package.json +++ b/lib/tenantmanagercontrolplane/package.json @@ -1,6 +1,6 @@ { "name": "oci-tenantmanagercontrolplane", - "version": "2.116.2", + "version": "2.117.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 6a97f699cc..df629b24d6 100644 --- a/lib/threatintelligence/package.json +++ b/lib/threatintelligence/package.json @@ -1,6 +1,6 @@ { "name": "oci-threatintelligence", - "version": "2.116.2", + "version": "2.117.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 2b36e60d73..2fce9f5040 100644 --- a/lib/usage/package.json +++ b/lib/usage/package.json @@ -1,6 +1,6 @@ { "name": "oci-usage", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Usage Service", "repository": { "type": "git", diff --git a/lib/usageapi/package.json b/lib/usageapi/package.json index b942c3d094..d993696be0 100644 --- a/lib/usageapi/package.json +++ b/lib/usageapi/package.json @@ -1,6 +1,6 @@ { "name": "oci-usageapi", - "version": "2.116.2", + "version": "2.117.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 c5595541fb..061e6eecee 100644 --- a/lib/vault/package.json +++ b/lib/vault/package.json @@ -1,6 +1,6 @@ { "name": "oci-vault", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Vault Service", "repository": { "type": "git", diff --git a/lib/vbsinst/package.json b/lib/vbsinst/package.json index 94355b55c5..e96319b416 100644 --- a/lib/vbsinst/package.json +++ b/lib/vbsinst/package.json @@ -1,6 +1,6 @@ { "name": "oci-vbsinst", - "version": "2.116.2", + "version": "2.117.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 310c3957ef..3c0a3ec516 100644 --- a/lib/visualbuilder/package.json +++ b/lib/visualbuilder/package.json @@ -1,6 +1,6 @@ { "name": "oci-visualbuilder", - "version": "2.116.2", + "version": "2.117.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 b97f77b74d..88489ca1db 100644 --- a/lib/vnmonitoring/package.json +++ b/lib/vnmonitoring/package.json @@ -1,6 +1,6 @@ { "name": "oci-vnmonitoring", - "version": "2.116.2", + "version": "2.117.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 7f8a877c25..347af94d0c 100644 --- a/lib/vulnerabilityscanning/package.json +++ b/lib/vulnerabilityscanning/package.json @@ -1,6 +1,6 @@ { "name": "oci-vulnerabilityscanning", - "version": "2.116.2", + "version": "2.117.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 69bd06caaf..e8b4d3cbdb 100644 --- a/lib/waa/package.json +++ b/lib/waa/package.json @@ -1,6 +1,6 @@ { "name": "oci-waa", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Waa Service", "repository": { "type": "git", diff --git a/lib/waas/package.json b/lib/waas/package.json index 230f54aa6a..5c1ca99c9c 100644 --- a/lib/waas/package.json +++ b/lib/waas/package.json @@ -1,6 +1,6 @@ { "name": "oci-waas", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for WAAS", "repository": { "type": "git", diff --git a/lib/waf/package.json b/lib/waf/package.json index 8828aca85e..539e7db14d 100644 --- a/lib/waf/package.json +++ b/lib/waf/package.json @@ -1,6 +1,6 @@ { "name": "oci-waf", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Waf Service", "repository": { "type": "git", diff --git a/lib/wlms/package.json b/lib/wlms/package.json index d9980baa88..52247db8e3 100644 --- a/lib/wlms/package.json +++ b/lib/wlms/package.json @@ -1,6 +1,6 @@ { "name": "oci-wlms", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Wlms Service", "repository": { "type": "git", diff --git a/lib/workrequests/package.json b/lib/workrequests/package.json index d5055ad6ae..f2f6f3dcc7 100644 --- a/lib/workrequests/package.json +++ b/lib/workrequests/package.json @@ -1,6 +1,6 @@ { "name": "oci-workrequests", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for WorkRequests", "repository": { "type": "git", diff --git a/lib/zpr/package.json b/lib/zpr/package.json index fce821252c..c2ebbc890f 100644 --- a/lib/zpr/package.json +++ b/lib/zpr/package.json @@ -1,6 +1,6 @@ { "name": "oci-zpr", - "version": "2.116.2", + "version": "2.117.0", "description": "OCI NodeJS client for Zpr Service", "repository": { "type": "git", diff --git a/package.json b/package.json index 8c72649ad2..b38b7aa6f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oci-sdk", - "version": "2.116.2", + "version": "2.117.0", "author": { "name": "Oracle Cloud Infrastructure", "email": ""